/* =======================================
   Base Styles & Variables
   ======================================= */

:root {
    /* Theme Colors */
    --primary: #0A2540;         /* Deep Blue */
    --primary-dark: #081E33;     /* Darker shade of primary */
    --primary-light: #1B3B59;    /* Lighter shade of primary */
    --secondary: #00D4D4;       /* Bright Teal */
    --accent: #7A52CC;          /* Confident Violet */
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --text-on-dark: #F6F9FC;
    --light-bg: #F6F9FC;        /* Soft Off-White */
    --border: #E6E6E6;
    --dark-bg: #0A2540;         /* Deep Blue */
    --dark-card: #1B3B59;
    --dark-border: #2C5073;
    --dark-hover: #2C5073;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
    --section-padding: 6rem 0;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* =======================================
   Global & Reset Styles
   ======================================= */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

/* Gradient background */
html {
    min-height: 100%;
    background: #030A12; /* Fallback color - matches darkest gradient color */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

/* Gradient Overlay */
#gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #030A12 0%,     /* Very dark blue - hero section */
        #0A1A2E 15%,    /* Dark blue */
        #1A3A5F 30%,    /* Medium dark blue */
        #2D5A8C 45%,    /* Medium blue */
        #4A7CB0 60%,    /* Light blue */
        #00B4D8 75%,    /* Bright teal - CTA section */
        #66D1E0 85%,    /* Lighter teal */
        #B9F3FC 95%,    /* Pale aqua */
        #E0FBFC 100%    /* Very pale aqua - extended highlight */
    );
    background-size: 100% 400%;
    background-position: 0% 0%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    transition: background-position 0.5s ease-out;
    z-index: -1; /* Behind all content */
    pointer-events: none; /* Don't interfere with clicks */
}

/* Make sure all sections have transparent background */
section {
    background: transparent !important;
}

/* Ensure content is above the background */
body > *:not(script) {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 1;
    width: 100%;
}

/* Content wrapper to ensure proper z-index layering */
.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =======================================
   Strapline Animation
   ======================================= */

.strapline-container {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0;
}

.strapline {
    display: inline-block;
    max-width: 80vw;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
}

.strapline-quote {
    display: inline-block;
    transition: all 0.4s ease;
    position: relative;
    color: var(--text);
    font-weight: 700;
}

/* Breathing animation for strapline quotes */
.strapline-quote {
    display: inline-block;
    position: relative;
    color: #ffffff;
    font-weight: 900;
    will-change: opacity, text-shadow, transform;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
    transform: scale(1);
}

/* Breathing in state - bright and prominent */
.strapline-quote.breathing-in {
    opacity: 1;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff,
                 0 0 20px #00ffff,
                 0 0 30px #00ffff,
                 0 0 50px #00ffff;
    transform: scale(1.2);
    animation: breatheIn 3.2s ease-in-out infinite;
}

/* Breathing out state - subtle and dim */
.strapline-quote.breathing-out {
    opacity: 0.2;
    color: #00ffff;
    text-shadow: 0 0 2px #00ffff,
                 0 0 5px #00ffff;
    transform: scale(0.9);
    animation: breatheOut 3.2s ease-in-out infinite;
}

@keyframes breatheIn {
    0%, 100% {
        opacity: 0.3;
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 10px #00ffff,
                     0 0 20px #00ffff,
                     0 0 30px #00ffff,
                     0 0 50px #00ffff;
        transform: scale(1.2);
    }
}

@keyframes breatheOut {
    0%, 100% {
        opacity: 0.2;
        text-shadow: 0 0 2px #00ffff,
                     0 0 5px #00ffff;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.05;
        text-shadow: none;
        transform: scale(0.8);
    }
}

/* =======================================
   Typography
   ======================================= */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1.5rem; color: var(--text-light); }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

.text-gradient {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    -webkit-text-stroke: 0.8px rgba(255, 255, 255, 0.9);
}

/* =======================================
   Buttons
   ======================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}
@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}

@keyframes breathing-shimmer {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 4px 15px rgba(0, 212, 212, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 8px 25px rgba(0, 212, 212, 0.6);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 4px 15px rgba(0, 212, 212, 0.3);
    }
}

.btn-primary {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 30%,
        var(--accent) 70%,
        var(--primary) 100%
    );
    background-size: 300% 100%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: breathing-shimmer 8s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    animation-duration: 6s;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.btn-light {
    background: white;
    color: var(--primary);
    border: 2px solid white;
}

.btn-light:hover {
    background: transparent;
    color: white;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1.1rem 2.2rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* =======================================
   Section Header
   ======================================= */

.process .section-header {
    text-align: center;
    margin: 100px 0 2rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header .section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Dark background variant for section headers */
.hero .section-tag,
.advantage .section-tag,
.cta .section-tag {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--accent);
}

.hero .section-header h2,
.hero .section-header .section-subtitle,
.advantage .section-header h2,
.advantage .section-header .section-subtitle,
.cta .section-header h2,
.cta .section-header .section-subtitle {
    color: var(--white);
}

/* =======================================
   Hero Section
   ======================================= */

.hero {
    min-height: 100vh;
    background: radial-gradient(ellipse at bottom, var(--dark-bg) 0%, #0F172A 100%);
    color: var(--text-on-dark);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title-line {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    transform: translateY(-10px);
}

.typing-text {
    display: block;
    position: relative;
    text-align: center;
    width: 100%;
    min-height: 1.2em;
    margin-top: 0.5rem;
}

.typing-text .wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
    min-height: 1.2em;
}

.typing-text .cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: white;
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s infinite;
}

.typing-text .text {
    display: inline;
    color: white; /* Fallback for older browsers */
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.4;
}

/* Animation for the cursor */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-title .typing-text {
    display: block;
    height: 3em; /* Prevent layout shift */
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(20px);
}

.hero-content .btn {
    transform: translateY(20px);
}

.section-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: bold;
    z-index: 10;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    font-size: 0.9rem;
}

section:not(.dark) .scroll-indicator {
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.scroll-indicator:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: translateX(-50%) translateY(-5px);
}

section:not(.dark) .scroll-indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* =======================================
   Features Section
   ======================================= */

.advantage {
    background-color: var(--dark-bg);
}

.advantage .main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Standardized main-title styles for all sections */
.main-title,
.hero .hero-title,
.hero .hero-title-line,
.section-header .main-title {
    color: var(--white) !important;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0 auto 1.5rem;
    position: relative;
    text-align: center;
    max-width: 1200px;
    width: 90%;
}

/* Ensure text gradient still works */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main subtitle styles - centered and matching main title width */
.main-subtitle,
.advantage .main-subtitle {
    color: var(--white) !important;
    font-size: 1.1rem;
    margin: 0 auto 2rem;
    text-align: center;
    max-width: 1200px;
    width: 90%;
    line-height: 1.6;
}

.advantage .benefit-item {
    background: var(--white); /* Changed from var(--dark-card) */
    border: 1px solid var(--border); /* Changed from var(--dark-border) */
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.advantage .benefit-item:hover {
    background: var(--light-bg); /* Changed from var(--dark-hover) */
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.advantage .benefit-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--white);
}

.advantage .benefit-content h4 {
    color: var(--primary); /* Changed from var(--white) */
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.advantage .benefit-content p {
    color: var(--text-light); /* Changed from rgba(255, 255, 255, 0.8) */
    margin: 0;
}

.advantage .main-illustration {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.advantage-card {
    background: var(--white); /* Changed from var(--dark-card) */
    border: 1px solid var(--border); /* Changed from var(--dark-border) */
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    background: var(--light-bg); /* Changed from var(--dark-hover) */
    transform: translateY(-5px);
    border-color: var(--secondary); /* Changed from var(--accent) */
    box-shadow: var(--shadow-md);
}

.advantage-card .advantage-icon {
    margin: 0 auto 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.advantage-card h4 {
    color: var(--primary); /* Changed from var(--white) */
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-light); /* Changed from rgba(255, 255, 255, 0.8) */
    margin-bottom: 0;
    font-size: 0.95rem;
}

.strapline {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 2rem auto 3rem;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 0 1.5rem;
}

.strapline::before,
.strapline::after {
    content: '\201C';
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.6;
    position: relative;
    top: 1rem;
    line-height: 0;
}

.strapline::after {
    content: '\201D';
    top: 0.5rem;
}

/* =======================================
   Services Section
   ======================================= */

.services {
    background-color: var(--dark-bg);
    padding: 6rem 0;
}



.services .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.services .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 500px;
    height: 666.67px; /* 3:4 aspect ratio for 500px width */
    margin: 0 auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card .service-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-card h3 {
    color: var(--primary);
}

.service-card .service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-card .service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-card .service-features i {
    color: var(--secondary);
}

/* Services Carousel */
.services-carousel {
    width: 100%;
    padding: 2rem 0;
    margin: 0 auto;
}

.swiper-wrapper {
    padding: 3rem 0;
    align-items: center;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    width: auto !important;
    height: auto !important;
    margin: 0 15px;
}

/* Ensure the active slide is properly centered */
.swiper-slide-active {
    z-index: 10;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    top: 50%;
    transform: translateY(-50%);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}



/* =======================================
   Process Section (Vertical Timeline)
   ======================================= */

.process {
    background-color: var(--dark-bg);
    height: 100vh;
    max-height: 100vh; /* Strictly enforce viewport height */
    padding: 0; /* Remove padding from the section itself */
    display: flex;
    flex-direction: column;
}



.process .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem; /* Re-apply padding here */
    box-sizing: border-box; /* Ensure padding is included in height */
}

.process .section-header {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.process-content-wrapper {
    height: calc(79vh - 200px);
    overflow-y: auto;
    padding-right: 1rem; /* Space for scrollbar */
    padding-bottom: 1rem;
    margin: calc(10.5vh - 150px) 0 0 0; /* Moved up by 150px from center */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    position: relative;
    display: flex;
    flex-direction: column;
}

.process-content-wrapper::-webkit-scrollbar {
    display: none;
}

/* Visual feedback during scroll reset */
.process-content-wrapper.resetting-scroll {
    transition: scroll-behavior 0.1s ease-out !important;
    scroll-behavior: auto !important;
}

.process-timeline {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0 6rem 0; /* Added bottom padding for footer */
    flex-grow: 1;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    z-index: 0;
}



.timeline-item {
    padding: 1rem 2.5rem;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    padding: 1.5rem 2rem;
    background-color: var(--white);
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}



.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.timeline-item:nth-child(odd) .timeline-content::before,
.timeline-item:nth-child(even) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    border: medium solid var(--white);
}



.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    border: 4px solid var(--light-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.visible .timeline-icon {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 0 8px rgba(46, 139, 148, 0.2);
}



.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-title {
    color: var(--primary);
    margin-bottom: 0.75rem;
}



.process-footer {
    text-align: center;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border);
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
}



.process-footer p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--text);
}



@media screen and (max-width: 768px) {
    .process-timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 60px;
    }

    .timeline-icon {
        left: 15px;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--white) transparent transparent;
    }

    
}



/* =======================================
   About Section
   ======================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-illustration {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.trust-indicators .indicator-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trust-indicators .indicator-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

/* =======================================
   Contact Section
   ======================================= */

.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 0;
    box-sizing: border-box;
}

.cta .container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta .section-header h2,
.cta .section-header .section-subtitle {
    color: var(--white);
}

.contact-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--dark-card);
    padding: 0;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--dark-border);
    overflow: hidden;
    margin-top: 100px;
}

.contact-form-container {
    padding: 3rem;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header p {
    color: var(--accent);
    font-weight: 600;
    margin: 0;
}

.form-title {
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form-container .form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.contact-form-container .form-group input,
.contact-form-container .form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--dark-hover);
    border: 1px solid var(--dark-border);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form-container .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container .form-group input:focus,
.contact-form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--dark-card);
}

.contact-form-container .form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background-color: var(--dark-hover);
    padding: 0 0.25rem;
}

.contact-form-container .form-group input:focus + label,
.contact-form-container .form-group input:valid + label,
.contact-form-container .form-group textarea:focus + label,
.contact-form-container .form-group textarea:valid + label {
    top: -1.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: var(--accent);
}

.contact-value-prop {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    padding: 3rem;
    border-left: 1px solid var(--dark-border);
}

.value-prop-intro {
    color: var(--text-on-dark);
    margin-bottom: 2rem;
}

.value-prop-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-prop-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.value-prop-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
}

.value-prop-text {
    text-align: left;
}

.value-prop-text h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-prop-text p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.value-prop-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
}

.value-prop-footer p {
    color: var(--accent);
    font-weight: 600;
    margin: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .contact-grid-new {
        grid-template-columns: 1fr;
    }
    .contact-value-prop {
        border-left: none;
        border-top: 1px solid var(--dark-border);
    }
}

/* =======================================
   CTA Section
   ======================================= */

.cta h2 {
    color: var(--white);
}


/* =======================================
   Back to Top Button
   ======================================= */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =======================================
   Footer
   ======================================= */

.footer {
    background: var(--primary-dark);
    color: var(--text-on-dark);
    padding: 4rem 0;
}

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

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
}

.footer-links ul, .footer-services ul {
    padding: 0;
}

.footer-links a, .footer-services a {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-contact .social-links {
    margin-top: 1.5rem;
}

.footer-contact .social-links a {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-border);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =======================================
   Responsive Styles
   ======================================= */

@media (max-width: 992px) {
    .advantage .main-grid,
    .about-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 4rem 0; }
}

/* =======================================
   Text Gradient with Shimmer Effect
   ======================================= */
@keyframes breath {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.text-gradient {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg, 
    #4F46E5, #7C3AED, #EC4899, #F59E0B, #10B981,
    #4F46E5, #7C3AED, #EC4899, #F59E0B, #10B981
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: breath 4s ease-in-out infinite, shimmer 12s ease-in-out infinite;
  transition: all 0.3s ease;
  z-index: 1;
  animation-fill-mode: both;
}

/* Remove the external glow effect */
.text-gradient::after {
  display: none;
}

/* Development Borders
   ======================================= */


/* Popup Styles
   ======================================= */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 37, 64, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
    opacity: 1;
}

.popup-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.popup-content p {
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-content .btn {
    min-width: 150px;
}
