/* ============================================
   GLOBAL RESET - REMOVE EXTRA SPACE
   ============================================ */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove all default margins from common elements */
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote {
    margin-top: 0;
}

/* Fix container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #2563eb;
    --accent-color: #3b82f6;
    --light-bg: #eff6ff;
    --dark-text: #1e293b;
    --border-color: #cbd5e1;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

/* ============================================
   NAVBAR - COMPLETE WORKING VERSION
   ============================================ */
.navbar {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* LOGO */
.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* DESKTOP MENU */
.navbar-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.navbar-menu li a {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* TOGGLE BUTTON - HIDDEN ON DESKTOP */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* ============================================
   MOBILE RESPONSIVE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Show toggle button */
    .navbar-toggle {
        display: block;
    }

    /* Hide menu by default */
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1e3a8a, #3b82f6);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    /* Show menu when active */
    .navbar-menu.active {
        display: flex;
    }

    /* Menu items */
    .navbar-menu li {
        text-align: center;
        width: 100%;
    }

    .navbar-menu li a {
        display: block;
        padding: 12px;
        font-size: 1rem;
        border-radius: 0;
        width: 100%;
    }

    /* Animated hamburger -> X */
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Smaller logo on mobile */
    .logo-img {
        height: 35px;
    }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .navbar-menu li a {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* ============================================
   HERO SECTION - COMPLETELY FIXED
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    display: none;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    display: flex;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 60px 20px;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-content .btn {
    padding: 12px 35px;
    font-size: 1rem;
}

.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   HERO MOBILE FIX - COMPLETE
   ============================================ */
@media (max-width: 991px) {
    .top-header {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 250px !important;
        max-height: 350px !important;
    }
    
    .hero-slider {
        min-height: 250px !important;
    }
    
    .hero-slide {
        min-height: 250px !important;
    }
    
    .hero-content {
        padding: 30px 20px !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content .btn {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-indicators {
        bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 200px !important;
        max-height: 280px !important;
    }
    
    .hero-slider {
        min-height: 200px !important;
    }
    
    .hero-slide {
        min-height: 200px !important;
    }
    
    .hero-content {
        padding: 20px 15px !important;
    }
    
    .hero-content h1 {
        font-size: 1.3rem !important;
    }
    
    .hero-content p {
        font-size: 0.8rem !important;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================
   COURSES GRID
   ============================================ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-body {
    padding: 1.5rem;
}

.course-body h3 {
    margin-bottom: 0.5rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 1rem 0;
}

.course-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.course-footer {
    display: flex;
    gap: 10px;
}

.course-footer .btn {
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stat-icon i {
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .stats-wrapper {
        grid-template-columns: 1fr;
    }
    .stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.welcome-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.welcome-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.welcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.welcome-card:hover .welcome-icon {
    transform: scale(1.1);
}

.welcome-icon i {
    font-size: 2.5rem;
    color: white;
}

.welcome-card h1 {
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.welcome-card p {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

.welcome-tagline {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   MISSION VISION VALUES
   ============================================ */
.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.mission-box, .vision-box, .values-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.mission-box i, .vision-box i, .values-box i {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.mission-box h3, .vision-box h3, .values-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.mission-box p, .vision-box p {
    color: #64748b;
}

.values-box ul {
    list-style: none;
    text-align: left;
}

.values-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.values-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
}

/* ============================================
   TEACHERS SECTION
   ============================================ */
.teachers-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.teacher-card h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #1e293b;
}

.teacher-card p {
    color: #2563eb;
    font-weight: 500;
    margin: 0.5rem 0;
}

.teacher-bio {
    padding: 0 1rem 1rem;
    color: #64748b;
    font-size: 0.85rem;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    border-radius: 3px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.choose-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    border-bottom-color: #3b82f6;
}

.choose-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: all 0.3s ease;
}

.choose-card:hover .choose-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.choose-icon i {
    font-size: 2rem;
    color: white;
}

.choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.choose-card:hover h3 {
    color: #1e3a8a;
}

.choose-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    padding: 4rem 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.about-content p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.about-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
}

.about-features .feature i {
    color: #10b981;
}

.about-image img {
    border-radius: 12px;
    width: 100%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: #1e3a8a;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-values {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .welcome-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .choose-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .course-footer {
        flex-direction: column;
    }
    
    .welcome-card h1 {
        font-size: 1.5rem;
    }
    
    .choose-card h3 {
        font-size: 1.1rem;
    }
}
.syllabus-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fee2e2;
    color: #dc2626;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.syllabus-link:hover {
    background: #dc2626;
    color: white;
}
/* Syllabus Section Styles */
.syllabus-section {
    margin: 30px 0;
}

.syllabus-card {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #fecaca;
}

.syllabus-card-icon {
    width: 70px;
    height: 70px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.syllabus-card-icon i {
    font-size: 32px;
    color: white;
}

.syllabus-card-content {
    flex: 1;
}

.syllabus-card-content h3 {
    color: #991b1b;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.syllabus-card-content p {
    color: #7f1d1d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.syllabus-card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-view-pdf, .btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-pdf {
    background: #3b82f6;
    color: white;
}

.btn-view-pdf:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-download-pdf {
    background: #dc2626;
    color: white;
}

.btn-download-pdf:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .syllabus-card {
        flex-direction: column;
        text-align: center;
    }
    
    .syllabus-card-actions {
        justify-content: center;
    }
}
/* Syllabus Badge on Course Cards */
.syllabus-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin: 8px 0;
    width: fit-content;
}

.syllabus-badge i {
    margin-right: 5px;
    font-size: 10px;
}
/* Syllabus Badge on Course Cards */
.syllabus-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin: 8px 0;
    width: fit-content;
}

.syllabus-badge i {
    margin-right: 5px;
    font-size: 10px;
}

/* Syllabus Badge Large (for course details page) */
.syllabus-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 15px;
}

/* Syllabus Section */
.syllabus-section {
    margin: 30px 0;
}

.syllabus-card {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #fecaca;
}

.syllabus-card-icon {
    width: 70px;
    height: 70px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.syllabus-card-icon i {
    font-size: 32px;
    color: white;
}

.syllabus-card-content {
    flex: 1;
}

.syllabus-card-content h3 {
    color: #991b1b;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.syllabus-card-content p {
    color: #7f1d1d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.syllabus-card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-view-pdf, .btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-pdf {
    background: #3b82f6;
    color: white;
}

.btn-view-pdf:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-download-pdf {
    background: #dc2626;
    color: white;
}

.btn-download-pdf:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .syllabus-card {
        flex-direction: column;
        text-align: center;
    }
    
    .syllabus-card-actions {
        justify-content: center;
    }
}
/* Syllabus Badge on Course Cards */
.syllabus-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin: 8px 0;
    width: fit-content;
}

.syllabus-badge i {
    margin-right: 5px;
    font-size: 10px;
}
/* Syllabus Section for Course Details Page */
.syllabus-section {
    margin: 30px 0;
}

.syllabus-card {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #fecaca;
}

.syllabus-card-icon {
    width: 70px;
    height: 70px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.syllabus-card-icon i {
    font-size: 32px;
    color: white;
}

.syllabus-card-content {
    flex: 1;
}

.syllabus-card-content h3 {
    color: #991b1b;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.syllabus-card-content p {
    color: #7f1d1d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.syllabus-card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-view-pdf, .btn-download-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-pdf {
    background: #3b82f6;
    color: white;
}

.btn-view-pdf:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-download-pdf {
    background: #dc2626;
    color: white;
}

.btn-download-pdf:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .syllabus-card {
        flex-direction: column;
        text-align: center;
    }
    
    .syllabus-card-actions {
        justify-content: center;
    }
}
/* ============================================
   FIX EXTRA SPACE ON MOBILE - GLOBAL FIX
   ============================================ */
.page-header {
    padding: 40px 0;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
    margin: 0;
}

/* Fix body margin on mobile */
body {
    margin: 0;
    padding: 0;
}

/* Fix container padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile fixes */
@media (max-width: 768px) {
    .page-header {
        padding: 30px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 20px 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
}
/* ============================================
   GLOBAL FIXES FOR MOBILE - REMOVE EXTRA SPACE
   ============================================ */

/* Reset body and html margins */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* Fix container spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Fix page header spacing */
.page-header {
    padding: 40px 0;
    margin: 0;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    text-align: center;
}

/* Fix hero section spacing */
.hero {
    padding: 0;
    margin: 0;
    min-height: auto;
}

.hero-slider {
    padding: 0;
    margin: 0;
}

.hero-slide {
    padding: 0;
    margin: 0;
}

.hero-content {
    padding: 80px 20px;
    margin: 0;
}

/* Fix sections spacing */
section {
    padding: 60px 0;
    margin: 0;
}

/* Fix all headings and paragraphs */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

p {
    margin-top: 0;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */

@media (max-width: 768px) {
    /* Fix page header */
    .page-header {
        padding: 25px 0 !important;
        margin: 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
        margin: 0 !important;
    }
    
    .page-header p {
        font-size: 0.9rem !important;
        margin: 5px 0 0 0 !important;
    }
    
    /* Fix sections */
    section {
        padding: 30px 0 !important;
        margin: 0 !important;
    }
    
    /* Fix hero */
    .hero-content {
        padding: 40px 20px !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin: 0 0 10px 0 !important;
    }
    
    .hero-content p {
        font-size: 0.9rem !important;
        margin: 0 0 15px 0 !important;
    }
    
    /* Fix welcome section */
    .welcome-card {
        padding: 20px !important;
        margin: 0 !important;
    }
    
    .welcome-card h1 {
        font-size: 1.5rem !important;
        margin: 0 0 10px 0 !important;
    }
    
    /* Fix about section */
    .about-wrapper {
        padding: 0 !important;
        gap: 20px !important;
    }
    
    /* Fix services section */
    .services-grid {
        gap: 15px !important;
    }
    
    .service-card {
        margin: 0 !important;
    }
    
    /* Fix courses section */
    .courses-grid {
        gap: 15px !important;
    }
    
    .course-card {
        margin: 0 !important;
    }
    
    /* Fix footer */
    footer {
        padding: 30px 0 15px 0 !important;
        margin: 0 !important;
    }
    
    .footer-content {
        gap: 20px !important;
    }
    
    .footer-section {
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .page-header {
        padding: 15px 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.3rem !important;
    }
    
    section {
        padding: 20px 0 !important;
    }
    
    .hero-content {
        padding: 25px 15px !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .container {
        padding: 0 12px !important;
    }
    
    .welcome-card {
        padding: 15px !important;
    }
    
    .welcome-card h1 {
        font-size: 1.3rem !important;
    }
}
/* ============================================
   EMERGENCY FIX - REMOVE BLANK SPACE ON MOBILE
   ============================================ */

/* Fix all top margins and paddings */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Fix the top header */
.top-header {
    display: none !important;
}

@media (max-width: 991px) {
    /* Hide top header on ALL tablet and mobile */
    .top-header {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        max-height: 0 !important;
        min-height: 0 !important;
    }
    
    /* Remove all extra space from navbar */
    .navbar {
        padding: 0 !important;
        margin: 0 !important;
        min-height: 0 !important;
    }
    
    .navbar .container {
        min-height: 50px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    /* Fix hero section */
    .hero, .hero-slider, .hero-slide {
        min-height: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-content {
        padding: 30px 15px !important;
        margin: 0 !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
        margin: 0 0 10px 0 !important;
    }
    
    .hero-content p {
        font-size: 0.85rem !important;
        margin: 0 0 10px 0 !important;
    }
    
    .hero-bg-image, .hero-bg-gradient {
        min-height: 200px !important;
        height: auto !important;
    }
    
    /* Fix page header */
    .page-header {
        padding: 20px 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }
    
    .page-header h1 {
        font-size: 1.5rem !important;
        margin: 0 !important;
    }
    
    .page-header p {
        font-size: 0.8rem !important;
        margin: 5px 0 0 0 !important;
    }
    
    /* Fix all sections */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    section {
        padding: 30px 0 !important;
        margin: 0 !important;
    }
    
    /* Welcome section */
    .welcome-card {
        padding: 20px !important;
        margin: 0 !important;
    }
    
    .welcome-card h1 {
        font-size: 1.3rem !important;
        margin: 0 0 10px 0 !important;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        min-height: 44px !important;
    }
    
    .logo-img {
        height: 30px !important;
    }
    
    .hero-content {
        padding: 20px 12px !important;
    }
    
    .hero-content h1 {
        font-size: 1.2rem !important;
    }
    
    .hero-content p {
        font-size: 0.75rem !important;
    }
    
    .page-header {
        padding: 12px 0 !important;
    }
    
    .page-header h1 {
        font-size: 1.2rem !important;
    }
    
    section {
        padding: 20px 0 !important;
    }
}
/* ============================================
   COMPLETE MOBILE FIX - NO EXTRA SPACE
   ============================================ */

/* Force remove top header on mobile */
@media (max-width: 991px) {
    .top-header {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        top: -9999px !important;
    }
}

/* Fix hero section height on mobile */
@media (max-width: 768px) {
    .hero {
        height: auto !important;
        min-height: 250px !important;
        max-height: 400px !important;
    }
    
    .hero-slider,
    .hero-slide {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .hero-bg-image,
    .hero-bg-gradient {
        height: 250px !important;
        min-height: 250px !important;
    }
    
    .hero-content {
        padding: 20px 15px !important;
    }
    
    .hero-content h1 {
        font-size: 1.3rem !important;
        margin: 0 0 8px 0 !important;
    }
    
    .hero-content p {
        font-size: 0.8rem !important;
        margin: 0 0 12px 0 !important;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto !important;
        min-height: 200px !important;
        max-height: 350px !important;
    }
    
    .hero-slider,
    .hero-slide {
        height: 200px !important;
        min-height: 200px !important;
    }
    
    .hero-bg-image,
    .hero-bg-gradient {
        height: 200px !important;
        min-height: 200px !important;
    }
    
    .hero-content h1 {
        font-size: 1.1rem !important;
    }
    
    .hero-content p {
        font-size: 0.7rem !important;
    }
}
/* Hero Arrow Hover Effects */
.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.hero-arrow:active {
    transform: translateY(-50%) scale(0.95) !important;
}

/* Responsive Arrows */
@media (max-width: 768px) {
    .hero-arrow {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-arrow-left {
        left: 8px !important;
    }
    
    .hero-arrow-right {
        right: 8px !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-arrow {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.7rem !important;
    }
    
    .hero-arrow-left {
        left: 5px !important;
    }
    
    .hero-arrow-right {
        right: 5px !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-content p {
        font-size: 0.85rem !important;
    }
}