:root {
    --primary-red: #E4002B;
    --secondary-white: #FFFFFF;
    --dark-text: #1A1A1A;
    --light-text: #F0F0F0;
    --gray-bg: #F8F8F8;
    --light-gray-border: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --border-radius-soft: 12px;
    --transition-speed: 0.3s ease-in-out;
    --max-width-content: 1200px;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--secondary-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text);
    margin-top: 0;
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #C00025;
}

.container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-red);
    text-shadow: 2px 2px 4px var(--shadow-light);
}

.section-subtitle {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 60px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

.button-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--primary-red);
    color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 12px var(--shadow-light);
    text-decoration: none;
}

.button-cta:hover {
    background-color: #C00025;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--secondary-white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: var(--border-radius-soft);
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color var(--transition-speed), color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 4px 12px var(--shadow-light);
    text-decoration: none;
}

.button-secondary:hover {
    background-color: var(--primary-red);
    color: var(--secondary-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

/* Header */
.header {
    background-color: var(--secondary-white);
    padding: 15px 0;
    box-shadow: 0 2px 8px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--dark-text);
}

.header .logo img {
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 2em;
    color: var(--dark-text);
}

/* Hero Section */
.hero-section {
    background-image: url('graphics/pics/modern-car-blurred.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 150px 0;
    border-bottom-left-radius: var(--border-radius-soft);
    border-bottom-right-radius: var(--border-radius-soft);
    box-shadow: 0 8px 20px var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-section h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--secondary-white);
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--light-text);
}

.lead-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.lead-form input {
    padding: 14px 20px;
    border: 1px solid var(--light-gray-border);
    border-radius: var(--border-radius-soft);
    font-size: 1.1em;
    width: 250px;
    max-width: 100%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.lead-form input::placeholder {
    color: #A0A0A0;
}

.lead-form .button-cta {
    padding: 14px 35px;
    font-size: 1.2em;
}

/* About Section */
.about-section {
    background-color: var(--gray-bg);
}

.about-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    background-color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 6px 20px var(--shadow-medium);
    overflow: hidden;
}

.about-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.map-pin {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-white);
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--shadow-medium);
    transition: transform var(--transition-speed), background-color var(--transition-speed);
    z-index: 5;
}

.map-pin:hover {
    transform: scale(1.1);
    background-color: #C00025;
}

.map-pin.active {
    animation: pulse 1.5s infinite;
}

.milestone-details-panel {
    position: absolute;
    background-color: var(--secondary-white);
    padding: 25px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 8px 25px var(--shadow-medium);
    width: 300px;
    max-width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    text-align: left;
}

.milestone-details-panel.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.milestone-details-panel h3 {
    color: var(--primary-red);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.milestone-details-panel p {
    font-size: 1em;
    color: var(--dark-text);
}

.milestone-details-panel .close-panel-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #888;
    cursor: pointer;
}

/* Services Section */
.services-section {
    background-color: var(--secondary-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--gray-bg);
    padding: 40px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 100%; */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.service-card .service-icon {
    font-size: 3.5em;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card .service-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-card .service-description {
    color: #555;
    font-size: 1em;
}

/* Features Section */
.features-section {
    background-color: var(--gray-bg);
}

.tabs-wrapper {
    background-color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 6px 20px var(--shadow-medium);
    padding: 30px;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--light-gray-border);
    gap: 15px;
}

.tab-button {
    padding: 15px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: #777;
    position: relative;
    transition: color var(--transition-speed);
}

.tab-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width var(--transition-speed);
}

.tab-button.active {
    color: var(--primary-red);
}

.tab-button.active::after {
    width: 100%;
}

.tabs-content {
    padding-top: 20px;
}

.feature-pane {
    display: none;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    align-items: center;
    gap: 40px;
}

.feature-pane.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.feature-media {
    flex: 1;
    min-width: 300px;
}

.feature-media img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.feature-text {
    flex: 1;
}

.feature-text .feature-title {
    font-size: 2em;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.feature-text .feature-description {
    font-size: 1.1em;
    color: #444;
}

/* How It Works Section */
.howitworks-section {
    background-color: var(--secondary-white);
}

.path-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 50px;
}

.path-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--light-gray-border);
    transform: translateX(-50%);
    z-index: 1;
}

.path-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    z-index: 2;
}

.path-step:nth-child(even) {
    flex-direction: row-reverse;
}

.path-step:nth-child(odd) .step-content {
    margin-left: 60px;
    text-align: left;
}

.path-step:nth-child(even) .step-content {
    margin-right: 60px;
    text-align: right;
}

.path-step.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.path-step .step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-white);
    font-size: 2.2em;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid var(--secondary-white);
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.path-step.active .step-icon {
    background-color: #C00025;
    animation: icon-bounce 0.8s ease-out;
}

.path-step .step-content {
    flex: 1;
    background-color: var(--gray-bg);
    padding: 25px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 2px 10px var(--shadow-light);
    max-width: calc(50% - 80px);
}

.path-step:nth-child(odd) .step-content {
    margin-left: calc(50% + 40px);
}

.path-step:nth-child(even) .step-content {
    margin-right: calc(50% + 40px);
}

.path-step .step-title {
    font-size: 1.6em;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.path-step .step-description {
    font-size: 1em;
    color: #555;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--gray-bg);
}

.portfolio-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    gap: 30px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.portfolio-slider::-webkit-scrollbar {
    height: 8px;
}

.portfolio-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-red);
    border-radius: 10px;
}

.portfolio-slider::-webkit-scrollbar-track {
    background-color: var(--light-gray-border);
    border-radius: 10px;
}

.project-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background-color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 15px var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--light-gray-border);
}

.project-card .project-title {
    font-size: 1.5em;
    color: var(--dark-text);
    padding: 20px 20px 10px;
}

.project-card .project-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 20px 20px;
    flex-grow: 1;
}

/* Team Section */
.team-section {
    background-color: var(--secondary-white);
}

.team-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
@media screen and (width < 576px) {
    .team-grid {
            grid-template-columns: repeat(1, 1fr);

    }
}

.team-member-card {
    background-color: var(--gray-bg);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    padding: 30px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.team-member-card .member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-red);
    box-shadow: 0 2px 10px var(--shadow-medium);
}

.team-member-card .member-name {
    font-size: 1.8em;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.team-member-card .member-title {
    font-size: 1.1em;
    color: #666;
}

/* FAQ Section */
.faq-section {
    background-color: var(--gray-bg);
}

.faq-container {
    display: flex;
    gap: 40px;
    background-color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 6px 20px var(--shadow-medium);
    padding: 30px;
}

.faq-questions-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-question-item {
    width: 100%;
    padding: 18px 25px;
    background-color: var(--gray-bg);
    border-radius: var(--border-radius-soft);
    text-align: left;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--dark-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed), color var(--transition-speed), box-shadow var(--transition-speed);
}

.faq-question-item:hover {
    background-color: #EFEFEF;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.faq-question-item.active {
    background-color: var(--primary-red);
    color: var(--secondary-white);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.faq-question-item.active .expand-icon {
    transform: rotate(180deg);
    color: var(--secondary-white);
}

.faq-question-item .expand-icon {
    font-size: 1.5em;
    transition: transform var(--transition-speed), color var(--transition-speed);
    color: #777;
}

.faq-answer-display {
    flex: 1;
    padding: 20px;
    background-color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
}

.faq-answer-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.faq-answer-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-content h3 {
    font-size: 1.8em;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.faq-answer-content p {
    font-size: 1.1em;
    color: #444;
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-block {
    background-color: var(--gray-bg);
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.contact-info-block h3 {
    font-size: 1.6em;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.contact-info-block p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    color: #555;
}

.contact-info-block p a {
    color: #555;
    transition: color var(--transition-speed);
}

.contact-info-block p a:hover {
    color: var(--primary-red);
}

.contact-info-block .material-symbols-outlined {
    font-size: 1.8em;
    color: var(--primary-red);
}

/* Footer */
.footer-main {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 60px 0 30px;
    font-size: 0.95em;
}

.footer-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-block h3 {
    color: var(--primary-red);
    font-size: 1.4em;
    margin-bottom: 20px;
}

.footer-block p {
    color: #BBB;
}

.footer-block a {
    color: var(--light-text);
}

.footer-block a:hover {
    color: var(--primary-red);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary-white);
}

.footer-links ul, .footer-policies ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-policies li {
    margin-bottom: 10px;
}

.footer-newsletter .newsletter-form {
    display: flex;
    margin-top: 20px;
}

.footer-newsletter input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #555;
    border-radius: var(--border-radius-soft) 0 0 var(--border-radius-soft);
    background-color: #333;
    color: var(--light-text);
    font-size: 1em;
}

.footer-newsletter input::placeholder {
    color: #888;
}

.footer-newsletter button {
    padding: 12px 20px;
    background-color: var(--primary-red);
    color: var(--secondary-white);
    border-radius: 0 var(--border-radius-soft) var(--border-radius-soft) 0;
    font-weight: 600;
    transition: background-color var(--transition-speed);
}

.footer-newsletter button:hover {
    background-color: #C00025;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--secondary-white);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 8px 25px var(--shadow-medium);
    padding: 25px;
    max-width: 400px;
    z-index: 2000;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.cookie-banner.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.95em;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.cookie-banner p a {
    color: var(--primary-red);
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-actions .button-cta, .cookie-actions .button-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--secondary-white);
    margin: auto;
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 30px var(--shadow-medium);
    position: relative;
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    color: var(--primary-red);
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
}

.close-button:hover, .close-button:focus {
    color: var(--primary-red);
    text-decoration: none;
    cursor: pointer;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--gray-bg);
    border-radius: var(--border-radius-soft);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-category h4 {
    margin-bottom: 5px;
    font-size: 1.2em;
    color: var(--dark-text);
}

.cookie-category p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: var(--secondary-white);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-red);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-red);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

#save-cookie-choices {
    margin-top: 20px;
    width: 100%;
}

/* Animations (Intersection Observer based) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up.delay-1 {
    transition-delay: 0.2s;
}

.animate-slide-up.delay-2 {
    transition-delay: 0.4s;
}

.animate-slide-up.delay-3 {
    transition-delay: 0.6s;
}

.animate-slide-up.delay-4 {
    transition-delay: 0.8s;
}

.animate-slide-up.delay-5 {
    transition-delay: 1.0s;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-up.delay-1 {
    transition-delay: 0.1s;
}

.animate-fade-in-up.delay-2 {
    transition-delay: 0.2s;
}

.animate-fade-in-up.delay-3 {
    transition-delay: 0.3s;
}

.animate-fade-in-up.delay-4 {
    transition-delay: 0.4s;
}

.animate-fade-in-up.delay-5 {
    transition-delay: 0.5s;
}

.animate-fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-fade-in-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.animate-fade-in-scale.delay-1 {
    transition-delay: 0.1s;
}

.animate-fade-in-scale.delay-2 {
    transition-delay: 0.2s;
}

.animate-fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-in-left.delay-2 {
    transition-delay: 0.2s;
}

.animate-fade-in-left.delay-3 {
    transition-delay: 0.3s;
}

.animate-fade-in-left.delay-4 {
    transition-delay: 0.4s;
}

.animate-fade-in-left.delay-5 {
    transition-delay: 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(228, 0, 43, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(228, 0, 43, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(228, 0, 43, 0); }
}

@keyframes icon-bounce {
    0% { transform: translateX(-50%) translateY(0); }
    25% { transform: translateX(-50%) translateY(-10px); }
    50% { transform: translateX(-50%) translateY(0); }
    75% { transform: translateX(-50%) translateY(-5px); }
    100% { transform: translateX(-50%) translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-white);
        box-shadow: 0 4px 8px var(--shadow-light);
        padding: 20px 0;
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-section h1 {
        font-size: 3.5em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

    .lead-form {
        flex-direction: column;
        align-items: center;
    }

    .lead-form input {
        width: 80%;
    }

    .section-title {
        font-size: 2.2em;
    }

    .section-subtitle {
        font-size: 1.1em;
    }

    .faq-container {
        flex-direction: column;
    }

    .faq-answer-display {
        min-height: auto;
    }

    .feature-pane {
        flex-direction: column;
    }

    .feature-text, .feature-media {
        text-align: center;
    }

    .path-step {
        flex-direction: column !important;
        text-align: center;
    }

    .path-step .step-content {
        margin: 20px 0 0 0 !important;
        max-width: 100%;
        text-align: center !important;
    }

    .path-step .step-icon {
        position: static;
        transform: none;
    }

    .path-line {
        display: none;
    }

    .map-pin {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }

    .milestone-details-panel {
        width: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .portfolio-slider {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .project-card {
        flex: 0 0 90%;
        margin: 0 auto;
    }

    .footer-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-newsletter .newsletter-form {
        justify-content: center;
    }

    .footer-newsletter input, .footer-newsletter button {
        border-radius: var(--border-radius-soft);
    }

    .footer-newsletter input {
        margin-bottom: 10px;
    }

    .footer-newsletter .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .footer-newsletter input {
        width: 80%;
        border-radius: var(--border-radius-soft);
    }

    .footer-newsletter button {
        width: 80%;
        border-radius: var(--border-radius-soft);
    }

    .cookie-banner {
        right: 10px;
        left: 10px;
        max-width: unset;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-actions .button-cta, .cookie-actions .button-secondary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1em;
    }

    /* .lead-form input {
        width: 100%;
    } */

    .lead-form .button-cta {
        width: 100%;
    }

    .section-title {
        font-size: 1.8em;
    }

    .section-subtitle {
        font-size: 0.9em;
    }

    .service-card, .team-member-card, .contact-info-block {
        padding: 25px;
    }

    .feature-text .feature-title {
        font-size: 1.6em;
    }

    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .tab-button {
        width: 100%;
    }
}
/* Parent container for content styling, providing overall spacing */
.dataTrustFrame {
    margin-top: 2rem; /* Top margin for the entire frame */
    margin-inline: 1.5rem; /* Left and right margins for the frame */
    /* Consider adding max-width for better readability on very wide screens, e.g.: */
    /* max-width: 768px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles within dataTrustFrame */
.dataTrustFrame h1 {
    font-size: 2.25rem; /* Moderate font size for H1 (approx 36px if 1rem=16px) */
    line-height: 1.2; /* Line height for readability */
    margin-top: 1.5em; /* Top margin relative to H1 font size */
    margin-bottom: 0.75em; /* Bottom margin relative to H1 font size */
    font-weight: 700; /* Bold font weight */
    color: #333; /* Example color */
}

/* Heading 2 styles within dataTrustFrame */
.dataTrustFrame h2 {
    font-size: 1.875rem; /* Moderate font size for H2 (approx 30px) */
    line-height: 1.25;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-weight: 600; /* Slightly less bold than H1 */
    color: #333;
}

/* Heading 3 styles within dataTrustFrame */
.dataTrustFrame h3 {
    font-size: 1.5rem; /* Moderate font size for H3 (approx 24px) */
    line-height: 1.3;
    margin-top: 1.25em;
    margin-bottom: 0.75em;
    font-weight: 600;
    color: #333;
}

/* Heading 4 styles within dataTrustFrame */
.dataTrustFrame h4 {
    font-size: 1.25rem; /* Moderate font size for H4 (approx 20px) */
    line-height: 1.4;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 500; /* Medium font weight */
    color: #333;
}

/* Heading 5 styles within dataTrustFrame */
.dataTrustFrame h5 {
    font-size: 1.125rem; /* Moderate font size for H5 (approx 18px) */
    line-height: 1.5;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #333;
}

/* Paragraph styles within dataTrustFrame */
.dataTrustFrame p {
    font-size: 1rem; /* Base font size for paragraphs (approx 16px) */
    line-height: 1.6; /* Line height for improved readability */
    margin-bottom: 1em; /* Spacing between paragraphs */
    color: #444; /* Example text color */
}

/* Unordered list styles within dataTrustFrame */
.dataTrustFrame ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1em; /* Top margin for the list block */
    margin-bottom: 1em; /* Bottom margin for the list block */
    padding-left: 1.75em; /* Indentation for list items and bullet points */
    color: #444;
}

/* List item styles within dataTrustFrame */
.dataTrustFrame li {
    font-size: 1rem; /* Font size for list items */
    line-height: 1.6; /* Line height for readability */
    margin-bottom: 0.5em; /* Spacing between individual list items */
    color: #444;
}
main {
    overflow: hidden;
}
.footer-logo img {
    width: 60px;
}