/* ==========================================================================
   1. Base & Reset Styles
   ========================================================================== */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    margin: 0;
    min-height: 100dvh;
    background: #0B0B0F;
    font-family: Vazirmatn, sans-serif;
    line-height: 1.6;
    color: #F5F5F5;
    overflow-x: hidden;
    /* جلوگیری از اسکرول افقی در کل صفحه */
}

button,
input,
textarea,
select {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 1rem;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-block: 2.5rem;
    font-weight: 800;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
header {
    padding-block: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 1rem;
}

.brand-name {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: 0.3s;
}

.brand-name:hover {
    letter-spacing: 3px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.menu a {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(245, 245, 245, 0.7);
    transition: all 0.3s ease;
    position: relative;
}

.menu a:hover {
    color: #F5F5F5;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #660000;
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-right: 15px;
    padding: 0.6rem 1.4rem !important;
    border-radius: 12px;
    background: rgba(255, 42, 75, 0.05);
    color: #ffffff !important;
    border: 1px solid rgba(255, 42, 75, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.nav-cta:hover {
    background: #ff2a4b;
    color: #ffffff !important;
    border-color: #ff2a4b;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 42, 75, 0.4);
}

@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(11, 11, 15, 0.95);
        backdrop-filter: blur(10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* انیمیشن نرم */
        padding-block: 15px !important;
        overflow: hidden; /* برای اینکه منوی مخفی شده بیرون نزند */
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        transition: all 0.4s ease;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
        padding: 0;
        margin: 0;
        transition: all 0.3s ease;
        opacity: 1;
        max-height: 200px; /* یک مقدار تقریبی برای ارتفاع منو */
    }

    /* استایل دکمه در حالت عادی */
    .nav-cta {
        order: 3; /* دکمه همیشه آخرین مورد باشد */
        margin: 0 auto;
        padding: 8px 20px;
        white-space: nowrap;
        display: block;
    }

    /* حالت اسکرول شده (وقتی کلاس scrolled اضافه می‌شود) */
    header.scrolled {
        padding-block: 10px !important; /* هدر باریک‌تر می‌شود */
    }

    header.scrolled .menu {
        opacity: 0;
        max-height: 0;
        margin: 0;
        pointer-events: none; /* غیرفعال کردن کلیک روی منوی مخفی */
        transform: translateY(-10px);
    }

    header.scrolled .nav {
        gap: 0; /* حذف فاصله بین المان‌ها وقتی منو نیست */
    }

    
}



/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    z-index: 1;
}

.hero-title {
    position: absolute;
    z-index: 10;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 45px);
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    margin: 0;
    text-shadow:
        1px 1px 0px #b30000,
        2px 2px 1px #800000,
        3px 3px 3px #4d0000,
        4px 4px 5px #000000;
}

.hero-year-ex {
    position: absolute;
    z-index: 10;
    font-size: clamp(18px, 2.5vw, 35px);
    top: 39%;
    right: 12%;
    text-align: center;
    padding: 0.65rem 3rem;
    border-radius: 70px;
    background: #300000;
    border: 1px solid #660000;
    color: #f5f5f5;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow:
        0 0 0 1px #150000,
        0 2px 4px rgba(0, 0, 0, 0.7);
    text-shadow:
        0 1px 0 #000000,
        0 -1px 0 #800000;
}

.hero-skills {
    position: absolute;
    z-index: 10;
    font-size: clamp(15px, 2vw, 25px);
    top: 35%;
    left: 10%;
    list-style: none;
}

.el {
    text-align: center;
    padding: 0.15rem 2.5rem;
    border-radius: 70px;
    margin-block: 9px;
    background: #300000;
    border: 1px solid #660000;
    color: #f5f5f5;
    font-weight: 400;
    letter-spacing: 0.05em;
    box-shadow:
        0 0 0 1px #150000,
        0 2px 4px rgba(0, 0, 0, 0.7);
    text-shadow:
        0 1px 0 #000000,
        0 -1px 0 #800000;
}

/* انطباق استایل هیرو با موبایل و تبلت جهت جلوگیری از کج‌شدن المان‌های مطلق */
@media (max-width: 900px) {
    .hero {
        aspect-ratio: auto;
        min-height: auto;
        padding-block: 60px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #000;
    }

    .hero-img {
        position: relative;
        width: 100%;
        max-width: 450px;
        aspect-ratio: 1/1;
        border-radius: 50%;
        margin-bottom: 30px;
        order: 1;
        object-position: center top;
        box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
    }

    .hero-title {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: 2;
        margin-bottom: 25px;
        text-align: center;
        margin-inline: auto;
        width: 100%;
    }

    .hero-year-ex {
        top: 75% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: fit-content;
        white-space: nowrap;
        padding: 0.5rem 1.5rem;
        font-size: 14px;
    }

    .hero-skills {
        position: relative;
        top: auto;
        left: auto;
        order: 4;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        max-width: 400px;
        margin-inline: auto;
        padding: 0 !important;
        list-style: none;
    }

    .hero-skills .el {
        margin: 0 !important;
        padding: 0.6rem 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* ==========================================================================
   4. Logos (Infinite Scroll Showcase)
   ========================================================================== */
.logos {
    overflow: hidden;
    position: relative;
    padding-top: 60px;
    padding-bottom: 40px;
    background: linear-gradient(to bottom,
            #000000 0%,
            rgba(11, 11, 15, 0.8) 50%,
            #0B0B0F 100%);
}

.logos-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 40px;
    padding-block: 40px;
    width: max-content;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.logos-row:hover {
    animation-play-state: paused;
}

.logo-img {
    height: 5rem;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.client {
    border-radius: 50%;
}

@media (max-width: 600px) {
    .logo-img {
        height: 3.5rem;
    }

    .logos-row {
        gap: 25px;
    }
}

/* ==========================================================================
   5. Services Section
   ========================================================================== */
.services {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0000 50%, #330000 100%);
    padding: 100px 0;
    border-top: 1px solid rgba(255, 0, 0, .15);
    border-bottom: 1px solid rgba(255, 0, 0, .15);
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 0, 0, .16);
    border-radius: 24px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .55);
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 0, 0, .06);
    border-color: rgba(255, 0, 0, .38);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .65), 0 18px 45px rgba(255, 0, 0, .10);
}

.service-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 0, 0, .09);
    border: 1px solid rgba(255, 0, 0, .20);
}

.service-icon {
    width: 34px;
    height: 34px;
    color: #ff2a2a;
    display: block;
    fill: currentColor;
}

.service-title {
    margin: 0 0 12px;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

.service-desc {
    margin: 0;
    color: rgba(245, 245, 245, .78);
    line-height: 1.9;
    font-weight: 350;
    text-align: justify;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .service-desc {
        text-align: center;
    }
}

/* ==========================================================================
   6. Skills Section
   ========================================================================== */
.skills {
    padding: 90px 0;
}

.skills .section-header {
    text-align: center;
    margin: 0 0 36px;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.skill-item {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 42, 42, 0.18);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.skill-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 42, 42, 0.35);
    background: rgba(255, 42, 42, 0.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 12px;
}

.skill-info span:first-child {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.6;
}

.skill-info span:last-child {
    font-weight: 800;
    font-size: 14px;
    color: #ff2a2a;
}

.skill-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff2a2a, #ff6a6a);
    box-shadow: 0 8px 18px rgba(255, 42, 42, 0.22);
    transition: width .8s ease;
}

@media (prefers-reduced-motion: reduce) {

    .skill-item,
    .progress {
        transition: none !important;
    }
}

@media (max-width: 992px) {
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .skills {
        padding: 70px 0;
    }

    .skills-wrapper {
        gap: 16px;
    }

    .skill-item {
        padding: 18px 16px;
    }

    .skill-info span:first-child {
        font-size: 15px;
    }
}

/* ==========================================================================
   7. Achievements Section
   ========================================================================== */
.achievements {
    padding: 80px 0;
    background: transparent;
}

.achievements .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.achievements .stat-card {
    position: relative;
    padding: 28px 22px;
    border: 1px solid rgba(255, 42, 42, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    text-align: center;
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.achievements .stat-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle, rgba(255, 42, 42, 0.20), transparent 55%);
    transform: translate(30%, -10%);
    opacity: 0.9;
    pointer-events: none;
}

.achievements .stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 42, 42, 0.45);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.achievements .stat-number,
.achievements .stat-label {
    position: relative;
    z-index: 1;
}

.achievements .stat-number {
    display: inline-block;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.5px;
    color: #ff2a2a;
    margin-bottom: 10px;
}

.achievements .stat-label {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
    .achievements {
        padding: 64px 0;
    }

    .achievements .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .achievements .stats-grid {
        grid-template-columns: 1fr;
    }

    .achievements .stat-card {
        padding: 24px 18px;
    }
}

/* ==========================================================================
   8. About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background: transparent;
}

.about .about-flex {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.about .about-content h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

.about .about-content p {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
    text-align: justify;
}

.about .about-content p:last-child {
    margin-bottom: 0;
}

.about .about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about .about-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 42, 42, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.about .about-image img:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 42, 42, 0.5);
    box-shadow: 0 28px 50px rgba(255, 42, 42, 0.15);
}

.about .about-image::before {
    content: "";
    position: absolute;
    width: 100%;
    max-width: 360px;
    height: 100%;
    border: 2px solid rgba(255, 42, 42, 0.3);
    border-radius: 28px;
    bottom: -12px;
    right: -12px;
    z-index: -1;
    pointer-events: none;
    transition: transform .4s ease;
}

.about .about-image:hover::before {
    transform: translate(6px, 6px);
}

@media (max-width: 900px) {
    .about {
        padding: 70px 0;
    }

    .about .about-flex {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about .about-content {
        text-align: center;
    }

    .about .about-content p {
        text-align: center;
    }

    .about .about-image {
        order: -1;
    }

    .about .about-image::before {
        display: none;
    }
}

/* ==========================================================================
   9. Testimonials Section
   ========================================================================== */
.testimonials {
    padding: 90px 0;
    background: transparent;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 44px;
}

.testimonials .section-header h2 {
    margin: 0;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 900;
    color: #fff;
}

.testimonials .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.testimonials .testimonial-card {
    position: relative;
    padding: 26px 22px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 42, 42, 0.18);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, background .35s ease, box-shadow .35s ease;
}

.testimonials .testimonial-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle, rgba(255, 42, 42, 0.18), transparent 55%);
    transform: translate(25%, -15%);
    opacity: .85;
    pointer-events: none;
}

.testimonials .testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 42, 42, 0.45);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.testimonials .testimonial-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.78);
    text-align: justify;
}

.testimonials .client-info {
    position: relative;
    z-index: 1;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonials .client-info strong {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}

.testimonials .client-info span {
    display: block;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.testimonials .testimonial-card::after {
    content: "“";
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 68px;
    line-height: 1;
    color: rgba(255, 42, 42, 0.18);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .testimonials {
        padding: 72px 0;
    }

    .testimonials .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .testimonials .testimonial-card p {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .testimonials .section-header {
        margin-bottom: 28px;
    }

    .testimonials .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonials .testimonial-card {
        padding: 22px 18px 18px;
    }
}

/* ==========================================================================
   10. CTA & Contact Section
   ========================================================================== */
.cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 42, 42, 0.1), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(255, 42, 42, 0.08), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 60px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.cta-box h2 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 10px;
}

.cta-box p:last-of-type {
    color: #fff;
    font-weight: 600;
    margin-bottom: 40px;
}

.cta-contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.cta-contact-item {
    background: rgba(255, 42, 42, 0.05);
    border: 1px solid rgba(255, 42, 42, 0.1);
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cta-contact-item:hover {
    background: rgba(255, 42, 42, 0.08);
    border-color: rgba(255, 42, 42, 0.3);
    transform: translateY(-5px);
}

.cta-contact-item span {
    display: block;
    font-size: 14px;
    color: rgba(255, 42, 42, 0.8);
    margin-bottom: 8px;
    font-weight: 500;
}

.cta-contact-item a {
    color: #fff;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
}

.cta-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    text-align: right;
}

.cta-form input,
.cta-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-form textarea {
    grid-column: span 2;
    min-height: 120px;
    resize: none;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: #ff2a2a;
    background: rgba(255, 42, 42, 0.05);
}

.btn-cta {
    grid-column: span 2;
    background: linear-gradient(90deg, #ff2a2a, #cc0000);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 42, 42, 0.2);
}

@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }

    .cta-contact-info {
        grid-template-columns: 1fr;
    }

    .cta-form {
        grid-template-columns: 1fr;
    }

    .cta-form input {
        grid-column: span 1;
    }

    .cta-form textarea {
        grid-column: span 1;
    }

    .btn-cta {
        grid-column: span 1;
    }
}

/* ==========================================================================
   11. Footer Styles
   ========================================================================== */
.footer {
    position: relative;
    background-color: #0b0b0e;
    color: #b3b3b3;
    padding: 60px 0 30px 0;
    text-align: center;
    direction: rtl;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 520px;
    background: rgba(255, 42, 75, 0.10);
    filter: blur(70px);
    opacity: 0.9;
    pointer-events: none;
}

.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 78vw);
    height: 1px;
    background: rgba(255, 42, 75, 0.22);
    opacity: 0.9;
    pointer-events: none;
}

.footer-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
    color: #8c8c9e;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    --brand: #ff2a4b;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(22, 22, 26, 0.92);
    border: 1px solid rgba(42, 42, 53, 0.95);
    color: #ffffff;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 26px rgba(0, 0, 0, 0.28);
    transition:
        transform 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.28s ease,
        color 0.28s ease;
}

.social-link::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.social-icon {
    width: 22px;
    height: 22px;
    display: block;
    transition: transform 0.28s ease;
}

.social-link:hover {
    transform: translateY(-6px);
    color: var(--brand);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent),
        0 0 22px color-mix(in srgb, var(--brand) 45%, transparent),
        0 12px 34px rgba(0, 0, 0, 0.40);
}

.social-link:hover::after {
    opacity: 1;
}

.social-link:hover .social-icon {
    transform: scale(1.15);
}

.social-link[aria-label="Instagram"] {
    --brand: #E1306C;
}

.social-link[aria-label="LinkedIn"] {
    --brand: #0A66C2;
}

.social-link[aria-label="Telegram"] {
    --brand: #24A2CB;
}

.social-link[aria-label="WhatsApp"] {
    --brand: #25D366;
}

.footer-bottom {
    width: 100%;
    padding-top: 22px;
    position: relative;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 92vw);
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);
    pointer-events: none;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 0 20px 0;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .social-link {
        width: 46px;
        height: 46px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
    .social-link:hover {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.04),
            0 0 0 1px rgba(255, 255, 255, 0.10),
            0 0 22px rgba(255, 255, 255, 0.12),
            0 12px 34px rgba(0, 0, 0, 0.40);
    }
}