/* تنظیمات پایه */


@font-face {
    font-family: 'IRANSans-Bold-web';
    src: url('../fonts/IRANSans-Bold-web.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IRANSans-Medium-web.eot');
    src: url('../fonts/IRANSans-Medium-web.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('../fonts/IRANSans-Medium-web.woff2') format('woff2'),  /* Chrome36+, Opera24+*/
         url('../fonts/IRANSans-Medium-web.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('../fonts/IRANSans-Medium-web.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/IRANSans-Light-web.eot');
    src: url('../fonts/IRANSans-Light-web.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('../fonts/IRANSans-Light-web.woff2') format('woff2'),  /* Chrome36+, Opera24+*/
         url('../fonts/IRANSans-Light-web.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('../fonts/IRANSans-Light-web.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/IRANSans-UltraLight-web.eot');
    src: url('../fonts/IRANSans-UltraLight-web.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('../fonts/IRANSans-UltraLight-web.woff2') format('woff2'),  /* Chrome36+, Opera24+*/
         url('../fonts/IRANSans-UltraLight-web.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('../fonts/IRANSans-UltraLight-web.ttf') format('truetype');
}
@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IRANSans-web.eot');
    src: url('../fonts/IRANSans-web.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
         url('../fonts/IRANSans-web.woff2') format('woff2'),  /* Chrome36+, Opera24+*/
         url('../fonts/IRANSans-web.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
         url('../fonts/IRANSans-web.ttf') format('truetype');
}



:root {
    --primary-color: #2563EB;
    --secondary-color: #1E40AF;
    --background-color: #FFFFFF;
    --text-color: #1F2937;
    --light-blue: #EFF6FF;
    --font-primary: 'IRANSans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: bold;
}

input, button, textarea {
    font-family: var(--font-primary);
}

.hero-content h1 {
    font-family: var(--font-primary);
    font-weight: bold;
}

.feature-item span {
    font-family: var(--font-primary);
    font-weight: 500;
}

.about-features li {
    font-family: var(--font-primary);
    font-weight: 500;
}

.submit-btn {
    font-family: var(--font-primary);
    font-weight: bold;
}

/* عنوان اصلی */
.main-title {
    background: linear-gradient(to right, #1F2B7B, #2F59AA, #00D4FF);
    color: white;
    padding: 0.4rem 2rem;
    position: relative;
}

.title-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-title h1,
.main-title .site-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
}

.main-title .phone {
    font-size: 0.85rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.main-title .phone::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/new/phone.png');
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .title-container {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .main-title h1,
    .main-title .site-tagline {
        font-size: 0.75rem;
        margin: 0;
    }
    
    .main-title .phone {
        font-size: 0.75rem;
    }
}

/* هدر و ناوبری */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    align-items: center;
    gap: 0.45rem;
}

.mobile-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu-icon span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.nav-switch {
    color: #2563EB;
    border: 1px solid #2563EB;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}


.contact-info {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* بخش قهرمان */
.hero-section {
    background-size: cover;
    background-position: center;
    background-color: #1a2d4a;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    padding: 6rem 4rem;
    margin: 2rem 2rem 0 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: none;
}

.hero-section.fade {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
    will-change: opacity;
    transform: translateZ(0);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 255px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 40px 0;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
    position: relative;
    z-index: 3;
    padding: 0;
    padding-right: 2rem;
    text-align: right;
}

.hero-text-soft .hero-title {
    color: rgba(255, 255, 255, 0.58);
}

.hero-text-soft .hero-title .highlight {
    color: rgba(249, 190, 37, 0.65);
}

.hero-text-soft .hero-subtitle {
    color: rgba(255, 255, 255, 0.52);
}

.hero-text-soft .hero-subtitle.levels {
    color: rgba(255, 255, 255, 0.58);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: white;
    text-align: right;
}

.hero-title .highlight {
    color: #F9BE25;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    text-align: right;
}

.hero-subtitle.levels {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: white;
    text-align: right;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-box {
    background-color: #F1F1F1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FF7C75;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 2rem;
    display: inline-block;
    text-align: center;
    font-family: var(--font-primary);
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ویژگی‌ها */
.features {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--text-color);
}

.features-description {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.5;
    padding: 0 1rem;
    font-size: 0.95rem;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    flex: 1 1 calc(50% - 0.75rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(218, 240, 251, 0.7);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    min-width: 0;
}

.feature-item:nth-child(1) { order: 1; }
.feature-item:nth-child(2) { order: 2; }
.feature-item:nth-child(3) { order: 3; }
.feature-item:nth-child(4) { order: 4; }
.feature-item:nth-child(5) { order: 5; }
.feature-item:nth-child(6) { order: 6; }
.feature-item:nth-child(7) { order: 7; }
.feature-item:nth-child(8) { order: 8; }
.feature-item:nth-child(9) { order: 9; }
.feature-item:nth-child(10) { order: 10; }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

.feature-item span {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

@media (min-width: 1080px) {
    .feature-item {
        flex: 1 1 calc(20% - 1.2rem);
    }
}

/* درباره ما */
.about-section {
    padding: 2rem 2rem 0 2rem;
    background-color: #E1E9F8;
    margin: 2rem 0;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-width: 0;
}

.about-content:has(.about-image-short) {
    align-items: center;
}

.about-text,
.about-image {
    min-width: 0;
}

.about-image {
    position: relative;
    margin-left: -2rem;
    margin-bottom: 0;
    min-width: 0;
}

.about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.about-image img[alt="تخته سیاه با نوشته‌های انگیزشی"] {
    width: 100%;
    display: block;
    margin: 0;
    border-radius: 0;
}

.about-image-short {
    max-height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-left: 0;
}

.about-image-short img {
    width: 100%;
    height: 280px;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.blackboard-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: var(--font-primary);
    font-size: 2rem;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: right;
    width: 100%;
}

.about-text p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: right;
    width: 100%;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* امکانات آموزشی */
.facilities {
    padding: 4rem 0;
    max-width: 1400px;
    margin: 0 auto;
    clear: both;
    overflow: hidden;
}

.facilities h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--text-color);
}

.facilities-description {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.5;
    padding: 0 1rem;
    font-size: 0.95rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem;
    height: auto;
    align-items: stretch;
    padding: 0 2rem;
    width: 100%;
}

/* ستون سمت راست */
.facility-card.right-column {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
}

.right-column .facility-card,
.center-column .facility-card {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

.right-column .facility-card:last-child,
.center-column .facility-card:last-child {
    flex: 1;
    min-height: 400px;
}

.right-column > .facility-card.intro-card,
.center-column > .facility-card.students-card {
    flex: 0 0 auto;
}

.right-column > .facility-card.intro-card {
    background-color: #9DD9F3 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* ستون چپ */
.facility-card.center-column {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.center-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem !important;
    width: 100%;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
}

.center-column > .facility-card.students-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.center-column > .facility-card.fun-card,
.center-column > .facility-card.astronomy-card,
.center-column > .facility-card.music-card,
.right-column > .facility-card.fun-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.center-column .astronomy-card {
    margin-bottom: 0 !important;
}

.facility-card.right-column,
.facility-card.center-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}

/* ستون سمت چپ - آمار */
.stats-card {
    background-color: #F8F9FA !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    min-height: 250px !important;
    border-radius: 12px;
    width: 100%;
}

.stats-content {
    text-align: center;
    color: #333;
    max-width: 150px;
    margin: 0 auto;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.stats-text {
    font-size: 1rem;
    color: #666;
}

.more-facilities {
    text-align: center;
    margin-top: auto;
}

.more-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #E1E9F8;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.more-link:hover {
    background: #D1D9E8;
    transform: translateY(-2px);
}

/* کارت‌های امکانات */
.facility-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.facility-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
    color: white;
}

.facility-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4;
}

.facility-card p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.play-button {
    display: none;
}

@media (max-width: 1024px) {
    .facilities-grid {
        grid-template-columns: 1fr !important;
        padding: 0 2rem;
    }

    .fun-card, .astronomy-card, .music-card, .intro-card {
        min-height: 350px !important;
    }

    .fun-card img, .astronomy-card .image-container, .music-card .image-container, .intro-card .image-container {
        height: 250px;
    }

    .center-column .students-card {
        height: 280px !important;
        min-height: 280px !important;
    }

    .facility-card .card-content {
        padding: 1rem;
    }

    .facility-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .facility-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        padding: 0 1rem;
    }

    .fun-card, .astronomy-card, .music-card, .intro-card {
        min-height: 300px !important;
    }

    .fun-card img, .astronomy-card .image-container, .music-card .image-container, .intro-card .image-container {
        height: 200px;
    }

    .center-column .students-card {
        height: 240px !important;
        min-height: 240px !important;
    }

    .facility-card .card-content {
        padding: 0.8rem;
    }

    .facility-card h3 {
        font-size: 1rem;
    }

    .facility-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .play-button {
        width: 40px;
        height: 40px;
    }

    .play-button img {
        width: 16px;
        height: 16px;
    }
}

/* فرم پیش ثبت‌نام */
.pre-register {
    background: linear-gradient(to right, 
        #F1F1F1 0%, 
        #F1F1F1 99%, 
        #4785FF 99%,
        #4785FF 100%
    );
    padding: 2rem;
    margin: 2rem 0;
    text-align: right;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    clear: both;
}

.pre-register-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.pre-register-text {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    order: 2;
}

.pre-register h2 {
    margin: 0;
    font-size: 1.8rem;
    text-align: right;
}

.register-description {
    color: #666;
    text-align: right;
    margin: 0;
    line-height: 1.8;
}

.register-form-container {
    flex: 2;
    margin: 0;
    order: 1;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.register-form input,
.register-form select {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: white;
    transition: border-color 0.3s;
}

.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.grade-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.submit-btn,
input.submit-btn,
button.submit-btn,
.register-form input[type="submit"].submit-btn {
    background-color: #2563EB !important;
    color: #fff !important;
    padding: 0.75rem;
    border: none !important;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    height: 45px;
    margin-top: 1rem;
    font-family: var(--font-primary);
}

.submit-btn:hover,
input.submit-btn:hover,
button.submit-btn:hover,
.register-form input[type="submit"].submit-btn:hover {
    background-color: #1E40AF !important;
    color: #fff !important;
}

/* اخبار */
.news-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #E1E9F8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #E1E9F8;
    padding: 1rem 1rem 0 1rem;
    border-radius: 12px 12px 0 0;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
}

/* فوتر */
.footer {
    background-color: #F1F1F1;
    color: #38393E;
    padding: 4rem 2rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #38393E;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #38393E;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ریسپانسیو */
@media (max-width: 883px) {
    .mobile-menu-button {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: auto;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        z-index: 1000;
        padding: 1rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .mobile-menu-button.active .mobile-menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-button.active .mobile-menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active .mobile-menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 2rem;
        margin: 2rem 1rem 0 1rem;
    }
    
    .hero-title {
        font-size: 1.7rem;
        margin-top: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-subtitle.levels {
        font-size: 1.4rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .register-form input,
    .register-form select {
        width: 100%;
        min-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-section {
        padding: 1.25rem;
        margin: 1rem 0.75rem;
    }

    .about-image {
        margin: 0;
        width: 100%;
    }

    .about-image img {
        border-radius: 8px;
    }

    .about-image-short,
    .about-image-short img {
        max-height: 220px;
        height: 220px;
    }

    .about-text h2 {
        font-size: 1.35rem;
        line-height: 1.5;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .blackboard-text {
        font-size: 1.1rem;
        gap: 0.6rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-features li {
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .hero-text {
        padding-right: 0;
    }

    .cta-box {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }

    .pre-register-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pre-register-text, .register-form-container {
        width: 100%;
    }
}

.hero-logos {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
    background: transparent;
}

.hero-logos img {
    display: block;
    width: 120px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-logos {
        display: none;
    }

    .hero-logos img {
        width: 80px;
    }
}

.login-button {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(145deg, #4785FF 0%, #3670e0 50%, #4785FF 100%);
    background-size: 200% 100%;
    color: #FFFFFF;
    padding: 2rem 2rem;
    border: none;
    border-radius: 0 0 40px 0;
    font-weight: 500;
    cursor: pointer;
    z-index: 3;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    animation: buttonGradient 2s ease-in-out infinite;
}

@keyframes buttonGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 6px 12px rgba(0,0,0,0.3);
}

.login-button:active {
    transform: translateY(1px);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .login-button {
        left: 0;
        top: 0;
        padding: 2rem 2rem;
        font-size: 1rem;
        border-radius: 0 0 30px 0;
    }
}

@media (max-width: 1097px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-subtitle.levels {
        font-size: 1.5rem;
    }
}

@media (max-width: 1005px) {
    .blackboard-text {
        font-size: 1.8rem;
        gap: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.7rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .about-image {
        margin: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blackboard-text {
        font-size: 1.1rem;
        gap: 0.6rem;
    }
    
    .about-text h2 {
        font-size: 1.35rem;
        line-height: 1.5;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .about-image {
        margin: 0;
        width: 100%;
    }

    .about-section {
        padding: 1.25rem;
        margin: 1rem 0.75rem;
    }
}

@media (max-width: 1280px) {
    .about-section, .pre-register {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .about-section, .pre-register {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}

/* مودال ویدیو */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
}

.video-modal-content video {
    width: 100%;
    border-radius: 8px;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.close-video:hover {
    color: #FF9F43;
}

.students-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 350px !important;
    min-height: 350px !important;
    flex: 0 0 auto !important;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.students-card img {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.students-card:hover img {
    transform: scale(1.12);
}

.students-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    z-index: 2;
}

.students-card .card-content h3 {
    margin: 0;
    font-size: 1.2rem;
    text-align: center;
}

/* آشنایی با مدرسه — سبک سالن نجوم */
.intro-card {
    background-color: #9DD9F3 !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 400px !important;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.intro-card .card-content {
    position: relative !important;
    text-align: center !important;
    width: 100% !important;
    color: #333 !important;
    background-color: #9DD9F3 !important;
    padding: 1.5rem !important;
    z-index: 2 !important;
    margin: 0 !important;
    flex: 0;
    order: 1;
}

.intro-card .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
}

.intro-card .card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: #333;
    opacity: 0.9;
}

.intro-card .image-container {
    position: relative;
    width: 100%;
    height: 350px;
    min-height: 280px;
    flex: 1 1 auto;
    order: 2;
    overflow: hidden;
}

.intro-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.intro-card:hover img {
    transform: scale(1.12);
}

.intro-card .play-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #34D399 0%, #3B82F6 50%, #34D399 100%);
    background-size: 200% 100%;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow:
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.2);
    animation: buttonGradient 2s ease-in-out infinite;
}

.intro-card .play-button:hover {
    transform: scale(1.1);
}

.intro-card .play-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.fun-card {
    background-color: #F9BE25 !important;
    display: flex;
    flex-direction: column;
    height: 100% !important;
    min-height: 400px !important;
}

.fun-card .card-content {
    position: relative;
    padding: 1.5rem;
    background-color: #F9BE25;
    color: #333;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.fun-card img {
    width: 100%;
    height: 350px;
    min-height: 280px;
    flex: 1 1 auto;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
}

.astronomy-card {
    background-color: #B1B1FD !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100% !important;
    min-height: 400px !important;
}

.astronomy-card .card-content {
    position: relative !important;
    text-align: center !important;
    width: 100% !important;
    color: #333 !important;
    background-color: #B1B1FD !important;
    padding: 1.5rem !important;
    z-index: 2 !important;
    margin: 0 !important;
    flex: 0;
    order: 1;
}

.astronomy-card .image-container {
    position: relative;
    width: 100%;
    height: 350px;
    min-height: 280px;
    flex: 1 1 auto;
    order: 2;
    overflow: hidden;
}

.astronomy-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.music-card {
    background-color: #E1E9F8 !important;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100% !important;
    min-height: 400px !important;
}

.music-card .image-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.music-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
    margin: 0;
    padding: 0;
    transform: scale(1.2) !important;
    transition: transform 0.3s ease;
}

.music-card:hover img {
    transform: scale(1.3) !important;
}

.music-card .card-content {
    position: relative !important;
    text-align: center !important;
    width: 100% !important;
    color: #333 !important;
    background-color: #E1E9F8 !important;
    padding: 0.8rem !important;
    z-index: 2 !important;
    margin: 0 !important;
    display: block;
    height: fit-content;
}

.music-card .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.music-card .card-content p {
    font-size: 0.9rem;
    line-height: 1.3;
    opacity: 0.9;
    margin: 0;
}

.music-card .play-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #34D399 0%, #3B82F6 50%, #34D399 100%);
    background-size: 200% 100%;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.2);
    animation: buttonGradient 2s ease-in-out infinite;
}

.music-card .play-button:hover {
    transform: scale(1.1);
    box-shadow: 
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 6px 12px rgba(0,0,0,0.3);
}

.music-card .play-button:active {
    transform: scale(0.95);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1);
}

.play-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.stats-card {
    background-color: #F8F9FA !important;
}

.more-link {
    background-color: #E1E9F8;
}

.students-card .play-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #34D399 0%, #3B82F6 50%, #34D399 100%);
    background-size: 200% 100%;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.2);
    animation: buttonGradient 2s ease-in-out infinite;
}

.students-card .play-button:hover {
    transform: scale(1.1);
    box-shadow: 
        inset 0 -2px 4px rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 6px 12px rgba(0,0,0,0.3);
}

.students-card .play-button:active {
    transform: scale(0.95);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1);
}

.students-card .play-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.music-card .image-container {
    cursor: pointer;
}

.fun-card .card-content h3,
.astronomy-card .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.fun-card .card-content p,
.astronomy-card .card-content p {
    font-size: 0.9rem;
    line-height: 1.3;
    opacity: 0.9;
    margin: 0;
}

.fun-card .card-content,
.astronomy-card .card-content,
.music-card .card-content {
    position: relative !important;
    text-align: center !important;
    width: 100% !important;
    color: #333 !important;
    padding: 2rem !important;
    z-index: 2 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.fun-card .card-content {
    background-color: #F9BE25 !important;
}

.astronomy-card .card-content {
    background-color: #B1B1FD !important;
}

.music-card .card-content {
    background-color: #E1E9F8 !important;
}

.fun-card .card-content h3,
.astronomy-card .card-content h3,
.music-card .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.fun-card .card-content p,
.astronomy-card .card-content p,
.music-card .card-content p {
    font-size: 0.9rem;
    line-height: 1.3;
    opacity: 0.9;
    margin: 0;
    text-align: center;
    width: 100%;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section p:first-of-type {
    position: relative;
    padding-right: 25px;
    min-height: 20px;
}

.footer-section p:first-of-type::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('./icons/address.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 2px;
}

.footer-section p:last-of-type {
    position: relative;
    padding-right: 25px;
    min-height: 20px;
}

.footer-section p:last-of-type::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('./icons/phone.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 2px;
}

.instagram-link,
.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    text-decoration: none;
    color: #38393E;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.5);
}

.instagram-link img,
.contact-link img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.instagram-link span,
.contact-link span {
    font-size: 0.9rem;
}

.instagram-link:hover,
.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instagram-link:hover img,
.contact-link:hover img {
    transform: scale(1.1);
}

/* فاصله بین لینک‌ها */
.instagram-link {
    margin-top: 8px;
}

/* استایل مودال */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.25rem 1.25rem;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    margin: 0;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    max-height: 100%;
    overflow-y: auto;
    top: auto;
    transform: none;
}

.close {
    position: fixed;
    left: 15px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}

.close:hover {
    color: #bbb;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.02);
}

.modal-single-image {
    display: none;
    width: 100%;
    max-height: calc(100vh - 5rem);
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

.feature-text-content {
    background: #fff;
    color: #1a2d4a;
    border-radius: 12px;
    padding: 2rem 2.25rem;
    max-width: 640px;
    text-align: right;
    line-height: 1.9;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.feature-text-content h3 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    color: #2563EB;
    font-weight: bold;
}

.feature-text-content p {
    margin: 0;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .feature-text-content {
        padding: 1.5rem 1.25rem;
    }

    .feature-text-content h3 {
        font-size: 1.2rem;
    }

    .feature-text-content p {
        font-size: 0.95rem;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery img {
        height: 250px;
    }
}

/* صفحه انتخاب مدرسه */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 50%, #EFF6FF 100%);
}

.landing-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.school-selector {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.school-selector h1 {
    font-size: 2rem;
    color: #1F2B7B;
    margin-bottom: 0.75rem;
}

.school-selector > p {
    color: #4B5563;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.school-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.school-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.school-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.2);
    border-color: #2563EB;
}

.school-card img {
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.school-card h2 {
    color: #1F2B7B;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.school-card p {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.school-card .enter-btn {
    display: inline-block;
    background: linear-gradient(to right, #1F2B7B, #2563EB);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: bold;
}

/* صفحات داخلی */
.page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.page-inner h1 {
    color: #1F2B7B;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.page-inner h2 {
    color: #2563EB;
    margin: 1.5rem 0 1rem;
}

.page-inner p, .page-inner address {
    line-height: 2;
    color: #374151;
    margin-bottom: 1rem;
}

.page-inner .content-image {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
}

/* صفحه امکانات آموزشی */
.facilities-page-lead {
    color: #CC0000;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.facility-section-title {
    color: #CC0000;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2.5rem 0 1.25rem;
    line-height: 1.7;
}

.facility-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.facility-detail-row--reverse .facility-detail-media {
    order: 2;
}

.facility-detail-row--reverse .facility-detail-text {
    order: 1;
}

.facility-detail-media img,
.facility-detail-media video {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.facility-detail-text h3 {
    color: #2563EB;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.facility-detail-text p {
    margin-bottom: 0.75rem;
}

.facility-list {
    margin: 0.5rem 1.25rem 0 0;
    line-height: 2;
    color: #374151;
}

.facilities-page-banner {
    width: 100%;
    border-radius: 12px;
    margin-top: 2rem;
    display: block;
}

@media (max-width: 768px) {
    .facility-detail-row,
    .facility-detail-row--reverse {
        grid-template-columns: 1fr;
    }

    .facility-detail-row--reverse .facility-detail-media,
    .facility-detail-row--reverse .facility-detail-text {
        order: unset;
    }
}

.form-page .form-group {
    margin-bottom: 1rem;
}

.form-page label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
    color: #374151;
}

.form-page .form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: inherit;
}

.form-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-page .btn-submit {
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
}

.form-page .validation-error {
    color: #DC2626;
    font-size: 0.85rem;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.success-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #2563EB;
    color: #fff;
    font-size: 2rem;
    line-height: 64px;
    font-weight: bold;
}

.success-card h1 {
    color: #1F2B7B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-message {
    color: #374151;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.success-home-link {
    display: inline-block;
    background: #2563EB;
    color: #fff !important;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.success-home-link:hover {
    background: #1E40AF;
    color: #fff !important;
}

@media (max-width: 768px) {
    .school-cards {
        grid-template-columns: 1fr;
    }

    .form-page .form-row {
        grid-template-columns: 1fr;
    }
}
