/* ===================================================
   Arya Adarsh Girls College — PIET-Inspired Styles
   =================================================== */

/* Global Variables */
:root {
    --primary-color: #002142;
    --primary-gradient: linear-gradient(135deg, #002142 0%, #004a8f 100%);
    --accent-color: #FFD700;
    --accent-gradient: linear-gradient(135deg, #FFD700 0%, #ffaa00 100%);

    /* Trendy Multi-Colors */
    --clr-indigo: #4f46e5;
    --clr-teal: #0d9488;
    --clr-rose: #e11d48;
    --clr-amber: #d97706;
    --clr-violet: #7c3aed;
    --clr-indigo-grad: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    --clr-teal-grad: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --clr-rose-grad: linear-gradient(135deg, #e11d48 0%, #be123c 100%);

    --secondary-color: #f8fafc;
    --text-color: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.05);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 40px rgba(0, 33, 66, 0.08);
    --shadow-hover: 0 30px 60px rgba(0, 33, 66, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================================
   PIET-STYLE VERTICAL TAB SIDE BANNERS
   =================================================== */
.vtab-group {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vtab-group.vtab-left {
    left: 0;
}

.vtab-group.vtab-right {
    right: 0;
}

.vtab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 150px;
    color: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

.vtab span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.62rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 5px;
}

.vtab span i {
    font-size: 0.75rem;
    margin: 0;
}

/* Left tabs — rounded on right side */
.vtab-left .vtab {
    border-radius: 0 10px 10px 0;
}

/* Right tabs — rounded on left side */
.vtab-right .vtab {
    border-radius: 10px 0 0 10px;
}

.vtab-right .vtab span {
    transform: rotate(0deg);
}

/* Multi-colored floating tabs */
.vtab-1 {
    background: var(--clr-indigo-grad);
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 2px 5px 20px rgba(79, 70, 229, 0.3);
}

.vtab-2 {
    background: var(--clr-rose-grad);
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 2px 5px 20px rgba(225, 29, 72, 0.3);
}

.vtab-3 {
    background: var(--clr-teal-grad);
    border-top: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 2px 5px 20px rgba(13, 148, 136, 0.3);
}

.vtab:hover {
    width: 185px;
    box-shadow: 5px 10px 25px rgba(0, 51, 102, 0.4);
    background: var(--accent-gradient);
    color: var(--primary-color) !important;
}

.vtab:hover span {
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .vtab-group {
        display: none;
    }
}

/* ===================================================
   TOP UTILITY BAR
   =================================================== */
.top-bar {
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.78rem;
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1050;
    /* Lower than header */
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.top-bar.scrolled {
    transform: translateY(-100%);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-socials {
    display: flex;
    gap: 8px;
}

.top-bar-left a,
.top-bar-right a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
    background: var(--accent-gradient);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
    background: var(--accent-gradient);
    box-shadow: 0 4px 30px rgba(184, 134, 11, 0.2);
    position: fixed;
    width: 100%;
    top: 40px;
    /* Aligned with top-bar height */
    z-index: 1200;
    /* Higher than top-bar */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 2px solid #b8860b;
}

header .logo h1,
header .navbar .nav-links a {
    color: var(--primary-color);
}

header.scrolled {
    top: 0;
    background: var(--accent-gradient);
    padding: 10px 0;
    box-shadow: 0 10px 40px rgba(184, 134, 11, 0.3);
    border-bottom: 2px solid #b8860b;
}

header.scrolled .logo h1,
header.scrolled .navbar .nav-links a {
    color: var(--primary-color);
    font-weight: 800;
}

header.scrolled .navbar .nav-links a::after {
    background: var(--primary-color);
}

header.scrolled .top-bar {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    max-height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    /* Slightly reduced for combined layout */
    color: var(--primary-color);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 0.7rem;
    color: var(--primary-color);
    opacity: 0.8;
    font-weight: 600;
    margin-top: 2px;
}

.navbar .nav-links {
    display: flex;
}

.navbar .nav-links li {
    margin-left: 22px;
}

.navbar .nav-links a {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
}

.navbar .nav-links a i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover>a i {
    transform: rotate(180deg);
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 2px;
    left: 0;
    transition: var(--transition);
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}

/* Enhanced Dropdown Styles */
.nav-links li {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 240px;
    box-shadow: 0 15px 40px rgba(0, 33, 66, 0.12);
    border-radius: 12px;
    border: 1px solid rgba(0, 33, 66, 0.05);
    border-top: 4px solid var(--clr-indigo);
    z-index: 1000;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    color: var(--text-color) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-bottom: 1px solid rgba(0, 33, 66, 0.03);
    transition: all 0.3s ease !important;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a i {
    width: 18px;
    text-align: center;
    color: var(--clr-indigo);
    font-size: 0.9rem !important;
}

.dropdown a:hover {
    background: rgba(79, 70, 229, 0.05);
    color: var(--clr-indigo) !important;
    padding-left: 28px !important;
}

.dropdown a::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===================================================
   HERO SLIDER
   =================================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 100px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 8s linear;
    transform: scale(1.15);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 33, 66, 0.95) 0%, rgba(0, 51, 102, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    max-width: 900px;
    color: var(--white);
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    width: fit-content;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.9s ease;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 1.1s ease;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-gold {
    background: var(--accent-gradient);
    color: var(--primary-color);
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
    filter: brightness(1.1);
}

/* Slider Controls */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    backdrop-filter: blur(4px);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--accent-color);
    transform: scale(1.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   QUICK LINKS STRIP
   =================================================== */
.quick-links-strip {
    background: transparent;
    margin-top: -60px;
    padding: 0;
    position: relative;
    z-index: 100;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.ql-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 35px 25px;
    border-right: 1px solid var(--secondary-color);
    text-align: center;
    transition: var(--transition);
    text-decoration: none !important;
}

.ql-item:last-child {
    border-right: none;
}

.ql-icon {
    width: 65px;
    height: 65px;
    background: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: inset 0 0 15px rgba(0, 51, 102, 0.05);
}

.ql-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ql-item:hover {
    background: var(--white);
}

.ql-item:nth-child(1) .ql-icon {
    background: rgba(79, 70, 229, 0.1);
    color: var(--clr-indigo);
}

.ql-item:nth-child(2) .ql-icon {
    background: rgba(225, 29, 72, 0.1);
    color: var(--clr-rose);
}

.ql-item:nth-child(3) .ql-icon {
    background: rgba(13, 148, 136, 0.1);
    color: var(--clr-teal);
}

.ql-item:nth-child(4) .ql-icon {
    background: rgba(217, 119, 6, 0.1);
    color: var(--clr-amber);
}

.ql-item:nth-child(5) .ql-icon {
    background: rgba(124, 58, 237, 0.1);
    color: var(--clr-violet);
}

.ql-item:hover .ql-icon {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ql-item:nth-child(1):hover .ql-icon {
    background: var(--clr-indigo);
    color: var(--white);
}

.ql-item:nth-child(2):hover .ql-icon {
    background: var(--clr-rose);
    color: var(--white);
}

.ql-item:nth-child(3):hover .ql-icon {
    background: var(--clr-teal);
    color: var(--white);
}

.ql-item:nth-child(4):hover .ql-icon {
    background: var(--clr-amber);
    color: var(--white);
}

.ql-item:nth-child(5):hover .ql-icon {
    background: var(--clr-violet);
    color: var(--white);
}

/* ===================================================
   STATS SECTION
   =================================================== */
.stats-section {
    background: #f8fafc;
    padding: 100px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 35px;
}

.stat-item {
    text-align: center;
    color: var(--text-color);
    padding: 45px 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.stat-item:nth-child(1) {
    border-top: 5px solid var(--clr-indigo);
}

.stat-item:nth-child(2) {
    border-top: 5px solid var(--clr-rose);
}

.stat-item:nth-child(3) {
    border-top: 5px solid var(--clr-teal);
}

.stat-item:nth-child(4) {
    border-top: 5px solid var(--clr-amber);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 8px;
    display: block;
    letter-spacing: -1px;
}

.stat-item:nth-child(1) .stat-number {
    color: var(--clr-indigo);
}

.stat-item:nth-child(2) .stat-number {
    color: var(--clr-rose);
}

.stat-item:nth-child(3) .stat-number {
    color: var(--clr-teal);
}

.stat-item:nth-child(4) .stat-number {
    color: var(--clr-amber);
}

/* ===================================================
   ABOUT + NOTICE BOARD (Two-Column)
   =================================================== */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f7f9fc;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 12px auto 0;
}

.underline {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Left-aligned section title */
.section-title-left h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.underline-left {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin-bottom: 24px;
    border-radius: 2px;
}

.about-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-col h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 700;
}

.about-col p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-highlights {
    margin: 22px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ah-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.ah-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
    background: rgba(255, 215, 0, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Notice List */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notice-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #f7f9fc;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.notice-item:hover {
    border-left-color: var(--accent-color);
    background: #fff8dc;
}

.notice-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary-color);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    height: fit-content;
    flex-shrink: 0;
    font-family: var(--font-heading);
}

.notice-body {
    flex: 1;
}

.notice-tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.notice-body p {
    font-size: 0.82rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* ===================================================
   COURSES SECTION
   =================================================== */
/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.course-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.course-card:nth-child(1):hover::before {
    background: var(--clr-indigo-grad);
    opacity: 1;
}

.course-card:nth-child(2):hover::before {
    background: var(--clr-rose-grad);
    opacity: 1;
}

.course-card:nth-child(3):hover::before {
    background: var(--clr-teal-grad);
    opacity: 1;
}

.course-card:nth-child(1) .card-icon {
    color: var(--clr-indigo);
    background: rgba(79, 70, 229, 0.1);
}

.course-card:nth-child(2) .card-icon {
    color: var(--clr-rose);
    background: rgba(225, 29, 72, 0.1);
}

.course-card:nth-child(3) .card-icon {
    color: var(--clr-teal);
    background: rgba(13, 148, 136, 0.1);
}

.course-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.course-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.course-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.course-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
    transition: var(--transition);
}

.course-card .read-more {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.course-card:hover h3,
.course-card:hover p,
.course-card:hover .read-more {
    color: var(--white);
}

.course-card:hover .read-more {
    gap: 12px;
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-us {
    background: var(--white);
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: right;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.why-card:nth-child(1)::after {
    background: var(--clr-indigo-grad);
}

.why-card:nth-child(2)::after {
    background: var(--clr-rose-grad);
}

.why-card:nth-child(3)::after {
    background: var(--clr-teal-grad);
}

.why-card:nth-child(4)::after {
    background: var(--clr-amber-grad);
}

.why-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.why-card i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: block;
    transition: var(--transition);
}

.why-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.why-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
/* Testimonials */
.testimonials-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.tcard-quote {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 15px rgba(0, 51, 102, 0.2);
}

.tcard-quote i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-card span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--clr-indigo-grad);
    padding: 120px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 10s infinite;
}

.cta-inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.cta-text p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: var(--white);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-about .footer-logo-text {
    margin-bottom: 25px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--white);
}

.footer-about p {
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.8;
    max-width: 320px;
}

.social-icons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 12px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-gradient);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(8px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item i {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-item .contact-info {
    display: flex;
    flex-direction: column;
}

.footer-contact-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.footer-contact-item p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--white);
    font-weight: 500;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-credits {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.footer-credits a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ===================================================
   PAGE HEADERS (Other pages)
   =================================================== */
.page-header {
    height: 280px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 130px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.7);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Legacy compatibility */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-vision {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.mv-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.mv-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.mv-item h4 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

/* Other page sections */
.admissions-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.process-steps,
.dates-info {
    flex: 1;
}

.process-steps ul {
    margin-bottom: 30px;
}

.process-steps li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    font-weight: 600;
}

.dates-info {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    border-top: 5px solid var(--accent-color);
}

.dates-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.dates-info p {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.facility-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.facility-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.facility-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.facility-card:hover i {
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1.5;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.principal-message {
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    color: #555;
    margin-top: 20px;
}

.img-placeholder {
    width: 100%;
    height: 350px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 4rem;
    color: #aaa;
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 75%;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
    }

    .navbar .nav-links.active {
        right: 0;
    }

    .hero {
        margin-top: 80px;
        height: 70vh;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}