/* ============================
   MMAR NAQEL — Main Stylesheet
   ============================ */

/* ---------- CSS Variables ---------- */
:root {
    --gold: #C9A227;
    --gold-light: #DEBB3F;
    --gold-lighter: #FDF5DC;
    --gold-dark: #A8871B;
    --gold-gradient: linear-gradient(135deg, #C9A227, #DEBB3F);
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-grey: #F5F5F5;
    --mid-grey: #E0E0E0;
    --dark: #1A1A1A;
    --dark-grey: #333333;
    --text: #2D2D2D;
    --text-light: #666666;
    --text-lighter: #999999;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-lighter);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-family: var(--font-primary);
}

.section-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: 12px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 0.85rem;
    transition: transform var(--transition);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 162, 39, 0.35);
}

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

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Section Spacing ---------- */
.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background: var(--off-white);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-svg {
    width: 44px;
    height: 48px;
    flex-shrink: 0;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand .logo-en {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-brand .logo-ar {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 1px;
    font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--gold);
}

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

.nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

.nav-cta {
    padding: 6px 18px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Desktop: sign-in sits inside nav-links — prevent nav-link text styles bleeding in */
.nav-cta-item {
    display: flex;
    align-items: center;
}

.nav-links .nav-cta {
    color: var(--white);
}

.nav-links .nav-cta::after {
    display: none;
}

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

.navbar.scrolled .nav-links .nav-cta {
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44,44,68,0.75) 0%, rgba(42,58,92,0.7) 50%, rgba(30,74,122,0.7) 100%),
                url('../images/background2.jpeg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
    animation: heroPulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(222, 187, 63, 0.14) 0%, transparent 70%);
    animation: heroPulse 10s ease-in-out infinite reverse;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(201, 162, 39, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-family: var(--font-primary);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 400;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

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

.about-image {
    position: relative;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold-gradient);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.about-content h3 {
    margin-bottom: 16px;
}

.about-content > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gold-lighter);
    color: var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.about-feature h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* About Pillars (Mission / Vision / Why Us) */
.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px;
}

.about-pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gold-lighter);
    color: var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.about-pillar h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.about-pillar p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.why-us-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.why-us-list li i {
    color: var(--gold);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ========================================
   QUOTE BREAKS
   ======================================== */
.quote-break {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #2c2c44 0%, #1e4a7a 100%);
    overflow: hidden;
}

.quote-break-2 {
    background: linear-gradient(135deg, #1e4a7a 0%, #2c2c44 100%);
}

.quote-break-3 {
    background: linear-gradient(135deg, #2a3a5c 0%, #2c2c44 100%);
}

/* ========================================
   IMAGE BREAK
   ======================================== */
.image-break {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.image-break img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.quote-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><line x1="0" y1="100" x2="100" y2="0" stroke="rgba(212,160,23,0.05)" stroke-width="1"/></svg>');
    background-size: 50px 50px;
}

.quote-break blockquote {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-break blockquote i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
    opacity: 0.6;
}

.quote-break blockquote p {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--white);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 16px;
}

.quote-break blockquote cite {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gold);
    font-style: normal;
    font-weight: 500;
}

/* ========================================
   SERVICES
   ======================================== */
.service-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold-lighter);
}

.category-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gold-gradient);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-gold);
}

.category-header h3 {
    margin-bottom: 2px;
    font-family: var(--font-primary);
    font-weight: 700;
}

.category-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold-gradient);
    transition: height var(--transition);
    border-radius: 0 0 2px 2px;
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card:hover::before {
    height: 100%;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-lighter);
    color: var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: var(--gold-gradient);
    color: var(--white);
}

.service-card h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform var(--transition);
}

.card-link:hover {
    color: var(--gold-dark);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Service Register Button */
.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--gold-lighter);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    margin-top: 4px;
}

.btn-service i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.btn-service:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.btn-service:hover i {
    transform: translateX(3px);
}

.services-cta {
    text-align: center;
    background: linear-gradient(135deg, #2c2c44 0%, #2a3a5c 100%);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    margin-top: 20px;
}

.services-cta h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.services-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   VALUES CONVEYOR
   ======================================== */
.values-section {
    overflow: hidden;
    background: var(--white) !important;
}

.conveyor-wrapper {
    margin-top: 40px;
    position: relative;
}

.conveyor-track {
    overflow: hidden;
    padding: 20px 0;
}

.conveyor-belt {
    display: flex;
    gap: 32px;
    animation: conveyorScroll 30s linear infinite;
    width: max-content;
}

.conveyor-belt:hover {
    animation-play-state: paused;
}

@keyframes conveyorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.value-item {
    background: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    min-width: 220px;
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    width: 52px;
    height: 52px;
    background: var(--gold-lighter);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 14px;
}

.value-item h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.conveyor-base {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 12px;
}

.conveyor-roller {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 50%;
    border: 3px solid var(--gold-dark);
    flex-shrink: 0;
}

.conveyor-line {
    flex: 1;
    height: 6px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid var(--mid-grey);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.portfolio-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card.hidden {
    display: none;
}

.portfolio-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a3a54 0%, #2e5480 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(201, 162, 39, 0.3);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-img-placeholder {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
    width: fit-content;
}

.portfolio-overlay h4 {
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 6px;
}

.portfolio-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ========================================
   PARTNERS
   ======================================== */
.partners-section {
    background: var(--white) !important;
}

.partners-marquee {
    overflow: hidden;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: partnersScroll 25s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo {
    flex-shrink: 0;
}

.partner-placeholder {
    width: 160px;
    height: 80px;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}


/* ========================================
   BLOG
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.blog-img {
    position: relative;
    aspect-ratio: 16/9;
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a3a54 0%, #2e4468 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(201, 162, 39, 0.3);
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.blog-content {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--gold-lighter);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.blog-content h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    background: var(--off-white) !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--mid-grey);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gold-lighter);
    color: var(--gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-card h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--mid-grey);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.optional-label {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--light-grey);
    border: 1px solid var(--mid-grey);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-lighter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
}

.form-success.visible {
    display: block;
}

.form-success i {
    font-size: 2rem;
    color: #22c55e;
    margin-bottom: 8px;
}

.form-success p {
    color: #166534;
    font-size: 0.9rem;
}

.form-error {
    display: none;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
}

.form-error.visible {
    display: block;
}

.form-error i {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 8px;
}

.form-error p {
    color: #991b1b;
    font-size: 0.9rem;
}

.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #222233;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-map h4 {
    color: #f4a62a; /* same orange tone as your title */
    margin-bottom: 15px;
}

.map-container iframe {
    border-radius: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 3px;
    transition: 0.3s ease;
    margin-left: 12px;
}

.navbar.scrolled .lang-switch {
    background: var(--light-grey);
    border-color: var(--mid-grey);
}

.lang-switch a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s ease;
    text-decoration: none;
}

.navbar.scrolled .lang-switch a {
    color: var(--text-light);
}

.lang-switch a.active {
    background: var(--gold);
    color: var(--white);
}

.lang-switch a:hover:not(.active) {
    color: var(--gold);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gold-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-4px);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .nav-links.active li {
        width: 100%;
    }

    .nav-links.active a {
        color: var(--text) !important;
        font-size: 1rem;
    }

    /* Sign In — shown inside the dropdown, full width */
    .nav-cta-item {
        width: 100%;
    }

    .nav-links.active .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 11px 24px;
        font-size: 1rem;
        color: var(--white) !important;
    }

    .hamburger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-experience-badge {
        right: 20px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .quote-break {
        padding: 60px 0;
    }

    .image-break img {
        height: 250px;
    }

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services-cta {
        padding: 32px 24px;
    }

    /* Narrow phones: collapse to single column */
    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SHIPMENT TRACKING — Hero field
   ======================================== */
.hero-track {
    max-width: 520px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 6px 6px 6px 22px;
}

.hero-track input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 10px 4px;
}

.hero-track input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hero-track .btn {
    flex-shrink: 0;
    padding: 10px 22px;
}

html[dir="rtl"] .hero-track {
    padding: 6px 22px 6px 6px;
    font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
}

html[dir="rtl"] .hero-track input {
    font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
}

@media (max-width: 560px) {
    .hero-track {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px;
    }
    .hero-track input {
        width: 100%;
        padding: 12px 14px;
        text-align: center;
    }
    .hero-track .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Screen-reader-only (visually hidden but accessible) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--mid-grey);
    border-radius: var(--radius-md);
    padding: 0;
    transition: var(--transition);
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-heading);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.95rem;
}

.faq-item p a {
    color: var(--gold);
    font-weight: 600;
}

.faq-item p a:hover { text-decoration: underline; }

html[dir="rtl"] .faq-item summary,
html[dir="rtl"] .faq-item p {
    font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
    text-align: right;
}

