@font-face {
    font-family: 'Iran Sans';
    src: url('fonts/irsans.ttf') format('.ttf'), url('fonts/iran-sans-300.woff') format('woff'), url('fonts/iran-sans-300.woff2') format('woff2'), url('fonts/iran-sans-500.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vazir';
    src: url('fonts/vazir-300.ttf') format('.ttf'), url('fonts/vazir-300.woff') format('woff'), url('fonts/vazir-300.woff2') format('woff2'), url('fonts/vazir-500.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-blue: #273a5a;
    --primary-blue-light: #3a5280;
    --primary-blue-dark: #1a2840;
    --dark-gray: #0a0e14;
    --light-gray: #f5f7fa;
    --accent-color: #4d7cfe;
    --neon-blue: #00a8ff;
    --neon-cyan: #00fff7;
    --white: #ffffff;
    --animation-timing: 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Iran Sans', sans-serif;
    background-color: var(--primary-blue-dark);
    color: var(--light-gray);
    min-height: 100vh;
    width: 100%;
    position: relative;
}

body.rtl {
    font-family: 'Iran Sans', 'vazir', sans-serif;
    direction: rtl;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(39, 58, 90, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}


/* Add to your existing CSS, replace the logo section */

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(77, 124, 254, 0.3);
}

/* New styles for image logo */
.logo-image {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes dark logo white - remove if logo is already white */
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--neon-cyan)); /* Adds glow on hover - remove if not wanted */
}

/* Alternative if logo is already white - use this instead */
.logo-image-white {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-image-white:hover {
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* Remove these if you're only using image logo */
.logo-main {
    color: var(--white);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-sub {
    color: var(--neon-cyan);
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px var(--neon-cyan);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-image,
    .logo-image-white {
        height: 35px;
        max-width: 140px;
    }
}

@media (max-width: 576px) {
    .logo-image,
    .logo-image-white {
        height: 30px;
        max-width: 120px;
    }
}
/* Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language switcher - now as links */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    color: var(--light-gray);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

.lang-link:hover {
    background: rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.lang-link.active {
    background: var(--neon-blue);
    color: var(--white);
    box-shadow: 0 0 15px var(--neon-blue);
    pointer-events: none;
}

/* Hamburger menu */
.hamburger-menu {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: none;
}

.hamburger-menu:hover {
    background: rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}

/* Curtain Menu Overlay */
.curtain-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 20, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.curtain-menu.active {
    opacity: 1;
    visibility: visible;
}

.curtain-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.curtain-menu-close:hover {
    background: rgba(0, 168, 255, 0.3);
    transform: rotate(90deg);
    box-shadow: 0 0 20px var(--neon-blue);
}

body.rtl .curtain-menu-close {
    right: auto;
    left: 2rem;
}

.curtain-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.curtain-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.curtain-nav-link::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
    transition: width 0.3s ease;
    box-shadow: 0 0 15px var(--neon-blue);
}

.curtain-nav-link:hover {
    color: var(--neon-cyan);
    transform: translateX(20px);
    text-shadow: 0 0 20px var(--neon-cyan);
}

.curtain-nav-link:hover::before {
    width: 100%;
}

/* Main content */
.main-content {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;  /* Increased top padding to account for fixed header */
    position: relative;
    z-index: 5;
    min-height: 100vh;
}

/* Hero section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.2;
}

.hero-title span {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

/* Branches grid */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    min-height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.branch-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 168, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.7);
    background: rgba(26, 40, 64, 0.8);
}

.branch-card:hover::before {
    opacity: 1;
}

.branch-icon {
    width: 70px;
    height: 70px;
    background: rgba(39, 58, 90, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 247, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 255, 247, 0.2);
    transition: all 0.4s ease;
}

.branch-card:hover .branch-icon {
    background: rgba(0, 168, 255, 0.9);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--neon-blue);
}

.branch-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.branch-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--light-gray);
}

/* Footer */
.footer {
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(26, 40, 64, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 168, 255, 0.2);
    z-index: 10;
    position: relative;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.social-link:hover {
    background: var(--neon-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Neon background effects - fixed positioning for background */
.neon-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(0, 168, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.neon-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.neon-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    height: 2px;
    width: 100%;
    filter: blur(2px);
    box-shadow: 0 0 15px var(--neon-blue), 0 0 30px var(--neon-blue);
    opacity: 0.4;
    animation: neonScan 8s linear infinite;
}

.neon-line:nth-child(1) { top: 15%; animation-delay: 0s; }
.neon-line:nth-child(2) { top: 35%; animation-delay: 1.5s; }
.neon-line:nth-child(3) { top: 55%; animation-delay: 3s; }
.neon-line:nth-child(4) { top: 75%; animation-delay: 4.5s; }
.neon-line:nth-child(5) { top: 95%; animation-delay: 6s; }

@keyframes neonScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.floating-neon {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: floatNeon 25s infinite alternate ease-in-out;
}

.floating-neon:nth-child(5) {
    top: -150px;
    right: -150px;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.2) 0%, transparent 70%);
}

.floating-neon:nth-child(6) {
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
    background: radial-gradient(circle, rgba(0, 255, 247, 0.15) 0%, transparent 70%);
}

.floating-neon:nth-child(7) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(77, 124, 254, 0.1) 0%, transparent 70%);
    animation-delay: 3s;
}

@keyframes floatNeon {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.2); }
    100% { transform: translate(30px, -30px) scale(0.8); }
}

/* RTL specific styles */
body.rtl .branch-card {
    text-align: center;
}

body.rtl .curtain-nav-link:hover {
    transform: translateX(-20px);
}

/* Desktop styles - full screen no scroll */
@media (min-width: 1201px) {
    body {
        overflow: hidden;
        height: 100vh;
    }
    
    .container {
        height: 100vh;
        overflow: hidden;
    }
    
    .main-content {
          height: calc(100vh - 80px);
        min-height: auto;
        padding: 0 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
      .home-page .main-content {
        padding: 0 2rem;
    }
     .about-page .main-content,
    .contact-page .main-content {
        padding: 6rem 2rem 4rem;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        align-items: flex-start; /* Align to top instead of center */
    }
    .footer {
        position: fixed;
        bottom: 0;
    }

     .about-page .footer,
    .contact-page .footer {
        position: relative;
        margin-top: 2rem;
    }
}

/* Responsive styles - allow scrolling */
@media (max-width: 1200px) {
    body {
        overflow: auto;
        height: auto;
    }
    
    .container {
        height: auto;
        overflow: visible;
    }
    
    .main-content {
        min-height: auto;
        padding: 6rem 1.5rem 4rem;
        height: auto;
    }
    
    .footer {
        position: relative;
        margin-top: 2rem;
    }
    
    .hero-section {
        margin: 2rem 0;
    }
    
    .branches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .curtain-nav-link {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 5rem 1rem 3rem;
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .branch-card {
        padding: 1.5rem 1rem;
        min-height: 240px;
    }
    
    .branch-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .branch-name {
        font-size: 1.1rem;
    }
    
    .branch-description {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .curtain-nav-link {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 5rem 0.8rem 2rem;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }
    
    .header {
        padding: 1rem;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .lang-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .curtain-nav-link {
        font-size: 1.5rem;
    }
}

/* ==================== */
/* About Page Styles    */
/* ==================== */

.about-page .main-content {
  padding: 6rem 2rem 4rem;
    min-height: 100vh;
    overflow-y: auto;
    align-items: flex-start;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.about-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero h1 span {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Mission Vision Cards */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.mv-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 168, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.7);
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: rgba(39, 58, 90, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--neon-cyan);
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(0, 255, 247, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 255, 247, 0.2);
    transition: all 0.4s ease;
}

.mv-card:hover .mv-icon {
    background: rgba(0, 168, 255, 0.9);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--neon-blue);
}

.mv-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.stat-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--neon-cyan);
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    margin-bottom: 5rem;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.values-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-cyan), transparent);
    box-shadow: 0 0 10px var(--neon-blue);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 168, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.7);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(39, 58, 90, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--neon-cyan);
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(0, 255, 247, 0.3);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: rgba(0, 168, 255, 0.9);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--neon-blue);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Team Section */
.team-section {
    margin-bottom: 5rem;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-cyan), transparent);
    box-shadow: 0 0 10px var(--neon-blue);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 168, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.7);
}

.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.team-position {
    color: var(--neon-cyan);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* ==================== */
/* Contact Page Styles  */
/* ==================== */

.contact-page .main-content {
      padding: 6rem 2rem 4rem;
    min-height: 100vh;
    overflow-y: auto;
    align-items: flex-start;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-header h1 span {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.contact-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 168, 255, 0.3);
    border-color: rgba(0, 168, 255, 0.7);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(39, 58, 90, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 255, 247, 0.3);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.info-card:hover .info-icon {
    background: rgba(0, 168, 255, 0.9);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px var(--neon-blue);
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.info-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

/* Contact Form */
.contact-form-container {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--accent-color));
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(39, 58, 90, 0.5), 0 0 30px rgba(0, 168, 255, 0.5);
    gap: 15px;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.submit-btn:hover::after {
    left: 100%;
}

/* Map Section */
.map-section {
    margin-bottom: 4rem;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.map-container {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--white);
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

/* Business Hours */
.hours-section {
    margin-bottom: 4rem;
}

.hours-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hours-card {
    background: rgba(26, 40, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.5);
}

.hours-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.hours-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* RTL Support for new pages */
body.rtl .info-card:hover {
    transform: translateX(-10px);
}

body.rtl .submit-btn {
    flex-direction: row-reverse;
}

/* Responsive for new pages */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero h1,
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .map-container {
        height: 300px;
    }
}
#divisions,
#contact,
#about {
    scroll-margin-top: 80px;  /* Prevents header from covering anchored sections */
}

@media (max-width: 768px) {
    .main-content,
    .about-page .main-content,
    .contact-page .main-content {
        padding: 5rem 1rem 3rem;  /* Slightly less padding on mobile */
    }
    
    .about-hero,
    .contact-header {
        padding-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .main-content,
    .about-page .main-content,
    .contact-page .main-content {
        padding: 5rem 0.8rem 2rem;
    }
}