/* ================================================
   GLOBAL OVERFLOW FIX - PREVENTS ALL HORIZONTAL SCROLL
   ================================================ */
html, body {
    overflow-x: clip !important;
    max-width: 100% !important;
}
.announcement-bar,
.hero-section,
.main-header,
section,
.main-footer,
footer,
.container {
    max-width: 100% !important;
    overflow-x: hidden !important;
}
img, video, iframe, embed {
    max-width: 100% !important;
}

/* ======================================================
   ANKIRA SOLUTION - Premium VLSI Training Website CSS
   ====================================================== */

/* --- CSS Variables --- */
:root {
    --primary: #0a2463;
    /* Deep Navy Blue */
    --primary-mid: #1e4db7;
    /* Medium Blue */
    --primary-light: #3a86ff;
    /* Bright Blue */
    --accent: #f7b731;
    /* Amber/Gold Accent */
    --accent-dark: #e0a000;
    --success: #2ecc71;
    --text-dark: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-muted: #888899;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f4f7ff;
    --bg-dark: #0d1b3e;
    --bg-darker: #060f26;
    --border: #e2e8f8;

    --font: 'Inter', sans-serif;
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(10, 36, 99, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 36, 99, 0.15);
    --shadow-lg: 0 20px 60px rgba(10, 36, 99, 0.2);
    --shadow-glow: 0 0 30px rgba(58, 134, 255, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-hero: linear-gradient(135deg, #060f26 0%, #0a2463 50%, #1e4db7 100%);
    --gradient-card: linear-gradient(135deg, #0a2463, #1e4db7);
    --gradient-accent: linear-gradient(135deg, #f7b731, #e0a000);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-light) !important;
}

.py-section {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--bg-white);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.mt-2 {
    margin-top: 0.75rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.75rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* --- Section Title --- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(58, 134, 255, 0.1);
    border: 1px solid rgba(58, 134, 255, 0.3);
    border-radius: 30px;
    padding: 6px 18px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.section-title-wrapper {
    margin-bottom: 3.5rem;
}

.section-title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin-top: 1rem;
}

.section-title-underline.center {
    margin: 1rem auto 0;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 20px rgba(10, 36, 99, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-wrap {
    width: 42px;
    height: 42px;
    background: var(--gradient-card);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-main span {
    color: var(--primary-light);
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
    background: rgba(58, 134, 255, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    background: rgba(10, 36, 99, 0.05);
    border: 1px solid rgba(10, 36, 99, 0.1);
    width: 44px;
    height: 44px;
    transition: var(--transition);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Mobile Sidebar Drawer Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 36, 99, 0.85); /* Deep navy blur */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar Drawer (Top-Down) */
@media screen and (min-width: 992px) {
    .mobile-sidebar, .mobile-overlay {
        display: none !important;
    }
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    background: var(--bg-dark);
    z-index: 1050;
    transform: translateY(-100%); /* Hidden offscreen top */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.mobile-sidebar.open {
    transform: translateY(0);
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-sidebar:hover {
    transform: rotate(90deg);
    color: var(--primary-light);
}

.mobile-sidebar-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
}

.mobile-sidebar-content a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}

.mobile-sidebar-content a i {
    font-size: 1.25rem;
    color: var(--primary-light);
}

.mobile-sidebar-content a:hover,
.mobile-sidebar-content a:active {
    color: white;
    padding-left: 10px;
    background: transparent;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-light);
    color: white;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.btn-primary:hover {
    background: var(--primary-mid);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 134, 255, 0.5);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(247, 183, 49, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 183, 49, 0.5);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary:hover {
    background: var(--primary-light);
    color: white;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 50%, #3a86ff 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #f7b731 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, #1e4db7 0%, transparent 40%);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(58, 134, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 134, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.hero-circuit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    opacity: 0.08;
    z-index: 0;
    background-image:
        repeating-linear-gradient(0deg, #3a86ff 0, #3a86ff 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, #3a86ff 0, #3a86ff 1px, transparent 1px, transparent 40px);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(247, 183, 49, 0.15);
    border: 1px solid rgba(247, 183, 49, 0.4);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 8px 20px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-headline {
    font-size: 3.2rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-headline .highlight {
    color: var(--accent);
    position: relative;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat {
    border-left: 2px solid rgba(247, 183, 49, 0.5);
    padding-left: 1rem;
}

.hero-stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual Card */
.hero-visual {
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-card-dots .d1 {
    background: #ff5f57;
}

.hero-card-dots .d2 {
    background: #ffbe2f;
}

.hero-card-dots .d3 {
    background: #28c840;
}

.hero-card-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
}

.hero-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.flow-step:hover {
    background: rgba(58, 134, 255, 0.15);
    border-color: rgba(58, 134, 255, 0.3);
    transform: translateX(4px);
}

.flow-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.flow-step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.flow-step-arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary), var(--primary-mid));
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.885rem;
    font-weight: 500;
}

.announcement-bar a {
    color: var(--accent);
    font-weight: 700;
}


/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-area {
    position: relative;
}

.about-img-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-img-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.about-img-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -30px;
    width: 250px;
    height: 250px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

.about-card-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.about-stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.about-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.floating-badge .badge-icon {
    font-size: 1.6rem;
}

.floating-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.about-text-area {}

.about-checks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.75rem;
}

.about-check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary-light);
    transition: var(--transition);
}

.about-check-item:hover {
    background: rgba(58, 134, 255, 0.06);
    transform: translateX(4px);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.check-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =====================================================
   COURSES OVERVIEW (HOME)
   ===================================================== */
.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.course-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(247, 183, 49, 0.2);
}

.course-card.featured:hover {
    box-shadow: 0 20px 50px rgba(247, 183, 49, 0.3);
}

.course-card-top {
    padding: 1.75rem;
    background: var(--gradient-card);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.course-card.featured .course-card-top {
    background: linear-gradient(135deg, #0a2463, var(--accent-dark));
}

.course-card-top::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.course-icon-top {
    font-size: 2.2rem;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    opacity: 0.8;
}

.popular-ribbon {
    position: absolute;
    top: 16px;
    left: -8px;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 0 4px 4px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.popular-ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    border-right: 8px solid var(--accent-dark);
    border-bottom: 8px solid transparent;
}

.course-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.course-card-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.course-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-topics {
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.course-topics li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}

.course-topics li:last-child {
    border-bottom: none;
}

.topic-arrow {
    color: var(--primary-light);
    font-size: 0.7rem;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.features-section {
    background: var(--gradient-hero);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(247, 183, 49, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(58, 134, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(247, 183, 49, 0.2);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =====================================================
   VISION MISSION
   ===================================================== */
.vm-section {
    background: var(--bg-light);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-card);
}

.vm-card.mission::before {
    background: var(--gradient-accent);
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.vm-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.vm-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.vm-card p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 0;
}

/* =====================================================
   TAGLINE / CTA BANNER
   ===================================================== */
.cta-section {
    background: var(--gradient-card);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.cta-buttons-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* =====================================================
   PAGE HEADER (Inner Pages)
   ===================================================== */
.page-header {
    background: var(--gradient-hero);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   COURSES PAGE
   ===================================================== */
.courses-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.course-tab {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    border: 2px solid var(--border);
    color: var(--text-mid);
    background: white;
    transition: var(--transition);
}

.course-tab:hover,
.course-tab.active {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.3);
}

.course-module {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.course-module:hover {
    box-shadow: var(--shadow-md);
}

.module-header {
    background: var(--gradient-card);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-header-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.module-header h2 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    background: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    letter-spacing: 0.3px;
}

.module-content {
    padding: 2.5rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.topic-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: var(--transition);
}

.topic-chip:hover {
    background: rgba(58, 134, 255, 0.07);
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateX(3px);
}

.topic-chip-icon {
    color: var(--success);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* =====================================================
   FACULTY & PLACEMENT PAGE
   ===================================================== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.metric-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Placement Section */
.placement-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.placement-visual {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.placement-visual::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.placement-visual-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

.placement-visual-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    z-index: 1;
}

.placement-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.placement-step:hover {
    background: rgba(255, 255, 255, 0.14);
}

.placement-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.placement-step-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.placement-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.placement-benefit {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.placement-benefit:hover {
    background: rgba(58, 134, 255, 0.05);
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Audience */
.audience-section {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 2.5rem auto 0;
}

.audience-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    cursor: default;
    transition: var(--transition);
}

.audience-card:hover {
    background: rgba(58, 134, 255, 0.15);
    border-color: rgba(58, 134, 255, 0.4);
    transform: translateY(-3px);
}

.audience-icon {
    font-size: 1.5rem;
}

.audience-card span:last-child {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-info>p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-light);
    background: rgba(58, 134, 255, 0.04);
}

.contact-item-icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-card);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0;
    font-weight: 500;
}

.map-container {
    margin-top: 1.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {}

.form-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.form-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-card>p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.12);
}

.form-control::placeholder {
    color: #bbb;
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
}

.form-success {
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #27ae60;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-error {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: 1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    background: var(--bg-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-main {
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo-main span {
    color: var(--primary-light);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 1px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--primary-light);
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-icon {
    color: var(--primary-light);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .course-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-area {
        order: -1;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .placement-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .course-cards-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .py-section {
        padding: 60px 0;
    }

    .cta-buttons-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-stat .number {
        font-size: 1.4rem;
    }
}

/* ======================================================
   REVIEWS & TESTIMONIALS SECTION
   ====================================================== */

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.review-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(58, 134, 255, 0.2);
}

.review-stars {
    font-size: 1.3rem;
    color: #f7b731;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.925rem;
    line-height: 1.7;
    color: var(--text-mid);
    flex-grow: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.review-course {
    font-size: 0.78rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* Review Submission Form */
.review-form-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.review-form-card {
    background: linear-gradient(135deg, #f4f7ff, #eef2ff);
    border: 1px solid rgba(58, 134, 255, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
}

.review-form-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.review-form-card>p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Interactive Star Rating */
.star-rating {
    display: flex;
    gap: 4px;
    font-size: 1.8rem;
    cursor: pointer;
    padding-top: 6px;
}

.star-btn {
    color: #ddd;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    line-height: 1;
}

.star-btn.active {
    color: #f7b731;
}

.star-btn:hover {
    transform: scale(1.15);
}

/* Contact page map */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Responsive review form */
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-form-card {
        padding: 1.5rem;
    }
}

/* ======================================================
   SECTION 1: TESTIMONIALS DISPLAY (Dark Navy Theme)
   ====================================================== */

.testimonials-section {
    background: linear-gradient(160deg, #060f26 0%, #0a2463 60%, #0e2f78 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern overlay */
.testimonials-bg-decor {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(58, 134, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 134, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Individual testimonial card — glassmorphism style */
.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(58, 134, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* Large decorative quote mark */
.testimonial-quote-mark {
    position: absolute;
    top: -6px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(247, 183, 49, 0.25);
    font-family: Georgia, serif;
    font-weight: 900;
    pointer-events: none;
    user-select: none;
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 2px;
    font-size: 1.1rem;
}

.ts-star {
    color: rgba(255, 255, 255, 0.2);
}

.ts-star.filled {
    color: #f7b731;
}

/* Review text */
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
    font-style: italic;
}

/* Author row */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7b731, #e0a000);
    color: #1a1a2e;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(247, 183, 49, 0.3);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.testimonial-course {
    font-size: 0.78rem;
    color: rgba(58, 134, 255, 0.85);
    font-weight: 500;
}

/* Empty state */
.testimonials-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.testimonials-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.testimonials-empty h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

/* ======================================================
   SECTION 2: REVIEW SUBMISSION FORM (Clean Light Theme)
   ====================================================== */

.review-submit-section {
    background: #f4f7ff;
    padding: 90px 0;
    border-top: 4px solid #3a86ff;
}

/* Two-column layout inside */
.review-submit-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
}

/* ── LEFT: Prompt Panel ── */
.review-prompt-panel {
    background: linear-gradient(160deg, #0a2463, #1e4db7);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: white;
    position: sticky;
    top: 90px;
}

.review-prompt-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.review-prompt-panel h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.review-prompt-panel h2 span {
    color: #f7b731;
}

.review-prompt-panel>p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.review-prompt-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.review-prompt-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.rp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f7b731;
    flex-shrink: 0;
}

.review-prompt-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.85);
}

/* ── RIGHT: Form Box ── */
.review-form-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(10, 36, 99, 0.08);
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.review-form-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #f0f4ff;
}

.review-form-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0a2463;
    margin-bottom: 0.35rem;
}

.review-form-header p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Two-column row inside form */
.rform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

/* Alert styles */
.review-alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.review-alert-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: #27ae60;
}

.review-alert-error {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Required star */
.required-star {
    color: #e74c3c;
}

/* Rating label text */
.rating-label {
    font-size: 0.8rem;
    color: #f7b731;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .review-submit-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .review-prompt-panel {
        position: static;
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rform-row {
        grid-template-columns: 1fr;
    }

    .review-form-box {
        padding: 1.5rem;
    }

    .review-prompt-panel {
        padding: 1.75rem 1.5rem;
    }

    .testimonials-section,
    .review-submit-section {
        padding: 60px 0;
    }
}

/* ======================================================
   VIEW ALL REVIEWS BUTTON (on homepage testimonials)
   ====================================================== */

.btn-view-all-reviews {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.btn-view-all-reviews:hover {
    background: rgba(247, 183, 49, 0.15);
    border-color: rgba(247, 183, 49, 0.5);
    color: #f7b731;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* ======================================================
   PUBLIC REVIEWS PAGE  (/reviews/)
   ====================================================== */

/* Hero banner */
.reviews-page-hero {
    background: linear-gradient(160deg, #060f26 0%, #0a2463 70%, #0e2f78 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reviews-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(58, 134, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 134, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.reviews-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin: 0.75rem 0 0.5rem;
    line-height: 1.1;
}

.reviews-page-title span {
    color: #f7b731;
}

.reviews-page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Rating summary bar */
.rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1rem 2rem;
    backdrop-filter: blur(6px);
}

.rating-big-num {
    font-size: 3rem;
    font-weight: 900;
    color: #f7b731;
    line-height: 1;
}

.rating-stars-big {
    font-size: 1.5rem;
    color: #f7b731;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.rs-star {
    color: rgba(255, 255, 255, 0.25);
}

.rs-star.filled {
    color: #f7b731;
}

.rating-summary-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Reviews body section */
.reviews-page-body {
    background: #f4f7ff;
    padding: 70px 0;
}

/* Reviews card grid */
.reviews-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Individual review card */
.rp-card {
    background: white;
    border: 1px solid rgba(58, 134, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(10, 36, 99, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.25s ease;
}

.rp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(10, 36, 99, 0.12);
    border-color: rgba(58, 134, 255, 0.25);
}

.rp-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a2463, #1e4db7);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rp-meta {
    flex-grow: 1;
}

.rp-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #0a2463;
}

.rp-course {
    font-size: 0.78rem;
    color: #3a86ff;
    font-weight: 500;
}

.rp-date {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
}

.rp-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 1.1rem;
}

.rp-star {
    color: #ddd;
}

.rp-star.filled {
    color: #f7b731;
}

.rp-rating-num {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-left: 6px;
    font-weight: 600;
}

.rp-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4a5568;
    font-style: italic;
    flex-grow: 1;
}

/* Empty state */
.reviews-page-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
}

.reviews-page-empty h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0a2463;
    margin-bottom: 0.5rem;
}

/* Write a Review CTA at bottom */
.reviews-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, #0a2463, #1e4db7);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    color: white;
}

.rp-cta-text h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.rp-cta-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-page-grid {
        grid-template-columns: 1fr;
    }

    .reviews-page-cta {
        flex-direction: column;
        text-align: center;
    }

    .rating-summary {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
/* =====================================================
   MOBILE RESPONSIVENESS (MEDIA QUERIES)
   ===================================================== */
@media screen and (max-width: 991px) {
    /* Header & Navigation Fixes */
    .main-header .nav-container { padding: 0 15px; }
    .main-nav, .nav-actions { display: none !important; }
    .menu-toggle { display: flex !important; margin-left: auto; }
    
    /* Global Grid Layouts -> Single Column */
    .hero-content-wrapper, 
    .about-grid, 
    .footer-grid, 
    .vm-grid, 
    .metrics-grid,
    .audience-grid,
    .contact-container,
    .contact-split {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* Course, Feature & general auto-fit grids */
    .course-grid, .features-grid, .faculty-grid, .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
        gap: 1.5rem !important;
    }

    /* Hero Section Fixes */
    .hero-section {
        padding: 6rem 15px 4rem 15px;
        min-height: auto;
    }
    .hero-headline {
        font-size: 2.4rem !important;
        margin-top: 1rem;
    }
    .hero-subheadline {
        font-size: 1rem !important;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem !important;
    }
    .hero-stat {
        border-left: none;
        border-bottom: 2px solid rgba(247, 183, 49, 0.5);
        padding-left: 0;
        padding-bottom: 1rem;
    }

    /* About Section Fixes */
    .about-img-card {
        min-height: auto;
        padding: 2rem 1.5rem !important;
    }
    
    /* Faculty & Placement Layouts */
    .process-timeline {
        flex-direction: column !important;
    }
    .process-step {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    /* Padding adjustments for all sections */
    .py-section {
        padding: 50px 15px !important;
    }
    .section-title {
        font-size: 2rem !important;
    }
    
    /* Fix horizontal scrolling */
    html, body {
        overflow-x: hidden;
        width: 100vw;
    }
    .container {
        width: 100%;
        padding: 0 15px !important;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 575px) {
    /* Mobile Tiny Fixes */
    .hero-headline {
        font-size: 2rem !important;
    }
    .section-title {
        font-size: 1.7rem !important;
    }
    .btn {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
}


/* =====================================================
   FINAL MOBILE FIX - COMPREHENSIVE RESPONSIVE
   ===================================================== */

/* Prevent ALL horizontal overflow globally */
html {
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    overflow-x: hidden;
    max-width: 100vw;
}
* {
    box-sizing: border-box;
    max-width: 100%;
}

@media screen and (max-width: 991px) {
    /* Container */
    .container {
        padding: 0 16px !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    /* Navigation */
    .main-header { position: relative !important; }
    .main-nav, .nav-actions { display: none !important; }
    .menu-toggle { display: flex !important; }

    /* Hero */
    .hero-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .hero-section { padding: 5rem 0 3rem !important; min-height: auto !important; }
    .hero-headline { font-size: 2.2rem !important; }
    .hero-subheadline { font-size: 0.98rem !important; max-width: 100% !important; }
    .hero-stats { flex-direction: column; gap: 1rem !important; }
    .hero-stat { border-left: none; border-bottom: 1px solid rgba(247,183,49,0.4); padding: 0 0 1rem 0; }

    /* About */
    .about-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .about-stats-grid { grid-template-columns: 1fr 1fr !important; }

    /* Courses & Features */
    .course-cards-grid { grid-template-columns: 1fr !important; }
    .features-grid { grid-template-columns: 1fr 1fr !important; }

    /* Vision & Mission */
    .vm-grid { grid-template-columns: 1fr !important; }

    /* Faculty & Placement */
    .metrics-grid { grid-template-columns: 1fr !important; }
    .placement-grid { grid-template-columns: 1fr !important; }
    .audience-grid { grid-template-columns: 1fr 1fr !important; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr !important; }

    /* Testimonials / Review panel */
    .review-panel-inner { grid-template-columns: 1fr !important; }
    .review-form-grid { grid-template-columns: 1fr !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* Section general */
    .py-section { padding: 50px 0 !important; }
    .section-title { font-size: 1.9rem !important; }
    .cta-buttons-group { flex-direction: column; align-items: center; }
    .hero-cta-group { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }

    /* Placement steps horizontal row */
    .placement-steps { flex-direction: column !important; align-items: flex-start !important; }

    /* Reviews CTA */
    .reviews-page-cta { flex-direction: column; text-align: center; }
}

@media screen and (max-width: 575px) {
    .hero-headline { font-size: 1.85rem !important; }
    .section-title { font-size: 1.6rem !important; }
    .features-grid { grid-template-columns: 1fr !important; }
    .audience-grid { grid-template-columns: 1fr !important; }
    .about-stats-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; }
    .hero-card { display: none; }
    .hero-stats { display: none; }
    
    /* Contact form grid */
    .contact-form .row { flex-direction: column; }
}

/* =====================================================
   TARGETED MOBILE FIXES - ANNOUNCEMENT & HERO CIRCUIT
   ===================================================== */
@media screen and (max-width: 991px) {
    /* Announcement bar - prevent text from pushing beyond screen */
    .announcement-bar {
        white-space: normal !important;
        flex-wrap: wrap !important;
        font-size: 0.78rem !important;
        padding: 8px 12px !important;
        text-align: center;
    }

    /* Hero decorative circuit - this wide element causes overflow */
    .hero-circuit {
        display: none !important;
    }
    .hero-bg-pattern,
    .hero-grid-bg {
        width: 100% !important;
        overflow: hidden !important;
    }

    /* Any element inside the page that may be absolutely/fixed positioned wide */
    .main-header,
    header,
    nav,
    .announcement-bar,
    footer,
    main,
    section,
    .container,
    div {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Testimonials review panel overflow fix */
    .review-panel-inner,
    .testimonial-section,
    .reviews-section {
        overflow: hidden !important;
        width: 100% !important;
    }
}

/* =====================================================
   HOME PAGE - FINAL TARGETED MOBILE FIXES
   ===================================================== */
@media screen and (max-width: 640px) {
    /* Hero stats - always single column on small phone */
    .hero-stats {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    .hero-stat {
        border-left: none !important;
        border-bottom: 1px solid rgba(247,183,49,0.4) !important;
        padding: 0 0 0.75rem 0 !important;
    }
    .hero-stat:last-child {
        border-bottom: none !important;
    }

    /* About stats grid - single column on phones */
    .about-stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    /* About section buttons always stack */
    .about-content .mt-4 {
        flex-direction: column !important;
    }
    .about-content .mt-4 .btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Internship section stacks */
    .internship-card {
        flex-direction: column !important;
        text-align: center;
    }

    /* Section label pill text smaller */
    .section-label { font-size: 0.7rem !important; }
    
    /* Review form grid */
    .review-form-grid {
        grid-template-columns: 1fr !important;
    }

    /* CTA buttons group always column */
    .cta-buttons-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .cta-buttons-group .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Feature cards title size */
    .feature-card h4 { font-size: 1rem !important; }
}

/* =====================================================
   NUCLEAR OVERFLOW PREVENTION - TARGETS NAV CONTAINER
   ===================================================== */
@media screen and (max-width: 1200px) {
    .nav-container {
        max-width: 100% !important;
        width: 100% !important;
    }
}
@media screen and (max-width: 991px) {
    .main-header {
        width: 100% !important;
        max-width: 100vw !important;
    }
    .nav-container {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 0 15px !important;
    }
}
