/* =========================================================
   MAJRAWI
   MAIN STYLE
========================================================= */

/* ===========================
   GLOBAL
=========================== */

body {

    font-family: "Cairo", sans-serif;

    background: var(--bg-color);

    color: var(--text-color);

    overflow-x: hidden;

    line-height: 1.8;

}

.container {

    width: min(1320px, calc(100% - 40px));

    margin-inline: auto;

}

section {

    position: relative;

    padding: 110px 0;

}

.section-title {

    max-width: 760px;

    margin: 0 auto 70px;

    text-align: center;

}

.section-title span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 22px;

    border-radius: 999px;

    background: rgba(122, 23, 51, .08);

    color: var(--primary-color);

    font-size: .92rem;

    font-weight: 700;

    margin-bottom: 18px;

}

.section-title h2 {

    font-size: clamp(2rem, 4vw, 3.3rem);

    font-weight: 800;

    line-height: 1.25;

    margin-bottom: 20px;

    color: var(--heading-color);

}

.section-title p {

    font-size: 1.05rem;

    color: var(--text-light);

}

/* ===========================
   HEADER
=========================== */

.header {

    position: fixed;

    inset: 0 0 auto;

    z-index: 1000;

    transition: .35s;

    background: rgba(255,255,255,.65);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,.18);

}

.header.scrolled {

    background: rgba(255,255,255,.92);

    box-shadow: 0 14px 40px rgba(0,0,0,.06);

}

.navbar {

    height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}

.logo {

    display: flex;

    align-items: center;

    gap: 14px;

    text-decoration: none;

}

.logo img {

    width: 52px;

    height: 52px;

    object-fit: contain;

}

.logo span {

    font-size: 1.45rem;

    font-weight: 800;

    color: var(--heading-color);

}

.nav-links {

    display: flex;

    align-items: center;

    gap: 36px;

    list-style: none;

}

.nav-links a {

    position: relative;

    text-decoration: none;

    color: var(--text-color);

    font-weight: 700;

    transition: .3s;

}

.nav-links a:hover {

    color: var(--primary-color);

}

.nav-links a::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--primary-color);

    transition: .3s;

}

.nav-links a:hover::after {

    width: 100%;

}

.nav-actions {

    display: flex;

    align-items: center;

    gap: 18px;

}

.menu-toggle {

    display: none;

    width: 52px;

    height: 52px;

    border: none;

    border-radius: 14px;

    background: rgba(122,23,51,.08);

    color: var(--primary-color);

    font-size: 1.6rem;

    cursor: pointer;

}

/* ===========================
   HERO
=========================== */

.hero {

    padding-top: 180px;

    padding-bottom: 120px;

    overflow: hidden;

}

.hero::before {

    content: "";

    position: absolute;

    top: -220px;

    right: -180px;

    width: 620px;

    height: 620px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(122, 23, 51, .14),
            transparent 70%);

    z-index: -1;

}

.hero-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    align-items: center;

    gap: 80px;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 22px;

    background: rgba(122, 23, 51, .08);

    border: 1px solid rgba(122, 23, 51, .15);

    border-radius: 999px;

    color: var(--primary-color);

    font-weight: 700;

    margin-bottom: 24px;

}

.hero-content h1 {

    font-size: clamp(2.8rem, 5vw, 4.7rem);

    line-height: 1.15;

    color: var(--heading-color);

    font-weight: 900;

    margin-bottom: 28px;

}

.hero-content p {

    max-width: 620px;

    font-size: 1.1rem;

    color: var(--text-light);

    margin-bottom: 38px;

}

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

    margin-bottom: 55px;

}

.hero-stats {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

}

.hero-stat {

    min-width: 160px;

    padding: 26px;

    border-radius: 22px;

    background: rgba(255,255,255,.72);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,.45);

    box-shadow: 0 20px 45px rgba(0,0,0,.05);

}

.hero-stat h3 {

    font-size: 2rem;

    color: var(--primary-color);

    margin-bottom: 10px;

    font-weight: 800;

}

.hero-stat span {

    color: var(--text-light);

    font-size: .95rem;

}

.hero-image {

    display: flex;

    justify-content: center;

    align-items: center;

}

.hero-image img {

    width: 100%;

    max-width: 500px;

    animation: floatImage 5s ease-in-out infinite;

    filter: drop-shadow(0 35px 60px rgba(0,0,0,.15));

}

@keyframes floatImage {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

    100% {

        transform: translateY(0);

    }

}

/* ===========================
   COMPANY
=========================== */

.company {

    background: #ffffff;

}

.company-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

}

.company-image {

    display: flex;

    justify-content: center;

}

.company-image img {

    width: 100%;

    max-width: 560px;

}

.company-content {

    display: flex;

    flex-direction: column;

    gap: 24px;

}

.company-item {

    display: flex;

    align-items: flex-start;

    gap: 20px;

    padding: 26px;

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.06);

    border-radius: 24px;

    transition: .35s;

}

.company-item:hover {

    transform: translateY(-8px);

    box-shadow: 0 22px 50px rgba(0,0,0,.08);

}

.company-item i {

    width: 62px;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    background: rgba(122,23,51,.10);

    color: var(--primary-color);

    font-size: 1.7rem;

    flex-shrink: 0;

}

.company-item h3 {

    margin-bottom: 10px;

    font-size: 1.35rem;

    color: var(--heading-color);

}

.company-item p {

    color: var(--text-light);

    line-height: 1.9;

}

/* ===========================
   SOLUTIONS
=========================== */

.solutions {

    background: linear-gradient(180deg,#fafafa 0%,#ffffff 100%);

}

.solutions-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));

    gap: 28px;

}

.solution-card {

    background: #ffffff;

    border-radius: 28px;

    overflow: hidden;

    border: 1px solid rgba(0,0,0,.06);

    transition: .35s;

}

.solution-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 25px 60px rgba(0,0,0,.08);

}

.solution-image {

    padding: 30px 30px 10px;

    display: flex;

    justify-content: center;

}

.solution-image img {

    width: 100%;

    max-width: 220px;

}

.solution-content {

    padding: 30px;

}

.solution-status {

    display: inline-flex;

    padding: 8px 18px;

    border-radius: 999px;

    font-size: .85rem;

    font-weight: 700;

    margin-bottom: 18px;

    background: rgba(122,23,51,.08);

    color: var(--primary-color);

}

.solution-content h3 {

    margin-bottom: 16px;

    font-size: 1.5rem;

    color: var(--heading-color);

}

.solution-content p {

    color: var(--text-light);

    line-height: 1.9;

}

.solution-card.upcoming {

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}

/* ===========================
   VISION
=========================== */

.vision {

    background: #ffffff;

}

.vision-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}

.vision-card {

    position: relative;

    padding: 40px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, .06);

    border-radius: 28px;

    overflow: hidden;

    transition: .35s;

}

.vision-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg,
            rgba(122, 23, 51, .04),
            transparent);

    opacity: 0;

    transition: .35s;

}

.vision-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 28px 60px rgba(0, 0, 0, .08);

}

.vision-card:hover::before {

    opacity: 1;

}

.vision-card i {

    width: 82px;

    height: 82px;

    margin: 0 auto 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 22px;

    background: rgba(122, 23, 51, .10);

    color: var(--primary-color);

    font-size: 2rem;

}

.vision-card h3 {

    margin-bottom: 16px;

    font-size: 1.45rem;

    color: var(--heading-color);

}

.vision-card p {

    color: var(--text-light);

    line-height: 1.9;

}

/* ===========================
   WHY US
=========================== */

.why-us {

    background: linear-gradient(180deg,#fafafa,#ffffff);

}

.features-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 28px;

}

.feature-card {

    padding: 38px 30px;

    text-align: center;

    background: #ffffff;

    border-radius: 28px;

    border: 1px solid rgba(0,0,0,.06);

    transition: .35s;

}

.feature-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 25px 55px rgba(0,0,0,.08);

}

.feature-card img {

    width: 78px;

    height: 78px;

    object-fit: contain;

    margin-bottom: 24px;

}

.feature-card h3 {

    margin-bottom: 15px;

    color: var(--heading-color);

    font-size: 1.35rem;

}

.feature-card p {

    color: var(--text-light);

    line-height: 1.9;

}

/* ===========================
   STATISTICS
=========================== */

.statistics {

    background: var(--primary-color);

    color: #ffffff;

}

.statistics-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.stat-item {

    text-align: center;

    padding: 40px 20px;

}

.stat-item h3 {

    font-size: clamp(2.5rem, 5vw, 4rem);

    font-weight: 900;

    color: #ffffff;

    margin-bottom: 15px;

}

.stat-item p {

    font-size: 1rem;

    color: rgba(255,255,255,.82);

}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonials {

    background: #ffffff;

}

.testimonials-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px,1fr));

    gap: 30px;

}

.testimonial-card {

    padding: 35px;

    border-radius: 28px;

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.06);

    text-align: center;

    transition: .35s;

}

.testimonial-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 24px 55px rgba(0,0,0,.08);

}

.testimonial-card img {

    width: 90px;

    height: 90px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 22px;

}

.testimonial-card h3 {

    color: var(--heading-color);

    margin-bottom: 8px;

    font-size: 1.35rem;

}

.testimonial-card span {

    display: block;

    color: var(--primary-color);

    font-size: .92rem;

    font-weight: 700;

    margin-bottom: 18px;

}

.testimonial-card p {

    color: var(--text-light);

    line-height: 1.9;

}

/* ===========================
   FAQ
=========================== */

.faq {

    background: #fafafa;

}

.faq-list {

    max-width: 900px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.faq-item {

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.06);

    border-radius: 22px;

    overflow: hidden;

    transition: .35s;

}

.faq-item:hover {

    box-shadow: 0 18px 45px rgba(0,0,0,.07);

}

.faq-question {

    width: 100%;

    border: none;

    background: transparent;

    cursor: pointer;

    text-align: right;

    padding: 24px 30px;

    font-family: inherit;

    font-size: 1.1rem;

    font-weight: 700;

    color: var(--heading-color);

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.faq-question::after {

    content: "+";

    font-size: 1.5rem;

    color: var(--primary-color);

    transition: .3s;

}

.faq-item.active .faq-question::after {

    transform: rotate(45deg);

}

.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height .35s ease;

}

.faq-answer p {

    padding: 0 30px 24px;

    color: var(--text-light);

    line-height: 1.9;

}

/* ===========================
   CTA
=========================== */

.cta {

    background: linear-gradient(135deg,
            var(--primary-color),
            #922245);

    color: #ffffff;

}

.cta-box {

    max-width: 900px;

    margin: auto;

    text-align: center;

}

.cta-box h2 {

    font-size: clamp(2.2rem,4vw,3.5rem);

    margin-bottom: 20px;

    color: #ffffff;

}

.cta-box p {

    max-width: 700px;

    margin: 0 auto 40px;

    color: rgba(255,255,255,.85);

    line-height: 2;

}

.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

}

/* ===========================
   CONTACT
=========================== */

.contact {

    background: #ffffff;

}

.contact-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.contact-card {

    padding: 40px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.06);

    border-radius: 28px;

    transition: .35s;

}

.contact-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 24px 55px rgba(0,0,0,.08);

}

.contact-card i {

    width: 80px;

    height: 80px;

    margin: 0 auto 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: rgba(122,23,51,.10);

    color: var(--primary-color);

    font-size: 2rem;

}

.contact-card h3 {

    margin-bottom: 14px;

    font-size: 1.35rem;

    color: var(--heading-color);

}

.contact-card p {

    color: var(--text-light);

    line-height: 1.9;

}

/* ===========================
   FOOTER
=========================== */

.footer {

    background: #111111;

    color: rgba(255,255,255,.75);

    padding-top: 90px;

}

.footer-content {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 60px;

}

.footer-logo img {

    width: 65px;

    margin-bottom: 22px;

}

.footer-about p {

    line-height: 2;

}

.footer h4 {

    color: #ffffff;

    margin-bottom: 24px;

    font-size: 1.2rem;

}

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 14px;

}

.footer-links a {

    color: rgba(255,255,255,.70);

    text-decoration: none;

    transition: .3s;

}

.footer-links a:hover {

    color: #ffffff;

    padding-right: 8px;

}

.social-icons {

    display: flex;

    gap: 14px;

}

.social-icons a {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,.08);

    color: #ffffff;

    text-decoration: none;

    transition: .3s;

}

.social-icons a:hover {

    background: var(--primary-color);

    transform: translateY(-5px);

}

.footer-bottom {

    padding: 28px 0;

    text-align: center;

    border-top: 1px solid rgba(255,255,255,.08);

}

/* ===========================
   BACK TO TOP
=========================== */

.back-to-top {

    position: fixed;

    left: 30px;

    bottom: 30px;

    width: 58px;

    height: 58px;

    border: none;

    border-radius: 18px;

    background: var(--primary-color);

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.35rem;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .35s;

    z-index: 999;

    box-shadow: 0 20px 45px rgba(122,23,51,.35);

}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.back-to-top:hover {

    transform: translateY(-6px);

}

/* ===========================
   PAGE LOADER
=========================== */

.page-loader {

    position: fixed;

    inset: 0;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    transition: opacity .5s ease,
                visibility .5s ease;

}

.page-loader.hide {

    opacity: 0;

    visibility: hidden;

}

.loader-logo img {

    width: 90px;

    animation: loaderPulse 1.8s infinite ease-in-out;

}

@keyframes loaderPulse {

    0% {

        transform: scale(.9);

        opacity: .6;

    }

    50% {

        transform: scale(1);

        opacity: 1;

    }

    100% {

        transform: scale(.9);

        opacity: .6;

    }

}

/* ===========================
   UTILITIES
=========================== */

html {

    scroll-behavior: smooth;

}

::selection {

    background: var(--primary-color);

    color: #ffffff;

}

img {

    max-width: 100%;

    display: block;

}

button,
input,
textarea {

    font-family: inherit;

}

a {

    transition: .3s;

}

.text-center {

    text-align: center;

}

.mt-0 {

    margin-top: 0;

}

.mb-0 {

    margin-bottom: 0;

}