@import url('https://fonts.googleapis.com/css2?family=Rakkas&display=swap');

@font-face {
    font-family: 'Norsal';
    src: url('../fonts/norsal.ttf');
}

/* CSS variables for easy theming */
:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #1967D3;
    --primary-light: #EDF3FB;
    --primary-600: #1456e6;
    --ring: rgba(17, 24, 39, 0.08);
    --font-title: 'Rakkas', serif;
    --font-body: 'Norsal', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* Base */
html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
}

    html[dir="rtl"] body {
        text-align: right;
    }
/* Layout helpers */
.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* Header */
.site-header {
    position: relative;
    padding: 20px 0 10px;
}

    /* Soft decorative ribbon behind header (right side) */
    .site-header::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 90px;
        background: linear-gradient(120deg, rgba(30, 102, 255, 0.08), rgba(255, 255, 255, 0));
        border-bottom-left-radius: 24px;
        pointer-events: none;
    }

.header-top {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

/* Brand pill */
.brand-pill {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border-radius: 9999px;
    padding: 10px 16px;
    box-shadow: 0 2px 8px var(--ring);
}

.brand-icon {
    font-size: 18px;
}

.brand-text {
    font-weight: 600;
    white-space: nowrap;
}

/* Navigation pill */
.nav-pill {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--card);
    padding: 6px;
    border-radius: 9999px;
    box-shadow: 0 2px 10px var(--ring);
}

.nav-link {
    display: inline-block;
    color: var(--text);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease;
}

    .nav-link:hover {
        background: rgba(17, 24, 39, 0.04);
    }

    .nav-link.active {
        background: var(--primary-light);
        color: var(--azhar-primary);
        font-weight: 700;
    }

/* Right utilities */
.user-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost {
    appearance: none;
    border: none;
    background: var(--card);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px var(--ring);
    cursor: pointer;
}

    .btn-ghost:hover {
        background: #f9fafb;
    }
    .modal-header .close, .modal-header .mailbox-attachment-close {
    padding: 1rem;
    margin: -1rem auto -1rem -1rem;
}

/* Mobile menu button - show only on mobile */
@media (max-width: 767px) {
    #mobile-menu-button {
        display: inline-flex !important;
    }

    /* Hide desktop navigation on mobile */
    .header-top .nav-pill {
        display: none !important;
    }

    /* Show mobile navigation when toggled */
    #mobile-menu.show {
        display: block !important;
    }

    /* Adjust header layout for mobile */
    .header-top {
        position: relative;
        padding-left: 60px;
        /* Make room for mobile menu button */
    }

    .brand-pill {
        justify-self: center;
        position: relative;
        left: -30px;
        /* Center the brand considering the menu button */
    }
}

@media (min-width: 768px) {
    #mobile-menu-button {
        display: none !important;
    }

    /* Show desktop navigation on larger screens */
    .header-top .nav-pill {
        display: flex !important;
    }
}

/* Mobile menu styling */
#mobile-menu {
    background: var(--card);
    border-top: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 4px 12px var(--ring);
    margin-top: 10px;
}

    #mobile-menu .nav-pill {
        background: transparent;
        box-shadow: none;
        flex-direction: column;
        gap: 2px;
        padding: 8px;
    }

    #mobile-menu .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        border-radius: 8px;
        margin: 2px 0;
    }

        #mobile-menu .nav-link:hover {
            background: rgba(30, 102, 255, 0.08);
            color: var(--primary-600);
        }


/* =====================
   Hero Slider
   ===================== */
.hero {
    margin-top: 16px;
}

    .hero .container {
        position: relative;
    }

/* Swiper base sizing */
.hero-swiper {
    width: 100%;
}

.hero-slide {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* image larger than text (RTL aware) */
    align-items: center;
    gap: 32px;
    min-height: 480px;
    padding: 24px 0 40px;
}

/* Media (left visually in RTL) */
.hero-media {
    background: var(--card);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 24px var(--ring);
    /* diagonal mask */
    -webkit-mask-image: linear-gradient(140deg, #000 75%, transparent 100%);
    mask-image: linear-gradient(140deg, #000 75%, transparent 100%);
}

    .hero-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Text content */
.hero-content {
    padding: 0 8px;
}

.hero-title {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.25;
}

.hero-desc {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16px;
}

.hero-cta {
    display: flex;
    gap: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 9999px;
    box-shadow: 0 6px 18px rgba(30, 102, 255, 0.28);
}

    .btn-primary:hover {
        background: var(--primary-600);
    }

/* Swiper controls (below slider) */
.hero-controls {
    position: static;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-block-start: 14px;
}

.swiper-button-prev,
.swiper-button-next {
    /* position: static !important; */
    transform: none !important;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: var(--card);
    box-shadow: 0 6px 16px var(--ring);
}

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 16px;
        color: var(--text);
    }

/* Visual emphasis like screenshot: prev blue, next white */
.swiper-button-prev {
    background: var(--primary);
}

    .swiper-button-prev::after {
        color: #fff;
    }

.swiper-button-next {
    background: var(--card);
}

    .swiper-button-next::after {
        color: var(--text);
    }

/* Pagination bullets centered under slider */
/* .swiper-pagination {
  top: auto !important;
  bottom: 16px !important;
  left: 50% !important;
  transform: translateX(-50%);
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
} */

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-slide {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 420px;
    }

    .hero-media {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 640px) {

    .hero .swiper-button-prev,
    .hero .swiper-button-next {
        display: none;
    }
}

/* Typography refinements for hero */
.hero-title {
    font-weight: 800;
    letter-spacing: -.3px;
}

    .hero-title .accent,
    .hero-title strong {
        color: var(--primary-600);
    }

/* =====================
   Metrics Section
   ===================== */
/* .section-metrics {
  padding: 36px 0 18px;
  background: linear-gradient(180deg, rgba(30, 102, 255, 0.04), rgba(255, 255, 255, 0));
} */

.section-head {
    text-align: center;
    margin-bottom: 24px;
}

.overline {
    display: inline-block;
    color: var(--primary-600);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    position: relative;
}

    .overline::before,
    .overline::after {
        content: "";
        display: inline-block;
        width: 28px;
        height: 2px;
        background: var(--primary-600);
        opacity: .5;
        vertical-align: middle;
        margin-inline: 8px;
    }

.section-title {
    margin: 6px 0 0;
    font-size: 26px;
}

.metrics-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.metric {
    text-align: center;
}

.metric-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 18px var(--ring);
}

.metric-blue {
    background: #2f68ff;
}

.metric-pink {
    background: #f43f5e;
}

.metric-green {
    background: #10b981;
}

.metric-orange {
    background: #f59e0b;
}

.metric-value {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 4px;
}

.metric-label {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   About Section
   ===================== */
/* .about-section {
  padding: 12px 0 56px;
} */

/* .about-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border-radius: 22px;
  box-shadow: 0 12px 28px var(--ring);
  padding: 18px;
} */

/* .about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
} */

.about-gallery {
    position: relative;
}

    .about-gallery .about-swiper {
        width: 100%;
    }

    .about-gallery .swiper-slide {
        height: auto;
    }

    .about-gallery .about-img {
        height: 280px;
    }

.about-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .about-controls .swiper-button-prev,
    .about-controls .swiper-button-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border-radius: 9999px;
        background: var(--card);
        box-shadow: 0 6px 16px var(--ring);
        pointer-events: auto;
    }

        .about-controls .swiper-button-prev::after,
        .about-controls .swiper-button-next::after {
            font-size: 16px;
            color: var(--text);
        }

    /* place prev at gallery outer edge, next roughly between two slides */
    .about-controls .swiper-button-prev {
        inset-inline-start: 8px;
    }

    .about-controls .swiper-button-next {
        left: 50%;
        right: auto;
        margin-inline-start: 8px;
    }

.about-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 22px var(--ring);
}

.about-content {
    padding: 8px;
}

.about-title {
    margin: 6px 0 10px;
    font-size: 28px;
}

.about-text {
    color: var(--muted);
    margin: 0 0 10px;
}

/* @media (max-width: 1024px) {
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-img {
    height: 220px;
  }
} */

/* =====================
   News Section
   ===================== */
.news-section {
    padding: 100px 0 64px;
    position: relative;
}

/* .news-section::before,
.news-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .18;
}

.news-section::before {
  width: 220px;
  height: 220px;
  left: -80px;
  top: 10%;
  background: #eaf1ff;
}

.news-section::after {
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: 8%;
  background: #eef6ff;
} */

.news-swiper {
    overflow: visible;
}

.news-slide {
    height: auto;
}

.news-card {
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 10px 20px var(--ring);
    border: 1px solid rgba(17, 24, 39, .06);
    overflow: hidden;
}

/* .news-media {
  padding: 12px 12px 0;
}

.news-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
} */

/* .news-body {
  padding: 10px 14px 16px;
}

.news-meta {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.news-title {
  margin: 6px 0 0;
  font-size: 16px;
} */

.news-controls, .workshops-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

    .news-controls .swiper-button-prev,
    .news-controls .swiper-button-next, .workshops-controls .swiper-button-prev,
    .workshops-controls .swiper-button-next {
        position: static;
        width: 42px;
        height: 42px;
        border-radius: 9999px;
        background: var(--card);
        box-shadow: 0 6px 16px var(--ring);
    }

        .news-controls .swiper-button-prev::after,
        .news-controls .swiper-button-next::after {
            font-size: 16px;
            color: var(--text);
        }

.news-range-wrap {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.news-range {
    -webkit-appearance: none;
    appearance: none;
    width: min(560px, 80%);
    height: 6px;
    border-radius: 9999px;
    background: #e5e7eb;
    outline: none;
}

    .news-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 6px 16px rgba(30, 102, 255, .35);
        cursor: pointer;
        border: 3px solid #fff;
    }

    .news-range::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 6px 16px rgba(30, 102, 255, .35);
        cursor: pointer;
        border: 3px solid #fff;
    }

@media (max-width: 860px) {
    .news-media img {
        height: 180px;
    }
}


/* =====================
   Events Section
   ===================== */
.events-section {
    padding: 100px 0 64px;
}

.events-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 8px 0 18px;
}

.tab-btn {
    border: 0;
    background: #eef2ff;
    color: var(--text);
    padding: 10px 16px;
    border-radius: 9999px;
    cursor: pointer;
}

    .tab-btn.active {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 6px 16px rgba(30, 102, 255, .25);
    }

.events-swiper {
    overflow: visible;
}

.events-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.1fr 0.9fr 1.1fr;
    grid-auto-rows: 140px;
}

.ev-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 10px 20px var(--ring);
}

.ev-small {
    grid-row: span 1;
}

.ev-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.ev-tall {
    grid-row: span 2;
}

.ev-large {
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 130px;
    }
}

@media (max-width: 640px) {
    .events-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 160px;
    }
}

.events-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

    .events-controls .swiper-button-prev,
    .events-controls .swiper-button-next {
        position: static;
        width: 42px;
        height: 42px;
        border-radius: 9999px;
        background: var(--card);
        box-shadow: 0 6px 16px var(--ring);
    }

        .events-controls .swiper-button-prev::after,
        .events-controls .swiper-button-next::after {
            font-size: 16px;
            color: var(--text);
        }


/* =====================
   FAQ Section
   ===================== */
.faq-section {
    padding: 36px 0 72px;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.faq-item {
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 10px 22px var(--ring);
    overflow: hidden;
}

.faq-header {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 14px 18px;
    text-align: start;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    border-radius: 50%;
}

.faq-number {
    color: var(--primary-600);
    font-weight: 800;
    opacity: .7;
}

.faq-question {
    font-weight: 700;
}

.faq-body {
    display: none;
    padding: 0 18px 16px;
    color: var(--muted);
}

.faq-item.is-open .faq-body {
    display: block;
}

.faq-item.is-open .faq-toggle {
    transform: rotate(180deg);
    background: rgba(30, 102, 255, 0.12);
}

/* =====================
   Institutions Portal Section
   ===================== */
.institutions-portal-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    position: relative;
}

    .institutions-portal-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e0e7ff" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        opacity: 0.3;
        pointer-events: none;
    }

.section-subtitle {
    color: var(--muted);
    font-size: 16px;
    margin-top: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.portal-card {
    background: var(--card);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 102, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .portal-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), #6366f1, #8b5cf6);
    }

.portal-header {
    text-align: center;
    margin-bottom: 32px;
}

.portal-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.portal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}

.portal-desc {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
}

.form-input {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

    .form-input:focus {
        outline: none;
        border-color: var(--primary);
        background: white;
        box-shadow: 0 0 0 3px rgba(30, 102, 255, 0.1);
    }

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-input-wrapper .form-input {
        padding-right: 50px;
        width: 100%;
    }

.password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

    .password-toggle:hover {
        opacity: 1;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .checkbox-wrapper input[type="checkbox"] {
        display: none;
    }

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

    .checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
        content: "✓";
        color: white;
        font-size: 12px;
        font-weight: bold;
    }

.checkbox-label {
    font-size: 14px;
    color: var(--text);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: var(--primary-600);
    }

.btn-login {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(30, 102, 255, 0.3);
    margin-top: 8px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(30, 102, 255, 0.4);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.portal-footer {
    margin-top: 24px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.register-text {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.register-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

    .register-link:hover {
        color: var(--primary-600);
    }

.portal-features {
    background: var(--card);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 102, 255, 0.1);
    height: fit-content;
}

.features-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--text);
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8faff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background: #f0f4ff;
        transform: translateX(-4px);
    }

.feature-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 102, 255, 0.1);
    border-radius: 50%;
}

.feature-text {
    font-weight: 500;
    color: var(--text);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .portal-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .portal-features {
        order: -1;
    }
}

@media (max-width: 640px) {
    .institutions-portal-section {
        padding: 40px 0;
    }

    .portal-card,
    .portal-features {
        padding: 24px;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* =====================
   Partners Section
   ===================== */
.partners-section {
    padding: 36px 0 64px;
}

.partners-swiper {
    overflow: visible;
}

.partner-card {
    background: var(--card);
    border-radius: 18px;
    padding: 22px;
    display: grid;
    place-items: center;
    height: 120px;
    box-shadow: 0 10px 20px var(--ring);
}

    .partner-card img {
        max-width: 120px;
        max-height: 76px;
        object-fit: contain;
        filter: saturate(.9);
    }

.partners-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

    .partners-controls .swiper-button-prev,
    .partners-controls .swiper-button-next {
        position: static;
        width: 42px;
        height: 42px;
        border-radius: 9999px;
        background: var(--card);
        box-shadow: 0 6px 16px var(--ring);
    }

        .partners-controls .swiper-button-prev::after,
        .partners-controls .swiper-button-next::after {
            font-size: 16px;
            color: var(--text);
        }

/* =====================
   Footer
   ===================== */
.site-footer {
    position: relative;
    padding: 40px 0 56px;
    background: linear-gradient(135deg, #f5f9ff 0%, #f7fbff 60%, #f2f8ff 100%);
}

.footer-head {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.footer-title {
    margin: 0;
}

.footer-desc {
    color: var(--muted);
    max-width: 820px;
    margin: 6px auto 12px;
}

.footer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 10px 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card);
    border-radius: 9999px;
    padding: 8px 12px;
    box-shadow: 0 6px 16px var(--ring);
    border: 1px solid rgba(17, 24, 39, .06);
    color: inherit;
    text-decoration: none;
}

.chip-icon {
    opacity: .8;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

/*.social {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--card);
    border-radius: 9999px;
    box-shadow: 0 6px 16px var(--ring);
    text-decoration: none;
}*/

.footer-sep {
    margin: 24px 0 14px;
    border: 0;
    height: 1px;
    background: rgba(17, 24, 39, .08);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    margin-bottom: 10px;
}

    .footer-links .link {
        color: var(--text);
        text-decoration: none;
        opacity: .8;
    }

        .footer-links .link:hover {
            opacity: 1;
        }

.footer-copy {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.back-to-top {
    /*    position: absolute;
    right: 20px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 9999px;
    box-shadow: 0 10px 22px rgba(30, 102, 255, .35);
    text-decoration: none;*/
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--primary);
    color: #fff;
    border-radius: 9999px;
    box-shadow: 0 10px 22px rgba(30, 102, 255, .35);
    text-decoration: none;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Utilities */
.is-hidden {
    display: none !important;
}

.main-header .nav-link {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    height: 40px;
    border-radius: 30px;
}

.active-nav {
    background-color: var(--primary-light);
    color: var(--primary);
}

.nav-toggle {
    border: none;
}

.swiper {
    width: 100%;
    height: 100%;
}

/* .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.swiper-slide img {
    display: block;
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
}

.hero-swiper .hero-img {
    width: auto;
}

.hero-swiper .swiper-slide {
    background-color: transparent;
/*    padding-bottom: 150px;*/
}

.hero-vector-1 {
    width: 667.952px;
    height: 700.289px;
    transform: rotate(-20.07deg);
    flex-shrink: 0;
    border-radius: 67.161px;
    left: -85px;
    bottom: 10px;
    background: linear-gradient(180deg, #1967D3 0%, rgba(25, 103, 211, 0.00) 100%);
}

.hero-vector-2 {
    width: 929px;
    height: 933px;
    border-radius: 2500px;
    background: rgba(25, 103, 211, 0.08);
    filter: blur(125px);
}

.hero-vector-3 {
    width: 518px;
    height: 518px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: 518px;
    border: 108px solid rgba(25, 103, 211, 0.03);
    right: -250px;
    bottom: 0;
}

.hero-controls {
    position: absolute;
    bottom: 20px;
    width: 100%;
    justify-content: center;
}

    .hero-controls .swiper-button-prev,
    .hero-controls .swiper-button-next {
        position: relative;
        left: unset !important;
        right: unset !important;
        background-color: var(--primary);
        color: #fff;
        width: 54px !important;
        height: 54px !important;
    }

    .hero-controls .swiper-button-disabled {
        opacity: 1;
        background-color: #fff;
        color: #000;
    }

.swiper-navigation-icon {
    display: none;
}

.hero-pagination.swiper-pagination {
    bottom: 100px !important;
    top: unset !important;
    width: 70% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 12px !important;
    border-radius: 1000px !important;
    background-color: #F8F8F8 !important;
}

.hero-pagination .swiper-pagination-progressbar-fill {
    background-color: var(--primary) !important;
    border-radius: 1000px !important;
}

.sub-title {
    font-family: var(--font-title);
}

    .sub-title::before,
    .sub-title::after {
        content: "";
        display: inline-block;
        width: 28px;
        height: 2px;
        background: var(--primary-600);
        opacity: .5;
        vertical-align: middle;
        margin-inline: 8px;
    }

.about-controls {
    top: -25%;
}

    .about-controls .swiper-button-prev {
        right: -20px;
    }

    .about-controls .swiper-button-next {
        left: -20px;
    }

    .about-controls .swiper-button-prev,
    .about-controls .swiper-button-next {
        background-color: var(--primary);
        color: #fff;
        width: 54px !important;
        height: 54px !important;
    }

    .about-controls .swiper-button-disabled {
        opacity: 1;
        background-color: #fff;
        color: #000;
    }

.news-card {
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(156, 156, 156, 0.50);
    backdrop-filter: blur(18.5px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: none;
}

.news-media img {
    height: 226px;
    border-radius: 16px;
}

.news-meta {
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.news-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(156, 156, 156, 0.12);
    border-radius: 9999px;
    color: #6D6D6D;
    height: 40px;
    width: 40px;
    transform: rotate(44.834deg);
}

.news-controls .swiper-button-prev,
.news-controls .swiper-button-next,
.workshops-controls .swiper-button-prev,
.workshops-controls .swiper-button-next {
    background-color: var(--primary);
    color: #fff;
    width: 54px !important;
    height: 54px !important;
}

.news-controls .swiper-button-disabled, .workshops-controls .swiper-button-disabled {
    opacity: 1;
    background-color: rgba(156, 156, 156, 0.12);
    color: #6D6D6D;
}

.events-section {
    background-color: rgba(25, 103, 211, 0.08);
}

.custom-tabs ul {
    display: flex;
    justify-content: center;
    background-color: #F6F6F6;
    padding: 8px 12px;
    border-radius: 250px;
    gap: 8px;
    width: fit-content;
    margin: 56px auto;
}

.custom-tabs .tab-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 58px;
    color: #777777;
    padding: 2px 5px;
    border-radius: 250px;
}

    .custom-tabs .tab-link svg path {
        fill: #777777;
    }

.custom-tabs .active .tab-link {
    background-color: var(--primary);
    color: #fff;
}

    .custom-tabs .active .tab-link svg path {
        fill: #fff;
    }

.ev-wider {
    grid-column: span 1;
    grid-row: span 2;
}

.ev-tall {
    grid-column: span 1;
    grid-row: span 4;
}

.sub-title-2 {
    font-family: var(--font-title);
}

.gate-section li {
    padding: 32px;
    color: #666;
    font-size: 24px;
    font-weight: 400;
    background-color: #fff;
    box-shadow: 0 7px 16px -3px rgba(1, 1, 1, 0.04);
    border-radius: 16px;
    line-height: 32px;
}

    .gate-section li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .gate-section li.active {
        border: 1.5px solid #1967D3;
        background: rgba(25, 103, 211, 0.10);
        box-shadow: 0 7px 16px -3px rgba(10, 80, 69, 0.06);
    }

        .gate-section li.active svg {
            display: block;
        }

.gate-controls {
    position: relative;
    bottom: 35px;
    display: none;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.gate-swiper-next,
.gate-swiper-prev {
    left: unset !important;
    right: unset !important;
    position: relative;
    background-color: var(--primary);
    color: #fff;
    width: 54px !important;
    height: 54px !important;
}

.prices-li:before {
    content: url('https://uimand.top/img/check-icon.svg');
    padding-top: 6px;
}


.title::before {
    content: url('../img/faq-arrow.png');
    position: absolute;
    left: 20px;
    transition: all 0.2s;
}

.content {
    max-height: 0;
    transition: max-height 0.2s;
}

.toggle:checked + .title + .content {
    max-height: 500px;
}

.toggle:checked + .title::before {
    transform: rotate(180deg) !important;
}

.main-header {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    display: flex !important;
}

.partner-content img {
    border-radius: 30px;
    border: 2px solid #F8F4FF;
    background: #F9F9F9;
    padding: 10px 10px;
    height: 150px;
}

.hero--title {
    font-size: 50px;
    line-height: 93px;
}

.hero--description {
    font-size: 20px;
    line-height: 30px;
    max-width: 600px;
    margin-top: 16px;
    margin-bottom: 32px;
}

.main-btn {
    border-radius: 120px;
    background-color: var(--primary);
}

.news--title {
    max-width: 300px;
}
.news--desc{
    font-size:14px;
}

.workshop-card .news--title {
    max-width: 100%;
}
.workshop-card .main-btn {
    transition: all 3s ease;
    margin-top: 12px;
    max-width: fit-content;
}
.workshop-card:hover .main-btn {
    display: flex;
}

.show-all {
    color: #666;
}

.gate-section .tab-link {
    color: #333;
}

.partner-content {
    display: flex;
    justify-content: center;
}

.footer--info {
    display: flex;
    gap: 20px;
    justify-content: center;
}

    .footer--info .info--text {
        color: #666;
        font-size: 15px;
    }
.footer-brand img {
    height: 73px;
}
.main-footer {
    display: none;
}
.faq--question {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
}
.faq--title--contain {
    display: flex;
}
.highlight-link{
    border: 1px solid var(--primary);
}
.event--item{
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 50px;
}
.password-toggle{
    width: fit-content;
    right: unset;
    left: 1rem;
}
.modern-login-form .form-input{
    padding-right: 1rem;
}
.input-icon{
    position: absolute;
    left: 1rem;
    right: unset;
    top: 50%;
    transform: translateY(-50%);
}
.table tr td:last-child{
    display: flex;
    gap: 8px;
}
.table tr td:last-child .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0!important;
    font-size: 0;
    background-color: transparent!important;
}
.table tr td:last-child .btn i{
    font-size: 15px;
}
.table tr td:last-child .btn.bg-secondary{
    background-color: transparent!important;
    color: var(--primary)!important;
    border: 1px solid var(--primary)!important;
}
.table tr td:last-child .btn.bg-danger{
    background-color: transparent!important;
    color: var(--danger)!important;
    border: 1px solid var(--danger)!important;
}
#create-user-details .col-md-9{
    width: 100%;
    max-width: 100%;
}
.modal-dialog .nav-tabs{
    padding-bottom: 10px;
    padding-right: 0;
}
.modal-dialog .nav-item .nav-link:hover{
    background-color: transparent;
    border-color: none;
}
.modal-dialog .nav-item .nav-link.active{
    background-color: var(--azhar-primary);
    color: #fff;
    border-color: var(--azhar-primary);
    border-radius: 16px;
}
.page-link.previous i,.page-link.next i,.page-link.first i,.page-link.last i{
    transform: rotate(180deg);
}
.page-link{
    color: var(--azhar-primary)!important;
}
.page-item.active .page-link {
    color: #fff!important;
    background-color: var(--azhar-primary)!important;
    border-color: var(--azhar-primary)!important;
}
html[dir="rtl"] .modal-header .close{
    margin: -1rem auto -1rem -1rem!important;
}

html[dir="rtl"] .news-link {
    transform: rotate(230deg);
}

html[dir="rtl"] .hero-vector-1 {
    transform: rotate(20.07deg);
}

html[dir="rtl"] .main-btn i {
    transform: rotate(180deg);
}

html[dir="rtl"] .hero-controls {
    flex-direction: row-reverse;
}

html[dir="rtl"] .about-controls .swiper-button-prev i,
html[dir="rtl"] .about-controls .swiper-button-next i {
    transform: rotate(180deg);
}

html[dir="rtl"] .news-controls .swiper-button-prev i,
html[dir="rtl"] .news-controls .swiper-button-next i {
    transform: rotate(180deg);
}

html[dir="rtl"] .workshops-controls .swiper-button-prev i,
html[dir="rtl"] .workshops-controls .swiper-button-next i {
    transform: rotate(180deg);
}
.news--title .news-title{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news--desc{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#gate-tabs{
    max-height: 650px;
    overflow-y: scroll;
}
.show--more--content{
    margin-top: -40px;
    position: relative;
    box-shadow: 10px -15px 16px -3px rgba(1, 1, 1, 0.04);
    height: 100px;
    align-items: center;
    border-radius: 0 0 1.5rem 1.5rem;
}
.faq--container{
    height: 800px;
    overflow-y: hidden;
    display: inline-flex;
    flex-direction: column;
    transition: height 0.3s ease;
}
.faq-hidden {
    display: none !important;
}
.outline-btn{
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: #fff;
}

html[dir="rtl"] .outline-btn i{
    transform: rotate(180deg);
}

@media (max-width: 1160px) {
    .main-header .nav-link {
        height: auto;
    }
}

@media only screen and (min-width: 1200px) {
    .main-header {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 768px) {
    .hero--title {
        font-size: 32px;
        line-height: 48px;
    }

    .footer--info {
        flex-direction: column;
    }
}
