/* --- Variables --- */
:root {
    --primary: #006064;      
    --primary-light: #e0f7fa;
    --accent: #28a745;       
    --navy: #003366;
    --dark: #333;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body { margin: 0; font-family: 'Poppins', sans-serif; background-color: var(--light); color: var(--dark); overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; }
a { text-decoration: none; }

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important; /* CRITICAL: Hides the side overflow */
    margin: 0;
    padding: 0;
}

/* ================= NAVIGATION BAR ================= */
.sc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent; /* Starts transparent */
    padding: 20px 0;
}

/* State when scrolled down (Added via JS) */
.sc-navbar.sc-scrolled {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.sc-nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= LOGO STYLING ================= */
.sc-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    
    /* INITIAL STATE (Transparent/Blue Header) */
    /* Text and Icon are WHITE */
    color: #ffffff !important; 
    fill: #ffffff !important;
}

/* INITIAL STATE IMAGE (If using an image tag) */
.sc-logo img {
    height: 80px;
    width: auto;
    /* Ensure image renders naturally initially */
    filter: none; 
}


/* ================= SCROLLED STATE (White Header) ================= */

/* 1. Change Text & Icon Color to Navy Blue */
.sc-navbar.sc-scrolled .sc-logo {
    color: #003366 !important; /* Forces Text Dark */
}

.sc-navbar.sc-scrolled .sc-logo i {
    color: #003366 !important; /* Forces FontAwesome Icon Dark */
}



/* Menu Links */
.sc-nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.sc-nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
    padding-bottom: 5px;
}

.sc-navbar.sc-scrolled .sc-nav-link {
    color: var(--dark);
}

/* Link Underline Animation */
.sc-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease-in-out;
}

.sc-nav-link:hover::after {
    width: 100%;
}

/* Dropdown */
.sc-dropdown {
    position: relative;
}

.sc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.sc-dropdown:hover .sc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sc-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.sc-dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Action Button */
.sc-nav-btn {
    background: red;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.sc-nav-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Mobile Hamburger */
.sc-hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.sc-navbar.sc-scrolled .bar {
    background-color: var(--dark);
}

/* Mobile Menu Overlay */
.sc-mobile-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.sc-mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* ================= MOBILE DROPDOWN STYLES ================= */
.mobile-link {
    display: block;
    padding: 15px 30px;
    color: var(--dark);
    font-weight: 600;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.mobile-dropdown-group {
    border-bottom: 1px solid #eee;
}

.mobile-drop-btn {
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

/* Arrow rotation when active */
.mobile-drop-btn.active i {
    transform: rotate(180deg);
    color: var(--accent);
}
.mobile-drop-btn.active {
    color: var(--primary);
}

/* The sub-menu content (Hidden by default) */
.mobile-drop-content {
    display: none;
    background-color: #f9f9f9;
}

/* Show when active */
.mobile-drop-content.active {
    display: block;
}

.mobile-drop-content a {
    display: block;
    padding: 12px 30px 12px 50px; /* Indented */
    font-size: 0.95rem;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mobile-drop-content a:hover {
    color: var(--accent);
    background: #fff;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .sc-nav-menu, .sc-nav-btn { display: none; }
    .sc-hamburger { display: block; }
    .sc-mobile-menu.active { display: flex; }
}

/* --- Hero & Stats --- */
.sc-hero { position: relative; height: 60vh; background-color: var(--primary); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); background-size: cover; background-position: center; background-attachment: fixed; }
.sc-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,96,100,0.95), rgba(0,77,64,0.8)); }
.sc-hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; animation: fadeInUp 1s ease-out; }
.sc-tag { background: rgba(255,255,255,0.15); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 20px; display: inline-block; border: 1px solid rgba(255,255,255,0.3); }
.sc-title { font-size: 3.5rem; font-weight: 700; margin-bottom: 15px; }
.sc-sub { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300; }
.sc-btn { background: var(--white); color: var(--primary); padding: 15px 40px; border-radius: 50px; font-weight: 700; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.sc-btn:hover { background: var(--accent); color: white; transform: translateY(-3px); }

.sc-stats-bar { background: var(--white); padding: 30px; border-radius: 15px; margin-top: -50px; position: relative; z-index: 3; display: flex; justify-content: space-around; box-shadow: var(--shadow); max-width: 1000px; margin-left: auto; margin-right: auto; }
.sc-stat-item { text-align: center; border-right: 1px solid #eee; flex: 1; }
.sc-stat-item:last-child { border-right: none; }
.sc-stat-item h4 { font-size: 1.5rem; color: var(--primary); margin-bottom: 5px; }
.sc-stat-item span { color: #666; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* --- Layout --- */
.sc-container { max-width: 1200px; margin: 60px auto; padding: 0 20px; display: flex; gap: 50px; }
.sc-content { flex: 2; }
.sc-sidebar { flex: 1; min-width: 350px; }

/* --- Content Boxes --- */
.sc-box { background: var(--white); padding: 40px; border-radius: 15px; margin-bottom: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border-left: 5px solid var(--primary); }
.sc-heading { font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
.sc-text { line-height: 1.8; color: #555; font-size: 1.05rem; }

/* --- Methodology Box --- */
.sc-method-box { background: #f0f8ff; border-left-color: var(--accent); }
.sc-strategy-list { list-style: none; padding: 0; margin-top: 15px; }
.sc-strategy-list li { margin-bottom: 10px; color: #444; font-size: 1rem; display: flex; align-items: center; }
.sc-strategy-list li i { color: var(--accent); margin-right: 12px; font-size: 1.1rem; }

/* --- Audience Checklist --- */
.sc-audience-list { list-style: none; padding: 0; }
.sc-audience-list li { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; color: #444; font-size: 1.05rem; }
.sc-audience-list li i { color: var(--accent); margin-right: 15px; font-size: 1.2rem; }

/* --- Syllabus --- */
.sc-syllabus-item { display: flex; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid #eee; border-radius: 10px; margin-bottom: 15px; transition: transform 0.3s; animation: slideInLeft 0.5s ease-out forwards; opacity: 0; }
.sc-syllabus-item:hover { transform: translateX(10px); border-color: var(--primary); }
.sc-syl-icon { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-right: 20px; flex-shrink: 0; }
.sc-syl-info h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--navy); font-weight: 600; }
.sc-syl-info p { margin: 0; font-size: 0.9rem; color: #666; }

/* --- Accordion --- */
.sc-accordion-item { margin-bottom: 15px; border-radius: 10px; overflow: hidden; border: 1px solid #eee; }
.sc-accordion-btn { width: 100%; padding: 20px; background: var(--white); border: none; text-align: left; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--navy); transition: 0.3s; font-size: 1.05rem; }
.sc-accordion-btn:hover, .sc-accordion-btn.active { background: var(--primary-light); color: var(--primary); }
.sc-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--white); padding: 0 20px; }
.sc-accordion-content p { margin: 20px 0; color: #555; line-height: 1.6; }

/* --- Sidebar --- */
.sc-widget { background: var(--primary); padding: 40px; border-radius: 15px; color: var(--white); position: sticky; top: 30px; box-shadow: var(--shadow); }
.sc-widget h3 { margin-bottom: 15px; font-size: 1.8rem; }
.sc-widget p { font-size: 0.95rem; opacity: 0.9; margin-bottom: 25px; line-height: 1.6; }
.sc-input { width: 100%; padding: 15px; margin-bottom: 15px; border: none; border-radius: 8px; box-sizing: border-box; font-family: inherit; }
.sc-submit { width: 100%; padding: 15px; background: var(--accent); color: white; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; transition: background 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.sc-submit:hover { background: var(--accent-hover); }

/* --- CAROUSEL STYLES --- */
.sc-carousel-section { padding: 50px 0; background: var(--light); border-top: 1px solid #eee; }
.sc-carousel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; max-width: 1200px; margin: 0 auto 30px; padding: 0 20px; }
.sc-carousel-header h2 { font-size: 2rem; color: var(--navy); }
.sc-carousel-nav button { background: var(--white); border: 1px solid #ddd; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--primary); transition: 0.3s; }
.sc-carousel-nav button:hover { background: var(--primary); color: white; border-color: var(--primary); }

.sc-carousel-container { max-width: 1200px; margin: 0 auto; overflow: hidden; padding: 20px; }
.sc-carousel-track { 
    display: flex; 
    gap: 30px; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    padding-bottom: 20px; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    padding-left: 5px; 
}
.sc-carousel-track::-webkit-scrollbar { display: none; }

.sc-carousel-card { 
    min-width: 300px; 
    max-width: 300px; 
    background: white; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: transform 0.3s; 
    flex-shrink: 0; 
}
.sc-carousel-card:hover { transform: translateY(-10px); }
.sc-car-img img { width: 100%; height: 160px; object-fit: cover; }
.sc-car-body { padding: 20px; }
.sc-car-body span { font-size: 0.8rem; color: var(--accent); text-transform: uppercase; font-weight: bold; }
.sc-car-body h4 { margin: 10px 0; color: var(--navy); font-size: 1.2rem; }
.sc-car-body a { font-size: 0.9rem; color: var(--primary); font-weight: 600; }

/* Mobile */
@media (max-width: 900px) {
    .sc-container { flex-direction: column; }
    .sc-stats-bar { flex-direction: column; gap: 20px; width: 85%; margin-top: -30px; }
    .sc-stat-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 15px; }
    .sc-hero-title { font-size: 2.5rem; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }


