/* ===== FONT DEFINITIONS ===== */
@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
    --default-font: 'Cairo', sans-serif;
    --heading-font: 'Cairo', sans-serif;
    --nav-font: 'Cairo', sans-serif;

    --black: #010001;
    --red: #ec2027;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #dee2e6;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== BASE ===== */
body {
    font-family: var(--default-font);
    font-weight: 400;
    /* Cairo Regular — body copy */
    color: var(--black);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000vw;
}

/* ===== BACKGROUND PATTERN ===== */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(211, 47, 47, 0.03) 0px,
            rgba(211, 47, 47, 0.03) 25px,
            transparent 25px,
            transparent 50px);
    pointer-events: none;
    z-index: -1;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
    font-family: var(--heading-font);
    font-weight: 800;
    /* Cairo ExtraBold — main headings */
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--red);
    border-radius: 4px;
}

[dir="ltr"] h2::after {
    right: auto;
    left: 0;
}

h3 {
    font-weight: 700;
    /* Cairo Bold — subheadings */
}

p {
    font-weight: 400;
    /* Cairo Regular — paragraphs */
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 14px 36px;
    margin-right: 70%;
    border-radius: 40px;
    font-family: var(--default-font);
    font-weight: 700;
    /* Cairo Bold — CTA buttons */
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid var(--red);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.btn:hover {
    background-color: transparent;
    color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 20px 0;
    font-family: var(--nav-font);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-symbol {
    width: 60px;
    height: 60px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.building {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    width: 36px;
    transform: rotate(5deg) skewX(-2deg);
}

.building span {
    background: var(--red);
    height: 24px;
    width: 100%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.building span:nth-child(2) {
    height: 36px;
}

.building span:nth-child(3) {
    height: 18px;
}

.logo-text .ar {
    font-size: 1.8rem;
    font-weight: 800;
    /* Cairo ExtraBold — brand name */
    color: var(--black);
    line-height: 1.2;
}

.logo-text .en {
    color: var(--red);
    font-size: 1rem;
    font-weight: 600;
    /* Cairo SemiBold — brand tagline */
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-family: var(--nav-font);
    font-weight: 800;
    /* Cairo SemiBold — nav items */
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--red);
}

.lang-toggle {
    background: transparent;
    border: 2px solid var(--black);
    color: var(--black);
    padding: 8px 18px;
    border-radius: 40px;
    font-family: var(--nav-font);
    font-weight: 600;
    /* Cairo SemiBold — language toggle */
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: none;
}

.lang-toggle:hover {
    background: var(--black);
    color: var(--white);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--black);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    background-image: url('../images/desktop.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    animation: fadeInLeft 1.2s ease forwards;
    opacity: 1;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[dir="ltr"] .hero-content {
    animation: fadeInRight 1.2s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    color: var(--red);
    font-weight: 700;
    /* Cairo Bold — hero eyebrow label */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 4.5rem;
    font-weight: 800;
    /* Cairo ExtraBold — hero headline */
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title span {
    color: var(--red);
}

.hero-desc {
    font-size: 1.3rem;
    font-weight: 400;
    /* Cairo Regular — hero description */
    margin-bottom: 40px;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero .btn {
    animation: fadeInUp 0.8s ease 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll:not(.hero-content) {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll:not(.hero-content).animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:not(.hero-content):nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:not(.hero-content):nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:not(.hero-content):nth-child(4) {
    transition-delay: 0.3s;
}

.services-grid .animate-on-scroll:not(.hero-content):nth-child(2) {
    transition-delay: 0.15s;
}

.services-grid .animate-on-scroll:not(.hero-content):nth-child(3) {
    transition-delay: 0.3s;
}

.vision-mission-grid .animate-on-scroll:not(.hero-content):nth-child(2) {
    transition-delay: 0.2s;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-family: var(--default-font);
    font-size: 1.2rem;
    font-weight: 400;
    /* Cairo Regular — about paragraphs */
    margin-bottom: 30px;
    margin-right: 5px;
    margin-left: 5px;
    line-height: 2;
    text-align: justify;
}

.about-image img {
    margin-bottom: 25%;
    object-fit: cover;
    width: 100%;
    border-radius: 10%;
    box-shadow: var(--shadow);
}

/* ===== STATS BOX ===== */
.stats-box {
    background: var(--black);
    color: var(--white);
    padding: 40px;
    border-radius: 40px;
    box-shadow: var(--shadow);
}

.stat-item {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-box.animated .stat-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.stats-box.animated .stat-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.stats-box.animated .stat-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    /* Cairo ExtraBold — large stat numbers */
    color: var(--red);
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 300;
    /* Cairo Light — stat labels */
    opacity: 0.8;
}

/* ===== VISION / MISSION ===== */
.vision-mission {
    background: transparent;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card p {
    font-family: var(--default-font);
    font-weight: 400;
    /* Cairo Regular — card body text */
    text-align: justify;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--red);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: var(--red);
    color: var(--white);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.vm-card h3 {
    font-size: 2rem;
    font-weight: 700;
    /* Cairo Bold — card headings */
    margin-bottom: 20px;
}

/* ===== SERVICES ===== */
.services-grid {
    font-family: var(--default-font);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px auto 0;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.service-item {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    height: 100%;
    width: 100%;
}

.service-item p {
    font-family: var(--default-font);
    font-weight: 500;
    /* Cairo Medium — service card body */
}

.service-item:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: var(--red);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: rgba(211, 47, 47, 0.1);
    color: var(--red);
    font-size: 2.8rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background: var(--red);
    color: var(--white);
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

.service-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    /* Cairo Bold — service titles */
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    text-align: right;
    margin-top: 10px;
}

.service-features li {
    margin: 10px 0;
    font-weight: 600;
    /* Cairo SemiBold — feature list items */
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features i {
    color: var(--red);
    font-size: 1.2rem;
}

/* ===== CONTACT ===== */
.contact-section {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: var(--black);
    color: var(--white);
    padding: 50px;
    border-radius: 40px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[dir="ltr"] .contact-info {
    transform: translateX(30px);
}

.contact-info.animated .contact-item:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.contact-info.animated .contact-item:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.contact-info.animated .contact-item:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 35px 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[dir="ltr"] .contact-info .contact-item {
    transform: translateX(30px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    /* Cairo SemiBold — contact links */
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--red);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--red);
    transform: translateY(-8px) rotate(360deg);
}

/* ===== MAP ===== */
.map-placeholder {
    background: var(--light-gray);
    border-radius: 40px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    border: 1px solid var(--gray);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.map-placeholder.animated {
    opacity: 1;
    transform: scale(1);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    color: var(--black);
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid var(--red);
    font-weight: 400;
    /* Cairo Regular — footer copy */
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 10px;
}

.project-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(211, 47, 47, 0.3);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 20px 15px 15px;
    text-align: center;
}

.project-caption h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    /* Cairo SemiBold — project captions */
    margin: 0;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-caption {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    /* Cairo Medium — modal caption */
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    /* Cairo Bold — close button */
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--red);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    background: var(--red);
    transform: translateY(-50%) scale(1.1);
}

[dir="rtl"] .modal-prev {
    left: auto;
    right: 20px;
}

[dir="rtl"] .modal-next {
    right: auto;
    left: 20px;
}

[dir="rtl"] .modal-close {
    right: auto;
    left: 30px;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

/* ===== VISION 2030 LOGO ===== */
.vision-logo {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.vision-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid,
    .vision-mission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .vision-img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero {
        min-height: 100vh;
        border-radius: 1%;
        background-image: url('../images/mob.png');
        background-position: calc(50% - 5px) top;
    }

    .stats-box {
        padding: 30px;
    }

    .contact-info {
        padding: 30px;
    }

    .container {
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 5px;
    }

    .vision-img {
        height: 35px;
    }

    .logo img {
        height: 50px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    [dir="rtl"] .modal-prev {
        right: 10px;
    }

    [dir="rtl"] .modal-next {
        left: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .logo img {
        height: 35px;
    }
}