:root {

    /* =========================
       COLORS
    ========================= */

    --color-primary: #163b5a; 
    --color-secondary: #1e4f75; 
    --color-accent: #C8A45D;

    --color-white: #FFFFFF;
    --color-text: #66717B;
    --color-light: #F5F6F7;


    /* =========================
       GRADIENTS
    ========================= */

    --gradient-primary: linear-gradient(
        135deg,
        #163b5a 0%,
        #1e4f75 50%,
        #295e8a 100%
    );

    --gradient-gold: linear-gradient(
        135deg,
        #B88A3B 0%,
        #C8A45D 50%,
        #E0C27A 100%
    );


    /* =========================
       FONTS
    ========================= */

    --font-heading: "Montserrat", sans-serif;
    --font-body: "Inter", sans-serif;
    --font-arabic: "Zahir Arabic", "Almarai", sans-serif; 

}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-primary);
    color: white;
    overflow-x: hidden;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: 100%;
    max-width: 1800px; 
    margin: 0 auto;
    padding-left: 4%;  
    padding-right: 4%; 
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
    background: rgba(22, 59, 90, 0.15); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   LOGO IMAGE
===================================================== */

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img img {
    height: 45px; 
    width: auto;
    object-fit: contain;
}

.fallback-logo {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--color-accent);
}


/* =====================================================
   NAVIGATION
===================================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-accent);
}

.language-toggle {
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    color: var(--color-white);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: .3s ease;
}

.language-toggle:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    background: rgba(22, 59, 90, .65);
    border: 1px solid rgba(200, 164, 93, .45);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-accent);
    border-radius: 2px;
    transition: .3s ease;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    overflow: hidden;
    background: var(--color-primary);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out;
}

.hero-image.active {
    opacity: 1;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: none;
    opacity: 1; 
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(22,59,90,.85) 0%, rgba(22,59,90,.50) 45%, rgba(22,59,90,.15) 100%);
}

.hero-container {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    padding-top: 30px;
    animation: heroContentIn 1.2s ease forwards;
}

@keyframes heroContentIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-label {
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 45px); 
    line-height: 1.1;
    font-weight: 700; 
    margin-bottom: 25px;
}

.hero-content h1 span {
    display: block;
    color: var(--color-accent);
}

.hero-description {
    max-width: 650px;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-button {
    min-height: 50px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: .4s ease;
}

.hero-button.primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.hero-button.secondary {
    border: 1px solid rgba(255,255,255,.6);
    color: white;
}

.hero-button:hover {
    transform: translateY(-3px);
}


/* =====================================================
   HERO BOTTOM INFO BAR
===================================================== */

.hero-bottom-bar {
    position: absolute;
    bottom: 40px; 
    right: 4%; 
    z-index: 10;
    background: transparent; 
}

.hero-bottom-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px; 
}

.hero-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85px; 
    height: 85px;
    border-radius: 50%;
    background: rgba(22, 59, 90, 0.5); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 164, 93, 0.5); 
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-info-item:hover {
    transform: translateY(-5px);
    background: rgba(22, 59, 90, 0.7);
}

.hero-info-number {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 2px;
}

.hero-info-text {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    max-width: 60px;
    line-height: 1.2;
}

.hero-scroll {
    position: absolute;
    left: 4%;
    bottom: 40px; 
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-scroll span {
    font-size: 9px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.6);
}

.scroll-line {
    width: 1px;
    height: 25px;
    margin-top: 8px;
    background: var(--color-accent);
    animation: scrollAnimation 1.8s infinite;
}

@keyframes scrollAnimation {
    0% { opacity: .3; }
    50% { opacity: 1; }
    100% { opacity: .3; }
}


/* =====================================================
   WELCOME / ABOUT SECTION
===================================================== */

.welcome-section {
    position: relative;
    padding: 90px 0; 
    background: var(--gradient-primary);
    color: var(--color-white);
    overflow: hidden;
}

.welcome-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.welcome-content {
    max-width: 750px;
}

.section-label {
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.welcome-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 45px); 
    line-height: 1.1;
    font-weight: 700; 
    margin-bottom: 30px;
    color: var(--color-white);
}

.welcome-content h2 span {
    display: block;
    color: var(--color-accent);
}

.welcome-text {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.section-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 15px 0;
    color: var(--color-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--color-accent);
    transition: 0.3s ease;
}

.section-button span {
    color: var(--color-accent);
    font-size: 22px;
    transition: 0.3s ease;
}

.section-button:hover {
    color: var(--color-accent);
}

.section-button:hover span {
    transform: translateX(6px);
}

/* =====================================================
   RIGHT VISUAL (SHOP PHOTO CARD)
===================================================== */

.welcome-visual {
    position: relative;
    min-height: 500px;
}

.visual-main {
    position: relative;
    height: 300px;
    background: var(--color-secondary);
    overflow: hidden; /* Keeps the image inside the rounded corners */
    border-radius: 4px 4px 0 0;
}

/* The Shop Photo */
.visual-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Dark gradient to make the text visible */
.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 21, 34, 0.95) 0%, rgba(7, 21, 34, 0.4) 50%, transparent 100%);
    z-index: 2;
}

/* Text positioned in the corner */
.visual-title {
    position: absolute;
    bottom: 25px; /* Distance from bottom */
    left: 25px;   /* Distance from left */
    display: flex;
    flex-direction: column;
    z-index: 3;
}

/* The "01" Number */
.visual-number {
    color: var(--color-accent);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 5px;
    font-weight: 700;
}

/* ALLIANCE Text (Made smaller) */
.visual-title strong {
    font-family: var(--font-heading);
    font-size: 28px; /* Reduced from 40px */
    letter-spacing: 2px;
    color: var(--color-white);
    line-height: 1.1;
}

/* TRADE SOLUTIONS LLC Text */
.visual-title span:not(.visual-number) {
    color: var(--color-accent);
    font-size: 9px; /* Made smaller */
    letter-spacing: 3px;
    margin-top: 4px;
}

/* =====================================================
   SERVICE LIST (UNDER THE PHOTO)
===================================================== */

.visual-items {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0 0 4px 4px;
}

.visual-items div {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    transition: 0.3s ease;
}

.visual-items div:last-child {
    border-bottom: none;
}

.visual-items div:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    padding-left: 35px;
}

.visual-items span {
    color: var(--color-accent);
    font-size: 11px;
    letter-spacing: 2px;
}

.visual-items div:hover span {
    color: var(--color-primary);
}

.visual-items strong {
    font-size: 14px;
    font-weight: 600;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
    position: relative;
    padding: 90px 0;
    background: var(--gradient-primary);
    color: var(--color-white);
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(200,164,93,.12);
    border-radius: 50%;
    right: -300px;
    top: -200px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.about-intro {
    padding-top: 10px;
}

.about-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 45px);
    line-height: 1.1;
    font-weight: 700; 
    margin-bottom: 30px;
    color: var(--color-white);
}

.about-intro h2 span {
    display: block;
    color: var(--color-accent);
    white-space: nowrap;
}

.about-intro > p:last-child {
    color: rgba(255,255,255,.68);
    font-size: 15px;
    line-height: 1.9;
    max-width: 550px;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.fact {
    padding: 30px 40px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.fact:last-child {
    border-right: none;
}

.fact strong {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 26px);
    margin-bottom: 8px;
    white-space: nowrap;
}

.fact span {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ceo-message {
    padding: 45px 0 0;
}

.ceo-label {
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.ceo-message blockquote {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 30px;
}

.ceo-message > p:not(.ceo-label) {
    color: rgba(255,255,255,.62);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 750px;
}

.ceo-name {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--color-accent);
}

.ceo-name strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.ceo-name span {
    color: var(--color-accent);
    font-size: 10px;
    letter-spacing: 1.5px;
}


/* =====================================================
   SERVICES SECTION
===================================================== */

.services-section {
    position: relative;
    padding: 90px 0;
    background: var(--gradient-primary);
    color: var(--color-white);
    overflow: hidden;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 50px;
}

.services-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 45px);
    line-height: 1.1;
    font-weight: 700; 
    margin: 0;
    color: var(--color-white);
}

.services-header h2 span {
    display: block;
    color: var(--color-accent);
}

.services-header > p {
    max-width: 600px;
    color: rgba(255,255,255,.65);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 280px 280px 280px;
    gap: 16px;
}

.service-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: var(--color-secondary);
    border-radius: 16px;
    isolation: isolate;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,.20);
    transition: transform .4s ease, box-shadow .4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0,0,0,.35);
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 1;
    opacity: .85;
    transition: transform .7s ease, opacity .5s ease;
}

.service-card:hover img {
    transform: scale(1.07);
    opacity: 1;
}

.service-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(22,59,90,.10) 0%, rgba(22,59,90,.35) 40%, rgba(22,59,90,.95) 100%);
}

.service-card:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 3; min-height: 576px; }
.service-card:nth-child(2) { grid-column: 4 / 7; grid-row: 1; }
.service-card:nth-child(3) { grid-column: 4 / 7; grid-row: 2; }
.service-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.service-card:nth-child(5) { grid-column: 3 / 5; grid-row: 3; }
.service-card:nth-child(6) { grid-column: 5 / 7; grid-row: 3; }

.service-top {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 5;
}

.service-number {
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.service-content {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    z-index: 5;
}

.service-line {
    display: block;
    width: 35px;
    height: 2px;
    margin-bottom: 15px;
    background: var(--color-accent);
    transition: width .4s ease;
}

.service-card:hover .service-line {
    width: 65px;
}

.service-content h3 {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 12px;
}

.service-content p {
    max-width: 600px;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
    border: 1px solid rgba(200,164,93,0);
    border-radius: 16px;
    transition: border-color .4s ease;
}

.service-card:hover::after {
    border-color: rgba(200,164,93,.55);
}


/* =====================================================
   WHY CHOOSE US
===================================================== */

.why-section {
    position: relative;
    padding: 90px 0;
    color: var(--color-white);
    overflow: hidden;
    background: radial-gradient(circle at 80% 15%, rgba(200,164,93,.13), transparent 30%),
                radial-gradient(circle at 10% 85%, rgba(30,79,117,.40), transparent 35%),
                var(--gradient-primary);
}

.why-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -300px;
    top: -280px;
    border: 1px solid rgba(200,164,93,.08);
    border-radius: 50%;
    pointer-events: none;
}

.why-section::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    left: -200px;
    bottom: -200px;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}

.why-header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 100px;
    align-items: end;
    margin-bottom: 50px;
}

.why-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 45px);
    line-height: 1;
    font-weight: 700; 
    margin-top: 10px;
}

.why-header h2 span {
    display: block;
    color: var(--color-accent);
}

.why-header > p {
    max-width: 600px;
    color: rgba(255,255,255,.62);
    font-size: 15px;
    line-height: 1.8;
}

.why-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.why-card {
    position: relative;
    min-height: 280px;
    padding: 35px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease, background .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.why-card::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    right: -100px;
    bottom: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,164,93,.20), transparent 70%);
    transition: transform .6s ease;
    pointer-events: none;
}

.why-card:hover::before {
    transform: scale(1.6);
}

.why-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 35px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width .45s ease;
}

.why-card:hover::after {
    width: 60px;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200,164,93,.35);
    background: linear-gradient(145deg, rgba(200,164,93,.12), rgba(255,255,255,.035));
    box-shadow: 0 25px 60px rgba(0,0,0,.30);
}

.why-card-number {
    position: relative;
    z-index: 2;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 60px;
}

.why-card-content {
    position: relative;
    z-index: 2;
}

.why-card-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 15px;
}

.why-card-content p {
    max-width: 380px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
    padding: 90px 0;
    background: var(--color-primary);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; 
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 45px);
    line-height: 1.1;
    font-weight: 700; 
    margin-bottom: 25px;
}

.contact-info h2 span {
    display: block;
    color: var(--color-accent);
}

.contact-info > p {
    color: rgba(255,255,255,.65);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 450px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-detail .contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(200,164,93,.1);
    border: 1px solid rgba(200,164,93,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 14px;
    color: var(--color-white);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-detail a:hover {
    color: var(--color-accent);
}

.contact-form-wrapper {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    padding: 35px; 
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px; 
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-accent);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.15);
    padding: 12px 14px; 
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: 6px;
    outline: none;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255,255,255,.08);
}

.form-group select option {
    background: var(--color-primary);
    color: white;
}

.submit-btn {
    background: var(--color-accent);
    color: var(--color-primary);
    border: none;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #dfb86a;
    transform: translateY(-2px);
}


/* =====================================================
   FOOTER (COMPACT)
===================================================== */

.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0f2b46 0%, #163b5a 100%);
    color: var(--color-white);
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.08);
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -300px;
    top: -300px;
    border: 1px solid rgba(200,164,93,.08);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    left: -200px;
    bottom: -200px;
    border: 1px solid rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr 1.2fr;
    gap: 40px; /* Reduced gap */
    padding-top: 50px; /* Reduced height */
    padding-bottom: 40px; /* Reduced height */
}

.footer-brand-only {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo-img {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    margin-bottom: 15px; /* Reduced margin */
}

.footer-logo-img img {
    height: 55px; 
    width: auto;
    object-fit: contain;
}

.fallback-logo-footer {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 800;
    color: var(--color-accent);
}

.footer-brand-only > p {
    max-width: 380px;
    color: rgba(255,255,255,.60);
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.75);
    text-decoration: none;
    border-radius: 50%;
    transition: .3s ease;
}

.footer-socials a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    position: relative;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px; /* Reduced margin */
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    background: var(--color-accent);
}

.footer-column > a {
    color: rgba(255,255,255,.60);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px; /* Reduced margin */
    transition: .3s ease;
}

.footer-column > a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-contact {
    min-width: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px; /* Reduced margin */
}

.contact-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    border: 1px solid rgba(200,164,93,.30);
    font-size: 12px;
    border-radius: 50%;
}

.contact-item > div {
    min-width: 0;
}

.contact-item small {
    display: block;
    color: rgba(255,255,255,.40);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.contact-item p, .contact-item a {
    color: rgba(255,255,255,.70);
    font-size: 11px;
    line-height: 1.4;
    text-decoration: none;
    margin: 0;
    transition: .3s ease;
}

.contact-item a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.12);
}

.footer-bottom-container {
    min-height: 50px; /* Slim copyright bar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,.40);
    font-size: 9px;
    margin: 0;
}

.footer-bottom span {
    color: var(--color-accent);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.cr-number {
    color: rgba(255,255,255,.6) !important;
    font-weight: 600;
}


/* =====================================================
   WHATSAPP FLOAT
===================================================== */

.whatsapp-float {
    position: fixed;
    bottom: -100px; 
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: bottom 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s ease, background-color 0.3s ease;
}

.whatsapp-float.show-whatsapp {
    bottom: 30px; 
    animation: pulseWhatsapp 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20ba5a;
    animation: none;
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* =====================================================
   ABOUT → SERVICES DIVIDER
===================================================== */

.about-services-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,164,93,.15) 20%, var(--color-accent) 50%, rgba(200,164,93,.15) 80%, transparent 100%);
    position: relative;
}


/* =====================================================
   SCROLL ANIMATIONS (SLOWER)
===================================================== */

.welcome-content, .welcome-visual,
.about-intro, .about-details,
.services-header, .service-card,
.why-card {
    opacity: 0;
    transform: translateY(50px); /* Moved slightly lower for a better effect */
    transition: opacity 1.3s ease, transform 1.3s ease; /* Slowed down from 0.8s to 1.3s */
}

/* This makes the right side of the welcome section take a tiny bit longer to appear, creating a beautiful stagger effect */
.welcome-visual, .about-details { 
    transition-delay: 0.2s; 
}

.section-visible .welcome-content,
.section-visible .welcome-visual,
.section-visible .about-intro,
.section-visible .about-details,
.section-visible .services-header,
.section-visible .service-card,
.section-visible .why-card {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: .1s; }
.service-card:nth-child(2) { transition-delay: .2s; }
.service-card:nth-child(3) { transition-delay: .3s; }
.service-card:nth-child(4) { transition-delay: .4s; }
.service-card:nth-child(5) { transition-delay: .5s; }
.service-card:nth-child(6) { transition-delay: .6s; }

.why-card:nth-child(1) { transition-delay: .1s; }
.why-card:nth-child(2) { transition-delay: .2s; }
.why-card:nth-child(3) { transition-delay: .3s; }
.why-card:nth-child(4) { transition-delay: .4s; }
.why-card:nth-child(5) { transition-delay: .5s; }
.why-card:nth-child(6) { transition-delay: .6s; }

/* =====================================================
   ARABIC TYPOGRAPHY
===================================================== */

@font-face {
    font-family: 'Zahir Arabic';
    src: local('Zahir Arabic TRIAL'), local('ZahirArabic'), local('Zahir');
    font-weight: normal;
    font-style: normal;
}

html[lang="ar"],
body.arabic-language {
    font-family: var(--font-arabic);
}

html[lang="ar"] p, html[lang="ar"] a, html[lang="ar"] button, html[lang="ar"] span, html[lang="ar"] strong, html[lang="ar"] small,
body.arabic-language p, body.arabic-language a, body.arabic-language button, body.arabic-language span, body.arabic-language strong, body.arabic-language small {
    font-family: var(--font-arabic);
    letter-spacing: 0;
}

html[lang="ar"] .hero h1,
body.arabic-language .hero h1 {
    font-family: var(--font-arabic);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.35;
    font-weight: 700;
}

html[lang="ar"] .hero-description,
body.arabic-language .hero-description {
    font-family: var(--font-arabic);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
}

html[lang="ar"] .welcome-section h2,
html[lang="ar"] .about-section h2,
html[lang="ar"] .services-section h2,
html[lang="ar"] .why-section h2,
html[lang="ar"] .contact-section h2,
body.arabic-language .welcome-section h2,
body.arabic-language .about-section h2,
body.arabic-language .services-section h2,
body.arabic-language .why-section h2,
body.arabic-language .contact-section h2 {
    font-family: var(--font-arabic);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.45;
    font-weight: 700;
}

html[lang="ar"] .service-card h3,
html[lang="ar"] .why-card h3,
body.arabic-language .service-card h3,
body.arabic-language .why-card h3 {
    font-family: var(--font-arabic);
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 700;
}

html[lang="ar"] .main-nav a,
body.arabic-language .main-nav a {
    font-family: var(--font-arabic);
    font-size: 1rem;
    font-weight: 500;
}

html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .hero-overlay { background: linear-gradient(270deg, rgba(22,59,90,.85) 0%, rgba(22,59,90,.50) 45%, rgba(22,59,90,.15) 100%); }
html[dir="rtl"] .hero-content { text-align: right; }
html[dir="rtl"] .section-button { flex-direction: row-reverse; }
html[dir="rtl"] .contact-item { flex-direction: row; }
html[dir="rtl"] .whatsapp-float { right: auto; left: 30px; }
html[dir="rtl"] .hero-bottom-container { justify-content: flex-start; }
html[dir="rtl"] .hero-bottom-bar { right: auto; left: 4%; }
html[dir="rtl"] .hero-scroll { left: auto; right: 4%; align-items: flex-end;}


/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 1100px) {
    .main-nav { gap: 25px; }
    .welcome-container, .about-container, .services-header, .why-header { gap: 60px; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    
    .main-nav.active {
        position: absolute;
        top: calc(100% + 15px);
        left: 4%; right: 4%;
        display: flex; flex-direction: column; gap: 0;
        padding: 15px;
        background: rgba(22, 59, 90, .98);
        border: 1px solid rgba(200, 164, 93, .20);
        border-radius: 16px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, .40);
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    .main-nav a { width: 100%; padding: 18px 20px; border-radius: 10px; font-size: 16px; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(10px); }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero-bottom-bar { bottom: 30px; right: 50%; transform: translateX(50%); }
    .hero-bottom-container { justify-content: center; gap: 15px; }
    .hero-info-item { width: 75px; height: 75px; }
    .hero-info-number { font-size: 16px; }
    .hero-info-text { font-size: 8px; }
    
    .hero-scroll { display: none; }

    .welcome-container, .about-container, .services-header, .why-header { grid-template-columns: 1fr; gap: 40px; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .service-card:nth-child(1) { grid-column: span 2; min-height: 400px; }
    .service-card:nth-child(2), .service-card:nth-child(3), .service-card:nth-child(4), .service-card:nth-child(5), .service-card:nth-child(6) { grid-column: span 1; min-height: 350px; }
    
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .footer-brand-only { grid-column: span 2; align-items: center; text-align: center; }
    .footer-logo-img { justify-content: center; }
}

@media (max-width: 600px) {
    .services-grid, .why-grid { grid-template-columns: 1fr; }
    .service-card:nth-child(1), .service-card:nth-child(2), .service-card:nth-child(3), .service-card:nth-child(4), .service-card:nth-child(5), .service-card:nth-child(6) { grid-column: 1; min-height: 320px; }
    
    .about-facts { grid-template-columns: 1fr; }
    .fact { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 20px; }
    
    .footer-container { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; }
    .footer-brand-only { grid-column: 1; align-items: center; text-align: center; }
    .footer-bottom-container { flex-direction: column; text-align: center; padding: 15px 0; gap: 5px; }
    .contact-form-wrapper { padding: 25px; }
}
/* =====================================================
   SUCCESS NOTIFICATION
===================================================== */
.success-notification {
    position: fixed;
    top: -100px; /* Start hidden above the screen */
    left: 50%;
    transform: translateX(-50%);
    background: #25D366; /* WhatsApp Green */
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Smooth drop down */
    width: 90%;
    max-width: 400px;
}

.success-notification.show {
    top: 20px; /* Slide down into view */
}

.success-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-icon {
    background: white;
    color: #25D366;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.success-content strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.success-content p {
    font-size: 12px;
    margin: 0;
    color: rgba(255,255,255,0.9);
}