/* =============================================
   AMUN Fabrics & Waves - Main Stylesheet
   ============================================= */

/* -----------------------------------------
   CSS Variables / Design Tokens
   ----------------------------------------- */
:root {
    /* Colors */
    --nile-blue: #0B1D3E;
    --papyrus-white: #F8F6F1;
    --pyramid-stone: #3A3633;
    --pharaonic-gold: #C9A961;
    --lotus-bronze: #B8754D;
    --desert-sand: #D4C5B0;
    --nile-teal: #2A5F6C;
    --linen-beige: #E8DCC8;
    --pure-white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 20px rgba(11, 29, 62, 0.1);
    --shadow-md: 0 10px 30px rgba(11, 29, 62, 0.1);
    --shadow-lg: 0 15px 40px rgba(11, 29, 62, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--pyramid-stone);
    background: var(--papyrus-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* -----------------------------------------
   RTL Support
   ----------------------------------------- */
body.rtl {
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
}

body.rtl .font-display,
body.rtl .hero-label,
body.rtl .section-label,
body.rtl .hero h1,
body.rtl .section-header h2,
body.rtl .about-text h3,
body.rtl .value-card h3,
body.rtl .structure-card-header h3,
body.rtl .industry-card h4,
body.rtl .contact-info h3,
body.rtl .contact-form-wrapper h3,
body.rtl .footer-brand h3,
body.rtl .footer-links h4 {
    font-family: 'Cairo', sans-serif;
}

body.rtl .btn,
body.rtl .form-group input,
body.rtl .form-group textarea {
    font-family: 'Tajawal', sans-serif;
}

/* -----------------------------------------
   Utility Classes
   ----------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* -----------------------------------------
   Animations
   ----------------------------------------- */

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-slow);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--transition-slow);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--transition-slow);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(0.55); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

/* -----------------------------------------
   Decorative Elements
   ----------------------------------------- */
.pyramid-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--pharaonic-gold) 50%, transparent 100%);
    position: relative;
    margin: var(--spacing-xl) 0;
}

.pyramid-divider::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: var(--pharaonic-gold);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* -----------------------------------------
   Navigation
   ----------------------------------------- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 246, 241, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 2px solid var(--pharaonic-gold);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

nav.scrolled {
    padding: var(--spacing-xs) 0;
    box-shadow: 0 5px 30px rgba(11, 29, 62, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding var(--transition-fast);
}

nav.scrolled .nav-container {
    padding: var(--spacing-sm) var(--spacing-xl);
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-symbol {
    width: 45px;
    height: 45px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.logo-symbol:hover {
    transform: rotate(30deg);
}

.logo-symbol img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--nile-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--lotus-bronze);
    letter-spacing: 2px;
    display: block;
    margin-top: -5px;
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

.nav-links a {
    color: var(--pyramid-stone);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
    letter-spacing: 0.5px;
}

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

body.rtl .nav-links a::after {
    left: auto;
    right: 0;
}

.nav-links a:hover {
    color: var(--nile-blue);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    background: var(--pure-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--desert-sand);
}

.lang-option {
    padding: 0.3rem 0.8rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    color: var(--pyramid-stone);
}

.lang-option.active {
    background: var(--pharaonic-gold);
    color: var(--pure-white);
}

.lang-option:not(.active):hover {
    background: var(--linen-beige);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--spacing-xs);
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--nile-blue);
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--papyrus-white);
    border-bottom: 2px solid var(--pharaonic-gold);
    box-shadow: var(--shadow-md);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.mobile-nav.active {
    max-height: 400px;
}

.mobile-nav ul {
    padding: var(--spacing-sm) 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--linen-beige);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-xl);
    color: var(--pyramid-stone);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    background: var(--linen-beige);
    color: var(--nile-blue);
    padding-left: 3.5rem;
}

body.rtl .mobile-nav a:hover {
    padding-left: var(--spacing-xl);
    padding-right: 3.5rem;
}

/* -----------------------------------------
   Buttons
   ----------------------------------------- */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 1px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-medium);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--pharaonic-gold);
    color: var(--nile-blue);
    box-shadow: 0 5px 25px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background: #D4AF6F;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.btn-secondary:hover {
    background: var(--pure-white);
    color: var(--nile-blue);
}

/* -----------------------------------------
   Hero Section
   ----------------------------------------- */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, var(--nile-blue) 0%, #0F2750 50%, var(--nile-teal) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
}

/* Wave Background */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23F8F6F1' d='M0,60 C150,120 350,0 600,60 C850,120 1050,0 1200,60 L1200,120 L0,120 Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 50% 100%;
    animation: wave 8s linear infinite;
}

.wave:nth-child(2) {
    opacity: 0.5;
    animation-delay: -2s;
    animation-duration: 10s;
}

.wave:nth-child(3) {
    opacity: 0.3;
    animation-delay: -4s;
    animation-duration: 12s;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(201, 169, 97, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Hero Content */
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    position: relative;
    z-index: 2;
}

body.rtl .hero-content {
    text-align: right;
}

.hero-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pharaonic-gold);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--pure-white);
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-family: var(--font-elegant);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--pharaonic-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.4s both;
}

body.rtl .hero-subtitle {
    font-family: 'Cairo', sans-serif;
    font-style: normal;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin-bottom: var(--spacing-xl);
    line-height: 1.9;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.8s both;
}

body.rtl .cta-buttons {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* -----------------------------------------
   Section Styles
   ----------------------------------------- */
section {
    padding: var(--spacing-xxl) var(--spacing-xl);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--lotus-bronze);
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--nile-blue);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--pyramid-stone);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.8;
}

/* -----------------------------------------
   About Section
   ----------------------------------------- */
.about-section {
    background: var(--pure-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

body.rtl .about-content {
    direction: rtl;
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--nile-blue);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
    color: var(--pyramid-stone);
}

.quote-text {
    font-style: italic;
    color: var(--lotus-bronze);
}

/* Stats Grid */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--papyrus-white);
    border-top: 3px solid var(--pharaonic-gold);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--pharaonic-gold);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pyramid-stone);
    font-weight: 600;
}

/* -----------------------------------------
   Structure Section
   ----------------------------------------- */
.structure-section {
    background: linear-gradient(135deg, var(--nile-blue) 0%, var(--nile-teal) 100%);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.structure-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='rgba(201,169,97,0.1)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.structure-section .section-header h2,
.structure-section .section-label {
    color: var(--pure-white);
}

.structure-section .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

/* Construction Notice */
.construction-notice {
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid var(--pharaonic-gold);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg) 2.5rem;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.construction-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 97, 0.3);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.construction-icon::before {
    content: '◊';
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--pharaonic-gold);
    font-weight: 700;
}

.construction-notice p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Structure Grid */
.structure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.structure-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.3);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.structure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--pharaonic-gold);
}

.structure-card-header {
    background: rgba(201, 169, 97, 0.2);
    padding: var(--spacing-lg) 2.5rem;
    border-bottom: 1px solid rgba(201, 169, 97, 0.3);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.structure-header-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pharaonic-gold), #D4AF6F);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    flex-shrink: 0;
}

.structure-header-icon::before {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--nile-blue);
    font-weight: 700;
}

.structure-header-icon.factory::before { content: '⬡'; }
.structure-header-icon.office::before { content: '◈'; }

.structure-card-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--pharaonic-gold);
    margin: 0;
}

.structure-card-body {
    padding: var(--spacing-lg) 2.5rem;
}

.structure-info {
    margin-bottom: var(--spacing-md);
}

.structure-info h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pharaonic-gold);
    margin-bottom: var(--spacing-xs);
}

.structure-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.structure-highlight {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(201, 169, 97, 0.15);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
}

.highlight-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--pharaonic-gold);
}

.highlight-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Map Container */
.map-container {
    height: 200px;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%);
    transition: filter var(--transition-fast);
}

.structure-card:hover .map-container iframe {
    filter: grayscale(0%);
}

/* -----------------------------------------
   Values Section
   ----------------------------------------- */
.values-section {
    background: var(--papyrus-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.value-card {
    background: var(--pure-white);
    padding: var(--spacing-xl) 2.5rem;
    position: relative;
    border-left: 4px solid var(--pharaonic-gold);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

body.rtl .value-card {
    border-left: none;
    border-right: 4px solid var(--pharaonic-gold);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--pharaonic-gold) 0%, transparent 100%);
}

body.rtl .value-card::before {
    background: linear-gradient(-90deg, var(--pharaonic-gold) 0%, transparent 100%);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--nile-blue), var(--nile-teal));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pharaonic-gold);
    transition: transform var(--transition-fast);
}

.value-icon::before {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.value-icon.performance::before { content: '◆'; }
.value-icon.precision::before { content: '◊'; }
.value-icon.innovation::before { content: '◈'; }
.value-icon.partnership::before { content: '⬡'; }

.value-card:hover .value-icon {
    transform: rotate(90deg);
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--nile-blue);
    margin-bottom: var(--spacing-sm);
}

.value-card p {
    color: var(--pyramid-stone);
    line-height: 1.8;
}

/* -----------------------------------------
   Industries Section
   ----------------------------------------- */
.industries-section {
    background: var(--pure-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.industry-card {
    background: var(--papyrus-white);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    border: 1px solid var(--desert-sand);
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pharaonic-gold);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(0deg, rgba(11, 29, 62, 0.05), transparent);
    transition: height var(--transition-fast);
}

.industry-card:hover {
    background: var(--pure-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pharaonic-gold);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card:hover::after {
    height: 100%;
}

.industry-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nile-blue), var(--nile-teal));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: transform var(--transition-fast);
}

.industry-icon::before {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--pharaonic-gold);
    font-weight: 700;
}

.industry-icon.hospitality::before { content: '◈'; }
.industry-icon.healthcare::before { content: '◊'; }
.industry-icon.workwear::before { content: '⬡'; }
.industry-icon.technical::before { content: '◬'; }

.industry-card:hover .industry-icon {
    transform: scale(1.1) rotate(45deg);
}

.industry-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nile-blue);
    position: relative;
    z-index: 1;
}

/* -----------------------------------------
   Contact Section
   ----------------------------------------- */
.contact-section {
    background: var(--papyrus-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
}

body.rtl .contact-grid {
    direction: rtl;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--nile-blue);
    margin-bottom: var(--spacing-lg);
}

.contact-tagline {
    font-style: italic;
    color: var(--lotus-bronze);
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--pure-white);
    border-left: 3px solid var(--pharaonic-gold);
    transition: transform var(--transition-fast);
}

body.rtl .contact-item {
    border-left: none;
    border-right: 3px solid var(--pharaonic-gold);
}

.contact-item:hover {
    transform: translateX(10px);
}

body.rtl .contact-item:hover {
    transform: translateX(-10px);
}

.contact-item h4 {
    font-weight: 600;
    color: var(--lotus-bronze);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--pyramid-stone);
    margin: 0;
}

.contact-item a {
    color: var(--nile-teal);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--pharaonic-gold);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--pure-white);
    padding: var(--spacing-xl);
    border-left: 4px solid var(--pharaonic-gold);
}

body.rtl .contact-form-wrapper {
    border-left: none;
    border-right: 4px solid var(--pharaonic-gold);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    color: var(--nile-blue);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--pyramid-stone);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--desert-sand);
    background: var(--papyrus-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pharaonic-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

/* -----------------------------------------
   Footer
   ----------------------------------------- */
footer {
    background: var(--nile-blue);
    color: var(--pure-white);
    padding: var(--spacing-xxl) var(--spacing-xl) var(--spacing-lg);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pharaonic-gold);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto var(--spacing-xl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
}

body.rtl .footer-grid {
    direction: rtl;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--pharaonic-gold);
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--pharaonic-gold);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.footer-brand p {
    opacity: 0.85;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    margin-bottom: var(--spacing-md);
    color: var(--pharaonic-gold);
    font-size: 1.1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    line-height: 2.2;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--pharaonic-gold);
    transform: translateX(5px);
}

body.rtl .footer-links a:hover {
    transform: translateX(-5px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    text-align: center;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* -----------------------------------------
   Scroll to Top Button
   ----------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--pharaonic-gold);
    color: var(--nile-blue);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--nile-blue);
    color: var(--pharaonic-gold);
}

body.rtl .scroll-top {
    right: auto;
    left: 30px;
}

/* -----------------------------------------
   Responsive Styles
   ----------------------------------------- */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .nav-container {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    section {
        padding: var(--spacing-xxl) var(--spacing-lg);
    }

    .hero-content {
        padding: 0 var(--spacing-lg);
    }

    .structure-grid {
        gap: var(--spacing-lg);
    }

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

/* Tablets */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

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

    .mobile-nav {
        display: block;
    }

    .nav-right {
        gap: var(--spacing-md);
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --spacing-xl: 1.5rem;
        --spacing-xxl: 3rem;
    }

    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .logo-symbol {
        width: 35px;
        height: 35px;
    }

    .lang-switcher {
        padding: 0.4rem 0.8rem;
    }

    .lang-option {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }

    section {
        padding: var(--spacing-xxl) var(--spacing-md);
    }

    .hero-content {
        padding: 0 var(--spacing-md);
    }

    .hero-label {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .btn {
        padding: 0.9rem var(--spacing-lg);
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .construction-notice {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .structure-card-header,
    .structure-card-body {
        padding: var(--spacing-md);
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    footer {
        padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    body.rtl .scroll-top {
        right: auto;
        left: 20px;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {
    .logo-wrapper > div:last-child {
        display: none;
    }

    .nav-right {
        gap: var(--spacing-sm);
    }
}