:root {
    --primary-dark: #1a1917;
    --secondary-dark: #242320;
    --gold: #a08e65;
    --gold-light: #b8a57a;
    --gold-dark: #8a7956;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --text-muted: rgba(255,255,255,0.7);
    --text-dark: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-dark:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Logo */
.logo, .logo-center, .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold-light);
    text-transform: uppercase;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: lowercase;
    font-weight: 300;
    margin-top: 2px;
}

.logo .logo-img,
.footer-logo .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.footer-logo .logo-img {
    height: 60px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26,25,23,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26,25,23,0.98);
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

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

.logo {
    align-items: flex-start;
}

.logo .logo-text {
    font-size: 1.5rem;
}

.logo .logo-sub {
    font-size: 0.6rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-light);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--gold-light);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-inline-start: 12px;
}

.lang-btn:hover {
    background: var(--gold-light);
    color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
    padding-top: 70px;
    padding-bottom: 200px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)),
                url('../uploads/WhatsApp%20Image%202026-07-21%20at%2011.50.05%20AM.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,25,23,0.3), rgba(26,25,23,0.95));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 0;
}

.hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-text-block {
    flex: 1;
}

.hero-tiger-mark {
    width: 220px;
    flex-shrink: 0;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

@media (max-width: 992px) {
    .hero-tiger-mark {
        display: none;
    }
}

.hero-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--gold-light);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 60px;
    text-align: right;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin-bottom: 80px;
}

.feature-item {
    position: relative;
    padding-right: 20px;
    border-right: 3px solid var(--gold-light);
}

.feature-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-item h4::before {
    content: '| ';
    color: var(--gold-light);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    background: var(--gold);
    padding: 30px 0;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.hero-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: var(--white);
}

.hero-card i {
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    margin-top: 5px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-card:hover i {
    transform: rotate(360deg) scale(1.15);
}

.hero-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.hero-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

.section-header.light p {
    opacity: 0.8;
}

.logo-center {
    margin-bottom: 30px;
}

.logo-center-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-center .logo-text {
    font-size: 2.5rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gold-light);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Services Section */
.services {
    background: var(--primary-dark);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--gold);
    padding: 30px;
    border-radius: 12px;
    color: var(--white);
    transition: var(--transition);
}

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

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.95;
}

.about-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.about-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-section p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Tours Section */
.tours {
    background: var(--gold);
    padding: 80px 0;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tour-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
}

.tour-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-content {
    padding: 20px 22px 18px;
    color: var(--dark);
}

.tour-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark);
}

.tour-content p {
    font-size: 0.88rem;
    color: #6b6b6b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.tour-card-tag {
    font-size: 0.8rem;
    color: #8a8a8a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-card-open {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e2e2e2;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.tour-card:hover .tour-card-open {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Clients Section */
.clients {
    background: var(--gold);
    padding: 80px 0 40px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.client-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--primary-dark);
}

.client-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    z-index: 2;
    text-align: center;
}

.client-logo i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--gold-light);
}

.client-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to bottom, rgba(26,25,23,0.3), rgba(26,25,23,0.8));
    z-index: 1;
}

.client-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    padding: 25px;
    background: var(--primary-dark);
    color: var(--white);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.client-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.client-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.client-content::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--white);
    margin-top: 12px;
    border-radius: 2px;
}

/* heading over the partners marquee: same pale tone as the logos, brightens
   to solid white on hover — matching the logos' own hover treatment */
.clients .section-header.light h2,
.clients .section-header.light p {
    opacity: 0.55;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.clients .section-header.light:hover h2,
.clients .section-header.light:hover p {
    opacity: 1;
}

/* Partners marquee (infinite scrolling logo strip) */
.partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    padding: 10px 0 30px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 70px;
    animation: partners-scroll 40s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.partner-logo img {
    max-height: 100%;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    /* grayscale + brightened (not darkened) keeps internal contrast readable —
       e.g. white lettering on a colored badge (P&G, Domino's) stays legible
       instead of collapsing into one flat block */
    filter: grayscale(1) brightness(1.7);
    opacity: 0.6;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.3s ease;
}

.partner-logo:hover img {
    /* reveal the logo's real original colors on hover */
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}

@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

html[dir="rtl"] .partners-track {
    animation-name: partners-scroll-rtl;
}

@keyframes partners-scroll-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

@media (max-width: 768px) {
    .partners-track { gap: 44px; animation-duration: 26s; }
    .partner-logo { height: 46px; }
    .partner-logo img { max-width: 100px; }
}

/* Stats Section */
.stats {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number,
.stat-suffix {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-item p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Apartments Section */
.apartments {
    background: var(--gold);
    padding: 80px 0;
}

.apartments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.apartments-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.apartments-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Link-in-bio page — reuses the site's main .hero look, but centered
   (the split logo/text layout looked empty with no features/cards below it) */
.linkpage-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding-bottom: 40px;
}

.linkpage-bg {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.75)),
                url('../uploads/WhatsApp%20Image%202026-07-21%20at%2011.50.13%20AM.jpeg') center/cover;
}

.linkpage-center {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.linkpage-tiger-mark {
    width: 76px;
    opacity: 0.85;
    filter: brightness(0) invert(1);
    margin-bottom: 28px;
}

.linkpage-title {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.linkpage-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.linkpage-btn {
    padding: 16px 34px;
    font-size: 1.05rem;
}

@media (max-width: 480px) {
    .linkpage-buttons {
        flex-direction: column;
        width: 100%;
    }

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

/* Contact-us page */
.contactus-page {
    background: var(--primary-dark);
}

.contactus-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contactus-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactus-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--secondary-dark);
    padding: 18px 20px;
    border-radius: 12px;
    color: var(--white);
}

.contactus-info-item i {
    color: var(--gold-light);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contactus-form-wrap {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
}

.contactus-success {
    background: rgba(46, 160, 67, 0.12);
    color: #1a7a34;
    border: 1px solid rgba(46, 160, 67, 0.3);
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contactus-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contactus-field {
    margin-bottom: 20px;
}

.contactus-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
}

.contactus-field input,
.contactus-field select,
.contactus-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--light-bg);
    color: var(--text-dark);
    transition: var(--transition);
}

.contactus-field input:focus,
.contactus-field select:focus,
.contactus-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

.contactus-error {
    display: block;
    color: #c0392b;
    font-size: 0.82rem;
    margin-top: 6px;
}

.contactus-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--primary-dark);
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.contactus-submit:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

@media (max-width: 768px) {
    .contactus-grid { grid-template-columns: 1fr; }
    .contactus-form-row { grid-template-columns: 1fr; }
    .contactus-form-wrap { padding: 24px; }
}

/* Founder page */
.founder-page {
    position: relative;
    background: var(--primary-dark);
    padding-top: 170px;
    padding-bottom: 120px;
    overflow: hidden;
}

.founder-page-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 55% at 85% 15%, rgba(160,142,101,0.16), transparent),
        radial-gradient(45% 50% at 10% 90%, rgba(160,142,101,0.10), transparent);
    pointer-events: none;
}

.founder-grid {
    position: relative;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}

.founder-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--secondary-dark);
    box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gold-light);
    font-size: 3.6rem;
    background: linear-gradient(160deg, var(--secondary-dark), var(--primary-dark));
}

.founder-image-placeholder span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.founder-image-frame {
    position: absolute;
    inset: -14px;
    border: 1.5px solid rgba(160,142,101,0.4);
    border-radius: 26px;
    z-index: -1;
    pointer-events: none;
}

.founder-content .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.founder-content .kicker::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.founder-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.founder-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-light);
}

.founder-divider {
    display: block;
    width: 56px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin: 26px 0;
}

.founder-content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.95;
    font-size: 1.08rem;
    white-space: pre-line;
    max-width: 560px;
    margin-bottom: 34px;
}

.founder-cta {
    display: inline-flex;
}

@media (max-width: 768px) {
    .founder-page {
        padding-top: 130px;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .founder-content .kicker,
    .founder-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .founder-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .founder-image {
        max-width: 320px;
        margin: 0 auto;
    }
}

.apartments-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26,25,23,0.9);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.apartments-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.apartments-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.apartments-list {
    margin-bottom: 30px;
}

.apartments-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.apartments-list i {
    color: var(--white);
    font-size: 1.2rem;
}

/* Steps Section */
.steps {
    background: var(--gold);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.step-item {
    color: var(--white);
    padding: 20px;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(26,25,23,0.3);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-item:nth-child(2) .step-number {
    background: var(--white);
    color: var(--gold);
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* App Section */
.app {
    background: var(--primary-dark);
    padding: 35px 0;
    overflow: hidden;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-mockup {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 230px;
    height: 480px;
    background: var(--secondary-dark);
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.08);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 74px;
    height: 18px;
    background: var(--secondary-dark);
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1e1d1b;
    border-radius: 30px;
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.status-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    color: var(--white);
    min-width: 100px;
}

.status-badge span {
    font-size: 0.65rem;
    opacity: 0.7;
}

.status-badge strong {
    font-size: 0.8rem;
}

.status-badge i {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.2rem;
    color: var(--gold-light);
}

.app-brand-preview {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(96, 165, 250, 0.28), rgba(10, 20, 31, 0) 60%),
        linear-gradient(160deg, #16283b 0%, #0a141f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-brand-preview img {
    width: 72%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.4));
}

.app-content {
    color: var(--white);
}

.app-label {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.app-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 450px;
}

.app-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 450px;
    margin-bottom: 40px;
}

.store-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 15px;
    border-radius: 12px;
    transition: var(--transition);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.store-btn i {
    font-size: 1.8rem;
}

.store-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn div span {
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 600;
}

.store-btn div strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.rating {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 5px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.rating i {
    font-size: 0.7rem;
    color: var(--gold-light);
}

/* CTA Section */
.cta {
    background: var(--light-bg);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cta-buttons .btn-outline-dark {
    background: var(--white);
    border-color: var(--primary-dark);
}

.cta-buttons .btn-outline-dark:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.cta-buttons .btn-primary {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--primary-dark);
}

.cta-store-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-beyoutna-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
}

.cta-store-divider {
    width: 1px;
    height: 34px;
    background: rgba(26, 25, 23, 0.15);
}

.cta-store-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cta-store-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.02rem;
    opacity: 0.8;
    transition: var(--transition);
}

.cta-store-link i {
    font-size: 1.5rem;
}

.cta-store-link:hover {
    opacity: 1;
    color: var(--gold-dark);
    transform: translateY(-2px);
}

/* Retention Section */
.retention {
    background: var(--gold);
}

.retention-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.retention-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-overlay {
    position: absolute;
    bottom: 30px;
    right: 10%;
    width: 72px;
    height: 72px;
    background: var(--primary-dark);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.camera-overlay i {
    font-size: 1.7rem;
    color: var(--gold-light);
}

.retention-content {
    padding: 80px 0;
}

.retention-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.retention-text h2 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 5px;
}

.retention-text h3 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

.retention-text p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.8;
    font-size: 1.05rem;
}

.retention-features ul {
    list-style: none;
}

.retention-features li {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1rem;
    position: relative;
    padding-right: 15px;
}

.retention-features li::before {
    content: '|';
    position: absolute;
    right: 0;
    color: var(--white);
    font-weight: 700;
}

[dir="ltr"] .retention-features li {
    padding-right: 0;
    padding-left: 15px;
}

[dir="ltr"] .retention-features li::before {
    right: auto;
    left: 0;
}

.dark-steps .step-number {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.dark-steps .step-item:nth-child(2) .step-number {
    background: var(--white);
    color: var(--gold);
}

.dark-steps .step-item h3,
.dark-steps .step-item p {
    color: var(--white);
}

/* Testimonials Section */
.testimonials {
    background: var(--gold);
    padding: 80px 0 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 30px;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stars {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.testimonial-author img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
}

.testimonial-author h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    background: var(--gold);
    padding: 40px 0 80px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: rgba(26,25,23,0.2);
    border: none;
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(26,25,23,0.3);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(26,25,23,0.1);
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* Footer */
.footer {
    background: var(--gold);
    padding: 80px 0 0;
    color: var(--primary-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(26,25,23,0.15);
}

.footer-contact h3,
.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-contact p {
    color: rgba(26,25,23,0.75);
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn.whatsapp {
    background: var(--white);
    color: var(--primary-dark);
}

.contact-btn.whatsapp:hover {
    background: var(--gold-light);
}

.contact-btn.linkedin {
    border: 1px solid rgba(26,25,23,0.25);
    color: var(--primary-dark);
}

.contact-btn.linkedin:hover {
    background: rgba(26,25,23,0.1);
}

.contact-btn i {
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.social-links span {
    font-weight: 700;
    margin-left: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26,25,23,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-body {
    flex: 1;
}

.footer-tiger-mark {
    width: 220px;
    max-width: 100%;
    flex-shrink: 0;
    opacity: 0.85;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(26,25,23,0.75);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-dark);
    padding-right: 5px;
}

.footer-about .footer-logo {
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-about .logo-text {
    font-size: 1.8rem;
}

.footer-about h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

.footer-about p {
    color: rgba(26,25,23,0.75);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.location h4 {
    margin-bottom: 12px;
}

.location-full {
    margin-top: 20px;
}

.map-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
}

.location-full .map-thumb {
    height: 260px;
    width: 100%;
}

.map-thumb iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(26,25,23,0.1);
}

.footer-bottom p {
    color: rgba(26,25,23,0.75);
    font-size: 0.9rem;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(160, 142, 101, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(160, 142, 101, 0);
    }
}

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

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(160, 142, 101, 0.5), 0 0 10px rgba(160, 142, 101, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(160, 142, 101, 0.8), 0 0 30px rgba(160, 142, 101, 0.5);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-down {
    animation: fadeInDown 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.fade-in-right {
    animation: fadeInRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.rotate-in {
    animation: rotateIn 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Hover Effects */
.service-card,
.tour-card,
.client-card,
.testimonial-card,
.step-item,
.hero-card,
.apartments-image {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.service-card:hover,
.tour-card:hover,
.client-card:hover,
.testimonial-card:hover,
.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 30px rgba(160, 142, 101, 0.3);
}

.tour-card:hover,
.client-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.step-item:hover .step-number {
    animation: pulse 1.5s infinite;
}

.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-primary:hover,
.store-btn:hover,
.contact-btn.whatsapp:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 20px rgba(160, 142, 101, 0.4);
}

.social-links a {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.nav-menu a {
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

.logo-img,
.logo-center-img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover .logo-img,
.logo-center:hover .logo-center-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(160, 142, 101, 0.5));
}

/* Image hover effects */
.apartments-image:hover,
.map-thumb:hover {
    transform: scale(1.02);
}

.apartments-image img,
.tour-image img,
.client-image img,
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.apartments-image:hover img,
.tour-card:hover img,
.client-card:hover img,
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Floating animation for phone mockup */
.phone-mockup {
    animation: float 6s ease-in-out infinite;
}

/* Hero title animation */
.hero-title {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-label {
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-features .feature-item {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.hero-features .feature-item:nth-child(1) { animation-delay: 0.4s; }
.hero-features .feature-item:nth-child(2) { animation-delay: 0.6s; }
.hero-features .feature-item:nth-child(3) { animation-delay: 0.8s; }

/* Stats number animation */
.stat-number {
    transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
    display: inline-block;
}

.stat-item:hover .stat-number {
    transform: scale(1.15);
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(184, 165, 122, 0.5);
}

.stat-item p {
    transition: color 0.3s ease;
}

.stat-item:hover p {
    color: var(--gold-light);
}

/* Divider animation */
.divider {
    transition: width 0.6s ease;
}

.section-header:hover .divider {
    width: 100px;
}

/* FAQ smooth transitions */
.faq-answer {
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

.faq-question i {
    transition: transform 0.3s ease;
}

/* Link hover underline effect */
.footer-links a {
    position: relative;
    transition: color 0.3s ease, padding 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--primary-dark);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-dark);
    padding-right: 0;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    animation: scaleIn 0.6s ease, float 3s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(160, 142, 101, 0.2);
    border-top-color: var(--gold-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Stagger delay utilities */
[data-delay="1"] { animation-delay: 0.1s; }
[data-delay="2"] { animation-delay: 0.2s; }
[data-delay="3"] { animation-delay: 0.3s; }
[data-delay="4"] { animation-delay: 0.4s; }
[data-delay="5"] { animation-delay: 0.5s; }
[data-delay="6"] { animation-delay: 0.6s; }

/* Smooth scroll reveal base state */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .tours-grid,
    .clients-grid,
    .testimonials-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apartments-grid,
    .app-grid,
    .retention-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-dark);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        display: flex;
        transform: translateX(100%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .tours-grid,
    .clients-grid,
    .testimonials-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons,
    .cta-buttons {
        grid-template-columns: 1fr;
    }
    
    .retention-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .camera-overlay {
        width: 60px;
        height: 60px;
        right: 5%;
    }

    .camera-overlay i {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .app-content h2 {
        font-size: 1.8rem;
    }
    
    .phone-mockup {
        width: 220px;
        height: 460px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 2rem;
    }
}

/* ===== Virtual Tour Viewer Modal ===== */
.tour-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(26, 25, 23, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
}

.tour-card:hover .tour-play-icon {
    background: rgba(191, 155, 79, 0.85);
    transform: translate(-50%, -50%) scale(1.08);
}

.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: none;
    flex-direction: column;
}

.tour-modal.open {
    display: flex;
}

.tour-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #1a1917;
    color: #fff;
    flex-shrink: 0;
}

.tour-modal-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.tour-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
}

.tour-modal-close:hover {
    color: #bf9b4f;
}

.tour-pano-viewer {
    flex: 1;
    width: 100%;
}

/* ===== Tours: Featured (live, draggable) + Small Squares ===== */
.tours-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.tours-carousel-wrap .tour-featured {
    margin-top: 0;
    flex: 1;
    min-width: 0;
}

.tour-carousel-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(26, 25, 23, 0.55);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tour-carousel-arrow:hover {
    background: rgba(191, 155, 79, 0.85);
    border-color: transparent;
}

.tour-carousel-arrow[hidden] {
    display: none;
}

.tour-featured {
    position: relative;
    margin-top: 40px;
    width: 100%;
    aspect-ratio: 21/9;
    border-radius: 16px;
    overflow: hidden;
    cursor: default;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background: #000;
}

.tour-featured-viewer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tour-featured-expand {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 25, 23, 0.55);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tour-featured-expand:hover {
    background: rgba(191, 155, 79, 0.85);
}

.tour-featured-expand[hidden] {
    display: none;
}

.tour-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(15, 14, 12, 0.92) 0%, rgba(15, 14, 12, 0.25) 45%, transparent 70%);
}

.tour-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    z-index: 2;
    color: var(--white);
    pointer-events: none;
}

.tour-slide-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tour-slide-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 560px;
    line-height: 1.6;
}

.tours-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

/* Mobile: the desktop layout (arrows beside a 21:9 strip) leaves the image
   a tiny, squished sliver on a narrow screen. Below 768px the arrows float
   on top of the image instead of sitting beside it, so the picture keeps
   the full screen width, and the strip gets a taller ratio so there's
   room for the caption. Desktop layout above is untouched. */
@media (max-width: 768px) {
    .tours-carousel-wrap {
        position: relative;
        gap: 0;
    }

    .tour-featured {
        aspect-ratio: 4 / 3;
        margin-top: 24px;
    }

    .tour-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
        width: 38px;
        height: 38px;
        font-size: 1.4rem;
        background: rgba(15, 14, 12, 0.5);
        border: none;
    }

    .tour-carousel-prev {
        left: 10px;
    }

    .tour-carousel-next {
        right: 10px;
    }

    .tour-featured-expand {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        top: 10px;
        left: 10px;
    }

    .tour-slide-content {
        padding: 16px 18px;
    }

    .tour-slide-content h3 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .tour-slide-content p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.tour-square {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.tour-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-square:hover img {
    transform: scale(1.06);
}

.tour-square::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 14, 12, 0.85) 0%, transparent 60%);
}

.tour-square-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 14, 12, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
}

.tour-square:hover .tour-square-icon {
    background: rgba(191, 155, 79, 0.85);
}

.tour-square-title {
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    z-index: 2;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== Showreel Section ===== */
.showreel {
    background: var(--primary-dark);
    padding: 80px 0;
}

.showreel-frame {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 40px auto 0;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: #000;
}

.showreel-frame iframe,
.showreel-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.showreel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--secondary-dark);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
}

.showreel-placeholder i {
    font-size: 3rem;
    color: var(--gold-light);
}

.showreel-placeholder span {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== Incomplete tour indicator ===== */
.tour-featured.tour-incomplete,
.tour-square.tour-incomplete {
    cursor: default;
    filter: grayscale(60%);
}

.tour-featured.tour-incomplete img,
.tour-square.tour-incomplete img {
    opacity: .55;
}

.tour-featured.tour-incomplete:hover img,
.tour-square.tour-incomplete:hover img {
    transform: none;
}

.tour-incomplete-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: rgba(200, 60, 60, .85);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: .4rem .8rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.tour-square-icon-warn {
    background: rgba(200, 60, 60, .75) !important;
    border-color: rgba(255, 255, 255, .8) !important;
}

/* ===== Showreel: video gallery ===== */
.showreel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.showreel-video-card {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    background: var(--secondary-dark);
}

.showreel-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showreel-video-card:hover img {
    transform: scale(1.06);
}

.showreel-video-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-dark);
    border: 2px dashed rgba(255, 255, 255, 0.15);
}

.showreel-video-card-noimg i {
    font-size: 2.4rem;
    color: var(--gold-light);
}

.showreel-video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 14, 12, 0.85) 0%, transparent 55%);
}

.showreel-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(191, 155, 79, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
}

.showreel-video-card:hover .showreel-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.showreel-video-title {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.showreel-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.showreel-modal.active {
    display: flex;
}

.showreel-modal-inner {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.showreel-modal-frame,
.showreel-modal-frame iframe,
.showreel-modal-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.showreel-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
}

.showreel-modal-close:hover {
    color: #bf9b4f;
}

/* Gallery page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    background: var(--secondary-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 14, 12, 0.75) 0%, transparent 45%);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item-title {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-title {
    opacity: 1;
    transform: translateY(0);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-inner {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    text-align: center;
}

.gallery-modal-inner img {
    max-width: 92vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.gallery-modal-title {
    display: block;
    margin-top: 14px;
    color: var(--white);
    font-size: 1rem;
}

/* Bigger scene-navigation arrows inside the virtual-tour viewer.
   Pannellum re-centres a hotspot from its own offsetWidth every frame,
   so enlarging width/height keeps it correctly anchored; the sprite is
   scaled with background-size and its position recomputed to match. */
#tourPanoViewer .pnlm-hotspot.pnlm-scene {
    width: 46px;
    height: 46px;
    border-radius: 23px;
    background-size: 46px auto;
    background-position: 0 -230px;
}
