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

/* ==========================================================================
   CSS VARIABLES & SYSTEM TOKENS
   ========================================================================== */
:root {
    --primary-color: #0b2240;      /* Deep Oxford Navy Blue */
    --primary-light: #16365f;     /* Intermediate Navy */
    --primary-dark: #051121;      /* Dark Shadow Navy */
    --secondary-color: #1e3a8a;   /* Royal Blue for highlights */
    --accent-color: #c5a059;      /* Muted Crest Gold */
    --accent-hover: #b38c46;      /* Slightly darker gold for hover states */
    --accent-light: #f4efe2;      /* Muted light gold cream for backgrounds */
    
    --text-main: #1e293b;         /* Slate-800 for high readability body text */
    --text-muted: #475569;        /* Slate-600 for subtext */
    --text-light: #f8fafc;        /* Slate-50 for dark background contrast */
    
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;            /* Light gray background for alternating sections */
    --bg-cream: #faf9f6;          /* Off-white warm background */
    --bg-nav: rgba(11, 34, 64, 0.98);
    
    --border-color: #cbd5e1;      /* Slate-300 for structure lines */
    --border-light: #e2e8f0;      /* Slate-200 for clean subtle divisions */
    --border-focus: #1e3a8a;      /* Focus indicator */
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --max-width: 1200px;
    --header-height: 80px;
}

/* ==========================================================================
   BASE & RESET RULES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

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

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

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

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-alt);
    padding: 80px 0;
}

.section-cream {
    background-color: var(--bg-cream);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grid helper */
.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); }

/* Flex helper */
.flex {
    display: flex;
    gap: 20px;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-main);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--bg-main);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--bg-main);
    border-color: var(--bg-main);
}

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

/* ==========================================================================
   HEADER / NAVIGATION (Sticky & Reusable)
   ========================================================================== */
.header-top {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-info svg {
    width: 14px;
    height: 14px;
    fill: var(--accent-color);
}

.header-top-socials {
    display: flex;
    gap: 15px;
}

.header-top-socials a {
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.header-top-socials a:hover {
    color: var(--accent-color);
}

.main-header {
    background-color: var(--bg-main);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: var(--header-height);
}

.main-header.scrolled {
    background-color: var(--bg-nav);
    height: 70px;
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .nav-logo h1 {
    color: var(--bg-main);
    font-size: 1.4rem;
}
.main-header.scrolled .nav-logo p {
    color: var(--accent-color);
    font-size: 0.65rem;
}

.main-header.scrolled .nav-links a {
    color: var(--text-light);
}

.main-header.scrolled .nav-links a:hover {
    color: var(--accent-color);
}

.main-header.scrolled .nav-links a.active {
    border-bottom-color: var(--accent-color);
    color: var(--accent-color);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.logo-crest {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    line-height: 1.1;
    font-weight: 800;
    transition: var(--transition-normal);
}

.nav-logo p {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition-normal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition-normal);
}

.main-header.scrolled .nav-toggle span {
    background-color: var(--bg-main);
}

/* Mobile Nav Toggle Active */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-banner {
    width: 100%;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero {
    background: linear-gradient(135deg, #0b2240 0%, #051121 100%);
    color: var(--text-light);
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--bg-main);
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.hero-image-wrapper {
    display: none;
}



.hero-image-border {
    position: relative;
    border: 3px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 10px;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    height: 400px;
    filter: brightness(0.95) contrast(1.05);
}

.hero-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-main);
    color: var(--primary-color);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-badge .badge-num {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.hero-image-badge .badge-text {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Quick Highlights bar */
.highlights-bar {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-md);
    margin-top: -30px;
    border-radius: var(--radius-md);
    padding: 25px 20px;
    position: relative;
    z-index: 10;
    border-bottom: 4px solid var(--accent-color);
}

.highlights-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border-right: 1px solid var(--border-light);
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 14px;
    height: 14px;
    fill: #15803d;
}

.highlight-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: flex-start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.about-feature-item svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-color);
    flex-shrink: 0;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.mv-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.mv-card.mv-vision {
    border-top-color: var(--accent-color);
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mv-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
}

.mv-vision .mv-icon svg {
    fill: var(--accent-color);
}

.mv-card h4 {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mv-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   UNIVERSITIES SECTION
   ========================================================================== */
.uni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.uni-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
}

.uni-card-periyar {
    background-image: linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.70)), url('../assets/Periyar University.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.uni-card-bharathidasan {
    background-image: linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.70)), url('../assets/Bharathidasan University.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.uni-card-tnou {
    background-image: linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.70)), url('../assets/Tamilnadu open university.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.uni-card-alagappa {
    background-image: linear-gradient(rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.70)), url('../assets/alagapan.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}




.uni-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 160, 89, 0.4);
}

.uni-logo-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.uni-logo {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.uni-card:hover .uni-logo {
    transform: scale(1.06);
}


.uni-name {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-color);
    flex-grow: 0;
}

.uni-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.uni-programmes {
    background-color: var(--bg-alt);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.82rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-color);
    text-align: left;
}

.uni-programmes strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.uni-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.why-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--accent-color);
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.why-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

.why-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   ADMISSION PROCESS
   ========================================================================== */
.process-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

.process-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 5%;
    right: 5%;
    height: 4px;
    background-color: var(--border-light);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    z-index: 2;
    padding: 0 10px;
    position: relative;
}

.process-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 4px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition-normal);
}

.process-step:hover .process-num {
    border-color: var(--accent-color);
    background-color: var(--primary-color);
    color: var(--bg-main);
    transform: scale(1.1);
}

.process-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION
   ========================================================================== */
.reviews-grid-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.reviews-badge-card {
    background-color: var(--primary-color);
    color: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border-bottom: 5px solid var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.reviews-badge-card h3 {
    color: var(--bg-main);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.reviews-stars-overall {
    color: var(--accent-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.reviews-score {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.reviews-total {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

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

.review-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.review-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.review-stars {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.review-content {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

.review-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 2px 0 6px 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.google-icon-top-right {
    opacity: 0.9;
    transition: var(--transition-normal);
}

.review-card:hover .google-icon-top-right {
    transform: scale(1.1);
}


/* ==========================================================================
   IMAGE GALLERY
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-main);
    border-color: var(--primary-color);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    background-color: var(--border-light);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(11, 34, 64, 0.9) 0%, rgba(11, 34, 64, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.gallery-title {
    color: var(--bg-main);
    font-size: 1rem;
    font-weight: 700;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 17, 33, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 80vh;
}

.lightbox-content img {
    border: 3px solid var(--accent-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--bg-main);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-caption {
    color: var(--bg-main);
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

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

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--bg-alt);
}

.faq-icon-arrow {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--bg-main);
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active FAQ states */
.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question {
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-light);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    fill: var(--accent-color);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough to display full text */
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.branch-detail-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.branch-title {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-left: 4px solid var(--accent-color);
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.branch-map-wrapper {
    margin-top: auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 280px;
}

.branch-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}


.contact-branch-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-list {
    list-style: none;
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-list-icon {
    width: 36px;
    height: 36px;
    background-color: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-list-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
}

.phone-link {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
}
.phone-link:hover {
    color: var(--accent-color);
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 350px;
    box-shadow: var(--shadow-sm);
    position: relative;
    background-color: var(--bg-alt);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    text-align: center;
}

.map-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
}

.map-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.map-placeholder h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.map-placeholder p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px 0;
    border-top: 4px solid var(--accent-color);
}

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

.footer-col h4 {
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--bg-main);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-main);
    transition: var(--transition-normal);
}

.footer-social-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ==========================================================================
   COURSES PAGE CATALOG SPECIFICS
   ========================================================================== */
.courses-header {
    background: linear-gradient(135deg, #0b2240 0%, #071931 100%);
    color: var(--bg-main);
    text-align: center;
    padding: 60px 0;
    border-bottom: 3px solid var(--accent-color);
}

.courses-header h2 {
    color: var(--bg-main);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.courses-header p {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.search-filter-section {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.courses-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.search-box-wrapper {
    position: relative;
    flex: 1.2;
    max-width: 450px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-alt);
    transition: var(--transition-fast);
    outline: none;
    font-size: 0.95rem;
}

.search-input:focus {
    border-color: var(--border-focus);
    background-color: var(--bg-main);
    box-shadow: var(--shadow-inner), 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1.8;
    justify-content: flex-end;
}

.filter-tab {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tab:hover {
    border-color: var(--border-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-main);
    box-shadow: var(--shadow-sm);
}

/* Dynamic Course Category Container */
.courses-container {
    padding: 50px 0;
}

.course-category-section {
    margin-bottom: 50px;
}

.course-category-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.course-category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-main);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
    font-size: 0.92rem;
}

.course-table th {
    background-color: var(--primary-color);
    color: var(--bg-main);
    padding: 16px 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.course-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
    vertical-align: middle;
}

.course-table tbody tr {
    transition: var(--transition-fast);
}

.course-table tbody tr:last-child td {
    border-bottom: none;
}

.course-table tbody tr:hover {
    background-color: var(--bg-alt);
}

.table-course-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.98rem;
}

.table-duration {
    font-weight: 600;
}

.table-medium {
    text-transform: capitalize;
}

.table-unis {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.uni-badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--primary-color);
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Empty search result message */
.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    margin: 30px auto;
    max-width: 600px;
}

.no-results.active {
    display: block;
}

.no-results svg {
    width: 50px;
    height: 50px;
    fill: var(--text-muted);
    margin-bottom: 15px;
}

.no-results h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.no-results p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ==========================================================================
   ENQUIRY PAGE FORM & BRANCHES
   ========================================================================== */
.enquiry-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: flex-start;
}

.enquiry-card-wrapper {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-top: 5px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.enquiry-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.enquiry-lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    transition: var(--transition-fast);
    outline: none;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

/* Same as mobile checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    cursor: pointer;
}

.checkbox-group input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

/* Sidebar support list */
.enquiry-side-box {
    background-color: var(--bg-alt);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.side-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.side-support-list {
    list-style: none;
}

.side-support-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-main);
}

.side-support-list li svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-color);
}

.branch-cards-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.branch-mini-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.branch-mini-card h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}

.branch-mini-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.branch-mini-card .phone {
    font-weight: 700;
    color: var(--primary-color);
}

.branch-map-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.branch-map-link:hover {
    color: var(--accent-hover);
}

/* Success Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 17, 33, 0.85);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.success-modal {
    background-color: var(--bg-main);
    border-radius: var(--radius-lg);
    max-width: 450px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--accent-color);
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .success-modal {
    transform: scale(1);
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 3px solid #10b981;
}

.success-icon-wrapper svg {
    width: 36px;
    height: 36px;
    fill: #10b981;
}

.success-modal h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.success-modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* ==========================================================================
   SIMPLE FADE IN ANIMATIONS
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Tablets (Laptops) */
@media (max-width: 1024px) {
    .uni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Medium Tablets */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 20px auto 0 auto;
        width: 100%;
    }
    
    .highlights-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 10px;
    }
    
    .highlight-item {
        border-right: none;
    }
    
    .about-grid,
    .enquiry-grid,
    .branches-grid,
    .reviews-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    
    .process-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-container::before {
        display: none; /* Hide line in vertical list */
    }
    
    .process-step {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 0;
    }
    
    .process-num {
        margin: 0 20px 0 0;
        width: 50px;
        height: 50px;
        font-size: 1.15rem;
    }
    
    .courses-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-box-wrapper {
        max-width: 100%;
    }
    
    .filter-tabs {
        justify-content: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets / Mobiles */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section {
        padding: 50px 0;
    }
    .section-alt {
        padding: 50px 0;
    }
    .section-cream {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .nav-links {
        display: none; /* Managed by mobile hamburger navigation in JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 100vh; /* Override desktop height: 100% and stretch till the end */
        background-color: #0b2240; /* Solid academic dark blue background */
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 30px 20px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        z-index: 1000; /* Ensure mobile menu sits on top of all body elements */
        overflow-y: auto; /* Enable scroll inside the menu if items exceed height */
    }
    
    .nav-links li {
        width: 100%;
        height: auto; /* Override desktop height: 100% */
    }
    
    .nav-links a {
        color: var(--text-light) !important;
        width: 100%;
        padding: 8px 0;
        font-size: 0.95rem;
    }
    
    .nav-links a.active {
        border-bottom-color: var(--accent-color);
        color: var(--accent-color) !important;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu .btn {
        display: none; /* Hide header button on smaller viewports */
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-list {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .enquiry-card-wrapper {
        padding: 25px;
    }
    
    /* Courses Table Mobile Responsive layout */
    .course-table, .course-table thead, .course-table tbody, .course-table th, .course-table td, .course-table tr {
        display: block;
    }
    
    .course-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .course-table tr {
        border: 1px solid var(--border-light);
        margin-bottom: 15px;
        background-color: var(--bg-main);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        padding: 10px 0;
    }
    
    .course-table td {
        border: none;
        border-bottom: 1px solid #f1f5f9;
        position: relative;
        padding-left: 45%;
        text-align: right;
        min-height: 48px;
    }
    
    .course-table td:last-child {
        border-bottom: none;
    }
    
    .course-table td:before {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        font-size: 0.72rem;
    }
    
    /* Cell content labels for mobile reflow */
    .course-table td:nth-of-type(1):before { content: "Course"; }
    .course-table td:nth-of-type(2):before { content: "Duration"; }
    .course-table td:nth-of-type(3):before { content: "Eligibility"; }
    .course-table td:nth-of-type(4):before { content: "Medium"; }
    .course-table td:nth-of-type(5):before { content: "Universities"; }
    
    .table-unis {
        justify-content: flex-end;
    }
}

/* Extra Small Mobiles */
@media (max-width: 480px) {
    .highlights-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .uni-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-crest {
        width: 40px;
        height: 40px;
    }
    
    .nav-logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-logo p {
        font-size: 0.58rem;
    }
    
    .reviews-badge-card {
        padding: 30px 15px;
    }
    
    .reviews-score {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   FLOATING SOCIAL MEDIA SIDEBAR
   ========================================================================== */
.floating-socials {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.social-float-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.social-float-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Hover Zoom & Left Pop effect */
.social-float-btn:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Brand Colors */
.social-float-btn.whatsapp {
    background-color: #25D366;
}

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

.social-float-btn.facebook {
    background-color: #1877F2;
}

.social-float-btn.linkedin {
    background-color: #0A66C2;
}

.social-float-btn.youtube {
    background-color: #FF0000;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-socials {
        right: 10px;
        gap: 8px;
    }
    .social-float-btn {
        width: 38px;
        height: 38px;
    }
    .social-float-btn svg {
        width: 18px;
        height: 18px;
    }
}
