/*
Theme Name: The MPI Theme
Theme URI: http://example.com/thethempi-theme
Description: A custom, premium, and dynamic WordPress theme for Moyna Pharmaceutical Institute. Developed using modern UI/UX guidelines.
Version: 1.0.0
Author: Antigravity AI
Author URI: https://example.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thethempi-theme
*/
/* 
================================================================
   MOYNA PHARMACEUTICAL INSTITUTE (MPI) - CORE STYLESHEET
   Design Style: Premium Educational, Agency-Grade UI/UX
   Typography: Plus Jakarta Sans (Headings) & Inter (Body)
   Color Palette: Deep Luxury Slate (#0A192F) & Electric Mint (#00D8B6)
================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* -------------------------------------------------------------
   1. DESIGN SYSTEM VARIABLES & RESET
------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary: #0A192F;
    --primary-light: #172554;
    --primary-dark: #020617;
    --secondary: #00D8B6;
    --secondary-light: #3ef7d5;
    --secondary-dark: #00a88c;
    --accent-gradient: linear-gradient(135deg, #0A192F 0%, #1E3E62 50%, #00D8B6 100%);
    --accent-gradient-hover: linear-gradient(135deg, #00D8B6 0%, #1E3E62 50%, #0A192F 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(11, 25, 44, 0.03) 0%, rgba(0, 216, 182, 0.03) 100%);
    
    /* Text Colors */
    --text-title: #0F172A;
    --text-body: #475569;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --white: #FFFFFF;
    
    /* Backgrounds & Borders */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-dark: #0B1220;
    --border-color: #E2E8F0;
    
    /* Shadows & Glassmorphism */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 32px 64px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 25px rgba(0, 216, 182, 0.35);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    
    /* Transition & Radius */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Heights & Offsets */
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-title);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

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

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
}

/* -------------------------------------------------------------
   2. UTILITIES & CONTAINER
------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

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

.section-bg-dark h1,
.section-bg-dark h2, 
.section-bg-dark h3, 
.section-bg-dark h4 {
    color: var(--white);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
    max-width: 720px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-bg-dark .section-title {
    background: linear-gradient(135deg, var(--white) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header.text-center .section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 4px;
    background: var(--secondary);
    margin: 18px auto 0 auto;
    border-radius: var(--radius-full);
}

.section-header.text-left .section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 4px;
    background: var(--secondary);
    margin: 18px 0 0 0;
    border-radius: var(--radius-full);
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.section-bg-dark .section-desc {
    color: #94a3b8;
}

/* -------------------------------------------------------------
   3. BUTTONS & UI COMPONENTS
------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 24px rgba(10, 25, 47, 0.25);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px) scale(1.02);
}

.btn-text {
    padding: 8px 0;
    background: transparent;
    color: var(--secondary-dark);
    font-weight: 700;
    box-shadow: none;
    border-radius: 0;
    gap: 6px;
}

.btn-text::after { display: none; }

.btn-text:hover {
    color: var(--primary);
    gap: 12px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 11px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    background-color: rgba(0, 216, 182, 0.1);
    color: var(--secondary-dark);
}

.badge-primary {
    background-color: rgba(10, 25, 47, 0.08);
    color: var(--primary);
}

/* -------------------------------------------------------------
   4. LAYOUT: HEADER & TOP BAR
------------------------------------------------------------- */
.topbar {
    background-color: var(--primary);
    color: var(--bg-light);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.topbar-item i {
    color: var(--secondary);
}

.topbar-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.topbar-badge {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 2px 10px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

header {
    height: var(--header-height);
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

header.sticky {
    height: 70px;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

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

.logo-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-title);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    z-index: 150;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* -------------------------------------------------------------
   5. LAYOUT: HERO SLIDER
------------------------------------------------------------- */
.hero-slider {
    position: relative;
    height: calc(100vh - var(--header-height) - 37px);
    min-height: 550px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    transition: transform 6s ease;
}

.slide.active .slide-bg {
    transform: scale(1.01);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.92) 20%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    color: var(--white);
    padding: 0 24px;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    background-color: rgba(0, 216, 182, 0.12);
    border: 1px solid rgba(0, 216, 182, 0.25);
    padding: 6px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease 0.15s, opacity 0.6s ease 0.15s;
}

.slide-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -0.03em;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease 0.3s, opacity 0.6s ease 0.3s;
}

.slide-desc {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 620px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease 0.45s, opacity 0.6s ease 0.45s;
}

.slide-ctas {
    display: flex;
    gap: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s ease 0.6s, opacity 0.6s ease 0.6s;
}

.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-ctas {
    transform: translateY(0);
    opacity: 1;
}

.slide.active .slide-desc {
    transform: translateY(0);
    opacity: 0.85;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

.slider-arrow.prev { left: 40px; }
.slider-arrow.next { right: 40px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--secondary);
    width: 28px;
    border-radius: 5px;
}

/* -------------------------------------------------------------
   6. INNER PAGE BANNER
------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 100px 0;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    color: var(--bg-light);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.93) 0%, rgba(7, 18, 32, 0.95) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.banner-content {
    max-width: 800px;
}

.banner-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--white) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    opacity: 0.8;
}

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

.breadcrumb-sep {
    color: var(--secondary);
}

/* -------------------------------------------------------------
   7. SECTIONS & GRIDS
------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* About Preview */
.about-preview-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-preview-img img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: var(--transition);
}

.about-preview-img:hover img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--accent-gradient);
    padding: 24px;
    border-radius: var(--radius-md);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0, 216, 182, 0.25);
    z-index: 2;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-badge h4 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--white);
}

.experience-badge p {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-preview-content .section-title {
    margin-bottom: 24px;
}

.about-bullets {
    margin: 30px 0 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-title);
    font-size: 14.5px;
}

.about-bullet i {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 216, 182, 0.1);
    border-radius: 50%;
    color: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Why Choose Us Cards */
.feature-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 216, 182, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background-color: rgba(0, 216, 182, 0.08);
    color: var(--secondary-dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent-gradient);
    color: var(--white);
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Courses Card */
.course-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 216, 182, 0.25);
}

.course-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-img img {
    transform: scale(1.08);
}

.course-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.course-content {
    padding: 30px;
}

.course-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta i {
    color: var(--secondary-dark);
}

.course-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.course-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 24px;
}

.course-features {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.course-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-title);
}

.course-feature i {
    color: var(--secondary-dark);
}

/* Stats Section */
.stats-section {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 50px solid rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    top: -200px;
    left: -200px;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 30px solid rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 40px;
    color: var(--secondary-light);
    margin-bottom: 16px;
    opacity: 0.9;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.stat-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.85;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 60px;
    color: rgba(0, 216, 182, 0.06);
    line-height: 1;
}

.rating {
    color: #FBBF24;
    font-size: 13px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 14.5px;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--secondary-dark);
    border: 2px solid var(--border-color);
}

.user-info h4 {
    font-size: 15.5px;
    font-weight: 700;
}

.user-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Blog & Card Styles */
.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 216, 182, 0.2);
}

.blog-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    gap: 16px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--secondary-dark);
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -------------------------------------------------------------
   8. PAGE SPECIFIC DESIGNS
------------------------------------------------------------- */

/* ABOUT PAGE */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.story-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.vision-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vision-card {
    background-color: var(--bg-light);
    border-left: 5px solid var(--secondary);
    padding: 30px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: var(--transition);
}

.vision-card.primary-left {
    border-left-color: var(--primary);
}

.vision-card:hover {
    transform: translateX(5px);
    background-color: #f1f5f9;
}

.vision-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.vision-header i {
    font-size: 22px;
    color: var(--secondary-dark);
}

.vision-card.primary-left .vision-header i {
    color: var(--primary);
}

.vision-header h4 {
    font-size: 18px;
    font-weight: 700;
}

.vision-card p {
    font-size: 14px;
    color: var(--text-body);
}

/* Chairman Message Section */
.chairman-section {
    background-color: var(--bg-light);
}

.chairman-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.chairman-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chairman-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.chairman-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.chairman-badge h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
}

.chairman-badge p {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.chairman-text blockquote {
    font-size: 18px;
    font-style: italic;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.chairman-signature {
    margin-top: 30px;
}

.chairman-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.chairman-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

/* COURSES PAGE */
.course-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
}

.course-details-main h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.course-syllabus {
    margin-top: 40px;
}

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.syllabus-box {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.syllabus-box h4 {
    font-size: 15.5px;
    color: var(--primary);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 8px;
}

.syllabus-box li {
    font-size: 13.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.syllabus-box li i {
    color: var(--secondary-dark);
    font-size: 9px;
}

.sidebar-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.course-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

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

.course-info-label {
    font-weight: 600;
    color: var(--text-title);
}

.course-info-value {
    color: var(--text-muted);
}

/* ADMISSIONS PAGE */
.eligibility-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.eligibility-table th, 
.eligibility-table td {
    padding: 16px 24px;
    text-align: left;
}

.eligibility-table th {
    background-color: var(--primary);
    color: var(--bg-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eligibility-table tr {
    border-bottom: 1px solid var(--border-color);
}

.eligibility-table tr:last-child {
    border-bottom: none;
}

.eligibility-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.eligibility-check-list {
    margin-top: 30px;
}

.eligibility-check-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.eligibility-check-item i {
    margin-top: 5px;
    color: var(--secondary-dark);
    font-size: 18px;
}

.admission-steps {
    position: relative;
    margin-top: 40px;
}

.admission-step {
    display: flex;
    gap: 30px;
    position: relative;
    padding-bottom: 40px;
}

.admission-step:last-child {
    padding-bottom: 0;
}

.admission-step::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% - 35px);
    background-color: var(--border-color);
}

.admission-step:last-child::after {
    display: none;
}

.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 216, 182, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* FACILITIES PAGE */
.facility-block {
    margin-bottom: 100px;
}

.facility-block:last-child {
    margin-bottom: 0;
}

.facility-block-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.facility-block-grid.reverse {
    direction: rtl;
}

.facility-block-grid.reverse .facility-text {
    direction: ltr;
}

.facility-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.facility-media img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-media:hover img {
    transform: scale(1.05);
}

.facility-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.facility-text p {
    margin-bottom: 24px;
}

.facility-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.facility-features li {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.facility-features li i {
    color: var(--secondary-dark);
}

/* CONTACT PAGE */
.contact-layout-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
}

.contact-info-panel {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-panel h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--secondary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-details h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-info-details p {
    font-size: 13.5px;
    opacity: 0.9;
    line-height: 1.5;
}

.contact-info-details a:hover {
    color: var(--secondary-light);
}

.contact-socials {
    margin-top: 40px;
    display: flex;
    gap: 12px;
}

.contact-social-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.contact-social-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.contact-form-panel {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form-panel p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    font-size: 14.5px;
    transition: var(--transition);
    color: var(--text-title);
}

.form-control:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(0, 216, 182, 0.12);
}

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

/* Map Section */
.map-section {
    padding: 0;
    height: 450px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* -------------------------------------------------------------
   9. CTA & FOOTER
------------------------------------------------------------- */
.cta-section {
    background: var(--accent-gradient);
    color: var(--bg-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section .section-title {
    color: var(--white);
    font-size: 40px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    font-size: 14px;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo-title {
    color: var(--bg-light);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-logo-subtitle {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-light);
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--bg-light);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 6px;
}

.footer-links i {
    font-size: 9px;
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--secondary);
    margin-top: 4px;
}

.footer-contact-item a:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-light);
}

/* -------------------------------------------------------------
   10. FLOATING WIDGETS & POPUP MODAL
------------------------------------------------------------- */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: var(--transition);
}

.float-btn:hover {
    transform: translateY(-5px);
}

.float-whatsapp {
    background-color: #25D366;
}

.float-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.float-scroll-top {
    background-color: var(--primary);
    opacity: 0;
    visibility: hidden;
}

.float-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* Sticky CTA Button (Mobile Only Bottom Bar) */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    display: none;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 16px;
    gap: 12px;
    z-index: 98;
}

/* Admission Popup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 18, 32, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 780px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.show .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-title);
    transform: rotate(90deg);
}

.modal-banner {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-banner-content h4 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 12px;
}

.modal-banner-content p {
    font-size: 13.5px;
    opacity: 0.9;
}

.modal-features {
    margin: 30px 0;
}

.modal-features li {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-features li i {
    color: var(--secondary-light);
}

.modal-badge {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-form {
    padding: 40px;
}

.modal-form h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.modal-form p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal-form .form-group {
    margin-bottom: 14px;
}

.modal-form .form-control {
    padding: 11px 15px;
}

/* -------------------------------------------------------------
   11. ANIMATIONS & SCROLL REVEAL (INTERSECTION OBSERVER)
------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0) !important;
}

/* Delay classes */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Micro interaction pulse for WhatsApp */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.float-whatsapp {
    animation: pulse 2s infinite;
}

/* -------------------------------------------------------------
   12. RESPONSIVE MEDIA QUERIES
------------------------------------------------------------- */

@media (max-width: 1200px) {
    .slide-title { font-size: 48px; }
}

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    
    .hero-slider { height: 600px; }
    .slide-title { font-size: 42px; }
    .slider-arrow { display: none; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .chairman-grid { grid-template-columns: 1fr; gap: 40px; }
    .course-detail-grid { grid-template-columns: 1fr; }
    .sidebar-card { position: static; }
    .facility-block-grid { grid-template-columns: 1fr; gap: 30px; }
    .facility-block-grid.reverse { direction: ltr; }
    .contact-layout-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Mobile Navigation */
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(10, 25, 47, 0.15);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 40px;
        gap: 24px;
        transition: var(--transition);
        z-index: 120;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, -2px);
    }
    
    .nav-cta { display: none; }
    .nav-menu .btn { width: 100%; margin-top: 10px; }
    
    .sticky-cta-bar { display: grid; }
    body { padding-bottom: 60px; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    
    .slide-title { font-size: 32px; }
    .slide-desc { font-size: 15px; margin-bottom: 24px; }
    .slide-ctas { flex-direction: column; gap: 12px; width: 100%; }
    .slide-ctas .btn { width: 100%; }
    
    .about-bullets { grid-template-columns: 1fr; gap: 12px; }
    .about-preview-img img { height: 300px; }
    
    .stats-section { padding: 60px 0; }
    .stats-section .grid-4 { gap: 40px; }
    
    .modal-box { grid-template-columns: 1fr; max-width: 90%; }
    .modal-banner { display: none; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    
    .logo-title { font-size: 15px; }
    .logo-subtitle { font-size: 9px; }
    .logo-icon { width: 38px; height: 38px; font-size: 16px; }
    
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .syllabus-grid { grid-template-columns: 1fr; }
    .eligibility-table th, .eligibility-table td { padding: 12px 14px; font-size: 13px; }
}

/* -------------------------------------------------------------
   13. PREMIUM UI/UX ENHANCEMENTS & ANIMATIONS
------------------------------------------------------------- */

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 216, 182, 0.1);
    border-left-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, #00d2ff 100%);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(0, 216, 182, 0.6);
}

/* Button Glows & Hover Effects */
.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.35);
}
.btn-secondary:hover {
    box-shadow: 0 10px 25px rgba(0, 216, 182, 0.45);
}
.btn-outline:hover {
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.2);
}

/* Ripple Click Effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Parallax Inner Page Banners */
@media (min-width: 992px) {
    .page-banner {
        background-attachment: fixed;
        background-position: center 30%;
    }
}

/* Card Hover Zoom */
.course-card {
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 216, 182, 0.25);
}
.course-img {
    overflow: hidden;
}
.course-img img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-card:hover .course-img img {
    transform: scale(1.08);
}

/* Feature Cards Glow & Lift */
.feature-card {
    transition: var(--transition);
    border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 216, 182, 0.15);
}

/* Footer Logo Styling */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--white) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------
   14. PREMIUM CONVERSION & VISUAL CSS UPGRADES
   ------------------------------------------------------------- */

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--secondary-dark) 0%, var(--primary) 60%, var(--secondary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 600;
    position: relative;
    z-index: 105;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-bar .badge-urgency {
    background-color: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    animation: pulse-red-badge 1.5s infinite;
}

.announcement-link {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.announcement-link:hover {
    color: white;
    text-decoration: none;
    transform: translateX(3px);
}

@keyframes pulse-red-badge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Subtle dot-grid background texture for section-bg-light */
.section-bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.section-bg-light > .container {
    position: relative;
    z-index: 2;
}

/* SVG Shape Dividers */
.shape-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.shape-divider-bottom {
    bottom: 0;
}

.shape-divider-top {
    top: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.shape-divider .shape-fill {
    fill: var(--bg-light);
}

.shape-divider.fill-white .shape-fill {
    fill: var(--bg-white);
}

/* Approvals & Affiliations visual grid */
.approvals-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto 0 auto;
    max-width: 1000px;
}

.approval-badge-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.approval-badge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 216, 182, 0.25);
}

.approval-badge-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 216, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--secondary-dark);
    font-size: 22px;
    transition: var(--transition);
}

.approval-badge-card:hover .approval-badge-icon {
    background: var(--secondary);
    color: var(--primary);
    transform: rotate(15deg);
}

.approval-badge-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.approval-badge-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.approval-badge-card .status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    background: rgba(0, 216, 182, 0.08);
    color: var(--secondary-dark);
    font-size: 11px;
    font-weight: 700;
    margin-top: 12px;
    text-transform: uppercase;
}

/* Trust Badge 100% Ragging-Free Campus */
.trust-badge-ragging {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(0, 216, 182, 0.06);
    border: 1px solid rgba(0, 216, 182, 0.2);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    animation: trust-glow 3s infinite;
}

.trust-badge-ragging i {
    font-size: 16px;
    color: var(--secondary-dark);
}

@keyframes trust-glow {
    0% { box-shadow: 0 0 0 0 rgba(0, 216, 182, 0.2); }
    50% { box-shadow: 0 0 15px 5px rgba(0, 216, 182, 0.1); }
    100% { box-shadow: 0 0 0 0 rgba(0, 216, 182, 0.2); }
}

/* FAQ Accordion elegant styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(0, 216, 182, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
    font-family: var(--font-heading);
    user-select: none;
    transition: var(--transition);
}

.faq-question i,
.faq-question svg {
    font-size: 14px;
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-question {
    color: var(--secondary-dark);
}

.faq-item.active .faq-question i,
.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--secondary-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 28px 22px 28px;
    color: var(--text-body);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
}

/* Media Queries for Approvals & Affiliations */
@media (max-width: 768px) {
    .approvals-row {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
    }
}

