/* Hero section start */
:root {
    --primary-blue: #0B5ED7;
    --primary-blue-soft: #5FA8FF;
    --text-dark: #111827;
    --text-muted: #6B7280;
    --line-muted: rgba(11, 94, 215, 0.15);
    --bg: #ffffff;
}

html, body {
    overflow-x: hidden;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
.container-about {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

/* Fix overlap of last step with next section on large screens */
@media (min-width: 1200px) {
    .container-about#scrollZone {
        margin-bottom: 200px;
    }
}

/* Fix overlap on mobile screens */
@media (max-width: 1199px) {
    .container-about#scrollZone {
        padding-bottom: 180px;
    }
}

/* SVG Layer */
.svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#main-svg {
    width: 100%;
    height: 100%;
}

.path-bg {
    fill: none;
    stroke: var(--line-muted);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}


.path-active {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 2;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;

    /* Soft professional glow */
    filter: drop-shadow(0 0 6px rgba(11, 94, 215, 0.35)) drop-shadow(0 0 14px rgba(95, 168, 255, 0.25));

    transition: stroke-dashoffset 0.08s linear;
}


/* Dots Glow */
.dot {
    fill: #dbeafe;
    /* light blue */
    r: 6;
    transition: fill 0.35s ease, r 0.35s ease;
}
/* HTML Dots Style */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 13%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #dbeafe;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.dot.active {
    fill: #29b3fe;
    r: 8;

    filter:
        drop-shadow(0 0 6px rgba(11, 94, 215, 0.6)) drop-shadow(0 0 14px rgba(95, 168, 255, 0.4));
}
.timeline-dot.active {
    background-color: #29b3fe;
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 10px rgba(11, 94, 215, 0.6), 0 0 14px rgba(95, 168, 255, 0.4);
}


/* Content Layout */
.steps {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.step-item {
    display: flex;
    width: 100%;
    margin-bottom: 90px;
    position: relative; /* Ensure dot is positioned relative to this */
    align-items: center;
}

.step-item:nth-child(even) {
    justify-content: flex-end;
}

.step-item:nth-child(odd) {
    justify-content: flex-start;
}

.content2 {
    width: 40%;
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

.content2.active {
    opacity: 1;
}

.num {
    font-family: serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #00DFDF;
    margin-bottom: 8px;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.mobile-progress-container {
    display: none;
}

/* Responsive Mobile */


/* Hero section ends */



/* OVERLAP SECTION STARTS */
.overlap-card {
    margin-top: -250px;
    /* Pulls the card UP into the header */
    position: relative;
    z-index: 10;
    border-radius: 50px;
    margin-bottom: 100px; /* Added spacing to prevent banner overlap on content */
}

/* Fix for HP ProBook / Smaller Laptops (1366x768 range) */
@media (min-width: 992px) and (max-width: 1400px) {
    .overlap-card {
        margin-top: -150px; /* Reduced overlap for smaller laptops */
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {

    .overlap-card {
        margin-top: -260px;
        /* Smaller overlap for mobile */
        margin-left: 15px;
        margin-right: 15px;
        padding: 30px 20px !important;
    }
}

/* Center align content in overlap card */
.overlap-card .feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Text styling */
.feature-item h4 {
    color: #112240;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/* CTA OVERLAP CARDS SECTION STARTS */
.principles-section2 {
    background-color: #050b18;
    /* Dark base color */
    margin-top: 0px;
    /* Space for the overlap */
    background-color: #0d1012;
    /* Exact dark base */

    /* Dual glow layers jo move hongi */
    background-image: radial-gradient(circle at 80% 20%,
            rgba(7, 162, 187, 0.25) 0%,
            rgba(13, 16, 18, 0) 50%),
        radial-gradient(circle at 20% 80%,
            rgba(7, 162, 187, 0.15) 0%,
            rgba(13, 16, 18, 0) 50%);

    background-size: 150% 150%;
    /* Animation movement ke liye thoda space */

    /* Animation: Name | Duration | Timing-Function | Iteration | Direction */
    animation: infiniteShine 4s ease-in-out infinite alternate;
}

@keyframes infiniteShine {
    0% {
        background-position: 0% 0%;
        filter: brightness(0.8) saturate(1);
    }

    50% {
        /* Brightness badhegi lekin contrast bhi rahega taaki grey na dikhe */
        background-position: 50% 50%;
        filter: brightness(1.2) saturate(1.5) contrast(1.1);
    }

    100% {
        background-position: 100% 100%;
        filter: brightness(0.8) saturate(1);
    }
}

/* Blue Overlapping Banner */
.cta-banner {
    background: linear-gradient(90deg, #0056b3, #007bff);
    color: white;
    padding: 25px 40px;
    margin-top: 0;
    height: auto;
    border-radius: 12px;
    transform: translateY(-50%);
    /* This creates the overlap */
    z-index: 10;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Rocket and Rope Styles */
.rope-line {
    position: absolute;
    right: -80px;
    top: 50%;
    width: 80px;
    height: 8px;
    background: repeating-linear-gradient(45deg, #8B4513, #8B4513 10px, #A0522D 10px, #A0522D 20px);
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border-radius: 4px;
}

.rocket-puller {
    position: absolute;
    right: -180px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 120px;
    filter: drop-shadow(-10px 10px 15px rgba(0,0,0,0.4));
    animation: rocketFloat 2s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-55%) translateX(5px); }
}

.banner-icon {
    font-size: 2.5rem;
}

/* Background for content with subtle radial glow */
.content-wrapper {
    padding-top: 40px;
}

/* Principle Cards */
.principle-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    height: 100%;
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.principle-card h5 {
    color: #FFFFFF;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .cta-banner {
        height: auto;
        margin-top: 50px;
        transform: translateY(0);
        flex-direction: column !important;
        text-align: center;
        padding: 30px 20px;
        width: auto;
        margin-left: 15px;
        margin-right: 15px; 
    }

    .cta-banner .d-flex {
        flex-direction: column !important;
    }

    .cta-banner button {
        width: 100%;
        margin-top: 15px;
    }

    .rope-line, .rocket-puller {
        display: none !important;
    }

    .principle-card {
        padding: 20px;
        text-align: center;
    }
}

/* CTA OVERLAP CARDS SECTION ENDS */



/* ===============================
   TEAM SECTION
================================ */

.team-section {
    background: #ffffff;
    color: #0f172a;
}

/* Heading */
.team-header {
    max-width: 820px;
    margin: 0 auto 80px;
    text-align: center;
}

.team-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
}

.team-header p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

/* Member */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 👈 KEY FIX */
    text-align: center;
    /* 👈 KEY FIX */
}

/* Image */
.team-member img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    margin-bottom: 14px;
}

/* Name */
.team-member h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Role */
.team-member span {
    font-size: 13px;
    color: #64748b;
}

/* Staggered look (desktop only – like screenshot) */
.member-left {
    transform: translateY(60px);
}

.member-top {
    transform: translateY(-40px);
}

.member-bottom {
    transform: translateY(40px);
}

.member-right {
    transform: translateY(-20px);
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 60px;
    }

    .member-left,
    .member-top,
    .member-bottom,
    .member-right {
        transform: none;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .team-section {
        padding: 80px 0;
    }

    .team-header h2 {
        font-size: 26px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    .team-member img {
        width: 140px;
        height: 140px;
    }
}


/* TEAM SECTIONS ENDS */
