/* ==============================================
   Solution Gates - Premium Animated Design
   Mobile Responsive + Animations
   ============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --dark-gold: #B8960F;
    --black: #0A0A0A;
    --light-black: #1A1A1A;
    --dark-gray: #2A2A2A;
    --white: #FFFFFF;
    --gray: #CCCCCC;
    --light-gray: #F5F5F5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.language-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--black);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    border-color: transparent;
}

.inner-hero {
    margin-top: 0;
    padding: 80px 5% 70px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.2), rgba(10, 10, 10, 0.92));
    color: var(--white);
}

.inner-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.inner-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-actions {
    margin-top: 2rem;
    text-align: center;
}

.info-highlight {
    padding: 80px 5%;
    background: linear-gradient(180deg, #fefcf4, #ffffff);
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .nav-links,
body.rtl .footer-content,
body.rtl .form-row {
    direction: rtl;
}

body.rtl .language-switch {
    margin-right: 1rem;
}

body.ltr {
    direction: ltr;
    text-align: left;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10010;
    background: linear-gradient(90deg, #0d0d0d, #1f1f1f);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.topbar-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.45rem 5%;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.top-item {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 0.82rem;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
}

.top-item i {
    margin-inline-end: 0.35rem;
}

nav {
    top: 33px;
}

.mobile-menu-head,
.mobile-menu-social {
    display: none;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.small-card {
    height: 300px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    perspective: 1200px;
}

.service-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

.small-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-face {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.8rem;
    backface-visibility: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-front {
    background: #fff;
}

.service-back {
    background: linear-gradient(145deg, #111, #232323);
    color: #fff;
    transform: rotateY(180deg);
}

.service-back p {
    color: #fff !important;
}

.mission-vision-section {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
    gap: 2rem;
    align-items: center;
    background: #fafafa;
}

.mv-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.mv-content {
    display: grid;
    gap: 1rem;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.4rem;
}

/* ─── How We Work Timeline ─── */
.timeline-section {
    padding: 90px 5%;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section .section-header h2 {
    color: #fff;
}
.timeline-section .section-header p {
    color: rgba(255,255,255,0.6);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    transform: translateX(-50%);
}

/* Animated glow traveling down the line */
.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 60px;
    border-radius: 4px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    box-shadow: 0 0 20px var(--gold);
    animation: tl-glow 4s ease-in-out infinite;
}

@keyframes tl-glow {
    0%   { top: -60px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 50px;
    box-sizing: border-box;
}

.timeline-item.tl-left {
    left: 0;
    text-align: right;
}
.timeline-item.tl-right {
    left: 50%;
    text-align: left;
}

/* RTL flips */
[dir="rtl"] .timeline-item.tl-left {
    text-align: left;
}
[dir="rtl"] .timeline-item.tl-right {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(212,175,55,0.2), 0 8px 25px rgba(0,0,0,0.4);
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
}

.timeline-item.tl-left .timeline-dot {
    right: -24px;
}
.timeline-item.tl-right .timeline-dot {
    left: -24px;
}

[dir="rtl"] .timeline-item.tl-left .timeline-dot {
    right: auto;
    left: -24px;
}
[dir="rtl"] .timeline-item.tl-right .timeline-dot {
    left: auto;
    right: -24px;
}

.tl-number {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1;
}

.timeline-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 16px;
    padding: 1.6rem;
    transition: transform 0.5s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease, border-color 0.3s;
}

.timeline-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 16px 40px rgba(212,175,55,0.2);
}

.tl-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.timeline-item.tl-left .tl-icon {
    margin-left: auto;
}
[dir="rtl"] .timeline-item.tl-left .tl-icon {
    margin-left: 0;
    margin-right: auto;
}
[dir="rtl"] .timeline-item.tl-right .tl-icon {
    margin-right: 0;
    margin-left: auto;
}

.timeline-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.timeline-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Reveal animation per card */
.timeline-item.reveal {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.34,1.56,.64,1);
}
.timeline-item.tl-left.reveal {
    transform: translateX(-50px);
}
.timeline-item.tl-right.reveal {
    transform: translateX(50px);
}
.timeline-item.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays for the 6 items */
.timeline-item:nth-child(2) { transition-delay: 0.1s; }
.timeline-item:nth-child(3) { transition-delay: 0.2s; }
.timeline-item:nth-child(4) { transition-delay: 0.3s; }
.timeline-item:nth-child(5) { transition-delay: 0.4s; }
.timeline-item:nth-child(6) { transition-delay: 0.5s; }
.timeline-item:nth-child(7) { transition-delay: 0.6s; }

/* ─── Timeline responsive (mobile: single column) ─── */
@media (max-width: 768px) {
    .timeline-line {
        left: 24px;
    }
    [dir="rtl"] .timeline-line {
        left: auto;
        right: 24px;
    }
    .timeline-item,
    .timeline-item.tl-left,
    .timeline-item.tl-right {
        width: 100%;
        left: 0;
        padding-left: 65px;
        padding-right: 10px;
        text-align: left;
    }
    [dir="rtl"] .timeline-item,
    [dir="rtl"] .timeline-item.tl-left,
    [dir="rtl"] .timeline-item.tl-right {
        padding-left: 10px;
        padding-right: 65px;
        text-align: right;
    }
    .timeline-item.tl-left .timeline-dot,
    .timeline-item.tl-right .timeline-dot {
        left: 0;
        right: auto;
    }
    [dir="rtl"] .timeline-item.tl-left .timeline-dot,
    [dir="rtl"] .timeline-item.tl-right .timeline-dot {
        left: auto;
        right: 0;
    }
    .timeline-item.tl-left .tl-icon {
        margin-left: 0;
    }
    .timeline-item.tl-left.reveal,
    .timeline-item.tl-right.reveal {
        transform: translateY(30px) translateX(0);
    }
}

.projects-section {
    padding: 85px 5%;
    background: linear-gradient(180deg, #ffffff, #f8f8f8);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.4rem;
}

.project-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.project-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.project-body {
    padding: 1.1rem;
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #b68f18;
    margin-bottom: 0.4rem;
}

.project-link {
    text-decoration: none;
    color: var(--gold);
    font-weight: 700;
}

.booking-promo {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: center;
}

.booking-promo-image img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.booking-promo-content h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.booking-promo-content p {
    color: #555;
    margin-bottom: 1.4rem;
}

.animated-border {
    position: relative;
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(120deg, #d4af37, #ffffff, #d4af37, #111111);
    background-size: 280% 280%;
    animation: movingBorder 5s linear infinite;
    z-index: -1;
}

@keyframes movingBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ─── Testimonials Section ─── */
.testimonials-section {
    padding: 5rem 6%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    text-align: center;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-track {
    position: relative;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.testimonial-stars {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.testimonial-stars i {
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #ccc;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    padding: 0;
    border: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}

.testimonial-avatar-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8960c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 1.4rem;
}

.testimonial-author-info {
    text-align: left;
}

html[dir="rtl"] .testimonial-author-info {
    text-align: right;
}

.testimonial-author-info strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.testimonial-author-info span {
    color: #d4af37;
    font-size: 0.85rem;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-arrow {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow:hover {
    background: #d4af37;
    color: #111;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.t-dot.active {
    background: #d4af37;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 4%;
    }
    .testimonial-card {
        padding: 1.8rem 1.2rem;
    }
    .testimonial-text {
        font-size: 1rem;
    }
}

footer {
    position: relative;
    border-top: 2px solid transparent;
}

footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: movingBorder 4s linear infinite;
    background-size: 200% 100%;
}

.social-row {
    margin-top: 1rem;
    display: flex;
    gap: 0.8rem;
}

.social-row a {
    text-decoration: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(212,175,55,0.35);
}

.social-row i,
.floating-btn i,
.mobile-menu-social i,
.nav-icon-inline i {
    font-size: 0.95em;
}

.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    z-index: 10020;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.45);
}

.floating-btn.whatsapp { background: #1dbf73; }
.floating-btn.call { background: #0b5ed7; }

.booking-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.2fr);
    gap: 2rem;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
}

.booking-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.booking-visual img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

.booking-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.7));
    color: #fff;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 992px) {
    .topbar-content { justify-content: center; flex-wrap: wrap; }
    nav { top: 53px; }
    .mission-vision-section,
    .booking-promo,
    .booking-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar { position: sticky; top: 0; }
    nav { top: 0; }
    .topbar-content { padding: 0.4rem 3%; }
    .top-item { font-size: 0.74rem; }
    .floating-actions { bottom: 16px; right: 12px; }
    .floating-btn { width: 46px; height: 46px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* ============================================
   Navigation - FIXED TOP 0
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    animation: slideInLeft 0.6s ease;
}

nav.scrolled {
    padding: 0.8rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

nav.scrolled .logo img {
    height: 40px;
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.5));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-icon-inline {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 2rem !important;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
    color: var(--white) !important;
    border-radius: 30px;
    font-weight: 700 !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5) !important;
    color: var(--white) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s;
}

/* ============================================
   Hero Slider Section
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 700px;
    min-height: 500px;
    margin-top: 0;
    overflow: hidden;
    /* Both topbar+nav are sticky so no margin offset needed */
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: scaleIn 1.5s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: scaleIn 2s ease;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 5%;
    z-index: 2;
}

.slide.active .slide-content {
    animation: fadeInUp 1s ease 0.3s both;
}

.slide-badge {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: rgba(212, 175, 55, 0.25);
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.slide-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.highlight {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.slide-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-cta {
    display: inline-block;
    padding: 1.4rem 4rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 35px;
    transition: all 0.4s;
    box-shadow: 0 10px 35px rgba(212, 175, 55, 0.6);
    position: relative;
    overflow: hidden;
}

.slide-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.slide-cta:hover::before {
    left: 100%;
}

.slide-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.8);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 3%;
    z-index: 3;
    transform: translateY(-50%);
}

.slider-arrow {
    background: rgba(212, 175, 55, 0.3);
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.5);
    user-select: none;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.6);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--gold);
    width: 45px;
    border-radius: 8px;
    border-color: var(--gold);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: 70px 5%;
    background: var(--black);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: shimmer 15s linear infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    animation: fadeInUp 0.8s ease;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.stat-item p {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================================
   Section Styles
   ============================================ */
.services-section,
.booking-section,
.pricing-section {
    padding: 90px 5%;
    position: relative;
}

.services-section {
    background: var(--light-gray);
}

.booking-section {
    background: var(--white);
}

.pricing-section {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.3rem;
    color: #666;
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    border-color: var(--gold);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 800;
}

.service-card p {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: var(--white);
    border: 2px solid #E5E5E5;
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    animation: scaleIn 0.6s ease;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--gold);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--black) 0%, var(--light-black) 100%);
    color: var(--white);
    transform: scale(1.08);
    border-color: var(--gold);
    box-shadow: 0 30px 70px rgba(212, 175, 55, 0.4);
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.1);
}

.pricing-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.pricing-card.featured h3 {
    color: var(--gold);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card.featured .price {
    background: linear-gradient(135deg, var(--gold), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

.pricing-card.featured .price-period {
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid #F0F0F0;
    color: #555;
    transition: all 0.3s;
}

.pricing-features li:hover {
    padding-left: 10px;
    color: var(--gold);
}

.pricing-card.featured .pricing-features li {
    border-color: #333;
    color: var(--gray);
}

.pricing-features li:before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.pricing-button:hover::before {
    left: 100%;
}

.pricing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.pricing-card.featured .pricing-button {
    background: var(--white);
    color: var(--black);
}

.pricing-card.featured .pricing-button:hover {
    background: var(--gold);
    color: var(--white);
}

/* ============================================
   Booking Form
   ============================================ */
.booking-form {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--white);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-gray);
    animation: scaleIn 0.8s ease;
}

.booking-split .booking-form {
    padding: 2.5rem;
    margin: 0;
    max-width: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 700;
    color: var(--black);
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #E5E5E5;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.submit-btn {
    width: 100%;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--white);
    border: none;
    border-radius: 35px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.6);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    padding: 1.2rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    animation: slideInLeft 0.5s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--light-black) 100%);
    color: var(--white);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.footer-section li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-section p {
    color: #999;
    line-height: 1.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: var(--gray);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 4%;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        position: fixed;
        top: 66px;
        left: -100%;
        width: min(92%, 380px);
        height: calc(100vh - 82px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 1rem;
        gap: 0.9rem;
        transition: left 0.4s;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
        border-radius: 18px;
        overflow-y: auto;
        z-index: 10030;
        /* Animated gold border */
        border: 2px solid transparent;
        background-clip: padding-box;
        position: fixed;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        inset: -2px;
        border-radius: 20px;
        background: linear-gradient(120deg, #d4af37, #ffffff, #d4af37, #111111);
        background-size: 280% 280%;
        animation: movingBorder 5s linear infinite;
        z-index: -1;
    }
    
    .nav-links.active {
        left: 4%;
    }

    .mobile-menu-head {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        border: 1.5px solid rgba(212, 175, 55, 0.3);
        border-radius: 12px;
        padding: 0.6rem;
        margin-bottom: 0.4rem;
        background: rgba(212, 175, 55, 0.06);
    }

    .mobile-menu-head img {
        width: 38px;
        height: 38px;
        object-fit: contain;
    }

    .mobile-menu-head strong {
        color: #111;
        font-size: 0.95rem;
    }
    
    .nav-links a {
        font-size: 1rem !important;
        padding: 0.85rem 0.95rem;
        width: 100%;
        border-radius: 10px;
        border: 1.5px solid rgba(212, 175, 55, 0.15);
        background: rgba(212, 175, 55, 0.04);
        color: #222 !important;
    }

    .nav-links a:hover,
    .nav-links a.nav-active {
        background: rgba(212, 175, 55, 0.1) !important;
        border-color: rgba(212, 175, 55, 0.4) !important;
        color: var(--gold) !important;
    }

    .nav-link-item {
        justify-content: flex-start;
        gap: 0.6rem;
    }

    .nav-links a .nav-icon-inline {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
        border: 1.5px solid rgba(212,175,55,0.25);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 0.85rem;
        color: var(--gold) !important;
        transition: all 0.3s ease;
    }

    .nav-links a:hover .nav-icon-inline,
    .nav-links a.nav-active .nav-icon-inline {
        background: linear-gradient(135deg, var(--gold), var(--dark-gold));
        color: #fff !important;
        border-color: var(--gold);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        border-color: transparent !important;
        background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
        color: #fff !important;
    }

    .nav-cta .nav-icon-inline {
        background: rgba(255,255,255,0.2) !important;
        border-color: rgba(255,255,255,0.3) !important;
        color: #fff !important;
    }

    .mobile-menu-social {
        display: flex;
        margin-top: 0.4rem;
        justify-content: center;
        gap: 0.8rem;
    }

    .mobile-menu-social a {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        border: 1.5px solid rgba(212, 175, 55, 0.3);
        background: rgba(212, 175, 55, 0.08);
        padding: 0;
        color: var(--gold) !important;
        transition: all 0.3s ease;
    }

    .mobile-menu-social a:hover {
        background: linear-gradient(135deg, var(--gold), var(--dark-gold));
        color: #fff !important;
        border-color: var(--gold);
    }
    
    .nav-cta {
        padding: 1rem 3rem !important;
        font-size: 1.1rem !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slide-cta {
        padding: 1.2rem 3rem;
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .booking-form {
        padding: 2.5rem 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    nav {
        padding: 0.8rem 4%;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 450px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .slide-cta {
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .pricing-card {
        padding: 2rem;
    }
    
    .booking-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 400px) {
    .slide-content h1 {
        font-size: 1.6rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PREMIUM REDESIGN — v2
   ============================================ */

/* --- Typography: Premium Font Stack --- */
body {
    font-family: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Topbar: sticky, above navbar --- */
.topbar {
    position: sticky !important;
    top: 0;
    z-index: 12000;
    min-height: 40px;
    background: linear-gradient(90deg, #060912, #0e1523, #060912) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.topbar.topbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.topbar-content {
    gap: 1.4rem;
}

.top-item {
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    color: rgba(220, 220, 220, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.2);
    gap: 0.35rem;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.top-item:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--gold);
}

/* --- Navbar: sticky under topbar --- */
#navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 11900;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.12) !important;
    padding: 0.75rem 5% !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
    animation: none !important;
}

/* Nav links — bold, premium */
.nav-links {
    gap: 2rem;
}

.nav-links a {
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.25px;
    color: #111 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem 0.1rem;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    height: 2.5px !important;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold)) !important;
    border-radius: 4px !important;
    bottom: -3px !important;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--gold) !important;
}

.nav-links a.nav-active::after {
    width: 100% !important;
}

/* Nav icons — gold color always visible */
.nav-icon-inline {
    color: var(--gold) !important;
    font-size: 0.88rem;
    width: 1.1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon-inline i {
    font-size: 0.9em;
}

/* Nav CTA pill button */
.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
    color: #fff !important;
    padding: 0.65rem 1.6rem !important;
    border-radius: 30px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35) !important;
    letter-spacing: 0.2px;
}

.nav-cta .nav-icon-inline {
    color: #fff !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.55) !important;
}

/* --- ===================================
   PROJECT CARDS — Full-image + Hover Overlay
   =================================== --- */
.projects-section {
    padding: 100px 5% 100px !important;
    background: linear-gradient(180deg, #f7f7f9 0%, #ffffff 100%) !important;
}

.projects-section .section-header {
    margin-bottom: 3.5rem;
}

.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
    gap: 1.8rem !important;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Card base */
.project-card {
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10) !important;
    border: 2px solid rgba(212, 175, 55, 0.15) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.4s ease !important;
    cursor: pointer;
    background: #111;
    /* Remove old grid-template-rows */
    display: block !important;
    grid-template-rows: unset !important;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.025) !important;
    box-shadow: 0 28px 60px rgba(212, 175, 55, 0.22), 0 8px 20px rgba(0,0,0,0.15) !important;
    border-color: rgba(212, 175, 55, 0.55) !important;
}

/* Image wrapper fills full card */
.project-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card:hover .project-img-wrap img {
    transform: scale(1.10);
}

/* Permanent subtle gradient at bottom (title peek) */
.project-img-wrap::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hover overlay — slides up */
.project-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 8, 18, 0.97) 0%,
        rgba(10, 17, 35, 0.91) 50%,
        rgba(212, 175, 55, 0.20) 100%
    );
    color: #fff;
    padding: 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card:hover .project-hover-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    width: fit-content;
}

.project-hover-overlay h3 {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 0;
}

.project-hover-overlay p {
    font-size: 0.83rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 0.38rem 0.9rem;
    border-radius: 20px;
    width: fit-content;
    transition: all 0.25s;
    background: rgba(212, 175, 55, 0.08);
}

.project-view-btn:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Details button — filled gold variant */
.project-view-btn.details-btn {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.project-view-btn.details-btn:hover {
    background: var(--dark-gold);
    border-color: var(--dark-gold);
    color: #fff;
}

/* Remove old project body styles */
.project-media,
.project-body { display: none; }

/* --- ===================================
   FOOTER — Premium 4-column dark
   =================================== --- */
footer {
    background: linear-gradient(160deg, #060a14 0%, #0b1120 40%, #080e1c 100%) !important;
    color: #e0e0e0;
    padding: 0 0 0 0;
    position: relative;
    overflow: hidden;
    border-top: none !important;
    box-shadow: none !important;
}

/* Gold animated top border */
footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.4) 10%,
        var(--gold) 40%,
        #f0d060 50%,
        var(--gold) 60%,
        rgba(212, 175, 55, 0.4) 90%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: movingBorder 4s linear infinite;
}

/* Subtle radial glow */
footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 300px;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer top bar: brand + CTA */
.footer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 5% 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(212,175,55,0.3));
    flex-shrink: 0;
}

.footer-brand strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-brand span {
    font-size: 0.8rem;
    color: rgba(212, 175, 55, 0.8);
    font-weight: 500;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #000;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.7rem 1.7rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.55);
    color: #000;
}

.footer-divider {
    height: 0;
}

/* Main 4-column content grid */
.footer-content {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
    gap: 2.5rem !important;
    max-width: 1360px;
    margin: 0 auto;
    padding: 3rem 5% 2.5rem !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
}

.footer-section h4 {
    color: var(--gold) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.4rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 i {
    font-size: 0.8rem;
    opacity: 0.85;
}

.footer-about p {
    color: rgba(200, 200, 200, 0.75) !important;
    line-height: 1.85;
    font-size: 0.88rem;
}

/* Social icons row in footer */
.footer-social-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.45rem;
    line-height: 1;
    border: 2px solid rgba(212,175,55,0.4);
    background: rgba(212,175,55,0.1);
    transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
    color: var(--gold);
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.social-icon-btn.social-placeholder {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Per-platform hover colours */
.social-icon-btn.s-email:hover {
    background: linear-gradient(135deg, #d4a017, #f5c842);
    border-color: #f5c842;
    color: #111;
    box-shadow: 0 8px 22px rgba(212,160,23,0.5);
    transform: translateY(-4px) scale(1.12);
}
.social-icon-btn.s-whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #128c5e);
    border-color: #25d366;
    color: #fff;
    box-shadow: 0 8px 22px rgba(37,211,102,0.45);
    transform: translateY(-4px) scale(1.12);
}
.social-icon-btn.s-facebook:hover {
    background: linear-gradient(135deg, #1877f2, #0c5ac7);
    border-color: #1877f2;
    color: #fff;
    box-shadow: 0 8px 22px rgba(24,119,242,0.45);
    transform: translateY(-4px) scale(1.12);
}
.social-icon-btn.s-instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
    color: #fff;
    box-shadow: 0 8px 22px rgba(220,39,67,0.45);
    transform: translateY(-4px) scale(1.12);
}
.social-icon-btn.s-linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
    border-color: #0077b5;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,119,181,0.45);
    transform: translateY(-4px) scale(1.12);
}

/* Footer nav and contact lists */
.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section li {
    margin-bottom: 0.85rem !important;
    transition: transform 0.25s ease;
}

.footer-section li:hover { transform: translateX(4px); }
body.rtl .footer-section li:hover { transform: translateX(-4px); }

.footer-section a {
    color: rgba(200, 200, 200, 0.72) !important;
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transition: color 0.25s;
    line-height: 1.4;
}

.footer-section a i {
    color: var(--gold);
    font-size: 0.75rem;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.footer-section a:hover i {
    color: #fff;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border-color: var(--gold);
}

.footer-section a:hover { color: var(--gold) !important; }

/* Contact icon badge */
.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    font-size: 0.8rem;
    flex-shrink: 0;
    color: var(--gold) !important;
    transition: all 0.3s ease;
}

.footer-section a:hover .footer-contact-icon {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #fff !important;
    border-color: var(--gold);
}

/* Footer bottom bar */
.footer-bottom {
    text-align: center;
    padding: 1.5rem 5% !important;
    border-top: 1px solid rgba(212, 175, 55, 0.15) !important;
    background: rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-bottom p {
    color: rgba(180, 180, 180, 0.6);
    font-size: 0.82rem;
    margin: 0;
}

.footer-brand-name {
    color: var(--gold);
    font-weight: 700;
}

.footer-made-with {
    color: rgba(150,150,150,0.5) !important;
    font-size: 0.78rem !important;
}

.footer-made-with i.fa-code { color: rgba(212,175,55,0.5); }

/* Old social-row kept for backwards compat */
.social-row { display: none; }

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
    .topbar { position: sticky !important; top: 0 !important; transition: transform 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease; }
    .topbar.topbar-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; margin-top: -40px; }
    #navbar  { position: sticky !important; top: 0 !important; left: 0; right: 0; z-index: 11900; }
    /* push content below fixed navbar on mobile */
    .hero-slider, section:first-of-type, .inner-hero { margin-top: 0 !important; }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
        padding: 2.5rem 5% 2rem !important;
    }

    .footer-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-services-col { display: none; }
}

@media (max-width: 520px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
}

.why-us-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1.5px solid rgba(212,175,55,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-us-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(212,175,55,0.15);
    border-color: rgba(212,175,55,0.35);
}

.why-us-card:hover::after {
    transform: scaleX(1);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05));
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--gold);
    border: 2px solid rgba(212,175,55,0.2);
    transition: all 0.3s ease;
}

.why-us-card:hover .why-us-icon {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #fff;
    transform: scale(1.1);
}

.why-us-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--black);
}

.why-us-card p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .why-us-card {
        padding: 2rem 1.5rem;
    }
}

/* ============================================
   AI Chatbot Widget
   ============================================ */
.chatbot-trigger {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold)) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    cursor: pointer;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(212,175,55,0.4); }
    50% { box-shadow: 0 4px 30px rgba(212,175,55,0.7); }
}

.chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 380px;
    max-height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 10030;
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    pointer-events: none;
}

.chatbot-widget.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-header {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #fff;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--gold);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.chatbot-header-info strong {
    display: block;
    font-size: 0.95rem;
}

.chatbot-status {
    font-size: 0.75rem;
    color: #4ade80;
}

.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.1);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 340px;
    min-height: 200px;
    background: #f8f9fa;
}

.chat-msg {
    display: flex;
}

.chat-msg.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 80%;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

.chat-msg.bot .chat-bubble {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
    color: #333;
}

.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing-indicator .chat-bubble {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 0.8rem 1.2rem;
}

.typing-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.chatbot-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.chatbot-input-area input {
    flex: 1;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.chatbot-input-area input:focus {
    border-color: var(--gold);
}

.chatbot-input-area button {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chatbot-input-area button:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

body.rtl .chatbot-widget {
    right: auto;
    left: 20px;
    transform-origin: bottom left;
}

body.rtl .chatbot-input-area input {
    direction: rtl;
}

@media (max-width: 480px) {
    .chatbot-widget {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 80px;
        max-height: 70vh;
    }
    body.rtl .chatbot-widget {
        left: 12px;
        right: auto;
    }
}

/* ============================================
   Page Transition Overlay
   ============================================ */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.transition-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.transition-spinner span {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.spinner-ring {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(212,175,55,0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}