/* ==========================================================================
   1. Base Styles & Variables
   ========================================================================== */

/* Import a modern, professional font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables for a consistent theme */
:root {
    --primary-color: #007BFF;
    /* A vibrant blue for accents and CTAs */
    --primary-color-dark: #0056b3;
    --secondary-color: #1a202c;
    /* A dark, charcoal-like color for main backgrounds */
    --background-color: #121212;
    /* Deep black for depth */
    --surface-color: #1e1e1e;
    /* Slightly lighter for cards and surfaces */
    --text-color: #E0E0E0;
    /* Light gray for readability */
    --heading-color: #FFFFFF;
    --border-color: #333;
    --shadow-color: rgba(0, 123, 255, 0.1);

    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Basic Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================================================
   2. Utility & Helper Classes
   ========================================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-color-dark);
}

ul {
    list-style: none;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--heading-color);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button.primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: var(--heading-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--heading-color);
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: var(--surface-color);
    border-bottom-color: var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--heading-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
    /* Ensure white logo is visible */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--heading-color);
}

.header-cta {
    padding: 10px 22px;
    font-size: 0.8rem;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--heading-color);
    position: relative;
    transition: all var(--transition-speed) ease-in-out;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--heading-color);
    transition: all var(--transition-speed) ease-in-out;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

/* Mobile Nav Open State */
body.nav-open .hamburger-icon {
    background-color: transparent;
}

body.nav-open .hamburger-icon::before {
    transform: rotate(45deg) translate(5px, 6px);
}

body.nav-open .hamburger-icon::after {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* ==========================================================================
   4. Hero Section
   ========================================================================== */

.hero-section {
    padding-top: calc(var(--header-height) + 120px);
    padding-bottom: 120px;
    background: var(--secondary-color);
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Animated background shapes */
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    animation: float 20s infinite linear;
}

.hero-bg-shapes .shape1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 15%;
    animation-duration: 25s;
}

.hero-bg-shapes .shape2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-duration: 30s;
    animation-delay: 5s;
}

.hero-bg-shapes .shape3 {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 20%;
    animation-duration: 15s;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* ==========================================================================
   5. Services Section
   ========================================================================== */

.services-section {
    background-color: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    transition: letter-spacing var(--transition-speed) ease;
}

.service-card:hover .service-link {
    letter-spacing: 0.5px;
}

/* ==========================================================================
   6. Process Section
   ========================================================================== */

.process-section {
    background-color: var(--secondary-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* The vertical line */
.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    animation: fill-line 2s ease-out forwards;
    transform: scaleY(0);
    transform-origin: top;
}

@keyframes fill-line {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

/* Position items left and right */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

/* The dot on the timeline */
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--background-color);
    border: 4px solid var(--primary-color);
    top: 35px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--surface-color);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.timeline-item:nth-child(odd) .step-number {
    right: 20px;
}

.timeline-item:nth-child(even) .step-number {
    left: 20px;
}

.timeline-content h3 {
    margin-top: 0;
}

/* ==========================================================================
   7. Industries Section
   ========================================================================== */

.industries-section {
    background-color: var(--background-color);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-item {
    background: var(--surface-color);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.industry-item:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.industry-icon svg {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-item h4 {
    margin: 0;
    color: var(--heading-color);
}

/* ==========================================================================
   8. Testimonials Section
   ========================================================================== */

.testimonials-section {
    background: url('https://www.transparenttextures.com/patterns/dark-matter.png'), var(--secondary-color);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: var(--surface-color);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 200px;
    /* Adjust based on content */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(50px);
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 40px;
}

.testimonial-text::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: -10px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--heading-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.slider-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--primary-color-dark);
}

/* ==========================================================================
   9. Interactive Calculator Section
   ========================================================================== */

.interactive-section {
    background: var(--background-color);
}

.interactive-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.calculator-content,
.calculator-results-wrapper {
    flex: 1;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calculator-form input {
    width: 100%;
    padding: 12px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.results-box {
    background: var(--surface-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.results-box h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 1.1rem;
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item strong {
    color: var(--heading-color);
    font-size: 1.5rem;
}

.result-item.grand-total strong {
    color: var(--primary-color);
    font-size: 2rem;
}

.results-box .disclaimer {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.7;
    margin-bottom: 0;
}

/* ==========================================================================
   10. Sample Report & CTA Section
   ========================================================================== */

.report-cta-section {
    background-color: var(--secondary-color);
}

.report-cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--surface-color);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 700px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.close-modal-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: var(--heading-color);
}

.modal-content h2 {
    margin-top: 0;
    text-align: center;
    color: var(--primary-color);
}

.modal-content h4 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--text-color);
}

.report-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 2rem;
    text-align: center;
}

.summary-item {
    background: var(--background-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.summary-item span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.summary-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.report-details ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.report-details li {
    margin-bottom: 0.5rem;
}

.modal-content .cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
    background-color: var(--secondary-color);
    padding: 80px 0 0;
    color: var(--text-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.about-col .logo {
    margin-bottom: 1rem;
}

.about-col p {
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--surface-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--heading-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.links-col ul li {
    margin-bottom: 0.8rem;
}

.links-col ul a {
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.links-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-col p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-col svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--primary-color);
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}


/* ==========================================================================
   12. Contact Page Styles
   ========================================================================== */

.contact-page-section {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    background-color: var(--secondary-color);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    background-color: var(--surface-color);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-form-container,
.contact-info-container {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info-container h3 {
    margin-top: 0;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    fill: currentColor;
}

.contact-text h4 {
    margin: 0 0 5px;
    color: var(--heading-color);
}

.contact-text p {
    margin: 0;
    color: var(--text-color);
}

#form-status {
    margin-top: 1rem;
    font-weight: 500;
}


/* ==========================================================================
   13. Legal Pages Styles
   ========================================================================== */

.legal-page-section {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.legal-content h1,
.legal-content h2 {
    color: var(--primary-color);
}

.legal-content h2 {
    margin-top: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.75rem;
}


/* ==========================================================================
   14. Animations & Scroll Effects
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in {
    opacity: 0;
}

.animate-on-scroll.fade-in.is-visible {
    opacity: 1;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(50px);
}

.animate-on-scroll.slide-in-up {
    transform: translateY(80px);
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-80px);
}

.animate-on-scroll.slide-in-right {
    transform: translateX(80px);
}

.animate-on-scroll.zoom-in {
    transform: scale(0.9);
}

.animate-on-scroll.fade-in-up.is-visible,
.animate-on-scroll.slide-in-up.is-visible,
.animate-on-scroll.slide-in-left.is-visible,
.animate-on-scroll.slide-in-right.is-visible,
.animate-on-scroll.zoom-in.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Add delays for staggered animations */
.animate-on-scroll.delay-1 {
    animation-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    animation-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    animation-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    animation-delay: 0.4s;
}


/* ==========================================================================
   15. Responsiveness (Media Queries)
   ========================================================================== */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .interactive-container {
        flex-direction: column;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform var(--transition-speed) ease-in-out;
    }

    body.nav-open .main-nav {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .header-cta {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 20px !important;
        /* Override inline styles */
    }

    .contact-wrapper {
        flex-direction: column;
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-col p {
        justify-content: center;
    }
}