:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #00d2ff;
    --text-dark: #2d3436;
    --text-light: #636e72;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
}

/* Custom CTA Button Style */
.main-cta-btn {
    background: #ffc107;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.main-cta-btn:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(0, 71, 171, 0.85), rgba(0, 33, 71, 0.85)), 
                url('https://images.unsplash.com/photo-1454165833767-027ff33027ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.course-badge {
    background: var(--accent-color);
    color: #1e3c72;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}



/* ===== Full Width Iframe Fix ===== */

/* Container ka left-right padding hatao */
.iframe-section .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Iframe container full width */
.iframe-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Iframe itself */
.iframe-container iframe {
    width: 100%;
    height: 100vh;   /* height apni need ke hisab se change kar sakte ho */
    border: none;
    display: block;
}


/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

/* Stats Cards */
.stats-wrapper { margin-top: -80px; position: relative; z-index: 10; }
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    transition: 0.4s;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
}

.insight-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

.iframe-section .container {
    padding-left: 0;
    padding-right: 0;
}

/* ================================
   UNIVERSITY HERO SECTION
================================ */
.university-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    overflow: hidden;
    border-radius: 20px;
    margin: 20px;
}

/* BACKGROUND POSTER */
.uni-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.uni-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(2,6,23,0.85),
        rgba(2,6,23,0.55),
        rgba(2,6,23,0.2)
    );
}

/* CONTENT */
.uni-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
}

/* LEFT AREA */
.uni-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* LOGO */
.uni-logo-box {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.uni-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* TEXT */
.uni-text h1 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.uni-location {
    color: #e5e7eb;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* BADGES */
.uni-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-affiliation {
    background: #f5ad1d;
    color: #020617;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.badge-mode {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ================================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {
    .university-hero {
        height: 25vh;
        min-height: 220px;
        margin: 12px;
    }

    .uni-hero-content {
        padding-bottom: 20px;
    }

    .uni-left {
        gap: 15px;
    }

    .uni-logo-box {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }

    .uni-text h1 {
        font-size: 1.4rem;
    }

    .badge-affiliation,
    .badge-mode {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}



/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-section { min-height: 60vh; text-align: center; padding: 60px 0 100px; }
    .display-3 { font-size: 2.2rem; }
    
    /* Edge to Edge Iframe for Mobile */
    .iframe-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    .iframe-container {
        padding-top: 0;
        height: 100vh;
        border-radius: 0; /* Remove radius for true full width feel */
    }
    .stats-wrapper { margin-top: -50px; padding: 0 15px; }
    .fullscreen-btn {
        padding: 10px;
        text-align: center;
        background: transparent;
        border: none;
    }
}