/* ============================================
   ZOYA DEVELOPMENTS — Main Stylesheet
   Brand Colors:
   - Polished Walnut: #5c4545
   - Ivory Mist: #f5f0ed
   - Deep Umber: #615454
   - Serene Turquoise: #456170
   - Deep Oasis: #548294
   - Misty Aqua: #96c2cf
   ============================================ */

/* --- Google Fonts --- */
/* Fonts loaded via <link> in HTML head — no @import needed */

/* --- CSS Variables --- */
:root {
    --polished-walnut: #5c4545;
    --ivory-mist: #f5f0ed;
    --deep-umber: #615454;
    --serene-turquoise: #456170;
    --deep-oasis: #548294;
    --misty-aqua: #96c2cf;
    --white: #ffffff;
    --black: #1a1a1a;

    --font-heading: 'Italiana', serif;
    --font-body: 'DM Sans', sans-serif;

    --heading-tracking: -0.05em;
    --subheading-tracking: -0.02em;

    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
    --shadow-sm: 0 2px 8px rgba(92, 69, 69, 0.08);
    --shadow-md: 0 4px 20px rgba(92, 69, 69, 0.12);
    --shadow-lg: 0 8px 40px rgba(92, 69, 69, 0.16);
    --radius: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--deep-umber);
    background-color: var(--ivory-mist);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* RTL Support */
[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

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

a {
    text-decoration: none;
    color: var(--serene-turquoise);
    transition: var(--transition);
}

a:hover {
    color: var(--deep-oasis);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: var(--heading-tracking);
    color: var(--polished-walnut);
    line-height: 1.2;
    font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

/* --- ZOYA Pattern Background --- */
.zoya-pattern {
    position: relative;
}
.zoya-pattern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 L50 10 L10 50 Z' fill='%235c4545' fill-opacity='0.03'/%3E%3Ccircle cx='80' cy='40' r='15' fill='none' stroke='%235c4545' stroke-opacity='0.03' stroke-width='1.5'/%3E%3Cpath d='M60 80 L80 60 L100 80 L80 100 Z' fill='%235c4545' fill-opacity='0.02'/%3E%3Cpath d='M20 70 L40 70 L30 90 Z' fill='%235c4545' fill-opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}
.zoya-pattern > * {
    position: relative;
    z-index: 1;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--ivory-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--polished-walnut);
    letter-spacing: 0.3em;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(245, 240, 235, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}
.nav-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}
.navbar.scrolled .nav-logo-img {
    filter: none;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: var(--subheading-tracking);
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
    position: relative;
}
.navbar.scrolled .nav-links a {
    color: var(--deep-umber);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--misty-aqua);
}
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--serene-turquoise);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--misty-aqua);
    transition: var(--transition);
}
[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}
.navbar.scrolled .nav-links a::after {
    background: var(--serene-turquoise);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-chevron {
    margin-left: 4px;
}
[dir="rtl"] .nav-chevron {
    margin-left: 0;
    margin-right: 4px;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
[dir="rtl"] .nav-dropdown-menu {
    left: auto;
    right: 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--deep-umber) !important;
    font-size: 0.85rem;
}
.nav-dropdown-menu a:hover {
    background: var(--ivory-mist);
    color: var(--serene-turquoise) !important;
}
.nav-dropdown-menu a::after {
    display: none;
}

/* Pay Now Button in Nav */
.nav-btn {
    background: var(--serene-turquoise);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
}
.nav-btn:hover {
    background: var(--deep-oasis);
    color: var(--white) !important;
}
.nav-btn::after {
    display: none !important;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 4px;
}
.navbar.scrolled .lang-toggle {
    background: rgba(92,69,69,0.08);
}
.lang-toggle a {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7) !important;
}
.navbar.scrolled .lang-toggle a {
    color: var(--deep-umber) !important;
}
.lang-toggle a.active-lang {
    background: var(--polished-walnut);
    color: var(--white) !important;
}
.lang-toggle a::after {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
}
.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--ivory-mist);
    transition: var(--transition);
}
.navbar.scrolled .hamburger span {
    background: var(--polished-walnut);
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--polished-walnut);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}
.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--ivory-mist);
    letter-spacing: 0.05em;
    transition: var(--transition);
}
.mobile-menu a:hover {
    color: var(--misty-aqua);
}
.mobile-lang {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.mobile-lang a {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    padding: 8px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
}
.mobile-lang a.active-lang {
    background: var(--ivory-mist);
    color: var(--polished-walnut);
    border-color: var(--ivory-mist);
}

/* --- Floating Contact Bar --- */
.floating-bar {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
[dir="rtl"] .floating-bar {
    right: auto;
    left: 24px;
}
.floating-bar a {
    width: 48px;
    height: 48px;
    background: var(--polished-walnut);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.floating-bar a:hover {
    background: var(--serene-turquoise);
    transform: scale(1.1);
}
.floating-bar a.whatsapp-btn {
    background: #25D366;
}
.floating-bar a.whatsapp-btn:hover {
    background: #1da851;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--polished-walnut);
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(92,69,69,0.5), rgba(92,69,69,0.7));
}
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--ivory-mist);
    max-width: 800px;
    padding: 0 24px;
}
.hero-content .hero-logo {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.3em;
    margin-bottom: 16px;
    animation: fadeInDown 1s ease forwards;
    opacity: 0;
}
.hero-content .hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}
.hero-content .hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    margin-bottom: 0;
}
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--ivory-mist);
    text-align: center;
    animation: bounce 2s infinite;
    opacity: 0.7;
}
.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--polished-walnut);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.page-hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(92,69,69,0.6), rgba(92,69,69,0.8));
}
.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--ivory-mist);
}
.page-hero-content h1 {
    color: var(--ivory-mist);
    margin-bottom: 12px;
}
.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    margin-bottom: 16px;
}
.section-title p {
    color: var(--deep-umber);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}
.section-title .line {
    width: 60px;
    height: 3px;
    background: var(--serene-turquoise);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: var(--subheading-tracking);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    min-height: 48px;
}
.btn-primary {
    background: var(--polished-walnut);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--deep-umber);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--polished-walnut);
    border: 2px solid var(--polished-walnut);
}
.btn-secondary:hover {
    background: var(--polished-walnut);
    color: var(--white);
}
.btn-accent {
    background: var(--serene-turquoise);
    color: var(--white);
}
.btn-accent:hover {
    background: var(--deep-oasis);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-light {
    background: var(--ivory-mist);
    color: var(--polished-walnut);
}
.btn-light:hover {
    background: var(--white);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    min-height: 40px;
}
.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card-img img {
    transform: scale(1.05);
}
.card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(92, 69, 69, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.card:hover .card-overlay {
    opacity: 1;
}
.card-body {
    padding: 24px;
}
.card-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--misty-aqua);
    color: var(--polished-walnut);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.card-badge.coming-soon {
    background: rgba(92, 69, 69, 0.1);
    color: var(--deep-umber);
}

/* --- Project Cards --- */
.project-card .card-body h3 {
    font-size: 1.4rem;
    margin: 12px 0 8px;
}
.project-card .card-body .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--deep-umber);
    opacity: 0.7;
    font-size: 0.85rem;
    margin-top: 8px;
}
.project-card .card-body .project-meta svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: middle;
}
[dir="rtl"] .project-card .card-body .project-meta svg {
    margin-right: 0;
    margin-left: 4px;
}
.project-coming-soon .card-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(245, 240, 235, 0.3);
}

/* --- Approach / Pillar Cards --- */
.pillar-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(92,69,69,0.06);
}
.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(69, 97, 112, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: var(--serene-turquoise);
}
.pillar-card h4 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
}
.pillar-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* --- Stats Section --- */
.stats-section {
    background: var(--polished-walnut);
    padding: 80px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}
.stat-item {
    color: var(--ivory-mist);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* --- Media Cards --- */
.media-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.media-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.media-card .card-body {
    padding: 24px;
}
.media-card .media-source {
    font-size: 0.8rem;
    color: var(--serene-turquoise);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.media-card .media-date {
    font-size: 0.8rem;
    color: var(--deep-umber);
    opacity: 0.6;
    margin-bottom: 12px;
}
.media-card h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--polished-walnut);
}
.media-card .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--serene-turquoise);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.media-card .read-more svg {
    width: 16px;
    transition: transform 0.3s ease;
}
.media-card:hover .read-more svg {
    transform: translateX(4px);
}
[dir="rtl"] .media-card:hover .read-more svg {
    transform: translateX(-4px);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 20px;
}
.form-label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--deep-umber);
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(92, 69, 69, 0.15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--deep-umber);
    background: var(--white);
    transition: var(--transition);
    min-height: 48px;
}
.form-control:focus {
    outline: none;
    border-color: var(--serene-turquoise);
    box-shadow: 0 0 0 3px rgba(69, 97, 112, 0.1);
}
.form-control::placeholder {
    color: rgba(97, 84, 84, 0.4);
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23615454' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
[dir="rtl"] select.form-control {
    background-position: left 16px center;
    padding-right: 18px;
    padding-left: 44px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--serene-turquoise);
}
.phone-group {
    display: flex;
    gap: 10px;
}
.phone-group .country-code {
    width: 100px;
    flex-shrink: 0;
}
.form-success {
    display: none;
    padding: 16px 20px;
    background: rgba(69, 97, 112, 0.08);
    border: 1px solid var(--serene-turquoise);
    border-radius: var(--radius);
    color: var(--serene-turquoise);
    font-weight: 500;
    text-align: center;
    margin-top: 16px;
}
.form-error {
    display: none;
    padding: 16px 20px;
    background: rgba(200, 60, 60, 0.08);
    border: 1px solid #c83c3c;
    border-radius: var(--radius);
    color: #c83c3c;
    font-weight: 500;
    text-align: center;
    margin-top: 16px;
}

/* --- Register Interest Section --- */
.register-section {
    background: var(--ivory-mist);
}
.register-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* --- Chairman / Quote Section --- */
.chairman-section {
    background: var(--polished-walnut);
    color: var(--ivory-mist);
    padding: 100px 0;
}
.chairman-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}
.chairman-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.chairman-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chairman-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.6;
    color: var(--ivory-mist);
    margin-bottom: 32px;
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--misty-aqua);
}
[dir="rtl"] .chairman-quote {
    padding-left: 0;
    padding-right: 24px;
    border-left: none;
    border-right: 3px solid var(--misty-aqua);
}
.chairman-info h4 {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ivory-mist);
    font-size: 1.1rem;
}
.chairman-info p {
    color: var(--misty-aqua);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}
.team-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background: rgba(69, 97, 112, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-avatar .initials {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--serene-turquoise);
}
.team-card h4 {
    margin-bottom: 4px;
}
.team-card p {
    color: var(--serene-turquoise);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Values --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.value-card {
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--serene-turquoise);
    transition: var(--transition);
}
[dir="rtl"] .value-card {
    border-left: none;
    border-right: 4px solid var(--serene-turquoise);
}
.value-card:hover {
    box-shadow: var(--shadow-sm);
}
.value-card h4 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
}
.value-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* --- Vision / Mission Cards --- */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.vm-card {
    padding: 48px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.vm-card h3 {
    margin-bottom: 20px;
    color: var(--serene-turquoise);
}
.vm-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* --- Neighbourhood / Location --- */
.neighbourhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(92, 69, 69, 0.06);
}
.location-time {
    background: var(--serene-turquoise);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.location-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Amenities Grid --- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
}
.amenity-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(69, 97, 112, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--serene-turquoise);
}

/* --- Gallery --- */
.gallery-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.gallery-tab {
    padding: 10px 24px;
    border: 1px solid rgba(92, 69, 69, 0.15);
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--deep-umber);
    font-family: var(--font-body);
}
.gallery-tab.active, .gallery-tab:hover {
    background: var(--polished-walnut);
    color: var(--white);
    border-color: var(--polished-walnut);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Tabs --- */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(92, 69, 69, 0.1);
}
.tab-btn {
    padding: 14px 32px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--deep-umber);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    opacity: 0.6;
}
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--serene-turquoise);
    transform: scaleX(0);
    transition: var(--transition);
}
.tab-btn.active {
    opacity: 1;
    color: var(--serene-turquoise);
}
.tab-btn.active::after {
    transform: scaleX(1);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* --- CTA Banner --- */
.cta-banner {
    background: var(--serene-turquoise);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.cta-banner p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* --- Contact Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.contact-info-card h3 {
    margin-bottom: 16px;
    font-size: 1.3rem;
}
.contact-info-card a {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--serene-turquoise);
    font-weight: 500;
}
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-sm);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Payment Page --- */
.pay-container {
    max-width: 700px;
    margin: 0 auto;
}

/* --- Explore CTAs --- */
.explore-ctas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.explore-cta-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.explore-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.explore-cta-card svg {
    width: 48px;
    height: 48px;
    color: var(--serene-turquoise);
    margin-bottom: 16px;
}
.explore-cta-card h4 {
    margin-bottom: 8px;
}
.explore-cta-card p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 16px;
}

/* --- Footer --- */
.footer {
    background: var(--polished-walnut);
    color: var(--ivory-mist);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.25em;
    color: var(--ivory-mist);
    display: inline-block;
    margin-bottom: 16px;
}
.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 24px;
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory-mist);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--ivory-mist);
    color: var(--polished-walnut);
}
.footer h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ivory-mist);
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(245, 240, 235, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--ivory-mist);
    padding-left: 4px;
}
[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}
.footer-contact p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}
.newsletter-form {
    display: flex;
    gap: 8px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    color: var(--ivory-mist);
    font-family: var(--font-body);
    font-size: 0.9rem;
}
.newsletter-form input::placeholder {
    color: rgba(245, 240, 235, 0.4);
}
.newsletter-form button {
    padding: 12px 20px;
    background: var(--serene-turquoise);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}
.newsletter-form button:hover {
    background: var(--deep-oasis);
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
[dir="rtl"] .reveal-left {
    transform: translateX(40px);
}
[dir="rtl"] .reveal-right {
    transform: translateX(-40px);
}

/* --- Grids --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-walnut { color: var(--polished-walnut); }
.text-turquoise { color: var(--serene-turquoise); }
.text-ivory { color: var(--ivory-mist); }
.bg-walnut { background: var(--polished-walnut); }
.bg-ivory { background: var(--ivory-mist); }
.bg-white { background: var(--white); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .chairman-grid { grid-template-columns: 1fr; }
    .chairman-photo { max-width: 300px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .section { padding: 60px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .vm-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .explore-ctas { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .hero-content .hero-logo { letter-spacing: 0.15em; }

    .register-form-wrap { padding: 32px 24px; }

    .floating-bar {
        right: 12px;
        gap: 8px;
    }
    [dir="rtl"] .floating-bar {
        right: auto;
        left: 12px;
    }
    .floating-bar a {
        width: 42px;
        height: 42px;
    }

    .page-hero {
        height: 40vh;
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    h1 { font-size: 2rem; }
    .hero { min-height: 500px; }
    .tabs { flex-wrap: wrap; }
    .tab-btn { padding: 10px 16px; font-size: 0.85rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .neighbourhood-grid { grid-template-columns: 1fr; }
}

/* --- Placeholder Images --- */
.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--polished-walnut) 0%, var(--deep-oasis) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory-mist);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}
