/* ==================== THROVAT MAIN STYLES - PROFESSIONAL DESIGN ==================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Main Colors */
    --color-primary: #6A5845;
    --color-primary-light: #7F6B57;
    --color-primary-dark: #554633;
    --color-accent: #D4A574;
    --color-accent-light: #E8C9A0;
    --color-accent-dark: #B8895E;
    
    /* Text Colors */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a4a4a;
    --color-text-muted: #6a6a6a;
    --color-text-light: #8a8a8a;
    
    /* Background Colors */
    --color-bg-light: #FAF8F6;
    --color-bg-cream: #F5F2EE;
    --color-bg-white: #FFFFFF;
    --color-bg-overlay: rgba(106, 88, 69, 0.95);
    
    /* Utility Colors */
    --color-success: #27AE60;
    --color-error: #E74C3C;
    --color-warning: #F39C12;
    --color-info: #3498DB;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(106, 88, 69, 0.08);
    --shadow-md: 0 4px 16px rgba(106, 88, 69, 0.12);
    --shadow-lg: 0 8px 32px rgba(106, 88, 69, 0.16);
    --shadow-xl: 0 12px 48px rgba(106, 88, 69, 0.2);
    
    /* Borders */
    --border-color: rgba(106, 88, 69, 0.15);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    /* Typography */
    --font-primary: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    --font-secondary: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-light);
    color: var(--color-text-primary);
    direction: rtl;
    overflow-x: clip;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    background: none;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    overflow: visible;
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .nav-logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li > a {
    position: relative;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-bg-white);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-menu > li > a {
    color: var(--color-text-primary);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--color-accent);
    background: rgba(212, 165, 116, 0.1);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 60%;
    right: 20%;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 220px;
    background: var(--color-bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.nav-menu li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.nav-dropdown a:hover {
    color: var(--color-accent);
    background: var(--color-bg-cream);
    padding-right: 30px;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-bg-white);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-text-primary);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(106, 88, 69, 0.9) 0%,
        rgba(106, 88, 69, 0.7) 50%,
        rgba(106, 88, 69, 0.85) 100%
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

/* Animated Decorative Elements */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(212, 165, 116, 0.2);
    animation: float 20s ease-in-out infinite;
}

.hero-decor-1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    animation-delay: 0s;
}

.hero-decor-2 {
    top: 30%;
    right: 15%;
    width: 250px;
    height: 250px;
    animation-delay: 4s;
}

.hero-decor-3 {
    bottom: 10%;
    left: 8%;
    width: 350px;
    height: 350px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) scale(1.05);
        opacity: 0.5;
    }
    50% {
        transform: translate(-15px, 20px) scale(0.98);
        opacity: 0.4;
    }
    75% {
        transform: translate(25px, 10px) scale(1.02);
        opacity: 0.45;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeIn 1.2s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-bg-white);
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-base);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-bg-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-bg-white);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-bg-white);
    box-shadow: 0 4px 15px rgba(106, 88, 69, 0.3);
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 88, 69, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(212, 165, 116, 0.05) 35px,
            rgba(212, 165, 116, 0.05) 70px
        );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-bg-white);
    margin-bottom: 16px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
    color: var(--color-accent-light);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-bg-white);
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.gold-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-light) 0%, var(--color-accent) 50%, var(--color-accent-dark) 100%);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 80px 0;
    background: var(--color-bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--color-bg-cream);
    border-radius: 0;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-bg-white);
    box-shadow: 0 8px 20px rgba(106, 88, 69, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-family: 'Cairo', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* ==================== PROJECTS GRID ==================== */
.projects-section {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.project-card {
    background: var(--color-bg-white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: none;
    position: relative;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-card-image {
    position: relative;
    height: 420px;
    background: var(--color-bg-cream);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.project-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.1) 100%);
    transition: var(--transition-base);
    z-index: 1;
}

.project-card:hover .project-card-image::before {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.15) 100%);
}

/* Content overlaid on image */
.project-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 28px;
    z-index: 2;
    transform: translateY(0);
    transition: var(--transition-base);
}

.project-card-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    transition: var(--transition-base);
    line-height: 1.3;
}

.project-card:hover h3 {
    color: var(--color-accent-light);
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
}

.project-card-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.project-card:hover .project-card-mini-stats {
    opacity: 1;
    transform: translateY(0);
}

/* Status badge on image */
.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.status-available {
    background: rgba(39, 174, 96, 0.9);
    color: white;
}

.status-sold {
    background: rgba(231, 76, 60, 0.9);
    color: white;
}

.status-developing {
    background: rgba(212, 165, 116, 0.95);
    color: #1a1a1a;
}

/* Project card link arrow */
.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-light);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-base);
}

.project-card:hover .project-card-link {
    opacity: 1;
    transform: translateX(0);
}

.mini-stat {
    text-align: center;
}

.mini-stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 4px;
    font-weight: 500;
}

.mini-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent-light);
}

/* ==================== NEWS GRID ==================== */
.news-section {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.news-card {
    background: var(--color-bg-white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: none;
    border: none;
    position: relative;
}

.news-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.news-card-image {
    position: relative;
    height: 340px;
    background: var(--color-bg-cream);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.news-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
    z-index: 1;
    transition: var(--transition-base);
}

.news-card:hover .news-card-image::before {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.1) 100%);
}

/* Image zoom on hover */
.news-card-image > img,
.news-card-image-inner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image > img {
    transform: scale(1.05);
}

/* Content overlay on image */
.news-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
    /* Relative to .news-card-image */
}

.news-card {
    position: relative;
}

.news-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
}

.news-card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-accent-light);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: var(--transition-base);
}

.news-card:hover h3 {
    color: var(--color-accent-light);
}

.news-card-body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 12px;
    display: none;
}

.news-card-date {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    background: var(--color-bg-white);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.contact-info-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.contact-form {
    background: var(--color-bg-white);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.contact-form > p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--color-text-primary);
    background: var(--color-bg-light);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ==================== TEAM SECTION ==================== */
.team-section {
    padding: 100px 0;
    background: var(--color-bg-cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card-image {
    position: relative;
    height: 280px;
    background: var(--color-bg-cream);
    overflow: hidden;
}

.team-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-bg-white);
}

.team-card-body {
    padding: 24px;
    text-align: center;
}

.team-card-title {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.team-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.team-card-position {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.team-card-bio {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==================== VALUE CARDS ==================== */
.values-section {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--color-bg-light);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition-bounce);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ==================== TIMELINE ==================== */
.timeline-section {
    padding: 100px 0;
    background: var(--color-bg-cream);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent-light) 0%, var(--color-accent) 50%, var(--color-accent-dark) 100%);
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-right: calc(50% + 50px);
}

.timeline-item:nth-child(even) {
    padding-right: 0;
    padding-left: calc(50% + 50px);
}

.timeline-dot {
    position: absolute;
    right: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border: 4px solid var(--color-bg-white);
    border-radius: 50%;
    transform: translateX(50%);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.2);
}

.timeline-content {
    background: var(--color-bg-white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.timeline-content:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent);
    color: var(--color-text-primary);
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==================== AWARDS SECTION ==================== */
.awards-section {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.award-item {
    background: var(--color-bg-light);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.award-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: grayscale(1);
    transition: var(--transition-base);
}

.award-item:hover .award-icon {
    filter: grayscale(0);
    transform: scale(1.2);
}

.award-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.5;
}

/* ==================== CARE CARDS ==================== */
.care-section {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.care-card {
    background: var(--color-bg-white);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.care-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.care-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: var(--transition-bounce);
}

.care-card:hover .care-card-icon {
    transform: scale(1.15) rotate(10deg);
}

.care-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.care-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ==================== CAREER CARDS ==================== */
.career-section {
    padding: 100px 0;
    background: var(--color-bg-white);
}

.career-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    background: var(--color-bg-light);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.career-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.career-card-left {
    flex: 1;
}

.career-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 16px;
}

.career-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.career-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-bg-white);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    border: 1px solid var(--border-color);
}

/* ==================== FILTER PILLS ==================== */
.filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-pill {
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid var(--border-color);
    background: var(--color-bg-white);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-bg-white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-accent-light);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--color-accent-light);
    padding-right: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-base);
    z-index: 999;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .care-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--color-bg-white);
        padding: 0 !important;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .nav-menu > li > a {
        color: var(--color-text-primary);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        right: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-right: 60px;
        padding-left: 0;
    }
    
    .timeline-dot {
        right: 20px;
        transform: translateX(0);
    }
    
    .career-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-hero {
        height: 300px;
    }
    
    .page-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/** override style */
/* الحل الأمثل لجميع الشاشات */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

/* تأكد من أن الـ parent له position relative */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
/* ==================== ENHANCED PROFESSIONAL RESPONSIVE DESIGN ==================== */
/* تم إضافة Media Queries احترافية شاملة لجميع الشاشات */

/* ----- Extra Large Screens (1400px+) ----- */
@media (min-width: 1400px) {
    .container {
        max-width: 1340px;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
}

/* ----- Large Screens (1200px - 1399px) ----- */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.8rem;
    }
}

/* ----- Medium to Large Screens (992px - 1199px) ----- */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-content p {
        font-size: 1.15rem;
    }
    
    .btn {
        padding: 13px 28px;
        font-size: 0.92rem;
    }
    
    .nav-menu > li > a {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* ----- Tablets (768px - 991px) ----- */
@media (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
    
    /* Navigation - Show Mobile Menu */
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        background: var(--color-bg-white);
        padding: 0 !important;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 9999;
        gap: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        margin: 0 0 4px 0 !important;
    }
    
    .nav-menu > li > a {
        color: var(--color-text-primary) !important;
        display: block;
        padding: 14px 16px !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 20px;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero */
    .hero {
        min-height: 650px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Page Hero */
    .page-hero {
        height: 350px;
    }
    
    .page-hero-content h1 {
        font-size: 2.3rem;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.05rem;
    }
    
    /* Cards & Grid */
    .value-card,
    .care-card {
        padding: 28px 24px;
    }
    
    /* Timeline */
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    /* Contact Form */
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 13px 18px;
        font-size: 0.95rem;
    }
}

/* ----- Small Tablets / Large Phones (576px - 767px) ----- */
@media (min-width: 576px) and (max-width: 767px) {
    html {
        font-size: 14.5px;
    }
    
    .container {
        max-width: 540px;
        padding: 0 18px;
    }
    
    /* Navigation */
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-logo img {
        height: 40px;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 75%;
        max-width: 280px;
        background: var(--color-bg-white);
        padding: 70px 20px 20px;
        overflow-y: auto;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        gap: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        margin: 0 !important;
    }
    
    .nav-menu > li > a {
        color: var(--color-text-primary) !important;
        display: block;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Hero */
    .hero {
        min-height: 550px;
    }
    
    .hero-content {
        padding: 30px 16px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    /* Page Hero */
    .page-hero {
        height: 320px;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Grids */
    .values-grid,
    .care-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }
    
    /* Cards */
    .value-card,
    .care-card {
        padding: 24px 20px;
    }
    
    .value-icon,
    .care-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    /* Career Cards */
    .career-card {
        flex-direction: column !important;
        padding: 24px 20px;
        gap: 20px;
    }
    
    .career-tags {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* Timeline */
    .timeline-year {
        font-size: 1.3rem;
    }
    
    .timeline-content h3 {
        font-size: 1.15rem;
    }
    
    /* Filter Pills */
    .filter-pills {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .filter-pill {
        font-size: 0.85rem;
        padding: 9px 18px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 26px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 30px;
    }
}

/* ----- Mobile Phones (up to 575px) ----- */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 16px !important;
        max-width: 100% !important;
    }
    
    /* ----- NAVIGATION ----- */
    .navbar {
        padding: 10px 0 !important;
    }
    
    .navbar .container {
        padding: 0 16px !important;
    }
    
    .nav-logo img {
        height: 35px !important;
    }
    
    .navbar.scrolled .nav-logo img {
        height: 32px !important;
    }
    
    /* Mobile Menu Toggle */
    .nav-toggle {
        display: flex !important;
        z-index: 10000;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 2.5px;
    }
    
    /* Mobile Menu */
    .nav-menu {
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85%;
        max-width: 280px;
        background: var(--color-bg-white);
        padding: 70px 20px 20px;
        overflow-y: auto;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        gap: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        margin: 0 !important;
    }
    
    .nav-menu > li > a {
        color: var(--color-text-primary) !important;
        display: block;
        padding: 12px 14px !important;
        font-size: 0.95rem !important;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0 !important;
    }
    
    .nav-menu > li > a::after {
        display: none;
    }
    
    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: var(--color-bg-cream);
        color: var(--color-primary) !important;
    }
    
    /* Dropdown in Mobile */
    .nav-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--color-bg-light) !important;
        margin-top: 8px;
        padding: 0 !important;
    }
    
    .nav-dropdown a {
        padding: 10px 20px !important;
        font-size: 0.88rem !important;
    }
    
    .nav-cta {
        flex-direction: column !important;
        width: 100%;
        gap: 10px;
        margin-top: 16px;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    /* ----- HERO SECTION ----- */
    .hero {
        min-height: 500px;
        height: auto;
    }
    
    .hero-content {
        padding: 60px 16px 40px;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 16px !important;
    }
    
    .hero-content h1 {
        font-size: 1.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 16px !important;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-bottom: 28px !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 32px !important;
    }
    
    .hero-stat {
        padding: 20px 12px !important;
    }
    
    .hero-stat h3 {
        font-size: 1.8rem !important;
        margin-bottom: 6px !important;
    }
    
    .hero-stat p {
        font-size: 0.85rem !important;
    }
    
    /* Decorative Elements - Hide on Mobile */
    .hero-decor {
        display: none !important;
    }
    
    /* ----- PAGE HERO ----- */
    .page-hero {
        height: 280px !important;
        padding: 80px 0 40px !important;
    }
    
    .page-hero-content h1,
    .page-hero h1 {
        font-size: 1.75rem !important;
        margin-bottom: 12px !important;
    }
    
    .breadcrumb {
        font-size: 0.8rem !important;
        padding: 7px 16px !important;
        gap: 8px !important;
    }
    
    .breadcrumb svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* ----- SECTIONS ----- */
    section {
        padding: 60px 0 !important;
    }
    
    .section-header {
        margin-bottom: 40px !important;
    }
    
    .section-header h2 {
        font-size: 1.7rem !important;
        margin-bottom: 12px !important;
    }
    
    .gold-line {
        width: 60px !important;
        height: 3px !important;
    }
    
    .section-header p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }
    
    /* ----- GRIDS ----- */
    .values-grid,
    .care-grid,
    .team-grid,
    .projects-grid,
    .news-grid,
    .awards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* ----- CARDS ----- */
    .value-card,
    .care-card,
    .project-card {
        padding: 24px 20px !important;
    }
    
    .value-card h3,
    .care-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 10px !important;
    }
    
    .value-card p,
    .care-card p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .value-icon,
    .care-card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        margin-bottom: 16px !important;
    }
    
    /* Stat Cards */
    .stat-item {
        padding: 28px 16px !important;
    }
    
    .stat-item h3 {
        font-size: 2rem !important;
    }
    
    .stat-item p {
        font-size: 0.85rem !important;
    }
    
    /* Project Cards */
    .project-card-image {
        height: 200px !important;
    }
    
    .project-card-body {
        padding: 20px !important;
    }
    
    .project-card h3 {
        font-size: 1.2rem !important;
    }
    
    /* Team Cards */
    .team-card {
        padding: 20px !important;
    }
    
    .team-card-image {
        height: 220px !important;
    }
    
    .team-card-name {
        font-size: 1.1rem !important;
    }
    
    .team-card-position {
        font-size: 0.85rem !important;
    }
    
    /* ----- CAREER CARDS ----- */
    .career-card {
        flex-direction: column !important;
        padding: 24px 18px !important;
        gap: 20px !important;
    }
    
    .career-card-left {
        width: 100% !important;
    }
    
    .career-card h3 {
        font-size: 1.15rem !important;
        margin-bottom: 12px !important;
    }
    
    .career-tags {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .career-tag {
        font-size: 0.78rem !important;
        padding: 6px 12px !important;
    }
    
    .career-tag svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* ----- FILTER PILLS ----- */
    .filter-pills {
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
        margin-bottom: 28px !important;
    }
    
    .filter-pill {
        font-size: 0.82rem !important;
        padding: 8px 16px !important;
    }
    
    /* ----- TIMELINE ----- */
    .timeline {
        padding-right: 0 !important;
    }
    
    .timeline::before {
        right: 15px !important;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-right: 50px !important;
        padding-left: 0 !important;
        margin-bottom: 32px !important;
    }
    
    .timeline-dot {
        right: 10px !important;
        width: 12px !important;
        height: 12px !important;
    }
    
    .timeline-year {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .timeline-content h3 {
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }
    
    .timeline-content p {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
    }
    
    /* ----- CONTACT SECTION ----- */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .contact-info h2 {
        font-size: 1.7rem !important;
        margin-bottom: 12px !important;
    }
    
    .contact-info p {
        font-size: 0.9rem !important;
    }
    
    .contact-info-item {
        padding: 16px !important;
        gap: 14px !important;
    }
    
    .contact-icon {
        width: 48px !important;
        height: 48px !important;
    }
    
    .contact-info-item h4 {
        font-size: 1rem !important;
    }
    
    .contact-info-item p {
        font-size: 0.88rem !important;
    }
    
    .contact-form h3 {
        font-size: 1.6rem !important;
    }
    
    /* ----- FORM ELEMENTS ----- */
    .form-group {
        margin-bottom: 18px !important;
    }
    
    .form-group label {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.92rem !important;
        padding: 12px 16px !important;
    }
    
    .form-group textarea {
        min-height: 140px !important;
    }
    
    /* ----- BUTTONS ----- */
    .btn {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        gap: 8px !important;
    }
    
    .btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .btn-lg {
        padding: 14px 28px !important;
        font-size: 0.95rem !important;
    }
    
    .btn-sm {
        padding: 10px 20px !important;
        font-size: 0.82rem !important;
    }
    
    /* ----- FOOTER ----- */
    footer {
        padding: 50px 0 20px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
        padding-bottom: 40px !important;
    }
    
    .footer-col h3 {
        font-size: 1.15rem !important;
        margin-bottom: 18px !important;
    }
    
    .footer-col p {
        font-size: 0.88rem !important;
    }
    
    .footer-links a {
        font-size: 0.88rem !important;
    }
    
    .footer-bottom {
        padding: 24px 0 !important;
        font-size: 0.82rem !important;
    }
    
    .footer-social {
        justify-content: center;
        gap: 10px !important;
    }
    
    .social-link {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    /* ----- WHATSAPP BUTTON ----- */
    .whatsapp-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        bottom: 16px !important;
        left: 16px !important;
    }
    
    /* ----- PROJECT SHOW PAGE ----- */
    .project-hero {
        padding: 80px 0 40px !important;
    }
    
    .project-hero h1 {
        font-size: 1.8rem !important;
    }
    
    .project-info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .project-info-item {
        padding: 16px !important;
    }
    
    .project-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* ----- AWARDS ----- */
    .award-item {
        padding: 20px !important;
    }
    
    .award-icon {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    .award-item h4 {
        font-size: 0.95rem !important;
    }
    
    /* ----- PERFORMANCE OPTIMIZATIONS ----- */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Disable complex shadows on mobile for better performance */
    .btn,
    .card,
    .project-card,
    .team-card {
        box-shadow: var(--shadow-sm) !important;
    }
}

/* ----- Very Small Phones (up to 380px) ----- */
@media (max-width: 380px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 12px !important;
    }
    
    .hero-content h1 {
        font-size: 1.6rem !important;
    }
    
    .hero-stat h3 {
        font-size: 1.5rem !important;
    }
    
    .page-hero {
        height: 250px !important;
    }
    
    .page-hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .section-header h2 {
        font-size: 1.5rem !important;
    }
    
    .btn {
        padding: 11px 20px !important;
        font-size: 0.85rem !important;
    }
    
    .stats-grid {
        gap: 10px !important;
    }
    
    .stat-item {
        padding: 20px 12px !important;
    }
    
    .stat-item h3 {
        font-size: 1.7rem !important;
    }
}

/* ----- Landscape Orientation Mobile ----- */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh !important;
    }
    
    .hero-content {
        padding: 80px 16px 40px !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .page-hero {
        height: 100vh !important;
    }
    
    .nav-menu.active {
        width: 50% !important;
        max-width: 300px !important;
    }
}

/* ----- Print Styles ----- */
@media print {
    .navbar,
    .nav-toggle,
    .whatsapp-btn,
    .hero-buttons,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-content h1,
    .section-header h2 {
        color: #000 !important;
    }
    
    * {
        box-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* ----- Accessibility & Motion Preferences ----- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* ==================== PAGE HERO SLIDER (ALL PAGES EXCEPT HOME) ==================== */
.page-hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-slider .swiper,
.page-hero-slider .hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.page-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.swiper-slide-active .page-hero-slide-bg {
    transform: scale(1);
}

.page-hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(85, 70, 51, 0.88) 0%,
        rgba(106, 88, 69, 0.72) 50%,
        rgba(85, 70, 51, 0.82) 100%
    );
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
}

.page-hero-tag {
    display: inline-block;
    padding: 8px 22px;
    background: rgba(212, 165, 116, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.5);
    color: var(--color-accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.page-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb in page hero */
.breadcrumb-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    margin-top: 16px;
}

.breadcrumb-hero a {
    color: var(--color-accent-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.breadcrumb-hero a:hover {
    color: #fff;
}

.breadcrumb-hero span {
    color: rgba(255,255,255,0.7);
}

/* Slider pagination dots */
.page-hero-slider .swiper-pagination {
    bottom: 30px;
    z-index: 5;
}

.page-hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 0;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.page-hero-slider .swiper-pagination-bullet-active {
    width: 32px;
    background: var(--color-accent);
    border-radius: 0;
}

/* Scroll indicator */
.scroll-indicator-hero {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    letter-spacing: 1px;
    animation: bounceDown 2s ease-in-out infinite;
}

.scroll-indicator-hero .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== LEADERSHIP SUMOU STYLE ==================== */
.leadership-sumou-section {
    padding: 120px 0;
    background: var(--color-bg-white);
    position: relative;
    overflow: hidden;
}

.leadership-sumou-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.leadership-card-sumou {
    position: relative;
    overflow: hidden;
    cursor: default;
}

/* Large portrait image */
.leadership-portrait {
    position: relative;
    width: 100%;
    padding-bottom: 130%;
    background: var(--color-primary-dark);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Transparent fade from bottom */
.leadership-portrait::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(85,70,51,0.95) 0%, rgba(85,70,51,0.6) 50%, transparent 100%);
    z-index: 1;
}

.leadership-portrait-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 36px;
    z-index: 2;
}

.leadership-role-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent);
    color: #1a1a1a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.leadership-person-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 8px;
}

.leadership-person-title {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-bottom: 20px;
}

.leadership-bio-excerpt {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.leadership-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    background: none;
    border: none;
    padding: 0;
}

.leadership-read-more:hover {
    color: #fff;
    gap: 12px;
}

/* Expandable bio */
.leadership-bio-full {
    display: none;
}

.leadership-bio-full.expanded {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 16px;
    -webkit-line-clamp: unset;
    overflow: visible;
}

@media (max-width: 768px) {
    .leadership-sumou-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-content h1 {
        font-size: 2.2rem;
    }

    .leadership-person-name {
        font-size: 1.3rem;
    }
}

/* ==================== SUMOU-STYLE PROJECT CARD (HOME FEATURED) ==================== */
.project-card-sumou {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}

.project-card-sumou-image {
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.7s ease;
}

.project-card-sumou:hover .project-card-sumou-image {
    transform: scale(1.04);
}

.project-card-sumou-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
    transition: var(--transition-base);
}

.project-card-sumou:hover .project-card-sumou-overlay {
    background: linear-gradient(to top, rgba(85,70,51,0.92) 0%, rgba(85,70,51,0.5) 55%, rgba(0,0,0,0.1) 100%);
}

.project-card-sumou-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 32px;
    z-index: 2;
}

.project-sumou-tagline {
    font-size: 0.85rem;
    color: var(--color-accent-light);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.project-sumou-name {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.project-sumou-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent-light);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-fast);
    opacity: 0.85;
}

.project-sumou-link:hover {
    opacity: 1;
    gap: 14px;
    color: #fff;
}

/* ==================== NEWS CARD SUMOU STYLE ==================== */
/* Full image news card like Sumou */
.news-card-sumou {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    display: block;
}

.news-card-sumou-image {
    width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.news-card-sumou:hover .news-card-sumou-image {
    transform: scale(1.04);
}

.news-card-sumou-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
    transition: var(--transition-base);
}

.news-card-sumou:hover .news-card-sumou-overlay {
    background: linear-gradient(to top, rgba(85,70,51,0.92) 0%, rgba(85,70,51,0.45) 60%, rgba(0,0,0,0.08) 100%);
}

.news-card-sumou-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    z-index: 2;
}

.news-sumou-category {
    font-size: 0.72rem;
    color: var(--color-accent-light);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-sumou-category::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-accent);
}

.news-sumou-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.news-card-sumou:hover .news-sumou-title {
    color: var(--color-accent-light);
}

.news-sumou-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== NEWS SHOW PAGE SUMOU STYLE ==================== */
.news-article-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
    padding: 80px 0 100px;
}

.article-main-content {}

.article-sidebar {}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.article-meta-separator {
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
}

.article-body p {
    margin-bottom: 20px;
}

/* Sidebar */
.article-sidebar-widget {
    background: var(--color-bg-cream);
    padding: 32px;
    margin-bottom: 32px;
}

.sidebar-widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.sidebar-news-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover .sidebar-news-title {
    color: var(--color-accent);
}

.sidebar-news-thumb {
    width: 72px;
    height: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.sidebar-news-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
    transition: var(--transition-fast);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.sidebar-news-date {
    font-size: 0.78rem;
    color: var(--color-text-light);
}

/* ==================== PROJECT SHOW SUMOU STYLE ==================== */
.project-show-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.project-show-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-show-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20,15,10,0.95) 0%,
        rgba(40,30,20,0.6) 40%,
        rgba(0,0,0,0.2) 100%
    );
}

.project-show-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 60px;
    max-width: 800px;
}

.project-show-tagline {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-show-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.project-show-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}

.project-show-info-badge {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-show-info-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.project-show-info-value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

/* Project details body */
.project-show-body {
    padding: 80px 0 100px;
}

.project-show-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: start;
}

.project-show-sidebar {}

.project-specs-card {
    background: var(--color-primary-dark);
    padding: 36px;
    color: #fff;
    position: sticky;
    top: 100px;
}

.project-specs-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent-light);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.project-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-spec-item:last-child {
    border-bottom: none;
}

.project-spec-key {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.project-spec-val {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    text-align: left;
}

/* Gallery for project show */
.project-gallery-section {
    margin-top: 60px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.project-gallery-item {
    position: relative;
    padding-bottom: 70%;
    overflow: hidden;
    cursor: pointer;
}

.project-gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.06);
}

.project-gallery-item::after {
    content: '+';
    position: absolute;
    inset: 0;
    background: rgba(85,70,51,0.5);
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
}

.project-gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .news-article-layout,
    .project-show-grid {
        grid-template-columns: 1fr;
    }
    
    .project-show-title {
        font-size: 2rem;
    }
    
    .project-show-hero-content {
        padding: 40px 24px;
    }
    
    .project-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================================================
   THRAWAT — FINAL COMPREHENSIVE FIX
   يحل دفعة واحدة:
   ① sliders لا تعمل / صور مختفية
   ② hero ناقص العرض في موبايل
   ③ overlay لا يظهر في بعض الصفحات
   ④ المنيو يُقطع عند scroll
   ================================================================ */

/*
 * ① overflow-x: clip على كل html+body (بدون media query)
 *    hidden → ينشئ stacking context → يكسر position:fixed + Swiper
 *    clip   → لا stacking context → كل شيء يعمل
 */
html { overflow-x: clip !important; }
body { overflow-x: clip !important; max-width: 100vw !important; }

/*
 * ② hero + slider: عرض كامل
 *    نتجنب calc(50%-50vw) لأنه يفشل مع clip/hidden
 */
.hero,
.hero-section,
.page-hero,
.page-hero-slider {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
    /* نتأكد أنه لا توجد margin تُسبب قصه */
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Swiper يملأ الـ slider كاملاً */
.page-hero-slider .swiper,
.page-hero-slider .hero-swiper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ③ Navbar */
.navbar {
    z-index: 9000 !important;
    overflow: visible !important;
}

/* ④ Toggle: position:relative ضروري لعمل z-index */
.nav-toggle {
    position: relative !important;
    z-index: 9500 !important;
    min-width: 44px !important;
    min-height: 44px !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}
.nav-toggle.open span { background: var(--color-text-primary) !important; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5.5px,5.5px) !important; }
.nav-toggle.open span:nth-child(2) { opacity:0 !important; transform:scaleX(0) !important; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px,-5.5px) !important; }

/* ⑤ Overlay: z-index كافٍ ليظهر فوق sections في كل الصفحات */
.mobile-overlay {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.55) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    z-index: 9200 !important;
}
.mobile-overlay.active { display: block !important; }

/* ⑥ Mobile menu ≤ 1024px */
@media (max-width: 1024px) {
    .nav-toggle { display: flex !important; }

    .nav-menu {
        /* دائماً في DOM — الإخفاء بـ transform فقط */
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;

        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(300px, 85vw) !important;
        height: 100dvh !important;

        background: #fff !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: -8px 0 40px rgba(0,0,0,.22) !important;
        z-index: 9300 !important;

        /* مغلق: خارج الشاشة يميناً (RTL) */
        transform: translateX(110%) !important;
        transition: transform .36s cubic-bezier(.4,0,.2,1) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* شريط أعلى المنيو */
    .nav-menu::before {
        content: '' !important;
        display: block !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
        background: var(--color-primary-dark) !important;
        border-bottom: 2px solid var(--color-accent) !important;
    }

    /* مفتوح */
    .nav-menu.active { transform: translateX(0) !important; }

    .nav-menu > li { width: 100% !important; margin: 0 !important; }
    .nav-menu > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 15px 22px !important;
        font-size: .95rem !important;
        font-weight: 600 !important;
        color: var(--color-text-primary) !important;
        border-bottom: 1px solid rgba(106,88,69,.10) !important;
        border-radius: 0 !important;
        border-right: 3px solid transparent !important;
        width: 100% !important;
        white-space: normal !important;
        transition: background .15s, border-color .15s !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .nav-menu > li > a::after { display: none !important; }
    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: var(--color-bg-cream) !important;
        color: var(--color-primary) !important;
        border-right-color: var(--color-accent) !important;
    }

    /* Dropdown accordion */
    .nav-dropdown {
        position: static !important;
        opacity: 1 !important; visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important; border-radius: 0 !important;
        background: var(--color-bg-cream) !important;
        padding: 0 !important;
        display: none !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: auto !important;
    }
    .nav-menu > li.open > .nav-dropdown { display: block !important; }
    .nav-dropdown a {
        padding: 13px 22px 13px 40px !important;
        border-bottom: 1px solid rgba(106,88,69,.07) !important;
        font-size: .87rem !important;
        border-radius: 0 !important;
    }
    .nav-dropdown a:last-child { border-bottom: none !important; }
}

/* ⑦ تناسق الهيدر موبايل */
@media (max-width: 1024px) {
    .navbar { padding: 10px 0 !important; }
    .navbar .container, .navbar > .container { padding: 0 16px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
    .nav-logo img { height: 38px !important; }
    .navbar.scrolled .nav-logo img { height: 34px !important; }
}
@media (max-width: 480px) {
    .navbar { padding: 8px 0 !important; }
    .navbar .container, .navbar > .container { padding: 0 12px !important; }
    .nav-logo img { height: 34px !important; }
    .nav-menu { width: min(280px, 88vw) !important; }
}

/* ⑧ Safe area (notch) */
@supports (padding: max(0px)) {
    @media (max-width: 1024px) {
        .nav-menu {
            padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        }
        .nav-menu::before {
            height: max(60px, calc(env(safe-area-inset-top, 0px) + 60px)) !important;
            min-height: max(60px, calc(env(safe-area-inset-top, 0px) + 60px)) !important;
        }
    }
    .whatsapp-btn, .scroll-to-top, #scrollToTop {
        left: max(20px, env(safe-area-inset-left, 20px)) !important;
    }
}