@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS Variables - Islamic Color Palette
   ============================================ */
:root {
    /* Islamic-inspired color palette */
    --background: hsl(45, 30%, 97%);
    --foreground: hsl(150, 25%, 15%);

    --card: hsl(45, 40%, 98%);
    --card-foreground: hsl(150, 25%, 15%);

    --popover: hsl(45, 40%, 98%);
    --popover-foreground: hsl(150, 25%, 15%);

    /* Deep Islamic Green */
    --primary: hsl(152, 45%, 25%);
    --primary-foreground: hsl(45, 40%, 98%);

    /* Gold Accent */
    --secondary: hsl(43, 85%, 55%);
    --secondary-foreground: hsl(150, 25%, 15%);

    --muted: hsl(45, 20%, 92%);
    --muted-foreground: hsl(150, 15%, 40%);

    /* Emerald Accent */
    --accent: hsl(158, 60%, 35%);
    --accent-foreground: hsl(45, 40%, 98%);

    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);

    --border: hsl(45, 25%, 88%);
    --input: hsl(45, 25%, 88%);
    --ring: hsl(152, 45%, 25%);

    --radius: 0.75rem;

    /* Custom tokens */
    --gold: hsl(43, 85%, 55%);
    --gold-light: hsl(43, 85%, 70%);
    --emerald-dark: hsl(152, 50%, 20%);
    --cream: hsl(45, 40%, 95%);
    --cream-dark: hsl(45, 30%, 90%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(152, 45%, 25%) 0%, hsl(158, 60%, 35%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(43, 85%, 55%) 0%, hsl(43, 85%, 70%) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);

    /* Shadows */
    --shadow-soft: 0 4px 20px -2px hsla(152, 45%, 25%, 0.1);
    --shadow-card: 0 8px 30px -5px hsla(152, 45%, 25%, 0.15);
    --shadow-gold: 0 4px 20px -2px hsla(43, 85%, 55%, 0.3);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Background utilities */
.bg-gradient-primary {
    background-image: var(--gradient-primary);
}

.bg-gradient-hero {
    background-image: var(--gradient-hero);
}

/* Shadow utilities */
.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

/* Gold Border */
.gold-border {
    border: 2px solid hsla(43, 85%, 55%, 0.3);
}

/* Section Title */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 0.25rem;
    background-color: var(--secondary);
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

/* Islamic Pattern Background */
.islamic-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4a052' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(152, 45%, 20%);
}

.btn-gold {
    background-image: var(--gradient-gold);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px -3px hsla(43, 85%, 55%, 0.4);
}

.btn-hero {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn-hero:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background-color: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-hero-outline:hover {
    background-color: var(--primary-foreground);
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: var(--gold-light);
}

.btn-link {
    background: none;
    color: var(--secondary);
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-icon {
    width: 3rem;
    height: 3rem;
    padding: 0;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* ============================================
   Header Styles
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: hsla(45, 40%, 98%, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.top-bar-link:hover {
    color: var(--secondary);
}

.top-bar-link svg {
    width: 0.75rem;
    height: 0.75rem;
}

.top-bar-link.hide-mobile {
    display: none;
}

@media (min-width: 640px) {
    .top-bar-link.hide-mobile {
        display: flex;
    }
}

.top-bar-arabic {
    color: var(--secondary);
    font-weight: 500;
}

/* Main Header */
.main-header {
    padding: 1rem 0;
}

.main-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-image: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

.logo-icon span {
    color: var(--primary-foreground);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button in Header */
.header-cta {
    display: none;
}

@media (min-width: 1024px) {
    .header-cta {
        display: block;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: var(--primary);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.3s ease-out;
}

.mobile-nav.active {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: var(--foreground);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

/* ============================================
   Hero Slider Styles
   ============================================ */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: var(--gradient-hero);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    text-align: center;
    color: var(--primary-foreground);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.7s ease 0.3s;
}

.hero-slide.active .hero-inner {
    opacity: 1;
    transform: translateY(0);
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: hsla(43, 85%, 55%, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto 2rem;
    color: hsla(45, 40%, 98%, 0.9);
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: hsla(45, 40%, 98%, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
}

.slider-arrow:hover {
    background-color: hsla(45, 40%, 98%, 0.4);
}

.slider-arrow.prev {
    left: 1rem;
}

.slider-arrow.next {
    right: 1rem;
}

.slider-arrow svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: hsla(45, 40%, 98%, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.slider-dot:hover {
    background-color: var(--primary-foreground);
}

.slider-dot.active {
    background-color: var(--secondary);
    width: 2rem;
}

/* ============================================
   Notice Board Styles
   ============================================ */
.notice-board {
    background-color: var(--primary);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    flex-shrink: 0;
    font-weight: 700;
}

.notice-label svg {
    width: 1rem;
    height: 1rem;
}

.notice-marquee {
    overflow: hidden;
    flex: 1;
}

.notice-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.notice-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-foreground);
    transition: color 0.3s ease;
}

.notice-item:hover {
    color: var(--secondary);
}

.notice-new {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.notice-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.notice-date svg {
    width: 1rem;
    height: 1rem;
    color: var(--secondary);
}

.notice-separator {
    margin: 0 0.5rem;
}

.notice-title {
    font-weight: 500;
}

.notice-arrow {
    width: 1rem;
    height: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice-item:hover .notice-arrow {
    opacity: 1;
}

/* ============================================
   Departments Section
   ============================================ */
.departments-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: hsla(152, 45%, 25%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-description {
    margin-top: 1.5rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.departments-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.department-card {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
}

.department-card:hover {
    box-shadow: var(--shadow-card);
    border-color: hsla(43, 85%, 55%, 0.5);
}

.department-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background-image: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.department-card:hover .department-icon {
    transform: scale(1.1);
}

.department-icon svg {
    width: 2rem;
    height: 2rem;
}

.department-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.department-card:hover .department-title {
    color: var(--primary);
}

.department-description {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.department-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.department-students {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.department-students strong {
    color: var(--primary);
}

/* ============================================
   Stats Counter Section
   ============================================ */
.stats-section {
    padding: 5rem 0;
    background-image: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-decorations {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
}

.stats-circle {
    position: absolute;
    border: 2px solid var(--primary-foreground);
    border-radius: 50%;
}

.stats-circle-1 {
    top: 2.5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
}

.stats-circle-2 {
    bottom: 2.5rem;
    right: 2.5rem;
    width: 12rem;
    height: 12rem;
}

.stats-circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.stats-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .stats-title {
        font-size: 2.25rem;
    }
}

.stats-subtitle {
    color: hsla(45, 40%, 98%, 0.8);
    max-width: 36rem;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    background-color: hsla(45, 40%, 98%, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: transform 0.3s ease;
    border: 1px solid hsla(45, 40%, 98%, 0.2);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-foreground);
    margin-bottom: 0.5rem;
    animation: countUp 0.5s ease-out forwards;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3.75rem;
    }
}

.stat-value span {
    color: var(--secondary);
}

.stat-label {
    color: hsla(45, 40%, 98%, 0.8);
    font-weight: 500;
}

/* ============================================
   Principal Message Section
   ============================================ */
.principal-section {
    padding: 5rem 0;
    background-color: hsla(45, 20%, 92%, 0.5);
}

.principal-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .principal-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.principal-image-wrapper {
    position: relative;
}

.principal-image-container {
    position: relative;
    z-index: 10;
}

.principal-image {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    border: 2px solid hsla(43, 85%, 55%, 0.3);
}

.principal-decoration-1 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    border-radius: 1rem;
    z-index: 0;
}

.principal-decoration-2 {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    background-color: hsla(43, 85%, 55%, 0.2);
    border-radius: 1rem;
    z-index: 0;
}

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: var(--card);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    z-index: 20;
    text-align: center;
}

@media (min-width: 1024px) {
    .experience-badge {
        right: auto;
        left: -1.5rem;
    }
}

.experience-badge .number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
}

.experience-badge .text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.principal-content {
    padding-left: 0;
}

@media (min-width: 1024px) {
    .principal-content {
        padding-left: 2rem;
    }
}

.principal-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .principal-name {
        font-size: 2.25rem;
    }
}

.principal-designation {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.quote-container {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 3rem;
    height: 3rem;
    color: hsla(43, 85%, 55%, 0.3);
}

.quote-text {
    padding-left: 2.5rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.signature-line {
    width: 4rem;
    height: 2px;
    background-color: var(--secondary);
}

.signature-name {
    font-weight: 700;
    color: var(--foreground);
}

.signature-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.arabic-dua {
    margin-top: 2rem;
    padding: 1rem;
    background-color: hsla(152, 45%, 25%, 0.05);
    border-radius: 0.75rem;
    border: 1px solid hsla(152, 45%, 25%, 0.1);
}

.arabic-text {
    text-align: center;
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 500;
    direction: rtl;
}

.arabic-translation {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ============================================
   Teachers Slider Section
   ============================================ */
.teachers-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.teachers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.slider-nav {
    display: flex;
    gap: 0.5rem;
}

.slider-nav-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-nav-btn:hover:not(:disabled) {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.slider-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.teachers-slider-container {
    overflow: hidden;
}

.teachers-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

.teacher-card {
    flex-shrink: 0;
    width: calc(25% - 1.125rem);
    background-color: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

@media (max-width: 1023px) {
    .teacher-card {
        width: calc(33.333% - 1rem);
    }
}

@media (max-width: 767px) {
    .teacher-card {
        width: calc(50% - 0.75rem);
    }
}

@media (max-width: 639px) {
    .teacher-card {
        width: 100%;
    }
}

.teacher-card:hover {
    box-shadow: var(--shadow-card);
}

.teacher-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.teacher-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-image {
    transform: scale(1.1);
}

.teacher-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(152, 45%, 25%, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teacher-card:hover .teacher-overlay {
    opacity: 1;
}

.teacher-info {
    padding: 1.5rem;
    text-align: center;
}

.teacher-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.teacher-designation {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.teacher-qualification {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ============================================
   Photo Gallery Section
   ============================================ */
.gallery-section {
    padding: 5rem 0;
    background-color: hsla(45, 20%, 92%, 0.3);
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: var(--card);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    cursor: pointer;
}

.filter-btn:hover {
    background-color: hsla(152, 45%, 25%, 0.1);
    color: var(--primary);
}

.filter-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
}

.gallery-item:hover {
    box-shadow: var(--shadow-card);
}

.gallery-image-container {
    aspect-ratio: 4/3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(152, 45%, 25%, 0.9), hsla(152, 45%, 25%, 0.3) 50%, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-category {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.gallery-title {
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.gallery-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary-foreground);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: hsla(150, 25%, 15%, 0.9);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.lightbox-close:hover {
    background-color: var(--secondary);
}

.lightbox-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.lightbox-content {
    max-width: 80rem;
    width: 100%;
}

.lightbox-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
}

.lightbox-info {
    text-align: center;
    margin-top: 1rem;
}

.lightbox-category {
    color: var(--secondary);
    font-size: 0.875rem;
}

.lightbox-title {
    color: var(--primary-foreground);
    font-size: 1.25rem;
    font-weight: 700;
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

/* Footer About */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon span {
    color: var(--secondary-foreground);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-text p {
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.7);
}

.footer-description {
    color: hsla(45, 40%, 98%, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: hsla(45, 40%, 98%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Footer Links */
.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2.5rem;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: hsla(45, 40%, 98%, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

/* Footer Contact */
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact span,
.footer-contact a {
    color: hsla(45, 40%, 98%, 0.8);
}

.footer-contact a:hover {
    color: var(--secondary);
}

/* Footer Newsletter */
.footer-newsletter p {
    color: hsla(45, 40%, 98%, 0.8);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background-color: hsla(45, 40%, 98%, 0.1);
    border: 1px solid hsla(45, 40%, 98%, 0.2);
    color: var(--primary-foreground);
    font-family: inherit;
}

.newsletter-input::placeholder {
    color: hsla(45, 40%, 98%, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-btn {
    width: 3rem;
    height: 3rem;
    background-color: var(--secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-foreground);
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--gold-light);
}

.newsletter-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid hsla(45, 40%, 98%, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.7);
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
    }
}

.footer-bottom .arabic {
    color: var(--secondary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, hsla(43, 85%, 55%, 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-count-up {
    animation: countUp 0.5s ease-out forwards;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: var(--muted);
}

::-webkit-scrollbar-thumb {
    background-color: hsla(152, 45%, 25%, 0.3);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsla(152, 45%, 25%, 0.5);
}

/* ============================================
   Responsive Visibility
   ============================================ */
.hide-desktop {
    display: block;
}

@media (min-width: 1024px) {
    .hide-desktop {
        display: none;
    }
}

.show-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .show-desktop {
        display: block;
    }
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    }
}

/* Footer About */
.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-image: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon span {
    color: var(--secondary-foreground);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.footer-logo-text p {
    font-size: 0.75rem;
    color: var(--secondary);
}

.footer-description {
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: hsla(45, 40%, 98%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    transform: translateY(-3px);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Footer Links */
.footer-links h4,
.footer-contact h4,
.footer-important-links h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links ul li a {
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

/* Footer Contact */
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.8);
}

.footer-contact ul li svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact ul li a {
    color: hsla(45, 40%, 98%, 0.8);
    transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
    color: var(--secondary);
}

/* Footer Important Links */
.footer-important-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-important-links ul li a {
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-important-links ul li a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

.footer-important-links ul li a svg {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    background-color: hsla(0, 0%, 0%, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom-content p {
    font-size: 0.875rem;
    color: hsla(45, 40%, 98%, 0.8);
}

.footer-bottom-content .arabic {
    color: var(--secondary);
    font-size: 1rem;
}