/* ==========================================================================
   S.S.K. Academy - Exact Chanakya Replica Theme
   Primary Color: #007aff (Electric Royal Blue)
   ========================================================================== */

:root {
    --primary-color: #007aff;
    --primary-hover: #0062cc;
    --primary-dark: #004fb8;
    --primary-light: #e0f2fe;
    --primary-glow: rgba(0, 122, 255, 0.2);
    
    --secondary-color: #0b132b;
    --accent-color: #00c6ff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border-color: #e2e8f0;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    --border-radius-pill: 50px;
    
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 36px rgba(0, 122, 255, 0.12);
    --shadow-hover: 0 20px 45px rgba(0, 122, 255, 0.18);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

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

.section-padding {
    padding: 70px 0;
}

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

.bg-blue {
    background: linear-gradient(135deg, #007aff 0%, #004fb8 100%);
    color: var(--text-white);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

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

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

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

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

.highlight-text {
    color: var(--primary-color);
}

.highlight-blue {
    color: var(--primary-color);
}

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

.grid {
    display: grid;
    gap: 30px;
}

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

.align-center { align-items: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-weight: 700;
    border-radius: var(--border-radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-primary, .btn-solid-blue {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover, .btn-solid-blue:hover {
    background-color: var(--primary-hover);
    color: var(--text-white);
    box-shadow: 0 8px 22px rgba(0, 122, 255, 0.4);
    transform: translateY(-2px);
}

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

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

.btn-light {
    background-color: var(--bg-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

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

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

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

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.825rem;
    padding: 8px 0;
}

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

.top-info {
    display: flex;
    gap: 20px;
}

.top-info a {
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-info a:hover {
    color: var(--primary-color);
}

.top-location {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Header */
.main-header {
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 2px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.footer-logo-img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.725rem;
    color: var(--text-secondary);
    font-weight: 600;
}

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

.nav-link {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 6px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 1100;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.drawer-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    flex: 1;
}

.drawer-link {
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* Hero Section (Chanakya Style Replica with Light Background & Ravinder Right Cutout) */
.hero-section {
    background-color: #fcfdfe;
    background-image: radial-gradient(circle at 80% 30%, rgba(0, 122, 255, 0.06) 0%, transparent 60%);
    padding: 50px 0 20px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.underlined-text {
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
}

.curved-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 18px;
    pointer-events: none;
    overflow: visible;
}

.curved-underline path {
    stroke-dasharray: 320;
    stroke-dashoffset: 320;
    animation: drawUnderlineStroke 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    filter: drop-shadow(0 2px 4px rgba(0, 122, 255, 0.3));
}

@keyframes drawUnderlineStroke {
    0% {
        stroke-dashoffset: 320;
        opacity: 0.2;
    }
    30% {
        opacity: 1;
    }
    70%, 100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* Right Hero Image & Floating Badges */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 420px;
}

.person-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 440px;
}

.hero-person-img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.badge-google {
    bottom: 30%;
    right: -35px;
}

.badge-selections {
    bottom: 6%;
    left: -35px;
    animation-delay: 2s;
}

.badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.google-bg {
    background-color: #ea4335;
    color: var(--text-white);
}

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

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.badge-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

/* Course Slider Carousel (Below Hero Content - Clean Chanakya Style) */
.course-slider-wrapper {
    margin-top: 25px;
    padding: 18px 0;
    background-color: transparent;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.course-slider-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: slideCourseTrack 26s linear infinite;
}

.course-slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideCourseTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.slider-course-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    cursor: pointer;
}

.slider-course-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 22px rgba(0, 122, 255, 0.12);
}

.slider-course-card img {
    height: 34px;
    width: auto;
    max-width: 44px;
    object-fit: contain;
}

.slider-course-card span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary-color);
    letter-spacing: 0.4px;
}

/* Dark Marquee Ticker (Clean Chanakya Style) */
.marquee-ticker {
    background-color: #0b132b;
    color: var(--text-white);
    display: flex;
    align-items: center;
    padding: 4px 0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.marquee-label {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 4px 16px;
    margin-left: 16px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    white-space: nowrap;
    letter-spacing: 0.8px;
    z-index: 2;
}

.marquee-content-wrap {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: rgba(255, 255, 255, 0.9);
    margin-right: 35px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ticker-item:hover {
    color: var(--accent-color);
}

.ticker-dot {
    color: var(--warning-color);
    margin-right: 6px;
    font-weight: 800;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About / Welcome Section */
.welcome-big-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.about-paragraph {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.trusted-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-top: 10px;
}

.about-cta-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-weight: 700;
    color: var(--secondary-color);
}

.about-card-visual {
    position: relative;
    width: 100%;
}

.about-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.about-img-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 122, 255, 0.18);
}

.about-visual-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Logo Overlay Badge on Visual1 Image */
.visual-logo-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.visual-overlay-logo {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
}

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

.overlay-brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.overlay-brand-tagline {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.mini-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.mini-card i {
    font-size: 1.6rem;
}

.mini-card strong {
    display: block;
    font-size: 1rem;
}

.mini-card span {
    font-size: 0.775rem;
    color: var(--text-secondary);
}

/* Courses Grid Section */
.section-header {
    max-width: 720px;
    margin: 0 auto 40px auto;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Clean Minimal Course Cards (Matching Chanakya's Reference Design) */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0, 122, 255, 0.14);
    border-color: var(--primary-color);
}

.course-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #eef6ff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 22px;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.course-card:hover .course-icon-box {
    transform: scale(1.06);
    background-color: var(--primary-color);
    color: #ffffff;
}

.course-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-card-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
    min-height: 48px;
}

.course-card-link {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.course-card-link i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.course-card:hover .course-card-link {
    color: var(--secondary-color);
}

.course-card:hover .course-card-link i {
    transform: translateX(5px);
}    background-color: #fafbfc;
}

.course-footer .btn { flex: 1; }

/* 4 Pillars Section */
.pillar-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.pillar-card:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Banner CTA */
.cta-banner-section {
    background: linear-gradient(135deg, #007aff 0%, #004fb8 100%);
    color: var(--text-white);
    padding: 55px 0;
}

.cta-heading {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.cta-subheading {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Faculty Section */
.faculty-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.faculty-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.faculty-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.faculty-role {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.faculty-exp {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.faculty-desc {
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Reviews Section */
.rating-summary-box {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
    max-width: 480px;
    margin: 0 auto 36px auto;
    text-align: center;
}

.rating-big {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.15rem;
    margin: 6px 0;
}

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

.review-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

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

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.reviewer-name { font-size: 1rem; }
.review-date { font-size: 0.75rem; color: var(--text-secondary); }
.review-stars { color: #fbbf24; font-size: 0.85rem; margin-bottom: 10px; }
.review-text { font-size: 0.875rem; color: var(--text-primary); font-style: italic; }

/* Booking & Form Section */
.booking-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-md);
}

.booking-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.form-subtext {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.custom-form .form-group { margin-bottom: 16px; }

.custom-form label {
    display: block;
    font-weight: 700;
    font-size: 0.825rem;
    margin-bottom: 6px;
}

.custom-form .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
    background-color: #f8fafc;
}

.custom-form .form-control:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-success-alert {
    margin-top: 14px;
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Resources & Timetable */
.resource-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.resource-icon {
    width: 54px;
    height: 54px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.resource-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.resource-card p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 18px; }

.table-responsive {
    overflow-x: auto;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.timetable-table th, .timetable-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
}

.timetable-table th {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.725rem;
    font-weight: 700;
}

.badge-success { background-color: #d1fae5; color: #065f46; }
.badge-warning { background-color: #fef3c7; color: #92400e; }

/* Updates / Blog */
.update-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.update-badge { padding: 6px 14px; font-size: 0.725rem; font-weight: 800; text-transform: uppercase; }
.update-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.update-date { font-size: 0.775rem; color: var(--text-secondary); margin-bottom: 6px; }
.update-title { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.update-excerpt { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 16px; flex: 1; }
.read-more-btn { background: transparent; border: none; color: var(--primary-color); font-weight: 800; font-size: 0.85rem; cursor: pointer; text-align: left; }

/* Location Card */
.location-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 26px;
}

.location-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.location-address, .location-contact { margin-bottom: 12px; font-size: 0.875rem; }

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 60px;
    font-size: 0.875rem;
}

.footer-title {
    color: var(--text-white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 6px;
}

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

.footer-menu { display: flex; flex-direction: column; gap: 8px; }
.footer-menu a { color: rgba(255, 255, 255, 0.75); font-size: 0.825rem; }
.footer-menu a:hover { color: var(--primary-color); }

.footer-bottom {
    background-color: #050914;
    padding: 16px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    text-align: center;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.float-phone { background-color: #007aff; }
.float-whatsapp { background-color: #25d366; }
.float-btn:hover { transform: scale(1.1); }

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active, .modal.open { 
    opacity: 1 !important; 
    visibility: visible !important; 
    pointer-events: auto !important;
    display: flex !important;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 43, 0.75);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-dialog, .modal.open .modal-dialog { transform: translateY(0); }
.modal-dialog.modal-lg { max-width: 680px; }

.modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title { font-size: 1.05rem; margin: 0; }

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-body { padding: 20px; max-height: 80vh; overflow-y: auto; }

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: var(--bg-light);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .top-location {
        display: none !important;
    }

    .top-bar {
        padding: 6px 0;
    }

    .top-bar-content {
        justify-content: center;
        text-align: center;
    }

    .top-info {
        justify-content: center;
        gap: 10px;
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .nav-menu { display: none !important; }
    .mobile-toggle { display: block !important; }

    /* Hide Book Demo button in top header actions on mobile so it stays inside drawer menu */
    .header-actions .btn {
        display: none !important;
    }

    .header-container {
        padding: 10px 16px;
    }

    .brand-logo .brand-name {
        font-size: 1.1rem;
    }

    .brand-logo .brand-tagline {
        font-size: 0.65rem;
    }

    .hero-section {
        padding: 30px 0 40px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-image-wrapper {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .person-container {
        max-width: 270px;
        margin: 0 auto;
    }

    .badge-google {
        display: none !important;
    }

    .badge-selections {
        position: absolute !important;
        bottom: 8px !important;
        left: -8px !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        z-index: 10;
        animation: floatAnim 4s ease-in-out infinite alternate 2s !important;
    }

    /* Live Class Banner CTA Responsive */
    .cta-banner-section {
        padding: 36px 16px !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    .cta-heading {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .cta-subheading {
        font-size: 0.9rem !important;
        line-height: 1.45 !important;
        margin-bottom: 20px !important;
    }

    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cta-buttons .btn {
        width: 100% !important;
        max-width: 290px !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        display: inline-flex !important;
    }

    .grid-2, .grid-3, .grid-4, .courses-grid, .reviews-grid, .stat-mini-cards, .pillars-grid, .faculty-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .section-padding {
        padding: 40px 0;
    }

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

    .footer-top .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 28px;
    }
}

/* Dedicated Page Hero Banner (About Us) */
.page-hero-banner {
    background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.page-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 12px;
}

.breadcrumb-trail {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-trail a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-trail i {
    font-size: 0.75rem;
    margin: 0 8px;
}

/* Statistics Highlights Grid */
.stat-box-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.stat-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.12);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Mission & Vision Value Cards */
.value-card {
    background-color: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 122, 255, 0.12);
}

.value-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Category Filter Tabs (Courses & Faculty Pages) */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

/* Faculty Qualification Badge & Subject Pills */
.faculty-qual {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.775rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.faculty-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.topic-tag {
    background-color: #f1f5f9;
    color: var(--text-secondary);
    font-size: 0.725rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Contact Info Cards & Map */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.contact-info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.contact-info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.contact-info-card p, .contact-info-card a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    word-break: break-word;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

.map-wrapper {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ Accordion */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

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

.faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Social Links */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link.instagram {
    color: #E4405F;
}

.social-link.facebook {
    color: #1877F2;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.social-link.facebook:hover {
    background: #1877F2;
    color: #ffffff;
}
