/* ===================================
   Golden Film - Premium Studio Website
   CSS Variables & Base Styles
   =================================== */

:root {
    /* Brand Colors */
    --primary-blue-dark: #0D1F6F;
    --primary-blue: #142A85;
    --primary-gold: #D4A63A;
    --primary-gold-light: #E3C16F;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4A63A 0%, #E3C16F 100%);
    --gradient-blue: linear-gradient(135deg, #0D1F6F 0%, #142A85 100%);
    --gradient-dark: linear-gradient(180deg, rgba(13, 31, 111, 0.95) 0%, rgba(20, 42, 133, 0.95) 100%);

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-dark: #1a1a1a;
    --color-gray-dark: #2a2a2a;
    --color-gray: #666666;
    --color-gray-light: #e5e5e5;
    --color-gray-lighter: #f8f8f8;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Tajawal', sans-serif;
    --font-display: 'Tajawal', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 8px 32px rgba(212, 166, 58, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===================================
   Reset & Base Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    direction: rtl;
}

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

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

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

/* ===================================
   Preloader
   =================================== */

/* ===================================
   Preloader - Cinematic
   =================================== */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.preloader-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-frame-container {
    position: relative;
    width: 70%;
    max-width: 900px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.5s ease-in-out, opacity 1s ease-in-out;
}

.gold-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(212, 166, 58, 0.5),
        inset 0 0 20px rgba(212, 166, 58, 0.3);
    animation: frameGlow 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.preloader-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    z-index: 1;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.preloader-text-container {
    margin-top: 3rem;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#typewriter-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 166, 58, 0.5);
    margin: 0;
}

.cursor {
    font-size: 1.8rem;
    color: var(--primary-gold);
    animation: blink 0.8s infinite;
}

/* Animations */
@keyframes frameGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 166, 58, 0.5),
            inset 0 0 20px rgba(212, 166, 58, 0.3);
        border-color: var(--primary-gold);
    }

    50% {
        box-shadow: 0 0 40px rgba(212, 166, 58, 0.8),
            inset 0 0 40px rgba(212, 166, 58, 0.5);
        border-color: #F4D076;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Exit Animation Classes */
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.video-frame-container.zoom-out {
    transform: scale(5);
    /* Zoom effect */
    opacity: 0;
}

.preloader-text-container.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .video-frame-container {
        width: 90%;
    }

    #typewriter-text {
        font-size: 1.2rem;
    }

    .cursor {
        font-size: 1.2rem;
    }
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(13, 31, 111, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo {
    height: 60px;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo {
    height: 50px;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown .fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.nav-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 42, 133, 0.98);
    backdrop-filter: blur(20px);
    min-width: 280px;
    padding: 1rem 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: rgba(212, 166, 58, 0.1);
    padding-right: 2rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ===================================
   Buttons
   =================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E3C16F 0%, #D4A63A 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 166, 58, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

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

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-link:hover {
    gap: 1rem;
}

/* ===================================
   Container
   =================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 31, 111, 0.7);
    /* background: rgba(212, 166, 58, 0.7); Gold Experiment */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 8rem 0 4rem;
    width: 100%;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1.3rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 0.85rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ===================================
   Section Styles
   =================================== */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.15rem;
    color: var(--color-gray);
    line-height: 1.8;
}

/* ===================================
   About Preview Section
   =================================== */

.about-preview {
    background: var(--color-gray-lighter);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding: 2rem;
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-gold);
}

.about-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.about-text h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-style: italic;
}

.visual-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    height: 500px;
}

.visual-item {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.visual-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.visual-large {
    grid-row: span 2;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 31, 111, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.visual-item:hover .visual-overlay {
    background: rgba(212, 166, 58, 0.9);
}

.visual-overlay i {
    font-size: 3rem;
}

.visual-overlay span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
    border: 1px solid var(--color-gray-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
    transform: rotateY(360deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 600;
    transition: var(--transition-normal);
}

.service-link:hover {
    gap: 1rem;
}

.service-number {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(212, 166, 58, 0.1);
    font-family: var(--font-display);
    line-height: 1;
}

.services-cta {
    text-align: center;
}

/* ===================================
   Portfolio Preview Section
   =================================== */

.portfolio-preview {
    background: var(--color-dark);
    color: var(--color-white);
}

.portfolio-preview .section-badge {
    background: rgba(212, 166, 58, 0.2);
    color: var(--primary-gold);
}

.portfolio-preview .section-title,
.portfolio-preview .section-description {
    color: var(--color-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-large {
    grid-row: span 2;
    grid-column: span 2;
}

.portfolio-wide {
    grid-column: span 2;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--primary-gold) 100%);
    position: relative;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 31, 111, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition-normal);
}

.portfolio-link:hover {
    background: var(--primary-gold);
    transform: scale(1.1);
}

.portfolio-cta {
    text-align: center;
}

/* ===================================
   Why Choose Us Section
   =================================== */

.why-choose-us {
    background: linear-gradient(135deg, var(--color-gray-lighter) 0%, var(--color-white) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

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

.feature-card:hover::before {
    width: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* ===================================
   Contact Form Section
   =================================== */

.contact-form-section {
    background: var(--gradient-blue);
    color: var(--color-white);
    padding: 6rem 0;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 166, 58, 0.3);
    /* Gold border hint */
    width: 100%;
    max-width: 800px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--color-white);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
    width: 100%;
}

/* Custom Dropdown */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.custom-select-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-gold);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: rgba(255, 255, 255, 0.2);
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--primary-gold);
    border-top: 0;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    background: rgba(13, 31, 111, 0.95);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: rgba(212, 166, 58, 0.2);
    padding-right: 2rem;
}

.custom-option.selected {
    background: var(--primary-gold);
    color: var(--color-dark);
    font-weight: 600;
}

.custom-option.selected::after {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Scrollbar for options */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.custom-options::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 3px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(212, 166, 58, 0.2);
}

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

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.7fr 1.2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.footer-section ul {
    list-style: none;
}

.services-container {
    display: flex;
    gap: 2rem;
}

.services-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    display: inline-block;
    white-space: nowrap;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
    transform: translateX(-5px);
}

.btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.btn-footer:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 166, 58, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-list i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom i {
    color: var(--primary-gold);
}

/* ===================================
   Scroll to Top Button
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    cursor: pointer;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .nav-list {
        gap: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 250px);
    }

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

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        /* Reduced width for better fit */
        max-width: 80vw;
        height: 100vh;
        background: var(--gradient-dark);
        padding: 5rem 2rem 2rem;
        transition: var(--transition-normal);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        /* Shadow on the left */
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-link {
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-normal);
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .menu-toggle {
        display: flex;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .portfolio-large,
    .portfolio-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 300px);
    }

    .visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .visual-large {
        grid-row: span 1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 45px;
    }

    .navbar.scrolled .logo {
        height: 40px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-content {
        padding: 6rem 0 3rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        left: 1rem;
    }
}

/* ===== تأثير النص الذهبي اللامع ===== */
/* أضف هذا في نهاية ملف style.css */

.gradient-text {
    background: linear-gradient(to right,
            var(--primary-gold),
            var(--primary-gold-light),
            #F4D076,
            var(--primary-gold-light),
            var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(227, 193, 111, 0.3));
    animation: goldShine 4s linear infinite;
}

@keyframes goldShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* يمكن استخدامه على أي عنوان بإضافة class="gradient-text" */
/* ===================================
   Tajawal Font Weight Specifications
   =================================== */

/* Headings - Use Bold/Extra Bold weights */
h1,
.hero-title,
.section-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    /* Extra Bold for main titles */
}

h2 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    /* Bold for secondary titles */
}

h3 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    /* Bold for section headings */
}

h4,
h5,
h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    /* Medium for smaller headings */
}

/* Body text - Regular weight */
body,
p,
.section-description,
.hero-description {
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    /* Regular for body text */
}

/* Buttons and CTAs - Medium/Bold */
.btn-primary,
.btn-secondary,
.cta-btn {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    /* Bold for buttons */
}

/* Navigation - Medium weight */
.nav-link {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    /* Medium for navigation */
}

/* Stats and numbers - Bold */
.stat-number {
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    /* Black for numbers */
}

/* Labels and tags - Medium */
.section-badge,
.hero-badge {
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    /* Medium for badges */
}

/* Service/Feature cards titles - Bold */
.service-title,
.feature-card h3 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    /* Bold for card titles */
}

/* Light text for descriptions */
.service-description,
.stat-label {
    font-family: 'Tajawal', sans-serif;
    font-weight: 300;
    /* Light for descriptions */
}

/* ===================================
   About Section - Logo Showcase
   =================================== */

.logo-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.logo-circle {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 31, 111, 0.1) 0%, rgba(212, 166, 58, 0.1) 100%);
    border: 3px solid rgba(212, 166, 58, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 6s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(212, 166, 58, 0.2);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.showcase-logo {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 166, 58, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 166, 58, 0.2) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 10px 30px rgba(212, 166, 58, 0.4));
    }

    50% {
        filter: drop-shadow(0 15px 40px rgba(212, 166, 58, 0.6));
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-circle {
        width: 250px;
        height: 250px;
        max-width: 80vw;
        /* Ensure it fits */
        max-height: 80vw;
    }

    .logo-glow {
        width: 300px;
        height: 300px;
        max-width: 90vw;
        /* Ensure it fits */
        max-height: 90vw;
    }
}

/* ===================================
   About Section - Feature Icons
   =================================== */

.about-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.3s ease;
}

.feature-icon-item:hover {
    transform: translateY(-10px);
}

.feature-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 166, 58, 0.1) 0%, rgba(13, 31, 111, 0.1) 100%);
    border: 2px solid rgba(212, 166, 58, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-gold);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 166, 58, 0.2);
}

.feature-icon-item:hover .feature-icon-circle {
    background: linear-gradient(135deg, rgba(212, 166, 58, 0.2) 0%, rgba(13, 31, 111, 0.2) 100%);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 166, 58, 0.4);
    transform: rotate(360deg);
}

.feature-icon-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* Reduce section padding */
.about-preview {
    padding: 4rem 0;
}

.about-content {
    gap: 3rem;
}

@media (max-width: 768px) {
    .about-features {
        gap: 1.5rem;
    }

    .feature-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===================================
   Gold Shine Effect for All Headings
   =================================== */

.gold-shine {
    background: linear-gradient(to right,
            #D4A63A,
            #F4D076,
            #D4A63A,
            #8E6E22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: goldShine 4s linear infinite;
    display: inline-block;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

/* Apply to gradient-text elements */
.gradient-text {
    background: linear-gradient(to right,
            #D4A63A,
            #F4D076,
            #D4A63A,
            #8E6E22) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: goldShine 4s linear infinite !important;
}

/* Apply to hero title */
.hero-title {
    background: linear-gradient(to right,
            #FFFFFF 0%,
            #FFFFFF 30%,
            #D4A63A 50%,
            #F4D076 60%,
            #FFFFFF 70%,
            #FFFFFF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: goldShine 5s linear infinite !important;
}

/* Gold Shine Animation */
.gold-shine,
.gradient-text {
    background: linear-gradient(to right, #D4A63A, #F4D076, #D4A63A, #8E6E22) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: goldShine 4s linear infinite !important;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

.hero-title {
    background: linear-gradient(to right, #FFF 0%, #FFF 30%, #D4A63A 50%, #F4D076 60%, #FFF 70%, #FFF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: goldShine 5s linear infinite !important;
}

/* ===================================
   Gold Shine Animation Effect
   =================================== */

.gold-shine,
.gradient-text {
    background: linear-gradient(to right, #D4A63A, #F4D076, #D4A63A, #8E6E22) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: goldShine 4s linear infinite !important;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

.hero-title {
    background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 30%, #D4A63A 50%, #F4D076 60%, #FFFFFF 70%, #FFFFFF 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: goldShine 5s linear infinite !important;
}

/* ===================================
   Services Section Customization
   =================================== */

.services-section {
    background: linear-gradient(135deg, #0D1F6F, #000);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Glowing White Border Effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.service-card:hover::after {
    opacity: 1;
}

/* Icon Animation */
.service-card .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background: #ffffff;
    color: #0D1F6F;
    transform: rotateY(180deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.service-card:hover .service-icon i {
    transform: rotateY(-180deg);
    /* Keep icon upright */
}

/* Text Styling */
.service-card h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.service-number {
    color: rgba(255, 255, 255, 0.1);
    font-weight: 900;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

/* Link Button */
.service-link {
    color: #D4A63A;
    font-weight: bold;
}

.service-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ===================================
   Services Section Refinements
   =================================== */

/* Reset section background to white/transparent */
.services-section {
    background: transparent !important;
}

/* Remove pattern overlay from section */
.services-section::before {
    display: none;
}

/* Apply blue background to grid only */
.services-grid {
    background: linear-gradient(135deg, #0D1F6F, #000);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

/* Add pattern overlay to grid */
.services-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

/* Fix Icon Hover Color to Gold */
.service-card:hover .service-icon {
    background: #ffffff;
    color: #D4A63A !important;
    /* Gold color */
    transform: rotateY(180deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Ensure icon stays gold */
.service-card:hover .service-icon i {
    color: #D4A63A !important;
}

/* Adjust grid layout for 7 items */
@media (min-width: 992px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* Make the last item centered or span full width if desired, 
       but standard grid is usually fine. 
       To center the 7th item in a 3-column grid: */
    .service-card:last-child {
        grid-column: 2;
    }
}

/* ===================================
   Portfolio Section "Legendary" Design
   =================================== */

/* Section Background */
.portfolio-preview {
    background: #ffffff;
    position: relative;
    padding: 5rem 0;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #0D1F6F, #000);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

/* Grid Pattern Overlay */
.bento-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

/* Item Spans for Bento Layout */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.item-wide-full {
    grid-column: span 4;
    grid-row: span 1;
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .item-tall {
        grid-column: span 1;
        grid-row: span 2;
    }

    .item-wide,
    .item-wide-full {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .item-large,
    .item-tall,
    .item-wide,
    .item-wide-full {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Portfolio Item Styling */
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
    /* Fallback color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Placeholder Images (Gradients for now) */
.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

/* Assign different gradients/colors to simulate images */
.portfolio-item:nth-child(1) .portfolio-image {
    background-image: linear-gradient(45deg, #2c3e50, #3498db);
}

.portfolio-item:nth-child(2) .portfolio-image {
    background-image: linear-gradient(45deg, #8e44ad, #c0392b);
}

.portfolio-item:nth-child(3) .portfolio-image {
    background-image: linear-gradient(45deg, #16a085, #f39c12);
}

.portfolio-item:nth-child(4) .portfolio-image {
    background-image: linear-gradient(45deg, #2980b9, #2c3e50);
}

.portfolio-item:nth-child(5) .portfolio-image {
    background-image: linear-gradient(45deg, #d35400, #c0392b);
}

.portfolio-item:nth-child(6) .portfolio-image {
    background-image: linear-gradient(45deg, #7f8c8d, #2c3e50);
}

.portfolio-item:nth-child(7) .portfolio-image {
    background-image: linear-gradient(45deg, #27ae60, #2980b9);
}

/* Hover Effects */
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

/* Glowing Border on Hover */
.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

/* Overlay Content */
.portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    opacity: 1;
    /* Always visible for better UX, or 0 to hide */
}

.portfolio-content {
    padding: 1.5rem;
    transform: translateY(0);
}

.portfolio-category {
    color: #D4A63A;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.portfolio-item h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    background: rgba(212, 166, 58, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 166, 58, 0.5);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.portfolio-link:hover {
    background: #D4A63A;
    color: #000;
    border-color: #D4A63A;
}

/* ===================================
   Full Width Layout & Portfolio Mosaic
   =================================== */

/* Full Width Services */
.services-section .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.services-grid {
    border-radius: 0 !important;
    margin-top: 0 !important;
    width: 100%;
    padding: 4rem 2rem !important;
    /* Add some padding for content breathing */
}

/* Full Width Portfolio */
.portfolio-preview .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.bento-grid {
    border-radius: 0 !important;
    width: 100%;
    padding: 0 !important;
    /* Mosaic usually has no outer padding */
    gap: 0 !important;
    /* Seamless mosaic */
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 350px !important;
    /* Taller rows for better imagery */
}

/* Mosaic Item Styling */
.portfolio-item {
    border-radius: 0 !important;
    /* Sharp edges for mosaic */
    border: none !important;
}

.portfolio-item:hover {
    transform: none !important;
    /* No lift in mosaic, just internal zoom */
    z-index: 10;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

/* Overlay adjustments for Mosaic */
.portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    /* Hidden by default to show image clearly */
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Always show title/category on mobile or if preferred */
@media (max-width: 768px) {
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    }

    .bento-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 300px !important;
    }

    .item-large,
    .item-tall,
    .item-wide,
    .item-wide-full {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* ===================================
   About Us Page Styles (Synced with Homepage DNA)
   =================================== */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(13, 31, 111, 0.85), rgba(13, 31, 111, 0.95)), url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 0 100px;
    text-align: center;
    color: var(--color-white);
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(212, 166, 58, 0.2);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(212, 166, 58, 0.3);
    font-weight: 800;
}

.page-header p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Global Section Backgrounds & Text Color Overrides */
.about-main,
.values-section,
.process-section,
.closing-section,
.offer-section {
    background: var(--color-dark);
    /* Matches Homepage Dark Theme */
    color: var(--color-white);
    /* Force all text to white by default */
    position: relative;
    overflow: hidden;
}

/* Override global heading colors for these dark sections */
.about-main h2,
.values-section h2,
.process-section h2,
.closing-section h2,
.offer-section h2,
.section-title {
    color: var(--color-white);
}

.about-main .gradient-text,
.values-section .gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-gold);
    /* Fallback */
}

/* Ensure section badges are visible */
.section-badge {
    background: var(--gradient-gold);
    color: var(--color-dark);
    /* Keep badge text dark for contrast against gold */
}

/* Add subtle background glow (Homepage Style) */
.about-main::before,
.values-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 166, 58, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text-content .lead-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* Vision & Mission Cards (Glassmorphism - Homepage Standard) */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.vm-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    /* Increased blur to match Homepage */
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 166, 58, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 166, 58, 0.4));
}

.vm-card h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.vm-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Visuals & Counters */
.image-composition {
    position: relative;
    height: 550px;
}

.comp-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.img-main {
    width: 75%;
    height: 80%;
    top: 0;
    right: 0;
    z-index: 1;
    border: 1px solid rgba(212, 166, 58, 0.3);
}

.img-sub {
    width: 55%;
    height: 55%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 5px solid var(--color-dark);
    /* Blend with dark bg */
}

.placeholder-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.floating-counter {
    position: absolute;
    background: rgba(13, 31, 111, 0.9);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 1.2rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    border: 1px solid rgba(212, 166, 58, 0.3);
    animation: float 6s ease-in-out infinite;
}

.counter-1 {
    top: 15%;
    left: -30px;
}

.counter-2 {
    bottom: 15%;
    right: -30px;
    animation-delay: 1s;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(212, 166, 58, 0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Values Section (Dark Cards - Synced) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.value-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 20px rgba(212, 166, 58, 0.3);
    transition: transform 0.4s ease;
}

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

.value-card h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.value-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Offer Section */
.offer-section {
    background: linear-gradient(to bottom, #0a164a, #050b26);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 4rem 0;
}

.offer-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(5px);
}

.offer-item:hover {
    background: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 166, 58, 0.2);
}

/* Process Section */
.process-steps {
    margin-top: 4rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Connecting line */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: 25px;
    /* Adjust for RTL */
    width: 2px;
    height: calc(100% - 10px);
    background: rgba(255, 255, 255, 0.1);
}

.step-num {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 1;
    background: var(--color-dark);
    /* Cover line */
    transition: all 0.3s ease;
}

.step-item:hover .step-num {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 166, 58, 0.4);
}

.step-content strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.step-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
}

/* Closing Quote */
.closing-section {
    background: radial-gradient(circle at center, #1a2f7d 0%, var(--color-dark) 70%);
}

.gold-quote {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-gold);
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 4rem 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gold-quote::before,
.gold-quote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.3;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.gold-quote::before {
    top: -20px;
    right: 0;
}

.gold-quote::after {
    bottom: -40px;
    left: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .image-composition {
        height: 450px;
        margin-top: 3rem;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .step-item:not(:last-child)::after {
        right: 25px;
    }
}