
/* =========================================================
   SOROUSH SANAT SHAHRIAR
   MAIN CSS
   ========================================================= */


/* =========================================================
   01. RESET & GLOBAL
   ========================================================= */
@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir-Medium-FD-WOL.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    background: #ffffff;
    color: #10375C;
    line-height: 1.8;
    font-family: "Vazir", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   02. COLOR VARIABLES
   ========================================================= */

:root {
    --navy: #10375C;
    --gold: #D2B034;
    --white: #FFFFFF;
    --orange: #DB7B17;

    --light-bg: #f7f9fb;
    --soft-navy: #173f63;
    --text-dark: #19324a;
    --text-gray: #667788;

    --border-light: #e6ebef;

    --shadow-sm: 0 8px 25px rgba(16, 55, 92, 0.08);
    --shadow-md: 0 15px 40px rgba(16, 55, 92, 0.12);
    --shadow-lg: 0 25px 60px rgba(16, 55, 92, 0.18);

    --transition: 0.3s ease;
}


/* =========================================================
   03. HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(16, 55, 92, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    width: min(1400px, calc(100% - 60px));
    min-height: 86px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.logo-mark {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--navy);
    color: var(--gold);

    font-size: 23px;

    transition: var(--transition);
}

.site-logo:hover .logo-mark {
    background: var(--orange);
    color: var(--white);

    transform: translateY(-2px);
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.35;
}

.logo-text strong {
    color: var(--navy);

    font-size: 16px;
    font-weight: 800;
}

.logo-text span {
    color: var(--orange);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-right: auto;
    margin-left: auto;
}

.nav-link {
    position: relative;

    padding: 8px 0;

    color: var(--text-dark);

    font-size: 14px;
    font-weight: 700;

    transition: var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-shrink: 0;
}

.search-button {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border-light);
    border-radius: 10px;

    background: var(--white);
    color: var(--navy);

    cursor: pointer;

    font-size: 17px;

    transition: var(--transition);
}

.search-button:hover {
    background: var(--navy);
    color: var(--white);

    border-color: var(--navy);
}

.student-login {
    min-height: 44px;

    padding: 0 16px;

    display: flex;
    align-items: center;

    gap: 8px;

    border-radius: 10px;

    background: var(--navy);
    color: var(--white);

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.student-login i {
    color: var(--gold);

    font-size: 18px;
}

.student-login:hover {
    background: var(--orange);

    transform: translateY(-2px);

    box-shadow: var(--shadow-sm);
}


/* =========================================================
   04. HERO
   ========================================================= */

.hero-section {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    background: var(--navy);
}

.hero-background {
    position: absolute;
    inset: 0;

    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to left,
            rgba(16, 55, 92, 0.92) 0%,
            rgba(16, 55, 92, 0.78) 42%,
            rgba(16, 55, 92, 0.42) 75%,
            rgba(16, 55, 92, 0.18) 100%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 60px));

    min-height: 650px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}

.hero-content {
    width: min(680px, 100%);

    padding: 80px 0;
}


/* =========================================================
   HERO TOP TITLE
   ========================================================= */

.hero-top-title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: var(--gold);

    font-size: 15px;
    font-weight: 700;
}

.hero-line {
    width: 42px;
    height: 2px;

    background: var(--gold);
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero-title {
    color: var(--white);

    font-size: clamp(45px, 5vw, 76px);

    font-weight: 900;

    line-height: 1.15;

    margin-bottom: 18px;
}

.hero-title span {
    display: block;

    color: var(--gold);

    font-size: 0.65em;

    margin-top: 8px;
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-description {
    margin-bottom: 14px;

    color: var(--white);

    font-size: 21px;
    font-weight: 800;
}

.hero-text {
    max-width: 620px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 15px;

    line-height: 2.2;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 30px;
}

.hero-btn {
    min-height: 52px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 800;

    transition: var(--transition);
}

.hero-btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.hero-btn-primary:hover {
    background: var(--orange);
    color: var(--white);

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}

.hero-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
    background: var(--white);
    color: var(--navy);

    transform: translateY(-3px);
}


/* =========================================================
   HERO DOTS
   ========================================================= */

.hero-dots {
    position: absolute;

    z-index: 5;

    bottom: 35px;
    right: 50%;

    transform: translateX(50%);

    display: flex;
    align-items: center;

    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.45);

    cursor: pointer;

    transition: var(--transition);
}

.hero-dot.active {
    width: 28px;

    border-radius: 10px;

    background: var(--gold);
}


/* =========================================================
   HERO NEXT BUTTON
   ========================================================= */

.hero-next {
    position: absolute;

    z-index: 5;

    left: 35px;
    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(16, 55, 92, 0.45);

    color: var(--white);

    cursor: pointer;

    font-size: 18px;

    transition: var(--transition);

    backdrop-filter: blur(5px);
}

.hero-next:hover {
    background: var(--gold);
    color: var(--navy);

    border-color: var(--gold);
}


/* =========================================================
   05. FEATURES
   ========================================================= */

.features-section {
    position: relative;

    z-index: 10;

    margin-top: -1px;

    background: var(--white);

    border-bottom: 1px solid var(--border-light);
}

.features-container {
    width: min(1400px, calc(100% - 60px));

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-right: 1px solid var(--border-light);
}

.feature-item {
    min-height: 145px;

    padding: 25px;

    display: flex;
    align-items: center;

    gap: 17px;

    border-left: 1px solid var(--border-light);

    transition: var(--transition);
}

.feature-item:hover {
    background: #fbfcfd;
}

.feature-icon {
    width: 56px;
    height: 56px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(210, 176, 52, 0.13);

    color: var(--orange);

    font-size: 24px;

    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--navy);
    color: var(--gold);

    transform: translateY(-3px);
}

.feature-content h3 {
    margin-bottom: 5px;

    color: var(--navy);

    font-size: 16px;
    font-weight: 800;
}

.feature-content p {
    color: var(--text-gray);

    font-size: 12px;

    line-height: 1.9;
}


/* =========================================================
   06. ABOUT
   ========================================================= */

.about-section {
    padding: 110px 0;

    background: var(--white);
}

.about-container {
    width: min(1400px, calc(100% - 60px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        290px;

    align-items: center;

    gap: 65px;
}


/* =========================================================
   SECTION SMALL TITLE
   ========================================================= */

.section-small-title {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 13px;

    color: var(--orange);

    font-size: 14px;
    font-weight: 800;
}

.section-line {
    width: 38px;
    height: 2px;

    background: var(--gold);
}


/* =========================================================
   ABOUT CONTENT
   ========================================================= */

.about-title {
    margin-bottom: 22px;

    color: var(--navy);

    font-size: clamp(30px, 3vw, 44px);

    font-weight: 900;

    line-height: 1.4;
}

.about-text {
    margin-bottom: 15px;

    color: var(--text-gray);

    font-size: 14px;

    line-height: 2.25;
}


/* =========================================================
   ABOUT BUTTON
   ========================================================= */

.about-button {
    width: fit-content;

    margin-top: 18px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--navy);

    font-size: 14px;
    font-weight: 800;

    transition: var(--transition);
}

.about-button i {
    color: var(--orange);

    transition: var(--transition);
}

.about-button:hover {
    color: var(--orange);
}

.about-button:hover i {
    transform: translateX(-5px);
}


/* =========================================================
   ABOUT IMAGE
   ========================================================= */

.about-image-wrapper {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.about-shape {
    position: absolute;

    width: 88%;
    height: 90%;

    top: 5%;
    left: 0;

    border-radius: 30px;

    background: var(--gold);

    transform: rotate(-5deg);

    opacity: 0.9;
}

.about-image {
    position: relative;

    z-index: 2;

    width: 88%;
    height: 380px;

    object-fit: cover;

    border-radius: 25px;

    box-shadow: var(--shadow-lg);
}


/* =========================================================
   ABOUT BADGE
   ========================================================= */

.about-badge {
    position: absolute;

    z-index: 4;

    bottom: 15px;
    right: -5px;

    min-width: 210px;

    padding: 15px 18px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-radius: 14px;

    background: var(--navy);

    color: var(--white);

    box-shadow: var(--shadow-md);
}

.about-badge-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(210, 176, 52, 0.15);

    color: var(--gold);

    font-size: 19px;
}

.about-badge-text {
    display: flex;
    flex-direction: column;

    line-height: 1.6;
}

.about-badge-text strong {
    color: var(--gold);

    font-size: 13px;
}

.about-badge-text span {
    color: var(--white);

    font-size: 12px;
}


/* =========================================================
   STUDENT PANEL CARD
   ========================================================= */

.student-panel-card {
    padding: 30px 24px;

    border-radius: 20px;

    background: var(--light-bg);

    border: 1px solid var(--border-light);

    box-shadow: var(--shadow-sm);

    text-align: center;

    transition: var(--transition);
}

.student-panel-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-md);
}

.student-panel-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background: var(--navy);
    color: var(--gold);

    font-size: 27px;
}

.student-panel-card h3 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 17px;
    font-weight: 900;
}

.student-panel-card p {
    margin-bottom: 20px;

    color: var(--text-gray);

    font-size: 12px;

    line-height: 2;
}

.student-panel-button {
    width: 100%;
    min-height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 9px;

    background: var(--orange);
    color: var(--white);

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.student-panel-button:hover {
    background: var(--navy);

    transform: translateY(-2px);
}


/* =========================================================
   07. FIELDS
   ========================================================= */

.fields-section {
    padding: 100px 0;

    background: var(--light-bg);
}

.fields-container {
    width: min(1400px, calc(100% - 60px));

    margin: 0 auto;
}


/* =========================================================
   FIELDS HEADING
   ========================================================= */

.fields-heading {
    margin-bottom: 45px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.section-heading-content h2 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: clamp(28px, 3vw, 40px);

    font-weight: 900;
}

.section-heading-content p {
    max-width: 650px;

    color: var(--text-gray);

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   ALL FIELDS BUTTON
   ========================================================= */

.all-fields-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.all-fields-button i {
    color: var(--orange);

    transition: var(--transition);
}

.all-fields-button:hover {
    color: var(--orange);
}

.all-fields-button:hover i {
    transform: translateX(-5px);
}


/* =========================================================
   FIELDS GRID
   ========================================================= */

.fields-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 16px;
}

.field-card {
    position: relative;

    min-height: 220px;

    padding: 25px 20px;

    display: flex;
    flex-direction: column;

    border-radius: 18px;

    background: var(--white);

    border: 1px solid var(--border-light);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.field-card::before {
    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 4px;
    height: 0;

    background: var(--orange);

    transition: var(--transition);
}

.field-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);

    border-color: rgba(210, 176, 52, 0.45);
}

.field-card:hover::before {
    height: 100%;
}

.field-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(16, 55, 92, 0.07);

    color: var(--navy);

    font-size: 25px;

    transition: var(--transition);
}

.field-card:hover .field-icon {
    background: var(--navy);
    color: var(--gold);

    transform: scale(1.05);
}

.field-content {
    margin-top: auto;
}

.field-content h3 {
    margin-bottom: 5px;

    color: var(--navy);

    font-size: 16px;
    font-weight: 900;
}

.field-content span {
    color: var(--text-gray);

    font-size: 11px;
}

.field-arrow {
    position: absolute;

    left: 18px;
    bottom: 18px;

    color: var(--orange);

    font-size: 16px;

    transition: var(--transition);
}

.field-card:hover .field-arrow {
    transform: translateX(-5px);
}



/* =========================================
   NEWS SECTION
========================================= */

.news-section {
    padding: 110px 0;
    background: #f7f9fb;
}

.news-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================
   NEWS HEADING
========================================= */

.news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 55px;
}

.news-heading .section-heading-content {
    max-width: 700px;
}

.news-heading .section-small-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #DB7B17;
    font-size: 15px;
    font-weight: 700;
}

.news-heading .section-line {
    width: 42px;
    height: 3px;
    display: inline-block;
    background: #D2B034;
    border-radius: 10px;
}

.news-heading h2 {
    margin: 0 0 14px;
    color: #10375C;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.5;
}

.news-heading p {
    margin: 0;
    color: #667788;
    font-size: 15px;
    line-height: 2;
}


/* =========================================
   ALL NEWS BUTTON
========================================= */

.all-news-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 175px;
    padding: 13px 20px;

    color: #10375C;
    background: #FFFFFF;

    border: 1px solid #e6ebef;
    border-radius: 10px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(16, 55, 92, 0.06);

    transition: 0.3s ease;
}

.all-news-button i {
    font-size: 16px;
    transition: 0.3s ease;
}

.all-news-button:hover {
    color: #FFFFFF;
    background: #10375C;
    border-color: #10375C;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 55, 92, 0.15);
}

.all-news-button:hover i {
    transform: translateX(-4px);
}


/* =========================================
   NEWS LAYOUT
========================================= */

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 25px;
    align-items: stretch;
}


/* =========================================
   FEATURED NEWS
========================================= */

.featured-news {
    position: relative;
    overflow: hidden;

    min-height: 430px;
    padding: 35px;

    display: flex;
    flex-direction: column;

    background: #10375C;
    border-radius: 22px;

    box-shadow: 0 18px 45px rgba(16, 55, 92, 0.16);

    color: #FFFFFF;
}

.featured-news::before {
    content: "";
    position: absolute;

    width: 230px;
    height: 230px;

    left: -90px;
    bottom: -100px;

    border: 35px solid rgba(210, 176, 52, 0.12);
    border-radius: 50%;
}

.featured-news::after {
    content: "";
    position: absolute;

    width: 150px;
    height: 150px;

    right: -65px;
    top: -65px;

    background: rgba(219, 123, 23, 0.12);
    border-radius: 50%;
}

.featured-news-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 35px;
}

.news-category {
    padding: 7px 13px;

    color: #10375C;
    background: #D2B034;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 12px;
}

.news-date i {
    color: #D2B034;
    font-size: 14px;
}


/* Featured Icon */

.featured-news-icon {
    position: relative;
    z-index: 2;

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 16px;

    color: #D2B034;

    font-size: 28px;
}

.featured-news h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 15px;

    color: #FFFFFF;

    font-size: 23px;
    font-weight: 800;
    line-height: 1.8;
}

.featured-news p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: rgba(255, 255, 255, 0.76);

    font-size: 14px;
    line-height: 2.1;
}

.news-read-more {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    margin-top: auto;

    padding-top: 25px;

    color: #D2B034;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: 0.3s ease;
}

.news-read-more i {
    transition: 0.3s ease;
}

.news-read-more:hover {
    color: #FFFFFF;
}

.news-read-more:hover i {
    transform: translateX(-5px);
}


/* =========================================
   NEWS LIST
========================================= */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* =========================================
   NEWS CARD
========================================= */

.news-card {
    min-height: 130px;

    display: flex;
    align-items: center;
    gap: 22px;

    padding: 22px 25px;

    background: #FFFFFF;

    border: 1px solid #e6ebef;
    border-radius: 17px;

    box-shadow: 0 8px 25px rgba(16, 55, 92, 0.05);

    transition: 0.3s ease;
}

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

    border-color: rgba(210, 176, 52, 0.45);

    box-shadow: 0 18px 40px rgba(16, 55, 92, 0.10);
}


/* News Card Icon */

.news-card-icon {
    flex: 0 0 65px;

    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(16, 55, 92, 0.07);

    border-radius: 15px;

    color: #10375C;

    font-size: 25px;

    transition: 0.3s ease;
}

.news-card:hover .news-card-icon {
    color: #FFFFFF;
    background: #DB7B17;
}


/* News Card Content */

.news-card-content {
    flex: 1;
    min-width: 0;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 7px;
}

.news-card-meta span {
    color: #DB7B17;

    font-size: 11px;
    font-weight: 800;
}

.news-card-meta time {
    color: #8b9aa7;

    font-size: 11px;
}

.news-card-content h3 {
    margin: 0 0 8px;

    color: #19324a;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.8;
}

.news-card-content > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #10375C;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;

    transition: 0.3s ease;
}

.news-card-content > a i {
    transition: 0.3s ease;
}

.news-card-content > a:hover {
    color: #DB7B17;
}

.news-card-content > a:hover i {
    transform: translateX(-4px);
}

/* =========================================================
   09. GALLERY
   ========================================================= */

.gallery-section {
    padding: 110px 0;
    background: var(--white);
}

.gallery-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   GALLERY HEADING
   ========================================================= */

.gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}

.gallery-heading .section-heading-content {
    max-width: 700px;
}

.gallery-heading .section-small-title {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: var(--orange);

    font-size: 15px;
    font-weight: 800;
}

.gallery-heading .section-line {
    width: 42px;
    height: 3px;

    background: var(--gold);

    border-radius: 10px;
}

.gallery-heading h2 {
    margin: 0 0 14px;

    color: var(--navy);

    font-size: 36px;
    font-weight: 900;

    line-height: 1.5;
}

.gallery-heading p {
    margin: 0;

    color: var(--text-gray);

    font-size: 15px;

    line-height: 2;
}


/* =========================================================
   ALL GALLERY BUTTON
   ========================================================= */

.all-gallery-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 175px;

    padding: 13px 20px;

    color: var(--navy);
    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.all-gallery-button i {
    font-size: 16px;

    transition: var(--transition);
}

.all-gallery-button:hover {
    color: var(--white);
    background: var(--navy);

    border-color: var(--navy);

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}

.all-gallery-button:hover i {
    transform: translateX(-4px);
}


/* =========================================================
   GALLERY GRID
   ========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-template-rows: 230px 230px;

    gap: 16px;
}

.gallery-item {
    position: relative;

    display: block;

    overflow: hidden;

    min-width: 0;

    border-radius: 18px;

    background: var(--navy);

    box-shadow: var(--shadow-sm);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}


/* =========================================================
   GALLERY OVERLAY
   ========================================================= */

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            to top,
            rgba(16, 55, 92, 0.88),
            rgba(16, 55, 92, 0.18) 65%,
            transparent
        );

    opacity: 0;

    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--white);

    font-size: 14px;
    font-weight: 800;
}

.gallery-overlay-content i {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--gold);
    color: var(--navy);

    font-size: 17px;
}


/* =========================================================
   10. REGISTRATION
   ========================================================= */

.registration-section {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    background: var(--navy);
}

.registration-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -180px;
    top: -220px;

    border: 70px solid rgba(210, 176, 52, 0.08);

    border-radius: 50%;
}

.registration-section::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -130px;
    bottom: -170px;

    background: rgba(219, 123, 23, 0.08);

    border-radius: 50%;
}

.registration-container {
    position: relative;
    z-index: 2;

    width: min(1180px, 92%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    gap: 70px;

    align-items: center;
}


/* =========================================================
   REGISTRATION CONTENT
   ========================================================= */

.registration-content .section-small-title {
    color: var(--gold);
}

.registration-content .section-line {
    background: var(--orange);
}

.registration-content h2 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: clamp(30px, 3vw, 43px);

    font-weight: 900;

    line-height: 1.5;
}

.registration-content > p {
    max-width: 650px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 14px;

    line-height: 2.2;
}


/* =========================================================
   REGISTRATION FEATURES
   ========================================================= */

.registration-features {
    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-bottom: 32px;
}

.registration-feature {
    display: flex;
    align-items: center;

    gap: 12px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 13px;
    font-weight: 700;
}

.registration-feature-icon {
    width: 27px;
    height: 27px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(210, 176, 52, 0.15);

    color: var(--gold);

    font-size: 15px;
}


/* =========================================================
   REGISTRATION BUTTON
   ========================================================= */

.registration-button {
    min-height: 52px;

    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border-radius: 10px;

    background: var(--gold);
    color: var(--navy);

    font-size: 14px;
    font-weight: 900;

    transition: var(--transition);
}

.registration-button i {
    transition: var(--transition);
}

.registration-button:hover {
    background: var(--orange);
    color: var(--white);

    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.registration-button:hover i {
    transform: translateX(-5px);
}


/* =========================================================
   REGISTRATION CARD
   ========================================================= */

.registration-card {
    padding: 38px 30px;

    text-align: center;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(10px);

    box-shadow: var(--shadow-lg);
}

.registration-card-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: var(--gold);
    color: var(--navy);

    font-size: 30px;
}

.registration-card h3 {
    margin-bottom: 12px;

    color: var(--white);

    font-size: 21px;
    font-weight: 900;
}

.registration-card > p {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;

    line-height: 2;
}

.registration-card-info {
    display: flex;
    flex-direction: column;

    gap: 12px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.registration-card-info > div {
    display: flex;
    align-items: center;

    justify-content: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 12px;
}

.registration-card-info i {
    color: var(--gold);

    font-size: 17px;
}


/* =========================================================
   11. CONTACT
   ========================================================= */

.contact-section {
    padding: 110px 0;

    background: var(--light-bg);
}

.contact-container {
    width: min(1180px, 92%);

    margin: 0 auto;
}


/* =========================================================
   CONTACT HEADING
   ========================================================= */

.contact-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.contact-heading h2 {
    margin-bottom: 13px;

    color: var(--navy);

    font-size: 36px;
    font-weight: 900;
}

.contact-heading p {
    color: var(--text-gray);

    font-size: 14px;

    line-height: 2;
}


/* =========================================================
   CONTACT CONTENT
   ========================================================= */

.contact-content {
    display: grid;

    grid-template-columns: 0.75fr 1.25fr;

    gap: 45px;

    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-info {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 19px;

    background: var(--white);

    border: 1px solid var(--border-light);

    border-radius: 15px;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(-5px);

    border-color: rgba(210, 176, 52, 0.45);

    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(16, 55, 92, 0.07);

    color: var(--orange);

    font-size: 21px;

    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--navy);
    color: var(--gold);
}

.contact-item-content {
    min-width: 0;
}

.contact-item-content > span {
    display: block;

    margin-bottom: 3px;

    color: var(--text-gray);

    font-size: 11px;
    font-weight: 700;
}

.contact-item-content p {
    color: var(--navy);

    font-size: 13px;
    font-weight: 800;

    line-height: 1.8;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-wrapper {
    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border-light);

    border-radius: 22px;

    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 19px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 17px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group label {
    color: var(--navy);

    font-size: 12px;
    font-weight: 800;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--orange);

    font-size: 17px;

    pointer-events: none;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;

    border: 1px solid var(--border-light);
    border-radius: 10px;

    outline: none;

    background: #fbfcfd;

    color: var(--navy);

    font-family: inherit;

    font-size: 12px;

    transition: var(--transition);
}

.input-wrapper input {
    height: 48px;

    padding: 0 45px 0 15px;
}

.input-wrapper textarea {
    min-height: 125px;

    padding: 15px 45px 15px 15px;

    resize: vertical;

    line-height: 2;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #9aa7b2;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--gold);

    background: var(--white);

    box-shadow: 0 0 0 3px rgba(210, 176, 52, 0.10);
}

.textarea-wrapper > i {
    top: 23px;

    transform: none;
}


/* =========================================================
   CONTACT SUBMIT
   ========================================================= */

.contact-submit-button {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 4px;

    border: 0;
    border-radius: 10px;

    background: var(--navy);
    color: var(--white);

    cursor: pointer;

    font-family: inherit;

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.contact-submit-button i {
    color: var(--gold);

    transition: var(--transition);
}

.contact-submit-button:hover {
    background: var(--orange);

    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}

.contact-submit-button:hover i {
    color: var(--white);

    transform: translateX(-4px);
}


/* =========================================================
   12. FOOTER
   ========================================================= */

.site-footer {
    background: #0b2d4b;

    color: var(--white);
}

.footer-container {
    width: min(1180px, 92%);

    margin: 0 auto;
}


/* =========================================================
   FOOTER MAIN
   ========================================================= */

.footer-main {
    padding: 70px 0 50px;

    display: grid;

    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;

    gap: 45px;
}


/* =========================================================
   FOOTER LOGO
   ========================================================= */

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--gold);
    color: var(--navy);

    font-size: 22px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.4;
}

.footer-logo-text strong {
    color: var(--white);

    font-size: 15px;
    font-weight: 900;
}

.footer-logo-text span {
    color: var(--gold);

    font-size: 12px;
    font-weight: 700;
}

.footer-about > p {
    max-width: 300px;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;

    line-height: 2.1;
}


/* =========================================================
   FOOTER SOCIALS
   ========================================================= */

.footer-socials {
    display: flex;
    align-items: center;

    gap: 9px;
}

.footer-socials a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);

    color: var(--white);

    font-size: 17px;

    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--navy);

    border-color: var(--gold);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.footer-column h3 {
    position: relative;

    margin-bottom: 22px;
    padding-bottom: 12px;

    color: var(--white);

    font-size: 15px;
    font-weight: 900;
}

.footer-column h3::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    background: var(--gold);

    border-radius: 10px;
}

.footer-column ul {
    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column ul li a {
    display: flex;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;

    transition: var(--transition);
}

.footer-column ul li a i {
    color: var(--gold);

    font-size: 11px;

    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);

    transform: translateX(-4px);
}

.footer-column ul li a:hover i {
    color: var(--orange);
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact h3 {
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 13px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 11px;

    line-height: 1.9;
}

.footer-contact-item i {
    flex-shrink: 0;

    margin-top: 4px;

    color: var(--gold);

    font-size: 15px;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.52);

    font-size: 11px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    transition: var(--transition);
}

.back-to-top i {
    font-size: 15px;

    transition: var(--transition);
}

.back-to-top:hover {
    color: var(--white);
}

.back-to-top:hover i {
    transform: translateY(-4px);
}

/* =========================================================
   09. RESPONSIVE — LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .header-container,
    .hero-container,
    .features-container,
    .about-container,
    .fields-container {
        width: min(1100px, calc(100% - 40px));
    }

    .main-navigation {
        gap: 18px;
    }

    .nav-link {
        font-size: 13px;
    }

    .about-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 45px;
    }

    .student-panel-card {
        grid-column: 1 / -1;

        max-width: 500px;

        width: 100%;

        margin: 10px auto 0;
    }

    .fields-grid {
        grid-template-columns: repeat(3, 1fr);
    }

	    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 220px 220px;
    }

    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   10. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .header-container {
        min-height: 76px;

        gap: 15px;
    }

    .main-navigation {
        display: none;
    }

    .hero-section,
    .hero-container {
        min-height: 600px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(16, 55, 92, 0.9),
                rgba(16, 55, 92, 0.62)
            );
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        border-bottom: 1px solid var(--border-light);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        max-width: 750px;
    }

    .about-image-wrapper {
        max-width: 650px;

        width: 100%;

        margin: 0 auto;
    }

    .student-panel-card {
        max-width: 650px;
    }

    .fields-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   11. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .header-container,
    .hero-container,
    .features-container,
    .about-container,
    .fields-container {
        width: calc(100% - 30px);
    }


    /* HEADER */

    .logo-mark {
        width: 42px;
        height: 42px;

        font-size: 19px;
    }

    .logo-text strong {
        font-size: 13px;
    }

    .logo-text span {
        font-size: 11px;
    }

    .search-button {
        width: 38px;
        height: 38px;
    }

    .student-login {
        width: 40px;
        height: 40px;
        min-height: 40px;

        padding: 0;

        justify-content: center;
    }

    .student-login span {
        display: none;
    }


    /* HERO */

    .hero-section,
    .hero-container {
        min-height: 600px;
    }

    .hero-content {
        padding: 60px 0 80px;
    }

    .hero-top-title {
        font-size: 13px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-text {
        font-size: 12px;

        line-height: 2;
    }

    .hero-buttons {
        align-items: stretch;

        flex-direction: column;

        max-width: 280px;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-next {
        left: 15px;

        width: 40px;
        height: 40px;
    }

    .hero-dots {
        bottom: 22px;
    }


    /* FEATURES */

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-item {
        min-height: 115px;

        padding: 20px;
    }


    /* ABOUT */

    .about-section {
        padding: 75px 0;
    }

    .about-title {
        font-size: 30px;
    }

    .about-text {
        font-size: 13px;
    }

    .about-image-wrapper {
        min-height: 350px;
    }

    .about-image {
        height: 310px;

        width: 90%;
    }

    .about-badge {
        right: 0;
        bottom: 0;

        min-width: 190px;
    }


    /* FIELDS */

    .fields-section {
        padding: 75px 0;
    }

    .section-heading-content h2 {
        font-size: 29px;
    }

    .section-heading-content p {
        font-size: 12px;
    }

    .fields-grid {
        grid-template-columns: 1fr;
    }

    .field-card {
        min-height: 170px;
    }

	    /* GALLERY */

    .gallery-section {
        padding: 75px 0;
    }

    .gallery-heading h2 {
        font-size: 29px;
    }

    .gallery-heading p {
        font-size: 12px;
    }

    .all-gallery-button {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .gallery-item,
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
        grid-row: span 1;

        height: 250px;
    }

    .gallery-overlay {
        opacity: 1;
    }


    /* REGISTRATION */

    .registration-section {
        padding: 75px 0;
    }

    .registration-content h2 {
        font-size: 29px;
    }

    .registration-content > p {
        font-size: 12px;
    }

    .registration-button {
        width: 100%;
    }

    .registration-card {
        padding: 30px 20px;
    }


    /* CONTACT */

    .contact-section {
        padding: 75px 0;
    }

    .contact-heading {
        margin-bottom: 35px;
    }

    .contact-heading h2 {
        font-size: 29px;
    }

    .contact-heading p {
        font-size: 12px;
    }

    .contact-form-wrapper {
        padding: 25px 18px;
    }

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

    .contact-item {
        padding: 15px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;

        padding: 55px 0 40px;
    }

    .footer-about > p {
        max-width: 100%;
    }

    .footer-bottom {
        min-height: auto;

        padding: 20px 0;

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }
}


/* =========================================================
   12. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .logo-text {
        display: none;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-text {
        font-size: 11px;
    }

    .about-badge {
        min-width: 175px;

        padding: 12px;
    }

    .about-badge-icon {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }
}

/* =========================================
   RESPONSIVE BASE FIX
   ========================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a,
button {
    max-width: 100%;
}

/* =========================================
   NEWS TITLE - KEEP IN ONE LINE
   ========================================= */

.news-heading h2,
.latest-news-title,
.news-title {
    white-space: nowrap;
}

/* =========================================
   MOBILE - LATEST NEWS
   ========================================= */

@media (max-width: 768px) {

    /* عنوان در یک خط بماند */
    .news-heading h2 {
        white-space: nowrap;
        font-size: 20px;
    }

    /* توضیحات کمی کوچک‌تر تا فضای بیشتری داشته باشد */
    .news-heading p {
        font-size: 12px;
        line-height: 1.8;
    }

    /* کل بخش عنوان اخبار */
    .news-heading {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* دکمه مشاهده همه اخبار */
    .news-heading .all-news-button {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        flex-shrink: 1;
		margin-right: -25px;
		margin-up: -60px;
    }
}

/* =========================================
   NEWS SECTION - MOBILE RESPONSIVE
   ========================================= */

/* =========================================
   GALLERY HEADING - MOBILE
   ========================================= */

@media (max-width: 768px) {

    .gallery-heading {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: flex-start !important;
        justify-content: space-between !important;

        gap: 12px;

        box-sizing: border-box;

        direction: ltr !important;
    }


    /* =====================================
       بخش نوشته‌ها - سمت راست
       ===================================== */

    .gallery-heading .section-heading-content {
        order: 2;

        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;

        text-align: right !important;
        direction: rtl !important;
    }


    /* عنوان کوچک */
    .gallery-heading .section-small-title {
        display: flex;
        align-items: center;

        justify-content: flex-start;

        width: 100%;

        text-align: right;
        direction: rtl;

        white-space: nowrap;
    }


    /* عنوان اصلی */
    .gallery-heading h2 {
        width: 100%;

        margin-top: 8px;
        margin-bottom: 8px;

        font-size: 20px;
        line-height: 1.6;

        text-align: right;

        white-space: nowrap;
    }


    /* پاراگراف */
    .gallery-heading p {
        width: 100%;

        margin: 0;

        font-size: 12px;
        line-height: 1.9;

        text-align: right;

        white-space: normal;
    }


    /* =====================================
       دکمه - سمت چپ
       ===================================== */

    .gallery-heading .all-gallery-button {
        order: 1;

        flex: 0 0 auto !important;
        flex-shrink: 0 !important;

        width: auto !important;
        max-width: 42% !important;
        min-width: 0 !important;

        margin: 0 !important;

        display: inline-flex !important;

        align-items: center;
        justify-content: center;

        white-space: nowrap;

        box-sizing: border-box;

        direction: rtl;
    }

}

/* =========================================
   REGISTRATION - MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    /* ================================
       MAIN CONTAINER
       ================================ */

    .registration-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .registration-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex !important;
        flex-direction: column !important;

        gap: 28px;

        padding-left: 16px;
        padding-right: 16px;

        box-sizing: border-box;
    }


    /* ================================
       CONTENT
       اول نمایش داده شود
       ================================ */

    .registration-container > .registration-content {
        order: 1;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box;

        text-align: right;
    }


    /* عنوان کوچک */

    .registration-content .section-small-title {
        width: 100%;

        display: flex;
        align-items: center;

        justify-content: flex-start;

        text-align: right;
        direction: rtl;

        white-space: nowrap;
    }


    /* عنوان اصلی */

    .registration-content h2 {
        width: 100%;

        font-size: 21px;
        line-height: 1.7;

        text-align: right;

        white-space: nowrap;

        margin-top: 8px;
        margin-bottom: 10px;
    }


    /* توضیحات */

    .registration-content > p {
        width: 100%;
        max-width: 100%;

        font-size: 13px;
        line-height: 2;

        text-align: right;

        margin: 0 0 18px;

        overflow-wrap: break-word;
    }


    /* ================================
       FEATURES
       ================================ */

    .registration-features {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        gap: 10px;

        box-sizing: border-box;
    }

    .registration-feature {
        width: 100%;
        max-width: 100%;

        display: flex;
        align-items: center;

        justify-content: flex-start;

        gap: 10px;

        box-sizing: border-box;

        direction: rtl;
    }

    .registration-feature span {
        min-width: 0;

        font-size: 13px;
        line-height: 1.8;

        text-align: right;
    }

    .registration-feature-icon {
        flex-shrink: 0;
    }


    /* ================================
       REGISTRATION BUTTON
       ================================ */

    .registration-button {
        max-width: 100%;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        box-sizing: border-box;

        margin-top: 20px;

        white-space: nowrap;
    }


    /* ================================
       REGISTRATION CARD
       پایین محتوا
       ================================ */

    .registration-container > .registration-card {
        order: 2;

        position: static !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box;

        margin: 0 !important;

        padding: 24px 20px;

        text-align: center;
    }


    /* آیکون کارت */

    .registration-card-icon {
        margin-left: auto;
        margin-right: auto;
    }


    /* عنوان کارت */

    .registration-card h3 {
        font-size: 18px;
        line-height: 1.8;

        white-space: nowrap;

        margin-top: 12px;
        margin-bottom: 8px;
    }


    /* توضیحات کارت */

    .registration-card p {
        font-size: 12px;
        line-height: 2;

        margin: 0 auto 18px;

        max-width: 100%;
    }


    /* اطلاعات پایین کارت */

    .registration-card-info {
        width: 100%;
        max-width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 20px;

        box-sizing: border-box;
    }

    .registration-card-info > div {
        min-width: 0;

        display: flex;
        align-items: center;

        gap: 6px;

        white-space: nowrap;
    }

    .registration-card-info span {
        font-size: 11px;
    }

}

/* =========================================
   CONTACT - MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    /* ================================
       CONTACT SECTION
       ================================ */

    .contact-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }


    /* ================================
       CONTACT CONTAINER
       ================================ */

    .contact-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        padding-left: 16px;
        padding-right: 16px;

        box-sizing: border-box;
    }


    /* ================================
       CONTACT HEADING
       ================================ */

    .contact-heading {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        text-align: right;

        box-sizing: border-box;
    }

    .contact-heading .section-small-title {
        width: 100%;

        display: flex;
        align-items: center;

        justify-content: flex-start;

        text-align: right;
        direction: rtl;

        white-space: nowrap;
    }

    .contact-heading h2 {
        width: 100%;

        font-size: 21px;
        line-height: 1.7;

        text-align: right;

        white-space: nowrap;

        margin-top: 8px;
        margin-bottom: 10px;
    }

    .contact-heading p {
        width: 100%;
        max-width: 100%;

        font-size: 13px;
        line-height: 2;

        text-align: right;

        margin: 0;
    }


    /* ================================
       CONTACT CONTENT
       اطلاعات بالا
       فرم پایین
       ================================ */

    .contact-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex !important;

        flex-direction: column !important;

        gap: 24px;

        box-sizing: border-box;

        margin-top: 24px;
    }


    /* ================================
       CONTACT INFORMATION
       اول نمایش داده شود
       ================================ */

    .contact-content > .contact-info {

        order: 1;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex;

        flex-direction: column;

        gap: 12px;

        box-sizing: border-box;

        margin: 0 !important;
    }


    /* ================================
       CONTACT ITEM
       ================================ */

    .contact-info .contact-item {

        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex;

        align-items: center;

        gap: 12px;

        box-sizing: border-box;

        direction: rtl;
    }


    .contact-icon {
        flex-shrink: 0;
    }


    .contact-item-content {
        min-width: 0;
        flex: 1;

        text-align: right;

        direction: rtl;
    }


    .contact-item-content span {
        display: block;

        font-size: 13px;
        line-height: 1.8;

        white-space: nowrap;
    }


    .contact-item-content p {
        margin: 2px 0 0;

        font-size: 12px;
        line-height: 1.8;

        overflow-wrap: break-word;
        word-break: normal;
    }


    /* ================================
       CONTACT FORM
       پایین اطلاعات هنرستان
       ================================ */

    .contact-content > .contact-form-wrapper {

        order: 2;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box;

        margin: 0 !important;

        position: static !important;
    }


    .contact-form {
        width: 100%;
        max-width: 100%;

        box-sizing: border-box;
    }


    /* ================================
       FORM ROW
       نام + شماره
       ================================ */

    .contact-form .form-row {

        width: 100%;
        max-width: 100%;

        display: flex;

        flex-direction: column;

        gap: 14px;

        box-sizing: border-box;
    }


    /* ================================
       FORM GROUP
       ================================ */

    .contact-form .form-group {

        width: 100%;
        max-width: 100%;
        min-width: 0;

        box-sizing: border-box;
    }


    .contact-form label {

        display: block;

        width: 100%;

        font-size: 12px;

        text-align: right;

        margin-bottom: 6px;
    }


    /* ================================
       INPUT
       ================================ */

    .contact-form .input-wrapper {

        width: 100%;
        max-width: 100%;
        min-width: 0;

        box-sizing: border-box;
    }


    .contact-form input,
    .contact-form textarea {

        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        font-size: 13px;
    }


    .contact-form textarea {

        min-height: 120px;

        resize: vertical;
    }


    /* ================================
       SUBMIT BUTTON
       ================================ */

    .contact-submit-button {

        width: 100%;
        max-width: 100%;

        box-sizing: border-box;

        display: flex;

        align-items: center;
        justify-content: center;

        margin-top: 8px;

        white-space: nowrap;
    }

}

/* =========================================
   CONTACT - FINAL MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    /* =====================================
       CONTACT SECTION
       ===================================== */

    .contact-section {
        width: 100% !important;
        max-width: 100% !important;

        padding: 75px 0 !important;

        overflow: hidden !important;

        box-sizing: border-box !important;
    }


    /* =====================================
       CONTACT CONTAINER
       ===================================== */

    .contact-container {
        width: calc(100% - 30px) !important;
        max-width: 100% !important;

        margin: 0 auto !important;

        box-sizing: border-box !important;
    }


    /* =====================================
       CONTACT HEADING
       ===================================== */

    .contact-heading {
        width: 100% !important;
        max-width: 100% !important;

        margin-bottom: 30px !important;

        text-align: right !important;

        box-sizing: border-box !important;
    }


    .contact-heading .section-small-title {
        display: flex !important;

        align-items: center !important;
        justify-content: flex-start !important;

        width: 100% !important;

        direction: rtl !important;

        white-space: nowrap !important;
    }


    .contact-heading h2 {
        width: 100% !important;

        margin-top: 8px !important;
        margin-bottom: 10px !important;

        font-size: 21px !important;
        line-height: 1.7 !important;

        text-align: right !important;

        white-space: nowrap !important;
    }


    .contact-heading p {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        font-size: 12px !important;
        line-height: 2 !important;

        text-align: right !important;
    }


    /* =====================================
       CONTACT CONTENT
       
       مهم:
       دسکتاپ = GRID
       موبایل = COLUMN
       ===================================== */

    .contact-content {

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: flex-start !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 24px !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* =====================================
       CONTACT INFORMATION
       اول
       ===================================== */

    .contact-content .contact-info {

        order: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;

        flex-direction: column !important;

        gap: 12px !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }


    /* =====================================
       CONTACT ITEM
       ===================================== */

    .contact-content .contact-item {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;

        flex-direction: row !important;

        align-items: center !important;

        gap: 12px !important;

        padding: 15px !important;

        margin: 0 !important;

        box-sizing: border-box !important;

        direction: rtl !important;
    }


    .contact-content .contact-icon {

        flex: 0 0 48px !important;

        width: 48px !important;
        height: 48px !important;

        box-sizing: border-box !important;
    }


    .contact-content .contact-item-content {

        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;

        text-align: right !important;

        direction: rtl !important;
    }


    .contact-content .contact-item-content > span {

        display: block !important;

        margin-bottom: 3px !important;

        font-size: 11px !important;

        white-space: nowrap !important;

        text-align: right !important;
    }


    .contact-content .contact-item-content p {

        margin: 0 !important;

        font-size: 12px !important;

        line-height: 1.8 !important;

        text-align: right !important;

        overflow-wrap: break-word !important;
    }


    /* =====================================
       CONTACT FORM
       دوم
       ===================================== */

    .contact-content .contact-form-wrapper {

        order: 2 !important;

        position: static !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding: 25px 18px !important;

        box-sizing: border-box !important;
    }


    .contact-content .contact-form {

        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;

        flex-direction: column !important;

        gap: 17px !important;

        box-sizing: border-box !important;
    }


    /* =====================================
       NAME + PHONE
       ===================================== */

    .contact-content .form-row {

        display: flex !important;

        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;

        gap: 14px !important;

        box-sizing: border-box !important;
    }


    /* =====================================
       FORM GROUP
       ===================================== */

    .contact-content .form-group {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;

        flex-direction: column !important;

        gap: 7px !important;

        box-sizing: border-box !important;
    }


    .contact-content .form-group label {

        width: 100% !important;

        font-size: 12px !important;

        text-align: right !important;
    }


    /* =====================================
       INPUT WRAPPER
       ===================================== */

    .contact-content .input-wrapper {

        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    .contact-content .input-wrapper input,
    .contact-content .input-wrapper textarea {

        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;

        font-size: 12px !important;
    }


    .contact-content .input-wrapper input {

        height: 48px !important;

        padding-right: 45px !important;
    }


    .contact-content .input-wrapper textarea {

        min-height: 120px !important;

        padding-right: 45px !important;
    }


    /* =====================================
       SEND BUTTON
       ===================================== */

    .contact-content .contact-submit-button {

        width: 100% !important;
        max-width: 100% !important;

        min-height: 50px !important;

        margin-top: 4px !important;

        box-sizing: border-box !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        white-space: nowrap !important;
    }

}

/* ==================================================
   NEWS - FINAL MOBILE FIX
   ================================================== */

@media (max-width: 768px) {

    .news-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .news-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }


    /* =========================
       HEADING
       ========================= */

    .news-heading {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;

        gap: 12px !important;

        box-sizing: border-box !important;
    }

    .news-heading .section-heading-content {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .news-heading h2 {
        white-space: nowrap !important;

        font-size: 20px !important;
        line-height: 1.6 !important;

        margin-bottom: 8px !important;
    }

    .news-heading p {
        font-size: 12px !important;
        line-height: 1.9 !important;

        margin: 0 !important;
    }

    .news-heading .all-news-button {
        position: static !important;

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        max-width: 100% !important;

        flex-shrink: 0 !important;

        margin: 0 !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }


    /* =========================
       NEWS LAYOUT
       ========================= */

    .news-layout {
        display: flex !important;

        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 18px !important;

        box-sizing: border-box !important;
    }


    /* =========================
       FEATURED NEWS
       ========================= */

    .news-layout > .featured-news {
        order: 1 !important;

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding: 20px !important;

        border-radius: 16px !important;

        box-sizing: border-box !important;
    }

    .featured-news h3 {
        font-size: 17px !important;
        line-height: 1.9 !important;
    }

    .featured-news p {
        font-size: 13px !important;
        line-height: 2 !important;
    }


    /* =========================
       NEWS CARDS
       ========================= */

    .news-layout > .news-list {
        order: 2 !important;

        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        gap: 14px !important;

        margin: 0 !important;

        box-sizing: border-box !important;
    }

    .news-list > .news-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: flex !important;
        flex: none !important;

        box-sizing: border-box !important;

        padding: 16px !important;

        gap: 14px !important;

        margin: 0 !important;
    }

    .news-card-icon {
        flex-shrink: 0 !important;
    }

    .news-card-content {
        min-width: 0 !important;
        width: 100% !important;
        flex: 1 1 auto !important;
    }

    .news-card h3 {
        font-size: 14px !important;
        line-height: 1.9 !important;

        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    .news-card-meta {
        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        gap: 8px !important;
    }

    .news-card-content a {
        white-space: nowrap !important;
    }

}

/* ==================================================
   HOME HERO BUTTONS - MOBILE
================================================== */

@media (max-width: 768px) {

    .hero-buttons {
        width: 100% !important;
        max-width: 100% !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 12px !important;

        box-sizing: border-box !important;
    }

    .hero-buttons .hero-btn,
    .hero-btn.hero-btn-primary,
    .hero-btn.hero-btn-secondary {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        flex: 1 1 100% !important;

        box-sizing: border-box !important;
    }

}

/* ==================================================
   FIXED HEADER
================================================== */

.site-header {
    position: fixed !important;

    top: 0 !important;
    right: 0 !important;
    left: 0 !important;

    width: 100% !important;

    z-index: 99999 !important;

    box-sizing: border-box !important;
}

.main-navigation .nav-link {
    position: relative;
}

.main-navigation .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #D2B034;
    transition: width 0.25s ease;
}

.main-navigation .nav-link.active::after {
    width: 100%;
}