/* ===============================================
   SSP Website - Complete Clean & Optimized CSS
   Strategic Smart Partnerships
   Final Version - June 2026
=============================================== */

:root {
    --primary-blue: #0E519C;
    --accent-orange: #F15A24;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-muted: #555;
}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-weight: 700; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== HEADER & NAVIGATION ===================== */
header {
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.logo a {
    font-weight: 700;
    text-decoration: none;
    color: #06408E;
    font-size: 19px;
}

.logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Main Navigation */
.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    padding: 18px 0;               /* Increased for better hover target */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.06rem;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-orange), #ff7a3d);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ===================== DROPDOWN MENU - FIXED ===================== */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;                    /* Removed gap */
    left: -10px;
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    min-width: 260px;
    border-radius: 16px;
    padding: 12px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f4f8;
}

/* Main hover effect with overlap */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    top: calc(100% - 6px);        /* Slight overlap for smooth movement */
}

/* Invisible bridge to prevent gap disappearance */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    height: 35px;
    background: transparent;
    z-index: -1;
}

/* Dropdown items */
.dropdown-menu li a {
    padding: 14px 24px;
    display: block;
    color: #34495e;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 3px 8px;
}

.dropdown-menu li a:hover {
    background: #f8fbff;
    color: var(--accent-orange);
    padding-left: 30px;
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
    display: none;
    font-size: 1.9rem;
    cursor: pointer;
    color: #2c3e50;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-menu:hover { 
    background: #f8f9fa; 
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        padding: 25px 0;
    }
    
    .nav-links.active { 
        display: flex; 
    }
    
    .mobile-menu { 
        display: block; 
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border: none;
        margin: 5px 0;
        padding-left: 30px;
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown:hover .dropdown-menu {
        top: auto;
    }
    
    .dropdown.active .dropdown-menu { 
        display: block; 
    }
}
/* ===================== HERO SLIDER ===================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 580px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: all 1200ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(14, 81, 156, 0.78), rgba(14, 81, 156, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 820px;
    padding: 0 20px;
}

.slide.active .hero-content {
    animation: heroContentIn 1.4s ease forwards;
}

@keyframes heroContentIn {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 2rem;
}
.hero-content .cta-buttons .btn {
    transition: all 0.3s ease;
}
.hero-content .cta-buttons .btn:hover {
    transform: translateY(-3px);
}
/* ===================== BUTTONS ===================== */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.05rem;
    border: none;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background: #e04e1f;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(241, 90, 36, 0.3);
}

.btn-secondary {
    background: primary-blue;
    color: white;
    border: 2px solid white;
}

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


.btn-secondaryx {
    background: #0E519C;
    color: white;
    border: 2px solid white;
}

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


/* ===================== TESTIMONIALS ===================== */
.testimonial-slider { overflow: hidden; border-radius: 24px; }

#testimonialTrack {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide { min-width: 100%; padding: 0 16px; }

.testimonial-card {
    background: white;
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.testimonial-card p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-orange);
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(241, 90, 36, 0.5);
}

/* ===================== COMMON SECTIONS ===================== */
section { padding: 0px 0; }

.section-title {
    text-align: center;
    font-size: 2.6rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
    padding: 1.25rem;
}

.card:hover { transform: translateY(-12px); }

/* ===================== CREDIBILITY STRIP ===================== */
.credibility-strip {
    background: linear-gradient(135deg, #f8f9fa, #f1f5f9);
    padding: 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.credibility-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.credibility-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    min-width: 200px;
}

.credibility-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}


/* ===================== SMARTSTART BOOTCAMP ===================== */
:root {
    --primary-blue: #0E519C;
    --accent-orange: #F15A24;
}

.section {
    padding: 80px 0;
}

/* Cards */
.rounded-3xl, .rounded-[30px], .rounded-[28px] {
    border-radius: 28px;
}

.card-hover:hover {
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    .section {
        padding: 60px 0;
    }
}

/* ===================== ABOUT FOUNDER PAGE ===================== */
:root {
    --primary-blue: #0E519C;
    --accent-orange: #F15A24;
}

.hero {
    background: linear-gradient(135deg, #0B2343 0%, #0E519C 58%, #123B69 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 28%),
                radial-gradient(circle at bottom right, rgba(241,90,36,0.16), transparent 24%);
}

.section {
    padding: 80px 0;
}

.who-card,
.value-card,
.card {
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.who-card,
.value-card {
    border: 1px solid #e2e8f0;
}

.who-card:hover,
.value-card:hover,
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
}



/* ===================== FOOTER ===================== */
footer {
    background: var(--primary-blue) !important;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.4rem;
    position: relative;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 45px;
    height: 3px;
    background: var(--accent-orange);
}

.footer-col a {
    color: #e0f0ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-orange);
    padding-left: 6px;
}

.social-icons {
    margin-top: 1.8rem;
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.4s ease;
}

.social-icons a:hover {
    background: var(--accent-orange);
    transform: translateY(-6px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.98rem;
    opacity: 0.9;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.9rem; }
    .section-title { font-size: 2.3rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.6rem; }
    .nav-links { padding: 20px 0; }
    .credibility-wrapper { gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .testimonial-card { padding: 32px 24px; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
}