/* ========================================================================
   TENDER BRAINS SCHOOL - COMPLETE STYLESHEET
   Enhanced Design for All Pages
   ======================================================================== */

/* ========================================================================
   1. RESET AND BASE STYLES
   ======================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --secondary-color: #dc2626;
    --secondary-light: #ef4444;
    --success-color: #059669;
    --danger-color: #dc2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-light: #f0fdf4;
    --bg-lighter: #dcfce7;
    --white: #ffffff;
    --border-color: #d1fae5;
    --gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-secondary: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    --gradient-soft: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

/* Text Alignment Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* ========================================================================
   2. ENHANCED NAVIGATION STYLES WITH GREEN BACKGROUND
   ======================================================================== */
.navbar {
    background: var(--gradient);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.4);
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    height: 55px;
    border-radius: 50%;
    size: 50vh;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.logo span {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    padding: 10px 18px;
    position: relative;
    border-radius: 8px;
    display: block;
    font-size: 1rem;
}

.nav-menu a::before {
    content: '';
    position: flex;
    bottom: 5px;
    left: 18px;
    right: 18px;
    color: #10b981;
    font-size: 10px;
    height: 1rem;
    background: var(--bg-light);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    transform: scaleX(1);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    transition: 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
    .logo span {
        font-size: 1.1rem;
        max-width: 180px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--gradient);
        width: 30%;
        text-align: center;
        color: #111;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        padding: 2rem 0;
        gap: 0;
        max-height: 20px;
        overflow-y: auto;
        border-top: 3px solid rgba(255, 255, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 30%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 1;
        transform: translateX(-50px);
        animation: slideIn 0.3s ease forwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 10px 12px;
        width: 20%;
        font-size: 1.1rem;
        color: blue;
        border-radius: 0;
    }

    .nav-menu a::before {
        display: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

    .hamburger {
        display: flex;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .logo img {
        height: 45px;

    }

    .logo span {
        font-size: 0.95rem;
        max-width: 150px;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .nav-menu {
        top: 80px;
        max-height: calc(100vh - 73px);
        color: #dc2626;
        background: #10b981;
        border-radius:12%;
        box-sizing: 4px 6px;
        text-align: center;
        align-items: center;
    }

    .nav-menu a {
        padding: 7px 10px;
        font-size: 1rem;
        color: blue;
        align-items: center;
        text-align: center;
    }
}

/* ========================================================================
   3. ENHANCED PAGE HEADER WITH GREEN BACKGROUND
   ======================================================================== */
.page-header {
    background: linear-gradient(135deg, rgba(205, 247, 17, 0.95), rgba(23, 238, 148, 0.95)),
                url('images/building.jpg') center/cover fixed;
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.15) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    animation: fadeInDown 0.8s ease;
}

.page-header p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.breadcrumb span {
    color: var(--secondary-color);
    font-weight: 700;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================================
   4. SECTION HEADERS (Centered & Attractive)
   ======================================================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================================================
   5. BUTTONS (Enhanced)
   ======================================================================== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    display: block;
}

/* ========================================================================
   6. ENHANCED CONTACT PAGE
   ======================================================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Side */
.contact-info {
    background: var(--gradient);
    padding: 50px 40px;
    border-radius: 20px;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.contact-info > * {
    position: relative;
    z-index: 2;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.contact-info > p {
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-items {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8rem;
    min-width: 30px;
    opacity: 0.9;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.contact-item p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Contact Form Side */
.contact-form-wrapper {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: 'âš ';
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* ========================================================================
   7. ENHANCED NEWS PAGE
   ======================================================================== */
.news-listing-section {
    background: var(--bg-light);
}

.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.news-card-large {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-large:hover .news-image img {
    transform: scale(1.15);
}

.news-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.news-category-badge.event {
    background: var(--gradient-secondary);
}

.news-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.news-meta span {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.news-meta i {
    color: var(--primary-color);
    font-size: 1rem;
}

.news-card-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.page-link {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
    min-width: 50px;
    text-align: center;
}

.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.page-link.active {
    background: var(--gradient);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.no-results {
    text-align: center;
    padding: 100px 20px;
}

.no-results i {
    font-size: 6rem;
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.no-results p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Newsletter CTA */
.newsletter-cta {
    background: var(--gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-text {
    max-width: 600px;
}

.newsletter-text h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.newsletter-text p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    line-height: 1.7;
}

.newsletter-form-large {
    display: flex;
    gap: 15px;
    max-width: 600px;
    width: 100%;
}

.newsletter-form-large input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: var(--shadow-lg);
}

.newsletter-form-large input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-form-large button {
    padding: 18px 40px;
    white-space: nowrap;
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.newsletter-form-large button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========================================================================
   8. GALLERY PAGE (Enhanced)
   ======================================================================== */
.gallery-section {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-overlay p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* ========================================================================
   9. ABOUT PAGE ENHANCEMENTS
   ======================================================================== */
.about-intro {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2.5rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 20px;
    background: var(--gradient-soft);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.about-feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 50px;
}

.about-feature-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.about-feature-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

/* Mission & Vision */
.mission-vision-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.mv-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    transform: scale(1.1) rotate(360deg);
}

.mv-icon i {
    font-size: 3rem;
    color: var(--white);
}

.mv-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Values Section */
.values-section {
    background: var(--white);
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-soft);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.value-card:hover::before {
    transform: translateY(0);
}

.value-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.value-icon i {
    font-size: 2.2rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Facilities Section */
.facilities-section {
    background: var(--bg-light);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.facility-item {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.facility-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.facility-item:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.facility-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.facility-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--secondary-color);
    margin-right: 3px;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    font-size: 1.8rem;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.member-image {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.member-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover .member-image::after {
    opacity: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.15);
}

.member-info {
    padding: 30px;
    text-align: center;
}

.member-info h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-info span {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.member-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================================================
   10. EDUCATION PAGE
   ======================================================================== */
.programs-section {
    background: var(--white);
}

.program-detail {
    margin-bottom: 100px;
    padding: 60px 0;
}

.program-detail:not(:last-child) {
    border-bottom: 3px solid var(--border-color);
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.program-detail:nth-child(even) .program-grid {
    direction: rtl;
}

.program-detail:nth-child(even) .program-info {
    direction: ltr;
}

.program-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.program-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.3), transparent);
    z-index: 1;
}

.program-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-detail:hover .program-image img {
    transform: scale(1.1);
}

.program-age {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.program-info h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.program-info p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.program-info h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    font-weight: 700;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
}

.features-list li {
    padding: 15px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    transition: var(--transition);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:hover {
    color: var(--text-dark);
    padding-left: 10px;
}

.features-list i {
    color: var(--success-color);
    font-size: 1.3rem;
    min-width: 25px;
}

/* ========================================================================
   11. CTA SECTIONS
   ======================================================================== */
.cta-section {
    background: var(--gradient);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.cta-content p {
    color: rgba(255,255,255,0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================================================
   12. HOMEPAGE SPECIFIC STYLES
   ======================================================================== */
.hero {
    height: 700px;
    background: linear-gradient(rgba(174, 173, 182, 0.4), rgba(158, 211, 13, 0.4)), 
                url('images/assembly.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    color: #d1fae5;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.hero-title {
    font-size: 4.0rem;
    margin-bottom: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 900;
    color:#dc2626;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: orange;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 2rem;
    color: var(--white);
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
    background: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.welcome-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.welcome-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--gradient);
    padding: 25px 30px;
    border-radius: 18px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
}

.image-badge i {
    font-size: 2.5rem;
}

.image-badge span {
    font-size: 1rem;
    font-weight: 700;
}

/* Excellence Section */
.excellence-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.excellence-text h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.excellence-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.excellence-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 600;
}

/* Why Choose Section */
.why-choose-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 3rem;
}

.feature-card {
    padding: 45px 35px;
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(360deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Academic Stages Section */
.academic-stages-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 3rem;
}

.stage-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stage-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.stage-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.stage-card:hover .stage-image img {
    transform: scale(1.15);
}

.stage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stage-card:hover .stage-overlay {
    opacity: 1;
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.stage-content {
    padding: 30px;
    text-align: center;
}

.stage-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.age-range {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.stage-content p {
    color: var(--text-light);
    margin: 1.5rem 0;
    line-height: 1.8;
}

/* News Section (Homepage) */
.news-section {
    padding: 100px 0;
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.news-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-category {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.news-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ========================================================================
   13. FOOTER
   ======================================================================== */
.footer {
    background: #84f757;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    padding: 0;
}

.newsletter-signup h5 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
}

.btn-newsletter {
    padding: 12px 20px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
}

.btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
}

.dev-credit {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================================================
   14. ANIMATIONS
   ======================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease both;
}

/* ========================================================================
   15. NOTIFICATION STYLES
   ======================================================================== */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    z-index: 9999;
    transform: translateX(500px);
    transition: transform 0.4s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

.notification i {
    font-size: 1.8rem;
}

.notification-success i {
    color: var(--success-color);
}

.notification-error i {
    color: var(--danger-color);
}

.notification span {
    flex: 1;
    color: var(--text-dark);
    font-weight: 600;
}

.close-notification {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-notification:hover {
    color: var(--text-dark);
}

/* ========================================================================
   16. RESPONSIVE DESIGN
   ======================================================================== */

/* Tablets */
@media (max-width: 968px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Page Headers */
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.2rem;
    }

    /* Hero Section */
    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    /* Grids */
    .about-grid,
    .welcome-grid,
    .excellence-grid,
    .contact-grid,
    .program-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-detail:nth-child(even) .program-grid {
        direction: ltr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .features-grid,
    .stages-grid,
    .values-grid,
    .news-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    /* Newsletter */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text h2 {
        font-size: 2.2rem;
    }

    .newsletter-form-large {
        flex-direction: column;
        width: 100%;
    }

    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Image Badges */
    .image-badge {
        bottom: 20px;
        right: 20px;
        padding: 20px;
        font-size: 0.9rem;
    }

    .about-image-badge {
        bottom: 20px;
        right: 20px;
        padding: 20px;
    }

    /* Excellence Features */
    .excellence-features {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Sections Padding */
    section {
        padding: 60px 0;
    }

    .page-header {
        padding: 100px 0 60px;
    }
}

/* Mobile Phones */
@media (max-width: 640px) {
    /* Typography */
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* All Single Column Grids */
    .stats-grid,
    .features-grid,
    .stages-grid,
    .values-grid,
    .news-grid,
    .testimonials-grid,
    .team-grid,
    .facilities-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cards */
    .about-text h2,
    .welcome-text h2,
    .excellence-text h2,
    .program-info h2 {
        font-size: 2rem;
    }

    .mv-card h3 {
        font-size: 1.6rem;
    }

    .feature-card h3,
    .value-card h3 {
        font-size: 1.3rem;
    }

    .stage-content h3 {
        font-size: 1.5rem;
    }

    /* Contact */
    .contact-info,
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    /* Newsletter */
    .newsletter-text h2 {
        font-size: 1.8rem;
    }

    .newsletter-text p {
        font-size: 1rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* Program Details */
    .program-image img {
        height: 350px;
    }

    /* Stat Numbers */
    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* Icons */
    .mv-icon,
    .value-icon {
        width: 70px;
        height: 70px;
    }

    .mv-icon i,
    .value-icon i {
        font-size: 1.8rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    /* Footer */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-col h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Notifications */
    .notification {
        right: 15px;
        left: 15px;
        top: 80px;
        max-width: none;
    }

    /* Image Badges */
    .image-badge {
        position: static;
        margin-top: 20px;
        justify-content: center;
    }

    .about-image-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    /* Filters */
    .news-filters,
    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* News Cards */
    .news-card-large {
        border-radius: 15px;
    }

    .news-card-content {
        padding: 20px;
    }

    .news-card-content h3 {
        font-size: 1.2rem;
    }

    /* Gallery */
    .gallery-overlay {
        padding: 20px;
    }

    .gallery-overlay h3 {
        font-size: 1.2rem;
    }

    .gallery-overlay p {
        font-size: 0.9rem;
    }

    /* Lightbox */
    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-close {
        top: -35px;
        font-size: 2rem;
    }

    /* Contact Items */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        font-size: 2rem;
    }

    /* Sections Padding */
    section {
        padding: 50px 0;
    }

    .page-header {
        padding: 80px 0 50px;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Buttons */
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    /* Forms */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* Very Small Devices */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .newsletter-text h2 {
        font-size: 1.5rem;
    }
}

/* ========================================================================
   17. PRINT STYLES
   ======================================================================== */
@media print {
    .navbar,
    .hamburger,
    .back-to-top,
    .hero-buttons,
    .cta-section,
    .newsletter-cta,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }

    .container {
        max-width: 100%;
    }

    a {
        text-decoration: underline;
    }

    .page-header {
        background: none;
        color: #000;
        padding: 20px 0;
    }

    .page-header h1 {
        color: #000;
        text-shadow: none;
    }
}

/* ========================================================================
   18. UTILITY CLASSES
   ======================================================================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 15px; }
.rounded-full { border-radius: 50%; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--text-light); }

.bg-primary { background: var(--primary-color); }
.bg-secondary { background: var(--secondary-color); }
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--white); }

.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fw-extrabold { font-weight: 800; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ========================================================================
   END OF STYLESHEET
   =========================================================================*/