/* 
========================================
   SUCCESS STORY - Main Stylesheet
========================================
   TABLE OF CONTENTS:
   1.  CSS Variables
   2.  Reset & Base Styles
   3.  Glass & Layout Effects
   4.  Animations
   5.  Buttons & UI Elements
   6.  Layout Helpers
   7.  Header & Navigation
   8.  Hero Section
   9.  Services (Homepage Cards)
   10. Clients & Brand Sliders
   11. Quick Service & Hotline
   12. Steps & Vision
   13. About Preview & Content
   14. Team Section
   15. Counters & Achievements
   16. Services Page Specifics
   17. Contact Page & Form
   18. Blog & Social
   19. Footer
   20. Utilities & Floating Elements
   21. Responsive Design
======================================== */

/* 1. CSS Variables */
:root {
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --white-glass: rgba(255, 255, 255, 0.7);
    --white-glass-heavy: rgba(255, 255, 255, 0.9);
    --text-dark: #0F172A;
    --text-muted: #334155;
    --accent-gold: #D4AF37;
    --accent-blue: #2563EB;
    --shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
    --border-radius-card: 2rem;
    --border-radius-btn: 3rem;
    --transition: all 0.3s ease;
    --header-height: 70px;
    --accent-gold-rgb: 212, 175, 55;
    --bg-dark-rgb: 15, 23, 42;
    --premium-glow: 0 0 30px rgba(var(--accent-gold-rgb), 0.25);
    --glass-border: 1px solid rgba(255, 255, 255, 0.25);
    --mesh-gradient: radial-gradient(at 0% 0%, rgba(var(--accent-gold-rgb), 0.15) 0, transparent 50%), 
                     radial-gradient(at 100% 0%, rgba(37, 99, 235, 0.1) 0, transparent 50%),
                     radial-gradient(at 50% 100%, rgba(var(--accent-gold-rgb), 0.1) 0, transparent 50%);
}


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

html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    direction: rtl;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

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

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

ul {
    list-style: none;
}

/* 3. Glass & Layout Effects */
.glass {
    background: var(--white-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow);
}

.glass-heavy {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12);
}

.premium-card {
    background: white;
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.6s;
}

.premium-card:hover::before {
    left: 100%;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--premium-glow);
    border-color: var(--accent-gold);
}

.section-with-bg {
    position: relative;
    overflow: hidden;
}

.lottie-bg, .lottie-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
}

.lottie-bg-container {
    z-index: -1;
    opacity: 0.3;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.hover-scale {
    transition: var(--transition);
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* 5. Buttons & UI Elements */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #fbbf24);
    color: var(--text-dark);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(var(--accent-gold-rgb), 0.5);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%; left: -100%; width: 60px; height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(25deg);
    transition: 0.6s cubic-bezier(0.1, 0.7, 0.6, 1);
}

.btn-shine:hover::after {
    left: 130%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-dark);
}
.btn-outline:hover {
    background: var(--text-muted);
    color: white;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--bg-light);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}
.btn-outline-gold:hover {
    background: var(--accent-gold);
    color: white;
}

/* 6. Layout Helpers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden; /* Changed from overflow-x to full overflow for safer animation containment */
}

.section .container {
    position: relative;
    z-index: 1;
}

.bg-light {
    background-color: #EFF3F8;
}

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

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}
.section-title span {
    color: var(--accent-gold);
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-title-right {
    text-align: right;
    margin-bottom: 1rem;
}
.section-title-right h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0;
}

/* 7. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.9rem 0;
    transition: var(--transition);
    will-change: background-color, box-shadow;
}
.header.scrolled {
    background: var(--white-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
}
.header.scrolled .logo {
    color: var(--text-dark);
}
.logo img {
    width: 42px;
    height: auto;
}
.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    color: white;
    transition: var(--transition);
    white-space: nowrap;
}
.header.scrolled .nav-links a {
    color: var(--text-dark);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--accent-gold);
}
.header.scrolled .nav-links a:hover {
    color: var(--accent-gold);
}
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: white;
    transition: var(--transition);
    padding: 0.3rem;
    line-height: 1;
}
.header.scrolled .menu-toggle {
    color: var(--text-dark);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
.nav-overlay.active {
    display: block;
}

/* ===== Page Header ===== */
.page-header {
    padding: 12rem 0 8rem;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: white;
    position: relative;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .page-header {
        padding: 8rem 0 4rem;
        min-height: 30vh;
    }
}

/* 8. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--mesh-gradient),
                linear-gradient(135deg, rgba(var(--bg-dark-rgb), 0.88), rgba(var(--bg-dark-rgb), 0.95)),
                url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1974&q=80') center/cover no-repeat;
    padding-top: var(--header-height);
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--bg-light);
}
.hero-title span {
    color: var(--accent-gold);
}
.hero-text {
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 1.8rem;
}
.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 2.5rem;
    border-radius: var(--border-radius-card);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border: var(--glass-border);
    color: white;
}
.hero-card img {
    margin: 0 auto;
}
.hero-card p {
    margin: 1rem 0;
    color: var(--bg-light);
    font-size: 0.95rem;
    line-height: 1.7;
}
.hero-card a {
    color: var(--accent-gold);
    font-weight: 600;
}
.hero-card h3 {
    margin-top: 0.8rem;
    font-size: 1.3rem;
}
.hero-lottie-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* 9. Services (Homepage Cards) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 1.2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
    will-change: transform;
    display: flex;
    align-items: center;
    text-align: right;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
}

@media (min-width: 992px) {
    .service-card {
        gap: 1.5rem;
        padding: 1.3rem 2rem;
    }
    .service-card h3 {
        width: 170px;
        flex-shrink: 0;
        font-size: 1.1rem;
    }
    .service-card ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1.2rem;
        flex: 1;
        justify-content: flex-start;
    }
    .service-card li {
        font-size: 0.9rem;
    }
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 0;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    z-index: -1;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-gold-rgb), 0.5);
    box-shadow: var(--premium-glow);
}
.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.45s ease;
}
.service-icon i {
    font-size: 1.6rem;
    color: var(--accent-gold);
    transition: all 0.45s ease;
}
.service-card:hover .service-icon {
    background: var(--accent-gold);
    transform: scale(1.08) rotateY(180deg);
}
.service-card:hover .service-icon i {
    color: white;
}

.service-card h3 {
    margin: 0;
    font-size: 0.95rem;
    transition: color 0.45s ease;
    flex-shrink: 0;
    min-width: 120px;
}
@media (min-width: 992px) {
    .service-card h3 { font-size: 1.05rem; }
}
.service-card:hover h3 { color: white; }

.service-card ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.8rem;
    flex: 1;
    text-align: right;
}
.service-card li {
    padding: 0.15rem 0;
    color: var(--text-muted);
    transition: color 0.45s ease;
    font-size: 0.82rem;
    white-space: nowrap;
}
.service-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-gold);
    margin-left: 0.4rem;
    font-size: 0.7rem;
}
.service-card:hover li { color: #cbd5e1; }

.service-card-btn {
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.45s ease;
    border-color: #e2e8f0;
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
}
.service-card:hover .service-card-btn {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

/* 10. Clients & Brand Sliders */
.clients-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}
.client-logo {
    max-width: 90px;
    max-height: 70px;
    object-fit: contain;
    filter: none; /* Removed grayscale */
    opacity: 1;    /* Full opacity */
    transition: var(--transition);
}
.client-logo:hover {
    transform: scale(1.1);
}

/* Linear motion for continuous marquee effect */
.clients-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* ===== Audience Slider ===== */
.audience-slider .swiper-slide {
    padding: 0.5rem;
}
.audience-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 2.5rem;
    text-align: center;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.audience-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 100%; height: 100%;
    background: var(--mesh-gradient);
    opacity: 0.05;
    pointer-events: none;
}
.audience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--premium-glow);
    border-color: var(--accent-gold);
}
.audience-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--accent-gold-rgb), 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.4s ease;
}
.audience-card:hover .audience-icon {
    background: var(--accent-gold);
    color: white;
    transform: scale(1.1) rotate(5deg);
}
.audience-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}
.audience-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}
.audience-tags {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.audience-tags span {
    background: rgba(var(--accent-gold-rgb), 0.08);
    color: var(--accent-gold);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    transition: all 0.3s ease;
}
.audience-card:hover .audience-tags span {
    background: rgba(var(--accent-gold-rgb), 0.15);
    transform: translateY(-2px);
}

/* --- Homepage Blog Preview Dynamic Styles --- */
.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}
.home-blog-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.home-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--premium-glow);
    border-color: var(--accent-gold);
}
.home-blog-card .card-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.home-blog-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.home-blog-card:hover .card-img img {
    transform: scale(1.1);
}
.home-blog-card .card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.home-blog-card .category-badge {
    display: inline-block;
    background: rgba(var(--accent-gold-rgb), 0.12);
    color: var(--accent-gold);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    align-self: flex-start;
}
.home-blog-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text-dark);
}
.home-blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.home-blog-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.2rem;
}
.home-blog-card .post-date {
    font-size: 0.85rem;
    color: #94a3b8;
}
.home-blog-card .read-more-link {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.home-blog-card .read-more-link i {
    transition: transform 0.3s ease;
}
.home-blog-card:hover .read-more-link i {
    transform: translateX(-5px);
}

/* Skeleton Loading */
.loading-skeleton { display: flex; gap: 2rem; width: 100%; }
.skeleton-item { height: 350px; background: #f1f5f9; flex: 1; border-radius: 2rem; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }

/* 11. Quick Service & Hotline */
.quick-service {
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
    border-radius: var(--border-radius-card);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}
.quick-service-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 0.8rem;
}
.quick-service-text {
    max-width: 680px;
    margin: 1.5rem auto;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* 12. Steps & Vision */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}
.step-number {
    width: 55px;
    height: 55px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}
.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}
.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 13. About Preview & Content */
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    overflow: hidden;
}
.about-description, .about-text {
    margin: 1.5rem 0;
    line-height: 1.7;
    color: var(--text-muted);
}
.about-text {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}
.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin: 1.5rem 0;
}
.values-list div {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.values-list div i {
    color: var(--accent-gold);
}
.about-preview-grid .btn {
    margin-left: 0.8rem;
}

.about-grid, .goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    overflow: hidden;
}

.rounded-img {
    border-radius: var(--border-radius-card);
    width: 100%;
    object-fit: cover;
}

.features-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.8rem 0;
}
.feature-item {
    background: white;
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 1.1rem;
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.06), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.15);
    border-color: rgba(212,175,55,0.4);
}
.feature-item:hover::before { opacity: 1; }
.feature-item i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(212,175,55,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-gold);
    transition: all 0.35s ease;
    border: 1px solid rgba(212,175,55,0.2);
}
.feature-item:hover i {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
    transform: scale(1.08) rotate(-5deg);
}
.feature-item h4 {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}
.feature-item p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.4;
}

.contact-action {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* 14. Team Section */
.team-slider-wrapper {
    overflow: hidden;
    padding: 1rem 0 2rem;
    position: relative;
}
.team-slider {
    overflow: visible !important;
    padding: 0.5rem !important;
}
.team-card {
    position: relative;
    border-radius: 1.4rem;
    overflow: hidden;
    height: 340px;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    background: var(--bg-dark);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.team-card-img {
    position: absolute;
    inset: 0;
}
.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
    filter: brightness(0.92);
}
.team-card:hover .team-card-img img {
    transform: scale(1.05);
    filter: brightness(0.78);
}
.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,18,36,0.85) 0%,
        rgba(10,18,36,0.2) 40%,
        transparent 65%
    );
    pointer-events: none;
}
.team-social {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    z-index: 4;
}
.team-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}
.team-social a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(212,175,55,0.4);
}
.team-card-info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1.2rem 1.1rem;
    z-index: 3;
    text-align: right;
    transition: transform 0.35s ease;
}
.team-card:hover .team-card-info {
    transform: translateY(-3px);
}
.team-badge {
    display: inline-block;
    margin-bottom: 0.3rem;
}
.team-badge i {
    font-size: 0.5rem;
    color: #22c55e;
    margin-left: 0.3rem;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}
.team-card-info h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 0.4rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
}
.roles span {
    background: rgba(212,175,55,0.22);
    color: var(--accent-gold);
    border: 1px solid rgba(212,175,55,0.45);
    border-radius: 2rem;
    padding: 0.14rem 0.6rem;
    font-size: 0.68rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* 15. Counters & Achievements */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.counter-section {
    position: relative;
}
.counter-horizontal-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-right: 4px solid var(--accent-gold);
    color: var(--text-dark);
}
.counter-horizontal-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--premium-glow);
    border-color: var(--accent-gold);
}
.counter-icon-wrap {
    width: 55px;
    height: 55px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    margin-left: 1rem;
    flex-shrink: 0;
}
.counter-info { text-align: right; }
.counter-info h2 {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    font-weight: 700;
}
.counter-info p {
    margin: 0.4rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.achievements-list {
    list-style: none;
    margin-top: 1rem;
}
.achievements-list li {
    padding: 0.4rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}
.achievements-list li i {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* 16. Services Page Specifics (Consolidated) */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.service-page-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px -8px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.service-page-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--premium-glow);
    border-color: var(--accent-gold);
}

.service-page-card .service-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--accent-gold-rgb), 0.1);
    color: var(--accent-gold);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 15px rgba(var(--accent-gold-rgb), 0.2);
}

.service-page-card:hover .service-icon,
.service-page-card:active .service-icon {
    background: var(--accent-gold);
    color: #ffffff !important; /* Force white icon when background is gold */
    transform: rotateY(180deg);
}

/* Ensure the icon itself (i) inherits or explicitly uses white */
.service-page-card:hover .service-icon i,
.service-page-card:active .service-icon i {
    color: #ffffff !important;
}

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

.service-page-card .service-desc {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-page-card .btn-outline {
    width: 100%;
}

/* Team Card Styles */
.team-card {
    background: white;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--premium-glow);
}

.team-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-card-img img {
    transform: scale(1.1);
}

.team-card-info {
    padding: 1.8rem;
    text-align: center;
    flex-grow: 1;
}

.team-card-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.team-card .roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.team-card .roles span::after {
    content: '•';
    margin-right: 0.4rem;
    color: var(--accent-gold);
}

.team-card .roles span:last-child::after {
    content: '';
}

/* 17. Contact Page & Form */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.info-card {
    background: white;
    padding: 2rem 1.2rem;
    text-align: center;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.info-card:hover {
    transform: translateY(-4px);
}
.info-card i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}
.info-card h4 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}
.info-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Home Contact Section Grid (Isolated) */
.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .home-contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Homepage Contact Form Styling - Premium Overhaul */
.home-contact-grid .contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 2.5rem;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.06);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-contact-grid .contact-form-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 50px 120px -30px rgba(var(--accent-gold-rgb), 0.15);
    border-color: var(--accent-gold);
}

.home-contact-grid .contact-form-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 100%; height: 100%;
    background: var(--mesh-gradient);
    opacity: 0.1;
    pointer-events: none;
}

.home-contact-grid .form-control {
    background: #f8fafc;
    border: 2px solid transparent;
    padding: 1.1rem 1.2rem;
    border-radius: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.home-contact-grid .form-control:focus {
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 10px 25px -5px rgba(var(--accent-gold-rgb), 0.1);
    outline: none;
}

.home-contact-grid .form-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    display: block;
    padding-right: 0.5rem;
}

/* Home Contact Info Links */
.contact-info-item p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-item p a:hover {
    color: var(--accent-gold);
    padding-right: 5px;
}

/* Contact Page Layout Refinement */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Contact Page Hero Header - Light background with Top-only Shadow for Navbar */
.contact-hero-top {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.contact-hero-top::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 180px; /* Shadow height */
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.welcome-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.contact-info-minimal {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.minimal-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.minimal-info-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    width: 45px;
    height: 45px;
    background: rgba(var(--accent-gold-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minimal-info-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.minimal-info-text strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.minimal-info-text strong a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.minimal-info-text strong a:hover {
    color: var(--accent-gold);
}

.lottie-hero-contact {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

@media (max-width: 992px) {
    .hero-contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-info-minimal {
        justify-content: right;
    }
    .welcome-text h1 {
        font-size: 2.5rem;
    }
}

/* Floating Labels & Premium Form */
.premium-form-container {
    background: white;
    padding: 3.5rem;
    border-radius: 2.5rem;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.05);
}

.premium-form-container::before {
    content: '';
    position: absolute;
    top: 0; right: 0; width: 100%; height: 100%;
    background: var(--mesh-gradient);
    opacity: 0.3;
    pointer-events: none;
}

.form-group-floating {
    position: relative;
    margin-bottom: 2rem;
}

.form-group-floating .form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group-floating .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-gold);
    background: transparent;
}

.form-group-floating label {
    position: absolute;
    top: 1rem;
    right: 0;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group-floating .form-control:focus ~ label,
.form-group-floating .form-control:not(:placeholder-shown) ~ label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
}

/* Premium Sidebar & Info Cards */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-info-card {
    background: white;
    padding: 1.8rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.sidebar-info-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--premium-glow);
    border-color: var(--accent-gold);
}

.sidebar-icon-wrap {
    width: 54px;
    height: 54px;
    background: rgba(var(--accent-gold-rgb), 0.1);
    color: var(--accent-gold);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: 0.3s;
}

.sidebar-info-card:hover .sidebar-icon-wrap {
    background: var(--accent-gold);
    color: white;
}

.sidebar-text h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.sidebar-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Live Status Indicator */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* Neon Glow Card */
.neon-glow-card {
    position: relative;
    background: var(--bg-dark);
    color: white;
    padding: 2.5rem;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
}

.neon-glow-card h4 { color: white; }
.neon-glow-card p { color: rgba(255,255,255,0.7); }

.neon-glow-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.15) 0%, transparent 70%);
    animation: rotate-neon 10s linear infinite;
}

@keyframes rotate-neon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.map-card-wrapper {
    margin-top: 2rem;
    height: 300px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
}

.contact-info-side {
    padding: 20px;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.map-container {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: var(--shadow);
    position: relative;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.map-link-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--accent-gold);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    z-index: 2;
}

.home-contact {
    background: white;
    padding: 5rem 0;
}
.home-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.contact-image-side {
    position: relative;
}
.contact-form-side {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

/* 18. Blog & Social */
.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.blog-post {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}
.blog-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.blog-meta {
    padding: 0.8rem 1rem 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.blog-post h4 {
    padding: 0 1rem;
    font-size: 1rem;
    line-height: 1.5;
}
.blog-post p {
    padding: 0.4rem 1rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.projects-btn, .blog-btn {
    margin-top: 1rem;
    display: block;
    width: fit-content;
}

/* 19. Footer */
.footer {
    background: #0F172A;
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), #fbbf24, var(--accent-gold));
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-col p {
    color: #cbd5e1;
    margin: 1.2rem 0;
    line-height: 1.8;
    font-size: 0.92rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}
.footer-logo img {
    width: 50px;
    height: auto;
}
.footer-logo h4 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}
.footer-social {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-social a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}
.footer-col h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
}
.links-col li {
    margin-bottom: 0.8rem;
}
.links-col a {
    color: #94a3b8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}
.links-col a i {
    font-size: 0.75rem;
    transition: var(--transition);
}
.links-col a:hover {
    color: var(--accent-gold);
}
.links-col a:hover i {
    transform: translateX(-4px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.88rem;
}
.footer-bottom p {
    color: #64748b;
}
.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
}
.footer-bottom-links a {
    color: #64748b;
    transition: var(--transition);
    font-size: 0.88rem;
}
.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* 20. Utilities & Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 1.8rem;
    left: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: white;
    border-radius: 3rem;
    padding: 0.7rem 1.2rem 0.7rem 0.9rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.3s ease;
    overflow: hidden;
}
.whatsapp-float:hover {
    background: #128C7E;
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
    transform: translateY(-3px);
    color: white;
}
.whatsapp-float i {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #25D366;
    animation: wa-pulse 2.5s ease-out infinite;
    z-index: -1;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.shadow-lg {
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2);
}

/* 21. Responsive Design */
@media (max-width: 992px) {
    :root { --header-height: 65px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 80vw);
        height: 100dvh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links a {
        color: var(--text-dark);
        font-size: 1.1rem;
        padding: 0.9rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .nav-links a::after { display: none; }
    .nav-links a.active { color: var(--accent-gold); }
    .nav-links.active { right: 0; }

    .header.scrolled .nav-links a { color: var(--text-dark); }
    .header.scrolled .nav-links a.active { color: var(--accent-gold); }

    .menu-toggle {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 0;
    }
    .hero-buttons { justify-content: center; }
    .hero-card { max-width: 480px; margin: 0 auto; }

    .about-preview-grid, 
    .about-grid, 
    .goals-grid, 
    .contact-layout, 
    .home-contact-grid,
    .contact-wrapper,
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-grid > div:first-child, .goals-grid > div:last-child, .contact-image-side {
        order: -1;
    }
    .rounded-img {
        max-height: 320px;
        object-fit: cover;
    }

    .contact-form, .contact-form-side {
        padding: 2rem 1.5rem;
    }
    .map-container { min-height: 320px; }
    .section-title-right { text-align: center; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --header-height: 60px; }
    .section { padding: 3.5rem 0; }

    .page-header { padding: 7rem 0 3.5rem; }
    .hero { min-height: auto; padding-bottom: 2rem; }
    .hero-title { font-size: 2rem; }
    .hero-text { font-size: 0.95rem; }

    .services-grid { gap: 0.7rem; }
    .service-card {
        display: grid;
        grid-template-columns: 44px 1fr auto;
        grid-template-areas: "icon title btn" "icon list btn";
        gap: 0.3rem 0.8rem;
        padding: 0.85rem 1rem;
    }
    .service-card .service-icon { grid-area: icon; width: 44px; height: 44px; align-self: center; }
    .service-card h3 { grid-area: title; font-size: 0.88rem; align-self: end; }
    .service-card ul { grid-area: list; gap: 0 0.6rem; }
    .service-card li { font-size: 0.75rem; }
    .service-card-btn { grid-area: btn; font-size: 0.78rem; padding: 0.45rem 0.7rem; }

    .steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .features-box { grid-template-columns: 1fr; }
    .feature-item { padding: 0.7rem 0.85rem; }
    .team-card { height: 260px; }

    .team-slider .swiper-slide { opacity: 0.65; transform: scale(0.9); transition: all 0.4s; }
    .team-slider .swiper-slide-active { opacity: 1; transform: scale(1); }

    .step {
        padding: 2rem 1.5rem;
        border-radius: 1.5rem;
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid rgba(var(--accent-gold-rgb), 0.1);
    }

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

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 0.85rem; border-radius: 50%; left: 1rem; bottom: 1.2rem; }
    
    .service-card {
        grid-template-columns: 38px 1fr auto;
        padding: 0.75rem 0.85rem;
    }
    .service-card .service-icon { width: 38px; height: 38px; }
}

/* ===============================================
   FINAL TWEAKS & OVERRIDES (Consolidated)
=============================================== */

/* --- Mobile Service Cards Redesign --- */
@media (max-width: 768px) {
    .services-grid {
        gap: 1.2rem;
        padding: 1rem 0;
    }

    .service-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-areas: 
            "icon title"
            "list list"
            "btn btn";
        gap: 0.8rem;
        padding: 1.4rem;
        background: #ffffff;
        border-radius: 1.5rem;
        border: 1px solid rgba(212, 175, 55, 0.12);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
        position: relative;
    }

    .service-card .service-icon {
        grid-area: icon;
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
        border-radius: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-gold);
        font-size: 1.2rem;
    }

    .service-card h3 {
        grid-area: title;
        font-size: 1.15rem;
        font-weight: 700;
        margin: 0;
        align-self: center;
        color: var(--text-dark);
    }

    .service-card ul {
        grid-area: list;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem 0;
        margin: 0.5rem 0;
        border-top: 1px solid rgba(0, 0, 0, 0.03);
    }

    .service-card li {
        font-size: 0.9rem;
        color: var(--text-muted);
        display: flex;
        align-items: flex-start;
        line-height: 1.4;
    }

    .service-card li::before {
        content: '\f00c';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 0.7rem;
        font-size: 0.75rem;
        color: var(--accent-gold);
        margin-top: 3px;
    }

    .service-card-btn {
        grid-area: btn;
        justify-self: end;
        width: auto;
        min-width: 100px;
        padding: 0.6rem 1.2rem;
        margin-top: 0.2rem;
        background: var(--bg-light);
        color: var(--accent-gold);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 0.8rem;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
    }

    .service-card-btn:active {
        background: var(--accent-gold);
        color: white;
        transform: scale(0.95);
    }
}

/* --- Stats Section Redesign --- */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.counter-horizontal-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    position: relative;
    overflow: hidden;
}

.counter-horizontal-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), #fbbf24);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.counter-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
}

.counter-horizontal-card:hover::after {
    transform: scaleX(1);
}

.counter-icon-wrap {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.counter-icon-wrap i {
    font-size: 1.6rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.counter-horizontal-card:hover .counter-icon-wrap {
    background: var(--accent-gold);
    transform: scale(1.05);
    border-color: transparent;
}

.counter-horizontal-card:hover .counter-icon-wrap i {
    color: white;
    transform: scale(1.05);
}

.counter-info {
    flex: 1;
    text-align: right;
}

.counter-info h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.counter-info p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .counter-grid {
        gap: 1rem;
    }
    .counter-icon-wrap {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    .counter-icon-wrap i {
        font-size: 1.3rem;
    }
    .counter-info h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .counter-horizontal-card {
        padding: 1rem;
    }
    .counter-icon-wrap {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    .counter-icon-wrap i {
        font-size: 1.2rem;
    }
    .counter-info h2 {
        font-size: 1.4rem;
    }
    .counter-info p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .counter-horizontal-card {
        padding: 0.9rem 1rem;
    }
    .counter-icon-wrap {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    .counter-info h2 {
        font-size: 1.6rem;
    }
    .counter-info p {
        font-size: 0.8rem;
    }
}

/* --- Service Categories & UX Steps --- */

.service-category {
    margin-bottom: 5rem;
}
.category-title {
    font-size: 1.6rem;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    font-weight: 700;
    position: relative;
    padding-right: 1rem;
}
.category-title i {
    color: var(--accent-gold);
    margin-left: 0.5rem;
    font-size: 1.5rem;
}
.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
}
@media (max-width: 768px) {
    .category-title {
        font-size: 1.3rem;
        margin: 1.5rem 0 1rem;
    }
    .category-title i {
        font-size: 1.2rem;
    }
}

.ux-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
@media (max-width: 480px) {
    .ux-steps {
        grid-template-columns: 1fr;
    }
    .step {
        display: flex;
        align-items: center;
        text-align: right;
        gap: 1rem;
        padding: 1rem;
    }
    .step .step-number {
        margin: 0;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    .step h3, .step p {
        margin: 0;
    }
}

/* --- Enhanced Contact Cards (From contact.html) --- */
.contact-info-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card-modern {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.12);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.info-card-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #fbbf24);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
    z-index: -1;
}

.info-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px -12px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}
.info-card-modern:hover::before { transform: scaleX(1); }

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.info-card-modern:hover .card-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-gold), #fbbf24);
    border-color: transparent;
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 20px -10px rgba(212, 175, 55, 0.4);
}

.card-icon-wrapper i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.info-card-modern:hover .card-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.info-card-modern h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.info-card-modern p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.card-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.card-link a:hover {
    background: var(--accent-gold);
    color: white;
    gap: 0.7rem;
}

.info-card-modern.special-card {
    background: linear-gradient(145deg, #ffffff, #fef9e8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.info-card-modern.special-card .card-icon-wrapper {
    background: var(--accent-gold);
    width: 90px;
    height: 90px;
}

.info-card-modern.special-card .card-icon-wrapper i {
    color: white;
    font-size: 2.5rem;
}

.info-card-modern.special-card h4 {
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.btn-whatsapp-card {
    background: #25D366;
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.25);
    border: none;
    font-size: 0.9rem;
}

.btn-whatsapp-card:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(37, 211, 102, 0.35);
}

.special-card lottie-player {
    width: 110px;
    height: 110px;
    margin: 0 auto 0.5rem;
}

@media (max-width: 992px) {
    .contact-info-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-card-modern.special-card {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .contact-info-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .info-card-modern.special-card {
        grid-column: span 1;
    }
    .info-card-modern {
        padding: 1.5rem;
    }
    .card-icon-wrapper {
        width: 65px;
        height: 65px;
    }
    .card-icon-wrapper i {
        font-size: 1.8rem;
    }
    .info-card-modern h4 {
        font-size: 1.2rem;
    }
}

/* --- Premium UI Enhancements --- */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), #fbbf24);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

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

.floating-anim {
    animation: float 4s ease-in-out infinite;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card:hover {
    background: linear-gradient(145deg, #ffffff, #fffcf5) !important;
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1) !important;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

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


/* --- Code Organization & Utility Classes --- */
.lottie-player-full {
    width: 100%;
    height: 100%;
}

.lottie-bg-01 {
    opacity: 0.1;
}

.lottie-bg-005 {
    opacity: 0.05;
}

.lottie-illustration {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.lottie-illustration-light {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.04));
}

.lottie-tech-support {
    width: 100%;
    max-width: 300px;
}

.lottie-form-icon {
    width: 60px;
    height: 60px;
}

.lottie-chat-medium {
    width: 110px;
    height: 110px;
    margin: 0 auto 0.5rem;
}

.flex-center-wrap {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-group-preview {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.w-full {
    width: 100% !important;
}

.w-full-form-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

.form-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-subtitle-gold {
    color: var(--accent-gold);
    margin-bottom: 0.2rem;
}

.form-main-title {
    font-size: 2.2rem;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

.form-description-muted {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Page Headers */
.page-header-about {
    background-image: var(--mesh-gradient),
                      linear-gradient(135deg, rgba(var(--bg-dark-rgb), 0.8), rgba(var(--bg-dark-rgb), 0.9)), 
                      url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.page-header-services {
    background-image: var(--mesh-gradient),
                      linear-gradient(135deg, rgba(var(--bg-dark-rgb), 0.8), rgba(var(--bg-dark-rgb), 0.9)), 
                      url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.page-header-contact {
    background-image: var(--mesh-gradient),
                      linear-gradient(135deg, rgba(var(--bg-dark-rgb), 0.8), rgba(var(--bg-dark-rgb), 0.9)), 
                      url('https://images.unsplash.com/photo-1596524430615-b46475ddff6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.margin-right-8 {
    margin-right: 8px !important;
}

/* --- Premium Background Decorators --- */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.icon-dot {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: float-slow 15s infinite ease-in-out;
}

.dot-1 { top: 10%; left: 15%; animation-delay: 0s; }
.dot-2 { top: 60%; right: 10%; animation-delay: -5s; width: 180px; height: 180px; }
.dot-3 { bottom: 10%; left: 40%; animation-delay: -10s; }

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -50px); }
    66% { transform: translate(-20px, 40px); }
}

.hero-title {
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 17. Blog & Post Styles */
.blog-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.blog-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: white; border-radius: 1rem; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-content { padding: 1.5rem; }
.blog-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; font-size: 0.8rem; color: var(--text-muted); }
.blog-card-category { background: rgba(212, 175, 55, 0.1); color: var(--accent-gold); padding: 0.2rem 0.8rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 600; }
.blog-card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card-title a { color: var(--text-dark); transition: color 0.3s; }
.blog-card-title a:hover { color: var(--accent-gold); }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.05); }
.read-more { color: var(--accent-gold); font-weight: 600; font-size: 0.85rem; }
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: white; border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); }
.sidebar-widget h4 { margin-bottom: 1rem; position: relative; padding-bottom: 0.5rem; }
.sidebar-widget h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 2px; background: var(--accent-gold); }
.search-box { display: flex; border: 1px solid #e2e8f0; border-radius: 2rem; overflow: hidden; }
.search-box input { flex: 1; padding: 0.6rem 1rem; border: none; outline: none; font-family: inherit; }
.search-box button { background: var(--accent-gold); border: none; padding: 0 1rem; color: white; cursor: pointer; }
.category-list { list-style: none; }
.category-list li { margin-bottom: 0.5rem; }
.category-list a { display: flex; justify-content: space-between; color: var(--text-muted); transition: color 0.3s; }
.category-list a:hover, .category-list a.active { color: var(--accent-gold); }
.admin-controls { margin-top: 1rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-admin { background: var(--accent-gold); color: white; border: none; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.85rem; cursor: pointer; transition: all 0.3s; }
.btn-admin:hover { background: #b8911a; transform: translateY(-2px); }
.delete-post, .edit-post { background: none; border: none; cursor: pointer; font-size: 1rem; transition: transform 0.2s; }
.delete-post { color: #e53e3e; }
.edit-post { color: var(--accent-gold); }
.delete-post:hover, .edit-post:hover { transform: scale(1.1); }
.login-modal, .post-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: center; }
.login-modal.active, .post-modal.active { display: flex; }
.modal-content { 
    background: white; 
    padding: 2.5rem; 
    border-radius: 1.5rem; 
    width: 90%; 
    max-width: 600px; 
    position: relative; 
    max-height: 90vh; 
    overflow-y: auto; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.modal-content h3 { margin-bottom: 1.5rem; font-family: 'Cairo', sans-serif; color: var(--text-dark); border-bottom: 2px solid var(--accent-gold); display: inline-block; padding-bottom: 0.5rem; }
.modal-content input, .modal-content textarea, .modal-content select { width: 100%; padding: 0.8rem 1rem; margin-bottom: 1.2rem; border: 1px solid #e2e8f0; border-radius: 0.8rem; font-family: inherit; transition: border-color 0.3s; }
.modal-content input:focus, .modal-content textarea:focus { border-color: var(--accent-gold); outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-gold-rgb), 0.1); }
.modal-content textarea { min-height: 180px; resize: vertical; }
.modal-buttons { display: flex; gap: 1rem; justify-content: flex-end; }
.close-modal { position: absolute; top: 1rem; left: 1rem; cursor: pointer; font-size: 1.2rem; }
@media (max-width: 992px) { .blog-grid { grid-template-columns: 1fr; } .blog-sidebar { position: static; margin-top: 2rem; } }

/* Post Page Specifics */
.post-header {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
}
.post-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 2rem;
}
.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.post-body p {
  margin-bottom: 1.5rem;
}
.post-body h2, .post-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.post-meta-big {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.8);
}
.edit-post-btn {
  background: var(--accent-gold);
  color: var(--text-dark);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}
.edit-post-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}
.post-share-sidebar {
  position: sticky;
  top: 100px;
}
@media (max-width: 992px) {
  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .post-share-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

/* --- Modal & Form Refinements (Internal cleanup) --- */
.media-input-group { margin-bottom: 1.5rem; }
.form-label-bold { display: block; margin-bottom: 0.6rem; font-weight: 600; color: var(--text-dark); }
.upload-toggle-btns { display: flex; gap: 0.8rem; margin-bottom: 1rem; }
.btn-toggle-group { flex: 1; padding: 0.6rem; font-size: 0.85rem; }
.image-preview-wrapper { margin-top: 1.2rem; text-align: center; background: #f8fafc; padding: 1rem; border-radius: 0.8rem; border: 1px dashed #e2e8f0; }
.image-preview-img { max-width: 100%; max-height: 220px; border-radius: 0.8rem; border: 1px solid #ddd; display: block; margin: 0 auto; object-fit: contain; }
.remove-preview-btn { display: block; margin: 0.8rem auto 0; color: #ef4444; background: none; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 500; }
.remove-preview-btn:hover { text-decoration: underline; }

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .post-header {
        padding: 6rem 1rem 3rem !important;
    }
    .post-meta-big {
        flex-direction: column;
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    .modal-content {
        padding: 1.5rem;
        width: 95% !important;
        margin: 10px;
    }
    .page-title {
        font-size: 2.2rem !important;
    }
}

/* --- Page Header Backgrounds --- */
.blog-page-header { background-image: linear-gradient(135deg, rgba(15,23,42,0.8), rgba(15,23,42,0.9)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }

/* Utility Classes */
.hidden { display: none !important; }
.text-center-padding { text-align: center; padding: 3rem; }
.btn-admin-gray { background: #6c757d; color: white; border: none; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.85rem; cursor: pointer; transition: all 0.3s; }
.btn-admin-gold { background: var(--accent-gold); color: white; border: none; padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.85rem; cursor: pointer; transition: all 0.3s; }

/* --- Dynamic Content Styles --- */
.video-container { margin: 2.5rem 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 1rem; overflow: hidden; }
.post-video-iframe { width: 100%; height: 450px; border: none; }

@media (max-width: 768px) {
    .post-video-iframe { height: 250px; }
}

/* Post Page Specific Enhancements */
.post-badge { display: inline-block; margin-bottom: 1rem; background: rgba(212,175,55,0.2); padding: 0.3rem 1rem; border-radius: 2rem; font-size: 0.85rem; color: var(--accent-gold); }
.blog-layout-wrapper { display: grid; grid-template-columns: 1fr 280px; gap: 4rem; }

@media (max-width: 992px) {
    .blog-layout-wrapper { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* --- Scroll Progress Bar (Issue 19) --- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent-gold); z-index: 10001; width: 0%; transition: width 0.1s ease; }

