/*
================================================
TABLE OF CONTENTS
================================================
1.  VARIABLES & RESET
2.  GLOBAL STYLES & TYPOGRAPHY
3.  REUSABLE COMPONENTS (Buttons, Containers)
4.  PRELOADER
5.  HEADER & NAVIGATION
    5.1 Desktop Navigation
    5.2 Mobile Navigation & Hamburger
    5.3 Dropdown Menu
6.  PAGE HEADER (For sub-pages)
7.  HERO SECTION
8.  STATS SECTION
9.  SERVICES SECTION
    9.1 Service Card 3D Effect
10. PROCESS SECTION (Timeline)
11. INTERACTIVE SECTION (ROI Calc & Report)
12. PRICING SECTION
    12.1 Pricing Cards
    12.2 Pricing Toggle Switch
13. TESTIMONIALS SECTION
14. CTA (CALL TO ACTION) SECTION
15. FOOTER
16. CONTACT PAGE
    16.1 Contact Form
    16.2 Contact Info Cards
    16.3 Success Popup
17. LEGAL PAGES CONTENT
18. UTILITY & HELPER CLASSES
    18.1 Back to Top Button
    18.2 Live Chat Widget
    18.3 Lightbox/Modal
    18.4 Animations on Scroll
19. RESPONSIVE DESIGN (Media Queries)
    19.1 Large Desktops (1200px+)
    19.2 Tablets (max 992px)
    19.3 Mobile (max 768px)
    19.4 Small Mobile (max 480px)
================================================
*/


/* 1. VARIABLES & RESET */
:root {
    --primary-color: #64ffda;
    /* Bright Teal/Cyan */
    --primary-color-darker: #4bc3ab;
    --dark-navy: #0a192f;
    /* Main Background */
    --light-navy: #112240;
    /* Card/Element Background */
    --lightest-navy: #233554;
    --slate: #8892b0;
    /* Body Text */
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    /* Headings/Stronger Text */
    --white: #e6f1ff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --header-height: 80px;
    --border-radius: 4px;
    --transition-speed: 0.3s ease;
    --box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--dark-navy);
    color: var(--slate);
    font-family: var(--font-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* 2. GLOBAL STYLES & TYPOGRAPHY */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    color: var(--lightest-slate);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title .highlight {
    color: var(--primary-color);
}

.section-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--light-slate);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-speed);
}

a:hover {
    color: var(--primary-color-darker);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--lightest-slate);
    font-family: var(--font-secondary);
    font-weight: 700;
}

/* 3. REUSABLE COMPONENTS */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--primary-color);
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition-speed);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-navy);
}

.btn-primary:hover {
    color: var(--dark-navy);
    background-color: transparent;
}

.btn-primary::before {
    background-color: var(--light-navy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    color: var(--dark-navy);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* 4. PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
}

.loader-logo {
    text-align: center;
}

.loader-logo img {
    width: auto;
    height: 80px;
    filter: brightness(0)invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background-color: var(--light-navy);
    border-radius: 2px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--primary-color);
    animation: slide-in-out 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slide-in-out {
    0% {
        left: -50%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--box-shadow);
    border-bottom-color: var(--lightest-navy);
}

.header.hidden {
    transform: translateY(-100%);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 80px;
    width: auto;
    filter: brightness(0)invert(1);
    transition: transform 0.3s ease;
}

.logo span {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-left: 10px;
}

.logo a:hover img {
    transform: rotate(-10deg);
}

/* 5.1 Desktop Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--light-slate);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 5.2 Mobile Navigation & Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.1s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-menu.open .hamburger {
    background-color: transparent;
}

.nav-menu.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-menu.open .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/* 5.3 Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-navy);
    border: 1px solid var(--lightest-navy);
    border-radius: var(--border-radius);
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-speed);
    box-shadow: var(--box-shadow);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--light-slate);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--lightest-navy);
    color: var(--primary-color);
}

.dropdown .fa-chevron-down {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* 6. PAGE HEADER */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    padding: 150px 0 80px;
    text-align: center;
    margin-top: -var(--header-height);
    position: relative;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: var(--light-slate);
}

.breadcrumbs span {
    color: var(--primary-color);
}

.main-content {
    padding: 80px 0;
}

/* 7. HERO SECTION */
.hero {
    min-height: 130vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=1974&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--dark-navy), transparent);
}


.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-slate);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse span {
    position: absolute;
    display: block;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

/* 8. STATS SECTION */
.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-content p {
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background-color: var(--light-navy);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
}

.stat-item p {
    font-family: var(--font-secondary);
    color: var(--light-slate);
    font-size: 1rem;
}


/* 9. SERVICES SECTION */
.services-section {
    background-color: #0d1e3a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* 9.1 Service Card 3D Effect */
.service-card {
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card-inner {
    padding: 40px;
    transform: translateZ(20px);
}

.service-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-description {
    margin-bottom: 25px;
    min-height: 96px;
    /* 4 lines of text */
}

.service-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 10. PROCESS SECTION (Timeline) */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--lightest-navy);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: var(--dark-navy);
    border: 4px solid var(--primary-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -12.5px;
}

.timeline-content {
    padding: 30px;
    background-color: var(--light-navy);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-step {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: var(--white);
}

/* 11. INTERACTIVE SECTION */
.interactive-section {
    background-color: #0d1e3a;
}

.interactive-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.roi-calculator-container,
.sample-report-container {
    padding: 50px;
}

.interactive-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.interactive-description {
    margin-bottom: 30px;
    color: var(--light-slate);
}

.roi-form .form-group {
    margin-bottom: 20px;
}

.roi-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-slate);
    font-weight: 500;
}

.roi-form input {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-navy);
    border: 1px solid var(--lightest-navy);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 1rem;
}

.roi-result {
    margin-top: 30px;
    background-color: var(--dark-navy);
    padding: 20px;
    border-radius: var(--border-radius);
    display: none;
    /* Initially hidden */
}

.roi-result h4 {
    margin-bottom: 15px;
    color: var(--white);
}

.roi-result p {
    margin-bottom: 10px;
}

.roi-result .highlight-result {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.sample-report-container {
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.report-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}


/* 12. PRICING SECTION */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-family: var(--font-secondary);
    color: var(--light-slate);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--lightest-navy);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--light-navy);
    border: 1px solid var(--lightest-navy);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.popular:hover {
    transform: scale(1.1) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--dark-navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--white);
}

.pricing-header p {
    color: var(--light-slate);
    margin: 10px 0 30px;
}

.price {
    margin-bottom: 30px;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--light-slate);
}

.price-value {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
}

.price-period {
    font-size: 1rem;
    color: var(--slate);
}

.price-custom {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--white);
}

.pricing-body {
    text-align: left;
    flex-grow: 1;
    margin-bottom: 30px;
}

.pricing-body ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-body ul li i {
    color: var(--primary-color);
}

.pricing-body ul li.disabled {
    color: var(--slate);
    text-decoration: line-through;
}

.pricing-body ul li.disabled i {
    color: var(--slate);
}


/* 13. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: #0d1e3a;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Adjust as needed */
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    background-color: var(--light-navy);
    border-left: 5px solid var(--primary-color);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--lightest-slate);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
}

.testimonial-author span {
    color: var(--light-slate);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    bottom: -50px;
    right: 0;
    display: flex;
    gap: 10px;
}

.slider-btn {
    background-color: var(--light-navy);
    border: 1px solid var(--lightest-navy);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-speed);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-navy);
}

/* 14. CTA SECTION */
.cta-section {
    padding: 80px 0;
}

.cta-wrapper {
    background: linear-gradient(90deg, var(--primary-color) 0%, #4bc3ab 100%);
    color: var(--dark-navy);
    border-radius: var(--border-radius);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.cta-description {
    color: #040e18;
    max-width: 600px;
}

.cta-action .btn-primary {
    background-color: var(--white);
    color: var(--dark-navy);
    border-color: var(--white);
}

.cta-action .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

/* 15. FOOTER */
.footer {
    background-color: #0d1e3a;
    padding: 80px 0 0;
    border-top: 1px solid var(--lightest-navy);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0)invert(1);
}

.footer-logo span {
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    color: var(--white);
    margin-left: 10px;
}

.footer-about p {
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--lightest-navy);
    border-radius: 50%;
    color: var(--light-slate);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-navy);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--light-slate);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact ul li a {
    color: var(--light-slate);
}

.footer-contact ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--lightest-navy);
    padding: 25px 0;
    text-align: center;
    color: var(--slate);
}

/* 16. CONTACT PAGE */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 60px;
}

.contact-form-container {
    background-color: var(--light-navy);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-slate);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-navy);
    border: 1px solid var(--lightest-navy);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.3);
}

.contact-form textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: var(--slate);
}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: var(--light-navy);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--light-slate);
    margin: 0;
}

.contact-details a {
    color: var(--light-slate);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-speed);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--light-navy);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-speed);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--slate);
}

.popup-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.popup-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* 17. LEGAL PAGES CONTENT */
.legal-content {
    background-color: var(--light-navy);
    padding: 50px;
    border-radius: var(--border-radius);
    color: var(--light-slate);
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--white);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--lightest-navy);
    padding-bottom: 10px;
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content strong {
    color: var(--primary-color);
}

.legal-content a {
    font-weight: 600;
}


/* 18. UTILITY & HELPER CLASSES */
.text-center {
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-speed);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-speed);
}

.chat-window.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--lightest-navy);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    color: var(--white);
    margin: 0;
}

.close-chat {
    background: none;
    border: none;
    color: var(--slate);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    height: 200px;
    overflow-y: auto;
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--lightest-navy);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: var(--light-navy);
    padding: 15px;
    color: var(--white);
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0 15px;
    cursor: pointer;
    font-size: 1.2rem;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-speed);
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: var(--light-navy);
    padding: 20px;
    border-radius: var(--border-radius);
    transform: scale(0.9);
    transition: var(--transition-speed);
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius);
}

.lightbox-content h3 {
    text-align: center;
    margin-top: 15px;
    color: var(--white);
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-right {
    transform: translateX(-30px);
}

.animate-on-scroll.fade-left {
    transform: translateX(30px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* 19. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px) scale(1.05);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .section-title,
    .hero-title,
    .page-header h1 {
        font-size: calc(2rem + 2vw);
    }

    .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(75vw, 400px);
        height: 100vh;
        background-color: var(--light-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        box-shadow: -10px 0px 30px -15px rgba(2, 12, 27, 0.7);
    }

    .nav-menu.open .nav {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 30px;
    }

    .dropdown-menu {
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown .fa-chevron-down {
        transform: rotate(0);
    }

    .dropdown.open .fa-chevron-down {
        transform: rotate(180deg);
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 17px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .interactive-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .chat-widget {
        display: none;
        /* Hide chat on small screens */
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}