:root {
    --primary-color: #0056b3;
    --secondary-color: #1a1a1a;
    --accent-color: #ffc107;
    --light-bg: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Custom Colors overrides */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-secondary-custom { background-color: var(--secondary-color) !important; }

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    font-size: 0.85rem;
}
.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.social-icon:hover {
    background: var(--primary-color);
    color: white;
}

/* Navbar */
.navbar-brand .icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 10px 15px !important;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Dropdown Menu Styling - Open on Hover */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px;
    margin-top: 0;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-item {
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.2s;
}
.dropdown-item:hover {
    background-color: #e3f2fd;
    color: var(--primary-color);
}

.btn-custom {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,86,179,0.3);
    border: none;
    transition: 0.3s;
}
.btn-custom:hover {
    background-color: #004494;
    color: white;
    transform: translateY(-2px);
}


/* --- HERO CAROUSEL ANIMATIONS & STYLES --- */
.hero-section {
    padding: 100px 0 160px 0; /* Increased bottom padding for wave */
    background: linear-gradient(135deg, #fff 0%, #f3f8ff 100%); /* Subtle gradient bg */
    position: relative;
    overflow: hidden;
    width: 100%;
}
.carousel-item {
    transition: transform 0.6s ease-in-out;
    padding-bottom: 20px;
}

/* Background Shapes */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}
.shape-1 {
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(0, 86, 179, 0.08);
    animation: float 8s ease-in-out infinite;
}
.shape-2 {
    bottom: 50px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 193, 7, 0.1);
    animation: float 7s ease-in-out infinite reverse;
}

/* Wave Divider */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}
.hero-wave .shape-fill {
    fill: #f8f9fa; /* Matches Features section bg */
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
}
.text-gradient-warning {
    background: linear-gradient(45deg, #ffb300, #ff6f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translate3d(50px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Applying animations when slide is active */
.carousel-item.active .hero-tag { animation: fadeInUp 0.8s ease both 0.1s; }
.carousel-item.active .hero-title { animation: fadeInUp 0.8s ease both 0.3s; }
.carousel-item.active .hero-desc { animation: fadeInUp 0.8s ease both 0.5s; }
.carousel-item.active .hero-btns { animation: fadeInUp 0.8s ease both 0.7s; }
/* Floating Animation for Image */
.carousel-item.active .hero-img-box {
    animation: fadeInRight 1s ease both 0.3s, float 4s ease-in-out infinite 1.3s; /* Entrance then Float */
}

.hero-tag {
    background-color: #e3f2fd;
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.1);
}
.hero-title {
    font-size: 4rem;
    font-weight: 800; /* Bolder */
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 5;
}
.hero-desc {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 35px;
    max-width: 600px;
    position: relative;
    z-index: 5;
}
.hero-btns {
    position: relative;
    z-index: 5;
}
.hero-img-box {
    background: #fff;
    border: 8px solid rgba(255,255,255,0.5); /* Semi transparent border */
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); /* Deeper shadow */
    border-radius: 30px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.5rem;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
}

/* Carousel Controls & Indicators */
.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 20;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--primary-color);
}
.carousel-control-prev { left: 40px; }
.carousel-control-next { right: 40px; }

.carousel-control-prev:hover, .carousel-control-next:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 40px;
    margin-bottom: 0;
    z-index: 20;
}
.carousel-indicators [data-bs-target] {
    background-color: #ddd;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    border: none;
    opacity: 1;
    transition: 0.3s;
}
.carousel-indicators .active {
    background-color: var(--primary-color);
    width: 35px;
    border-radius: 10px;
}

/* --- SMOOTH SCROLL REVEAL CLASS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features Section */
.features-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* Heading Box */
.heading-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    text-align: center;
}
.heading-deco-1 {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: #e3f2fd;
    border-radius: 50%;
    z-index: 0;
}
.heading-deco-2 {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: #fff3cd;
    border-radius: 50%;
    z-index: 0;
}
.heading-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: #f0f7ff;
    border-bottom-left-radius: 80px;
    transition: 0.4s;
}
.feature-card:hover::before {
    background: rgba(0,86,179,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}
.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}
.feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.feature-text {
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.6;
}
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}
.read-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: 0.3s;
}
.feature-card:hover .read-more {
    color: #004494;
}
.feature-card:hover .read-more i {
    margin-left: 10px;
}

/* COUNTER SECTION */
.counter-section {
    position: relative;
    background-image: url('https://img.freepik.com/free-photo/side-view-kids-playing-kickball_23-2149457290.jpg?t=st=1766137794~exp=1766141394~hmac=6775e3196d2e4cde903b6b39ca5035517c0dda6c146cab821f5919b5c682cd0c&w=2000');
    background-size: cover;
    background-position: top;
    background-attachment: scroll; /* Fixed for visibility */
    padding: 80px 0;
    color: white;
    text-align: left;
}
.counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.counter-content {
    position: relative;
    z-index: 2;
}
.counter-box {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.counter-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 0;
    margin-right: 20px;
    width: 60px;
    text-align: center;
}
.counter-text-box {
    display: flex;
    flex-direction: column;
}
.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.1;
    color: white;
}
.counter-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* ABOUT SECTION */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}
.about-img-container {
    position: relative;
    padding: 20px;
}
.about-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}
.about-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.2;
}
.about-shape-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.1;
}
.list-unstyled li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
    display: flex;
    align-items: flex-start;
}
.list-unstyled li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
    background: #e3f2fd;
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding: 50px 0; }
    .hero-img-box { margin-top: 40px; height: 300px; }
    .heading-box { padding: 2rem; }

    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
}

/* --- MOBILE APP SECTION (ANIMATED DARK BACKGROUND & GLASS CARD) --- */
.app-section {
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    /* Animated Dark Gradient */
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #0f172a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Wave Curve at top (White to match previous section) */
.app-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.app-wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.app-wave-top .shape-fill { fill: #ffffff; }

/* Floating Particles/Blobs */
.app-blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Subtle light */
    filter: blur(40px);
    z-index: 1;
    animation: floatBlob 10s infinite alternate;
}
.ab-1 { width: 300px; height: 300px; top: -50px; left: -50px; animation-delay: 0s; }
.ab-2 { width: 200px; height: 200px; bottom: 50px; right: 10%; animation-delay: -5s; }
.ab-3 { width: 150px; height: 150px; top: 40%; left: 40%; background: rgba(255, 193, 7, 0.15); animation-delay: -2s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.app-content { position: relative; z-index: 10; }

/* GLASS CARD STYLE */
.glass-card {
    background: rgba(255, 255, 255, 0.05); /* Very subtle white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- FIXED: Override List Styles Specifically for Mobile App Section --- */
.app-section .list-unstyled li {
    color: #fff !important; /* Force White Color */
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.app-section .list-unstyled li i {
    background: transparent !important; /* Remove circle background */
    color: var(--accent-color) !important; /* Make icon Yellow */
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    margin-right: 15px;
    font-size: 1.2rem !important;
    margin-top: 3px;
}

/* Phone Frame Style (Straightened) */
.phone-frame {
    width: 300px;
    height: 600px;
    border: 12px solid #1e293b; /* Phone Bezel Color */
    border-radius: 40px;
    position: relative;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    margin: 0 auto;
    transition: transform 0.3s;
}
.phone-frame:hover {
    transform: scale(1.02);
}
/* Phone Notch/Island */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1e293b;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

/* Carousel Images inside Phone */
#screenCarousel .carousel-item img {
    height: 600px;
    object-fit: cover;
}

.store-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-right: 15px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}
.store-btn:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}
.store-btn i { font-size: 1.5rem; margin-right: 10px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-size: 0.8rem; text-align: left; }
.store-btn span b { font-size: 1rem; }

/* FOOTER STYLES */
footer { background: var(--secondary-color); color: rgba(255,255,255,0.7); padding: 60px 0 20px; }
footer h5 { color: white; margin-bottom: 20px; font-weight: 600; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 10px; transition: 0.3s; }
footer a:hover { color: var(--accent-color); padding-left: 5px; }

/* --- STEP AHEAD SECTION --- */
.step-ahead-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 8px 25px;
    border-radius: 50px;
    background: #e3f2fd;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.1);
    margin-bottom: 20px;
}

.step-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.step-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto 50px;
}

.button-group-container {
    background: white;
    padding: 5px;
    border-radius: 60px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.group-btn {
    background: transparent;
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.group-btn:hover {
    color: var(--primary-color);
}

.group-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.2);
}

.tab-content-area {
    margin-top: 60px;
    display: none;
}

.tab-content-area.active {
    display: block;
}

/* ANIMATIONS FOR TAB CONTENT */
@keyframes growLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SPLIT TIMELINE STYLES */
.split-timeline-container {
    position: relative;
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* The Center Line with Animation */
.split-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 4px;
    width: 0; /* Starts at 0 */
    background: linear-gradient(90deg, #e0e0e0 0%, var(--primary-color) 50%, #e0e0e0 100%);
}

/* Trigger Animation when Active */
.tab-content-area.active .split-line {
    animation: growLine 1.5s ease-out forwards;
}

.split-steps-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    width: 100%;
}

.split-step {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.split-upper, .split-lower {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5px;
    opacity: 0; /* Hidden initially for animation */
}

.split-upper {
    bottom: 50%;
    padding-bottom: 40px;
    justify-content: flex-end;
}

.split-lower {
    top: 50%;
    padding-top: 40px;
    justify-content: flex-start;
}

/* Staggered Animations */
.tab-content-area.active .split-step:nth-child(1) .split-upper {
    animation: slideDown 0.5s 0.2s forwards;
}

.tab-content-area.active .split-step:nth-child(1) .split-lower {
    animation: slideUp 0.5s 0.3s forwards;
}

.tab-content-area.active .split-step:nth-child(2) .split-upper {
    animation: slideDown 0.5s 0.4s forwards;
}

.tab-content-area.active .split-step:nth-child(2) .split-lower {
    animation: slideUp 0.5s 0.5s forwards;
}

.tab-content-area.active .split-step:nth-child(3) .split-upper {
    animation: slideDown 0.5s 0.6s forwards;
}

.tab-content-area.active .split-step:nth-child(3) .split-lower {
    animation: slideUp 0.5s 0.7s forwards;
}

.tab-content-area.active .split-step:nth-child(4) .split-upper {
    animation: slideDown 0.5s 0.8s forwards;
}

.tab-content-area.active .split-step:nth-child(4) .split-lower {
    animation: slideUp 0.5s 0.9s forwards;
}

.tab-content-area.active .split-step:nth-child(5) .split-upper {
    animation: slideDown 0.5s 1.0s forwards;
}

.tab-content-area.active .split-step:nth-child(5) .split-lower {
    animation: slideUp 0.5s 1.1s forwards;
}

.tab-content-area.active .split-step:nth-child(6) .split-upper {
    animation: slideDown 0.5s 1.2s forwards;
}

.tab-content-area.active .split-step:nth-child(6) .split-lower {
    animation: slideUp 0.5s 1.3s forwards;
}

.tab-content-area.active .split-step:nth-child(7) .split-upper {
    animation: slideDown 0.5s 1.4s forwards;
}

.tab-content-area.active .split-step:nth-child(7) .split-lower {
    animation: slideUp 0.5s 1.5s forwards;
}

.tab-content-area.active .split-step:nth-child(8) .split-upper {
    animation: slideDown 0.5s 1.6s forwards;
}

.tab-content-area.active .split-step:nth-child(8) .split-lower {
    animation: slideUp 0.5s 1.7s forwards;
}

.split-dot {
    width: 18px;
    height: 18px;
    background: white;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: 0.3s;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.split-step:hover .split-dot {
    border-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.3);
}

.split-connector {
    position: absolute;
    left: 50%;
    width: 2px;
    background: #ccc;
    height: 40px;
    transform: translateX(-50%);
    z-index: 0;
    border-left: 2px dashed #ccc;
    background: none;
}

.split-upper .split-connector {
    bottom: 0;
}

.split-lower .split-connector {
    top: 0;
}

.st-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    margin-bottom: 10px;
    transition: 0.3s;
    z-index: 5;
}

.st-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.st-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    width: 100%;
    max-width: 140px;
    transition: 0.3s;
}

.split-step:hover .st-desc {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* ODD STEPS (1, 3, 5, 7): Icon UP */
.split-step:nth-child(odd) .split-upper .st-icon-box {
    order: 1;
}

.split-step:nth-child(odd) .split-upper .st-title {
    order: 2;
    margin-bottom: 0;
}

/* COLORS */
.split-step:nth-child(1) .st-icon-box, .split-step:nth-child(5) .st-icon-box {
    color: #739FE7;
    border-color: #e3f2fd;
}

.split-step:nth-child(2) .st-icon-box, .split-step:nth-child(6) .st-icon-box {
    color: #8DD2A0;
    border-color: #e8f5e9;
}

.split-step:nth-child(3) .st-icon-box, .split-step:nth-child(7) .st-icon-box {
    color: #967FE7;
    border-color: #f3e5f5;
}

.split-step:nth-child(4) .st-icon-box, .split-step:nth-child(8) .st-icon-box {
    color: #EA6F7D;
    border-color: #ffebee;
}

.split-step:hover .st-icon-box {
    transform: scale(1.1);
    color: white;
    border-color: white;
}

.split-step:nth-child(1):hover .st-icon-box, .split-step:nth-child(5):hover .st-icon-box {
    background: #739FE7;
}

.split-step:nth-child(2):hover .st-icon-box, .split-step:nth-child(6):hover .st-icon-box {
    background: #8DD2A0;
}

.split-step:nth-child(3):hover .st-icon-box, .split-step:nth-child(7):hover .st-icon-box {
    background: #967FE7;
}

.split-step:nth-child(4):hover .st-icon-box, .split-step:nth-child(8):hover .st-icon-box {
    background: #EA6F7D;
}

/* TECH STACK STYLES */
.tech-card {
    background: white;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: 0.3s;
}

.tech-card span {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.tech-icon.html {
    color: #E34F26;
}

.tech-icon.css {
    color: #1572B6;
}

.tech-icon.js {
    color: #F7DF1E;
}

.tech-icon.react {
    color: #61DAFB;
}

.tech-icon.node {
    color: #339933;
}

.tech-icon.php {
    color: #777BB4;
}

.tech-icon.python {
    color: #3776AB;
}

.tech-icon.sql {
    color: #00758F;
}

.tech-icon.aws {
    color: #FF9900;
}

.tech-icon.android {
    color: #3DDC84;
}

.tech-icon.apple {
    color: #000000;
}

.tech-icon.bootstrap {
    color: #7952B3;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

/* --- PARTNERSHIP STYLES --- */
.partner-magic-container {
    display: flex;
    gap: 15px;
    height: 450px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.partner-card {
    flex: 1;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    opacity: 0.8;
    transition: 0.3s;
}

.partner-card:hover {
    flex: 4;
}

.partner-card:hover::before {
    opacity: 0.6;
}

.partner-card.p-blue {
    background-image: url('https://img.freepik.com/free-photo/financial-graph-chart_53876-119106.jpg?w=740');
}

.partner-card.p-green {
    background-image: url('https://img.freepik.com/free-photo/customer-service-agent-working_23-2149023067.jpg?w=740');
}

.partner-card.p-purple {
    background-image: url('https://img.freepik.com/free-vector/digital-technology-background-with-binary-code_1017-21727.jpg?w=740');
}

.partner-card.p-red {
    background-image: url('https://img.freepik.com/free-photo/digital-marketing-with-icons-business-people_53876-94833.jpg?w=740');
}

.p-content {
    position: relative;
    z-index: 2;
    transition: 0.4s;
    width: 100%;
}

.p-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: 0.4s;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.p-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    white-space: nowrap;
}

.p-desc {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s;
    transform: translateY(20px);
}

.partner-card:hover .p-desc {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.partner-card:hover .p-icon {
    background: var(--accent-color);
    color: black;
    transform: scale(1.1);
}

/* PARTNER LOGOS MARQUEE */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.marquee-track {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.partner-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 60px;
    margin: 0 30px;
    color: #888;
    font-size: 2.5rem;
    transition: 0.3s;
}

.partner-logo-item:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.partner-logo-item img {
    max-height: 50px;
    width: auto;
    grayscale: 100%;
    opacity: 0.6;
    transition: 0.3s;
}

.partner-logo-item:hover img {
    grayscale: 0%;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Fallback for Split Line */
@media (max-width: 991px) {
    .split-timeline-container {
        height: auto;
        padding: 20px 0;
    }

    .split-line {
        left: 40px;
        width: 4px !important;
        height: 100% !important;
        top: 0;
        bottom: 0;
        transform: none;
        animation: none !important;
    }

    .split-steps-wrapper {
        flex-direction: column;
    }

    .split-step {
        height: auto;
        flex-direction: row;
        margin-bottom: 30px;
        align-items: flex-start;
        padding-left: 70px;
        text-align: left;
    }

    .split-dot {
        left: 40px;
        top: 35px;
    }

    .split-upper, .split-lower {
        position: static;
        width: auto;
        padding: 0;
        display: block;
        text-align: left;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .split-upper {
        margin-bottom: 5px;
    }

    .split-connector {
        display: none;
    }

    .st-icon-box {
        float: left;
        margin-right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .st-desc {
        max-width: 100%;
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .split-upper {
        order: 1;
    }

    .split-lower {
        order: 2;
    }

    .partner-magic-container {
        flex-direction: column;
        height: auto;
    }

    .partner-card {
        height: 200px;
        margin-bottom: 10px;
        flex: none !important;
    }

    .p-desc {
        opacity: 1;
        max-height: auto;
        transform: none;
    }
}