/* =========================================================================
   UAE LAUNCH ANNOUNCEMENT POPUP
   ========================================================================= */

/* Overlay */
.launch-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: launchFadeIn 0.5s ease both;
}

@keyframes launchFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.launch-overlay.hide {
    animation: launchFadeOut 0.4s ease forwards;
    pointer-events: none;
}

@keyframes launchFadeOut {
    to { opacity: 0; }
}

/* Card */
.launch-popup {
    position: relative;
    background: linear-gradient(145deg, #1C0F07 0%, #2D1A11 60%, #1A0F0A 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    padding: 2.8rem 3rem 3rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.1);
    animation: launchSlideUp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes launchSlideUp {
    from { transform: scale(0.88) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0);       opacity: 1; }
}

/* Golden gradient top bar */
.launch-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #F5D76E, #C5A028, #D4AF37);
    background-size: 200% 100%;
    animation: shineBar 3s linear infinite;
}

@keyframes shineBar {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Close button */
.launch-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.launch-close:hover {
    background: rgba(205, 92, 92, 0.3);
    color: #fff;
    transform: rotate(90deg);
}

/* Badge row */
.launch-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.launch-flag {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    animation: flagWave 2.5s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(-4deg); }
    50%       { transform: rotate(4deg); }
}

.launch-badge {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--deep-brown);
    background: linear-gradient(135deg, #D4AF37, #F5D76E);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

/* Popup logo — circular frame */
.launch-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.launch-logo-frame {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;                       /* clips logo to circle */
    background: #0D0704;
    border: 2.5px solid rgba(59, 185, 232, 0.5);
    box-shadow: 0 0 0 5px rgba(59, 185, 232, 0.12),
                0 8px 24px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.launch-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;   /* crops to just the blue O icon */
    display: block;
}

/* Title */
.launch-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--cream);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.launch-title span {
    color: var(--warm-gold);
    font-style: italic;
}

.launch-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

/* Date block */
.launch-date-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(212,175,55,0.07);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 14px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.8rem;
}

.launch-date-icon {
    font-size: 1.6rem;
    color: var(--warm-gold);
}

.launch-date-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.45);
    font-family: var(--font-sans);
    margin-bottom: 3px;
}

.launch-date-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--warm-gold);
    font-weight: 700;
}

.launch-date-value sup {
    font-size: 0.75rem;
    vertical-align: super;
}

/* Countdown */
.launch-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    min-width: 64px;
}

.cd-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-gold);
    line-height: 1;
    letter-spacing: 1px;
}

.cd-label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

.cd-sep {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--warm-gold);
    opacity: 0.5;
    align-self: flex-start;
    padding-top: 0.4rem;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* CTA button */
.launch-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Bottom glow */
.launch-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 150px;
    background: radial-gradient(ellipse, rgba(212,175,55,0.18) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* =========================================================================
   CORE VARIABLES & RESET
   ========================================================================= */
:root {
    --deep-brown: #2D1A11;
    --brown-light: #4A3022;
    --warm-gold: #D4AF37;
    --gold-hover: #C5A028;
    --terracotta: #CD5C5C;
    --cream: #FDFBF7;
    --white: #FFFFFF;
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-dark: rgba(45, 26, 17, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--deep-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-padding {
    padding: 6rem 0;
}

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

/* =========================================================================
   CUSTOM CURSOR
   ========================================================================= */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--warm-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;  /* above everything incl. popup overlay */
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--warm-gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999998;  /* just below .cursor but above popup */
    transform: translate(-50%, -50%);
    transition: transform 0.1s linear, width 0.3s, height 0.3s;
}

.js-hover .cursor {
    width: 0;
    height: 0;
}

.js-hover .cursor-follower {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border-color: transparent;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--warm-gold);
    color: var(--deep-brown);
    border: 1px solid var(--warm-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gold-hover);
    transition: var(--transition-smooth);
    z-index: -1;
}

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

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

.btn-outline:hover {
    background: var(--white);
    color: var(--deep-brown);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(45, 26, 17, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

/* Logo — navbar */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Circular icon crop — shows just the blue "O" mark */
.logo-img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    object-position: center 12%;  /* crop to the icon circle */
    border-radius: 50%;
    background: #1A0F0A;           /* matches the logo's own bg */
    border: 2px solid rgba(59, 185, 232, 0.4);
    box-shadow: 0 0 0 4px rgba(59, 185, 232, 0.08),
                0 4px 20px rgba(0,0,0,0.4);
    transition: border-color 0.4s ease,
                box-shadow 0.4s ease,
                transform 0.4s ease,
                width 0.4s ease,
                height 0.4s ease;
    flex-shrink: 0;
}

.navbar.scrolled .logo-img {
    width: 46px;
    height: 46px;
    border-color: rgba(59, 185, 232, 0.65);
    box-shadow: 0 0 0 4px rgba(59, 185, 232, 0.12),
                0 4px 16px rgba(0,0,0,0.5);
}

.logo-img:hover {
    transform: scale(1.08);
    border-color: rgba(59, 185, 232, 0.85);
    box-shadow: 0 0 0 6px rgba(59, 185, 232, 0.18),
                0 6px 24px rgba(0,0,0,0.5);
}

/* Wordmark next to the icon */
.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-wordmark-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
}

.navbar.scrolled .logo-wordmark-name {
    color: var(--warm-gold);
}

.logo-wordmark-sub {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
/* =============================
   RTL OVERRIDES
   ============================= */
html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
    gap: 2.5rem;
}
html[dir="rtl"] .navbar .logo-wordmark-name,
html[dir="rtl"] .navbar .logo-wordmark-sub {
    text-align: right;
}
html[dir="rtl"] .hero-content {
    text-align: right;
}
html[dir="rtl"] .form-group {
    flex-direction: row-reverse;
}
html[dir="rtl"] .form-group i {
    margin-left: 1rem;
    margin-right: 0;
}

.nav-links a:not(.btn) {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--warm-gold);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: var(--white);
    background-color: var(--deep-brown);
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    /* Slow ambient zoom lives on the wrapper — unaffected by clip switching */
    animation: zoomAmbient 30s infinite alternate linear;
    will-change: transform;
}

@keyframes zoomAmbient {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
    background-color: var(--deep-brown);
}

/* Only the active video is visible */
.hero-vid-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(45,26,17,0.4) 50%, rgba(45,26,17,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
}

.hero-text-box {
    max-width: 800px;
}

.tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--warm-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
}

.hero-title span {
    font-style: italic;
    color: var(--warm-gold);
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--warm-gold);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

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

.hero-search-card {
    position: absolute;
    bottom: -60px;
    right: 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    width: 400px;
    z-index: 10;
}
html[dir="rtl"] .hero-search-card {
    left: 5%;
    right: auto;
}

.hero-search-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    color: var(--white);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
}

.form-group i {
    color: var(--warm-gold);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.form-group input, .form-group select {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

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

.btn-search {
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Date input — styled to match dark glass card */
.date-input {
    color-scheme: dark;   /* makes browser calendar dark */
    cursor: none;
}

/* Remove the default calendar icon on webkit (we have our own icon) */
.date-input::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.5);
    cursor: none;
}

.date-input::-webkit-datetime-edit-fields-wrapper {
    color: rgba(255,255,255,0.85);
}

.date-input::-webkit-datetime-edit-text {
    color: rgba(255,255,255,0.4);
}

.date-input::-webkit-datetime-edit-month-field,
.date-input::-webkit-datetime-edit-day-field,
.date-input::-webkit-datetime-edit-year-field {
    color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    opacity: 0.7;
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    margin-bottom: 40px;
    margin-left: 5px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--warm-gold);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* =========================================================================
   COMMON COMPONENTS
   ========================================================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    color: var(--terracotta);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 3rem;
    color: var(--deep-brown);
    margin-bottom: 1rem;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--warm-gold);
    margin: 0 auto;
}

.glass-panel {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.02);
}

/* =========================================================================
   SERVICES
   ========================================================================= */
/* 12-column subgrid: items 1-8 span 3 cols (4/row), items 9-11 span 4 cols (3/row) → every row is 12/12 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.service-card {
    grid-column: span 3; /* 4 cards per row */
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25,1,0.5,1),
                box-shadow 0.4s cubic-bezier(0.25,1,0.5,1),
                border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    /* NO preserve-3d — that was causing the "off" appearance at rest */
    will-change: transform;
}

/* Smooth lift on hover — clean 2D only */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10) !important;
}

/* Last 3 cards span 4 cols each → 3 cards fill full last row */
.service-card:nth-child(9),
.service-card:nth-child(10),
.service-card:nth-child(11) {
    grid-column: span 4;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.06));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--warm-gold);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: background 0.4s ease,
                color 0.4s ease,
                transform 0.4s cubic-bezier(0.25,1,0.5,1),
                box-shadow 0.4s ease;
    /* NO translateZ — was causing floating appearance */
}

.service-card:hover .service-icon {
    background: var(--warm-gold);
    color: var(--white);
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-brown);
    /* NO translateZ */
}

.service-card p {
    color: var(--brown-light);
    font-size: 0.95rem;
    line-height: 1.7;
    /* NO translateZ */
}

/* =========================================================================
   DESTINATIONS GALLERY (MASONRY-LIKE)
   ========================================================================= */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: none;
}

.gallery-item img {
    width: 100%;
    height: 120%;
    position: relative;
    top: -15%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45,26,17,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(45,26,17,0.9) 0%, rgba(45,26,17,0.2) 100%);
}

.gallery-info {
    color: var(--white);
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--warm-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

/* =========================================================================
   ABOUT US
   ========================================================================= */
.about {
    position: relative;
    overflow: hidden;
}

.globe-container {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image .image-wrapper {
    position: relative;
    padding: 1rem;
    transform-style: preserve-3d;
}

.about-image img {
    border-radius: 12px;
    transform: translateZ(20px);
}

.iso-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--deep-brown);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--cream);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateZ(50px);
    animation: rotateSlow 15s infinite linear;
}

@keyframes rotateSlow {
    0% { transform: translateZ(50px) rotate(0deg); }
    100% { transform: translateZ(50px) rotate(360deg); }
}

.iso-badge i {
    font-size: 2rem;
    color: var(--warm-gold);
    margin-bottom: 5px;
}

.iso-badge span {
    font-family: var(--font-serif);
    font-weight: 700;
}

.iso-badge small {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content {
    flex: 1;
}

.about-text {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--brown-light);
}

.features-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.features-list i {
    color: var(--warm-gold);
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact {
    background-color: var(--deep-brown);
    color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?q=80&w=2074&auto=format&fit=crop') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.contact-container {
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    padding-top: 2rem;
}

.contact-desc {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--warm-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--warm-gold);
    font-family: var(--font-sans);
}

.contact-item p {
    color: rgba(255,255,255,0.8);
}

.contact-form-wrapper {
    flex: 1.2;
    background: var(--glass-bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--warm-gold);
    letter-spacing: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--warm-gold);
    background: rgba(255,255,255,0.1);
}

.contact-form select option {
    background: var(--deep-brown);
    color: var(--white);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: #1A0F0A;
    color: rgba(255,255,255,0.7);
    padding-top: 5rem;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.footer-brand p {
    margin: 1.5rem 0;
    max-width: 300px;
}

/* Footer logo — icon circle + wordmark */
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 0;
}

.footer-logo-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center 12%;
    border-radius: 50%;
    background: #0D0704;
    border: 2px solid rgba(59, 185, 232, 0.45);
    box-shadow: 0 0 0 4px rgba(59, 185, 232, 0.08),
                0 4px 16px rgba(0,0,0,0.5);
    flex-shrink: 0;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.footer-logo-icon:hover {
    transform: scale(1.07);
    border-color: rgba(59, 185, 232, 0.8);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--warm-gold);
    letter-spacing: 0.5px;
}

.footer-logo-tagline {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
}


/* =========================================================================
   GOOGLE REVIEWS
   ========================================================================= */
.reviews-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-color: var(--deep-brown); /* Explicitly dark so white text and glass panel pops! */
}

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

.review-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    height: 100%;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--warm-gold);
    padding: 2px;
    background: #fff;
}

.review-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--warm-gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--deep-brown);
    font-weight: 600;
    margin-bottom: 2px;
}

.review-meta {
    font-size: 0.8rem;
    color: rgba(45,26,17,0.6);
}

.review-stars {
    color: #FFB400; /* Google yellow */
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(45,26,17,0.85);
    flex-grow: 1;
}

.reviews-btn-wrapper {
    text-align: center;
}

/* =========================================================================
   INSTAGRAM MOMENTS
   ========================================================================= */
.instagram-section {
    background-color: var(--white);
    text-align: center;
}

.instagram-reel-container {
    max-width: 480px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.instagram-reel-container blockquote {
    margin: 0 !important;
}

.instagram-cta {
    margin-top: 3.5rem;
}

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

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

.social-links a:hover {
    background: var(--warm-gold);
    color: var(--deep-brown);
}

.footer-links h3, .footer-services h3 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li, .footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a:hover, .footer-services ul li:hover {
    color: var(--warm-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

/* =========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 14px 18px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: padding 0.35s cubic-bezier(0.25,1,0.5,1),
                box-shadow 0.35s ease,
                transform 0.35s ease;
    overflow: hidden;
    /* Entry animation */
    animation: waBounceIn 0.7s cubic-bezier(0.34,1.56,0.64,1) 1.5s both;
}

@keyframes waBounceIn {
    from { transform: scale(0) translateY(40px); opacity: 0; }
    to   { transform: scale(1) translateY(0);    opacity: 1; }
}

.wa-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-icon-wrap i {
    font-size: 1.75rem;
    line-height: 1;
}

.wa-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.4s ease, opacity 0.3s ease;
    letter-spacing: 0.3px;
}

/* Expand on hover to reveal the label */
.whatsapp-float:hover .wa-label {
    max-width: 130px;
    opacity: 1;
}

.whatsapp-float:hover {
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
}

/* Pulsing ping ring */
.wa-ping {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: waPing 2s ease-out infinite;
    pointer-events: none;
}

@keyframes waPing {
    0%   { transform: scale(1);   opacity: 0.8; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* =========================================================================
   ANIMATIONS (SCROLL REVEAL)
   ========================================================================= */
/* GSAP will handle initial opacity/transform — these classes are animation targets */
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 1s ease-out;
}

/* =========================================================================
   LOCATIONS SECTION
   ========================================================================= */
.locations-section {
    background: linear-gradient(135deg, #F7F5EF 0%, #FDFBF7 100%);
}

.locations-intro {
    margin-top: 1.5rem;
    color: var(--brown-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 20px;
    position: relative;
    transition: var(--transition-smooth);
    border-top: 3px solid transparent;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.location-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cream), #F0EDE5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.7rem;
    color: var(--warm-gold);
    box-shadow: 0 5px 20px rgba(212,175,55,0.15);
    transition: var(--transition-smooth);
}

.location-icon.hq {
    background: linear-gradient(135deg, #D4AF37, #C5A028);
    color: var(--white);
}

.location-icon.uae {
    background: linear-gradient(135deg, #4A3022, #2D1A11);
    color: var(--warm-gold);
}

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

.location-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: var(--warm-gold);
    color: var(--deep-brown);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.location-badge.upcoming {
    background: var(--deep-brown);
    color: var(--warm-gold);
}

.location-card h3 {
    font-size: 1.6rem;
    color: var(--deep-brown);
    margin-bottom: 0.3rem;
}

.location-card p {
    color: var(--brown-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location-status {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-status.active {
    background: rgba(72, 199, 142, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(72, 199, 142, 0.3);
}

.location-status.upcoming-status {
    background: rgba(212, 175, 55, 0.1);
    color: var(--warm-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* =========================================================================
   VISION & MISSION
   ========================================================================= */
.vision-mission {
    background: var(--deep-brown);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.vision-mission::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.vision-mission .section-header .subtitle {
    color: var(--warm-gold);
}

.vision-mission .section-header .title {
    color: var(--cream);
}

.vision-mission .title-line {
    background: var(--warm-gold);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.vm-card {
    padding: 3.5rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-gold), transparent);
}

.vm-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.07) !important;
    border-color: rgba(212,175,55,0.2) !important;
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--warm-gold);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.vm-card:hover .vm-icon {
    background: var(--warm-gold);
    color: var(--deep-brown);
    transform: scale(1.1);
}

.vm-card h3 {
    font-size: 2rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.vm-card p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* =========================================================================
   LEADERSHIP SECTION
   ========================================================================= */
.leadership {
    background: linear-gradient(180deg, #F7F5EF 0%, var(--cream) 100%);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.leader-card {
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    border-top: 4px solid transparent;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12) !important;
}

#leader-ceo { border-top-color: var(--warm-gold); }
#leader-gm  { border-top-color: var(--terracotta); }
#leader-admin { border-top-color: #7C9BB5; }

.leader-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: ringPulse 3s infinite ease-in-out;
}

.ceo-ring   { border: 2px solid rgba(212,175,55,0.4); }
.gm-ring    { border: 2px solid rgba(205,92,92,0.4); }
.admin-ring { border: 2px solid rgba(124,155,181,0.4); }

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.15); opacity: 0.5; }
}

.avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--deep-brown), var(--brown-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-gold);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.leader-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.ceo-badge   { background: rgba(212,175,55,0.12); color: var(--warm-gold); border: 1px solid rgba(212,175,55,0.3); }
.gm-badge    { background: rgba(205,92,92,0.12);  color: var(--terracotta); border: 1px solid rgba(205,92,92,0.3); }
.admin-badge { background: rgba(124,155,181,0.12); color: #7C9BB5; border: 1px solid rgba(124,155,181,0.3); }

.leader-name {
    font-size: 1.5rem;
    color: var(--deep-brown);
    margin-bottom: 0.3rem;
}

.leader-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brown-light);
    margin-bottom: 1.5rem;
}

.leader-quote {
    font-size: 0.95rem;
    color: var(--brown-light);
    font-style: italic;
    line-height: 1.8;
    text-align: left;
    border-left: 3px solid var(--warm-gold);
    padding-left: 1.2rem;
    margin: 0;
}

.leader-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--warm-gold), transparent);
    margin: 1.5rem auto 0;
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .masonry-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .hero-search-card {
        display: none;
    }

    /* Tablet services: 6-col subgrid → items 1-9 span 2 (3/row), items 10-11 span 3 (2/row) */
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .service-card {
        grid-column: span 2;
    }
    .service-card:nth-child(9) {
        grid-column: span 2; /* row of 3 stays intact */
    }
    .service-card:nth-child(10),
    .service-card:nth-child(11) {
        grid-column: span 3; /* last row: 2 cards fill 6/6 */
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add mobile menu logic in JS if needed */
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .logo-img {
        height: 50px;
    }

    /* ── Mobile navbar fix: push hero content below the fixed header ── */
    .hero-content {
        padding-top: 110px; /* previously 80px – gives clearance on mobile */
        justify-content: flex-start;
    }

    /* ISO tagline: keep it visible but don't let it overlap the navbar */
    .tagline {
        margin-top: 0;
        margin-bottom: 0.75rem;
        font-size: 0.75rem;
        letter-spacing: 2.5px;
    }

    /* Logo wordmark: slightly smaller so it fits comfortably in the header */
    .logo-wordmark-name {
        font-size: 1.15rem;
    }
    .logo-wordmark-sub {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-padding {
        padding: 4rem 0; /* Reduced from default padding */
    }

    .title {
        font-size: 2.2rem; /* Avoid overarching large text on mobile */
    }

    .subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .masonry-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .item-large, .item-tall, .item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    * {
        cursor: auto;
    }

    /* Mobile services: 2-col grid, all span 1, last card spans 2 (centered solo) */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card,
    .service-card:nth-child(9),
    .service-card:nth-child(10),
    .service-card:nth-child(11) {
        grid-column: span 1;
    }
    .service-card:last-child {
        grid-column: span 2; /* 11th card: full row, centred visually */
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 3rem 0; /* Even smaller for very small devices */
    }
    
    .title {
        font-size: 1.8rem;
    }

    .masonry-gallery {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }

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

    .vm-card {
        padding: 2rem 1.5rem;
    }

    .vm-card h3 {
        font-size: 1.6rem;
    }

    /* Small phone: single column */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card,
    .service-card:nth-child(9),
    .service-card:nth-child(10),
    .service-card:nth-child(11),
    .service-card:last-child {
        grid-column: span 1;
    }
}

/* =========================================================================
   PERFORMANCE & TOUCH DEVICE OPTIMIZATION
   ========================================================================= */
@media (hover: none) and (pointer: coarse) {
    /* Disable lingering hover states on mobile phones */
    .service-card:hover {
        transform: none !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important;
    }
    .service-card:hover .service-icon {
        transform: none !important;
        background: var(--cream) !important;
        color: var(--warm-gold) !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
    }
    .service-card:hover::before {
        opacity: 0 !important;
    }
}

/* =========================================================================
   PDF DOWNLOAD BUTTON — About Section
   ========================================================================= */
.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0.85rem 1.6rem 0.85rem 1rem;
    background: linear-gradient(135deg, var(--deep-brown) 0%, #4A3022 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    text-decoration: none;
    color: var(--cream);
    box-shadow: 0 6px 24px rgba(45, 26, 17, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: none;
}

/* Shimmer sweep on hover */
.btn-pdf-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(212,175,55,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.btn-pdf-download:hover::before {
    left: 130%;
}

.btn-pdf-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(45, 26, 17, 0.35);
    border-color: rgba(212, 175, 55, 0.7);
}

/* Left PDF icon circle */
.pdf-icon-wrap {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #D4AF37, #C5A028);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--deep-brown);
    box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

/* Text block */
.pdf-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pdf-label {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.3px;
}

.pdf-sub {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--warm-gold);
    margin-top: 2px;
    opacity: 0.85;
}

/* Right download arrow */
.pdf-arrow {
    margin-left: auto;
    padding-left: 0.5rem;
    font-size: 0.9rem;
    color: var(--warm-gold);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-pdf-download:hover .pdf-arrow {
    transform: translateY(3px);
    opacity: 1;
}

@media (max-width: 480px) {
    .btn-pdf-download {
        width: 100%;
    }
    .pdf-arrow {
        display: none;
    }
}
