/* =============================================
   TAHIR ESTATES — Custom Styles
   Animations follow animation-designer skill principles:
   - GPU-accelerated (transform + opacity only)
   - 200–400ms sweet spot for UI feedback
   - easeOut for natural motion, spring-like for bounce
   - Respect prefers-reduced-motion
   ============================================= */

:root {
    --color-primary: #0a2540;        /* Deep navy */
    --color-primary-dark: #061a30;
    --color-accent: #c9a44c;         /* Luxury gold */
    --color-accent-soft: #e7c76c;
    --color-dark: #111827;
    --color-body: #4b5563;
    --color-muted: #6b7280;
    --color-light: #f8f7f4;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.08);
    --shadow: 0 18px 50px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 30px 80px rgba(10, 37, 64, 0.18);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-body);
    font-size: 16px;
    line-height: 1.7;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 600;
    letter-spacing: -0.015em;
    -webkit-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
}
::selection { background: rgba(201, 164, 76, 0.3); color: var(--color-dark); }

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.italic-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--color-accent);
}

.section-padding { padding: 110px 0; }
@media (max-width: 768px) { .section-padding { padding: 70px 0; } }

.section-tagline {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 22px;
    color: var(--color-dark);
}
.section-title.light { color: #fff; }

.section-lead {
    font-size: 1.0625rem;
    color: var(--color-muted);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.section-body {
    color: var(--color-body);
    margin-bottom: 28px;
}

/* ============ NAVIGATION ============ */
.navbar {
    padding: 20px 0;
    background: rgba(10, 37, 64, 0);
    transition: var(--transition);
    backdrop-filter: blur(0px);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    box-shadow: 0 6px 26px rgba(10, 37, 64, 0.08);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}
.brand-mark {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(201, 164, 76, 0.35);
}
.brand-text {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.brand-text-line {
    display: block;
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.brand-text-accent { color: var(--color-accent); font-style: italic; }
.brand-text small {
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    display: block;
    white-space: nowrap;
}
.navbar.scrolled .brand-text { color: var(--color-dark); }
.navbar.scrolled .brand-text small { color: var(--color-muted); }

.nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 18px !important;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 4px;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.active { color: var(--color-accent) !important; }
.navbar.scrolled .nav-link { color: var(--color-dark) !important; }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--color-accent) !important; }

.btn-cta {
    background: var(--color-accent);
    color: var(--color-primary) !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid var(--color-accent);
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-cta:hover {
    background: transparent;
    color: var(--color-accent) !important;
    transform: translateY(-2px);
}
.navbar.scrolled .btn-cta:hover { color: var(--color-accent) !important; }

.navbar-toggler {
    border: none;
    padding: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
}
.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}
.navbar.scrolled .toggler-bar { background: var(--color-dark); }

/* ============ HERO ============ */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('proj-2.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.18); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6, 26, 48, 0.88) 0%, rgba(10, 37, 64, 0.7) 50%, rgba(10, 37, 64, 0.5) 100%);
}

.hero-tagline {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary,
.btn-hero-outline {
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-hero-primary {
    background: var(--color-accent);
    color: var(--color-primary);
    border: 1px solid var(--color-accent);
}
.btn-hero-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(255, 255, 255, 0.2);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-hero-outline:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-stats {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(10, 37, 64, 0.55);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-stats .container { max-width: 1200px; }
.stat-item {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-weight: 500;
}
@media (max-width: 768px) {
    .stat-item { padding: 20px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-item:nth-child(2n) { border-right: none; }
}

.scroll-indicator {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: none;
}
@media (min-width: 992px) { .scroll-indicator { display: block; } }
.scroll-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    margin: 8px auto;
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ============ ABOUT ============ */
.about-section { background: var(--color-light); }

.about-visual {
    position: relative;
    padding: 0 0 60px 60px;
}
.about-img-main {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.about-img-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    border: 8px solid var(--color-light);
    box-shadow: var(--shadow);
}
.about-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 18px 22px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}
.about-badge-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}
.about-badge-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.3;
}

.feature-list { margin-top: 36px; }
.feature-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.feature-item h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 600;
}
.feature-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14.5px;
}

/* ============ PROJECTS ============ */
.projects-section { background: #fff; }

.project-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 37, 64, 0.07);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(10, 37, 64, 0.04);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.project-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0a2540;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    display: block;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project-card:hover .project-img img { transform: scale(1.07); }
.project-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    z-index: 2;
}
.project-body {
    padding: 30px 30px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-sub {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.project-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}
.project-desc {
    color: var(--color-muted);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}
.project-amenities {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
}
.project-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-body);
    font-weight: 500;
}
.project-amenities i {
    color: var(--color-accent);
    font-size: 14px;
    flex-shrink: 0;
}
.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 600;
    flex-wrap: wrap;
}
.project-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.project-meta i { color: var(--color-accent); font-size: 15px; }
.project-link {
    margin-top: auto;
    align-self: flex-start;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
}
.project-link:hover {
    background: var(--color-primary);
    color: #fff;
}
.project-link:hover i { transform: translate(3px, -3px); }
.project-link i { transition: var(--transition); }

/* ============ CHAIRMAN ============ */
.chairman-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}
.chairman-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(201, 164, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.chairman-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(201, 164, 76, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
    pointer-events: none;
}
.chairman-section > * { position: relative; z-index: 1; }

.chairman-visual { position: relative; padding: 0 40px 50px 0; }
.chairman-img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top center;
    box-shadow: var(--shadow-lg);
}
.chairman-sign {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 18px 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.chairman-sign-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    font-style: italic;
    display: block;
    line-height: 1;
}
.chairman-sign small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
}

.chairman-quote {
    position: relative;
    padding-left: 34px;
    margin: 30px 0 34px;
}
.chairman-quote .quote-icon {
    position: absolute;
    top: -8px;
    left: -8px;
    font-size: 3.5rem;
    color: var(--color-accent);
    opacity: 0.3;
}
.chairman-quote p {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    font-weight: 400;
    margin: 0;
}
.chairman-meta h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.chairman-meta p {
    color: var(--color-accent);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.chairman-achievements {
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.chairman-achievements h3 {
    font-size: 2.4rem;
    color: var(--color-accent);
    margin-bottom: 4px;
    font-weight: 700;
}
.chairman-achievements p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* ============ WHY US ============ */
.why-section { background: var(--color-light); }

.why-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    height: 100%;
    border: 1px solid rgba(10, 37, 64, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(201, 164, 76, 0.15) 0%, rgba(201, 164, 76, 0.05) 100%);
    color: var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}
.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.why-card p {
    color: var(--color-muted);
    margin: 0;
    font-size: 14.5px;
}

/* ============ FAQ ============ */
.faq-section { background: #fff; }
.faq-accordion .accordion-item {
    background: var(--color-light);
    border: 1px solid transparent;
    border-radius: var(--radius) !important;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)),
.faq-accordion .accordion-item:hover {
    background: #fff;
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
    background: transparent;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.08rem;
    padding: 22px 26px;
    border: 0;
    box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background: transparent;
}
.faq-accordion .accordion-button::after {
    background-image: none;
    content: "\F4FE"; /* bi-plus */
    font-family: "bootstrap-icons";
    font-size: 22px;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background: rgba(201, 164, 76, 0.12);
    border-radius: 50%;
    transition: var(--transition);
    transform: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    content: "\F2EA"; /* bi-dash */
    background: var(--color-accent);
    color: var(--color-primary);
    transform: rotate(180deg);
}
.faq-accordion .accordion-body {
    padding: 0 26px 24px;
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ============ CONTACT ============ */
.contact-section { background: #fff; }

.contact-card {
    background: var(--color-light);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
}
.contact-card:hover {
    background: #fff;
    border-color: var(--color-border);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.contact-card h5 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.contact-card p {
    color: var(--color-muted);
    margin-bottom: 14px;
    font-size: 14px;
}
.contact-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
}
.contact-link:hover { color: var(--color-accent); }

.contact-form-row {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.contact-form-info {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 44px;
    display: flex;
    flex-direction: column;
}
.contact-form-info h3 {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 14px;
}
.contact-form-info p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin-bottom: auto;
}
.contact-info-list li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-info-list i {
    color: var(--color-accent);
    font-size: 18px;
}
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.contact-social a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.contact-form-body { background: #fff; padding: 50px 44px; }
.contact-form .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--color-border);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--color-light);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
    background: #fff;
}
.contact-form .btn-cta { padding: 14px; font-size: 15px; }

@media (max-width: 991px) {
    .contact-form-info, .contact-form-body { padding: 34px 24px; }
}


/* ============ FOOTER ============ */
.footer-section {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}
.footer-top { padding-bottom: 50px; }
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer-brand .brand-text { color: #fff; }
.footer-about { font-size: 14.5px; line-height: 1.8; max-width: 340px; }

.footer-heading {
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 22px;
}
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
}
.footer-links a:hover { color: var(--color-accent); padding-left: 4px; }

.footer-contact li {
    padding: 8px 0;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-contact i { color: var(--color-accent); font-size: 16px; }

.footer-bottom {
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
}
.footer-bottom p { color: rgba(255, 255, 255, 0.55); }

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}
.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappRing 2s ease-out infinite;
    pointer-events: none;
}
@keyframes whatsappRing {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0;   }
}
.whatsapp-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: var(--color-primary-dark);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-primary-dark);
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
@media (max-width: 575px) {
    .whatsapp-float { width: 52px; height: 52px; font-size: 24px; bottom: 24px; left: 20px; }
    .whatsapp-tooltip { display: none; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-4px);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .navbar { background: var(--color-primary); }
    .navbar.scrolled { background: rgba(255,255,255,0.98); }
    .navbar-collapse {
        margin-top: 16px;
        padding: 16px 0;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .navbar.scrolled .navbar-collapse { border-top-color: var(--color-border); }
    .nav-link { padding: 10px 0 !important; }
    .nav-link::after { display: none; }
    .btn-cta { margin-top: 10px; }

    .hero-stats { position: relative; margin-top: 50px; }
    .hero-section { min-height: auto; padding-bottom: 0; }
    .about-visual { padding: 0; }
    .about-img-accent { position: relative; width: 70%; margin: -60px auto 0; }
    .about-badge { position: absolute; top: 16px; right: 16px; padding: 12px 16px; }
    .chairman-visual { padding: 0; margin-bottom: 30px; }
    .chairman-sign { bottom: 16px; right: 16px; }
}

/* ============================================
   ADVANCED ANIMATIONS (animation-designer skill)
   ============================================ */

/* ---- 1. Page Loader (initial fade-in) ---- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-primary-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0s linear 0.6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-brand {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    display: flex;
    gap: 4px;
}
.loader-brand span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderLetter 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.loader-brand span:nth-child(1) { animation-delay: 0.05s; }
.loader-brand span:nth-child(2) { animation-delay: 0.15s; }
.loader-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    margin-top: auto;
    align-self: flex-end;
    animation: loaderPulse 1s ease-in-out infinite;
}
@keyframes loaderLetter {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}

/* ---- 2. Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
}
.scroll-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(201, 164, 76, 0.5);
}

/* ---- 3. Text Reveal (split into words) ---- */
.reveal-text { display: inline-block; }
.reveal-text .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: 0.25em;
}
.reveal-text .word > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-text.is-visible .word > span { transform: translateY(0); }
.reveal-text.is-visible .word:nth-child(1) > span { transition-delay: 0.05s; }
.reveal-text.is-visible .word:nth-child(2) > span { transition-delay: 0.12s; }
.reveal-text.is-visible .word:nth-child(3) > span { transition-delay: 0.19s; }
.reveal-text.is-visible .word:nth-child(4) > span { transition-delay: 0.26s; }
.reveal-text.is-visible .word:nth-child(5) > span { transition-delay: 0.33s; }
.reveal-text.is-visible .word:nth-child(6) > span { transition-delay: 0.40s; }
.reveal-text.is-visible .word:nth-child(n+7) > span { transition-delay: 0.47s; }

/* ---- 4. Hero parallax & floating shapes ---- */
.hero-bg { will-change: transform; }
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.3;
    filter: blur(2px);
}
.hero-shape--1 {
    top: 15%; left: 8%;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(201, 164, 76, 0.5) 0%, transparent 70%);
    animation: float 9s ease-in-out infinite;
}
.hero-shape--2 {
    top: 60%; right: 10%;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(201, 164, 76, 0.3) 0%, transparent 70%);
    animation: float 11s ease-in-out infinite 1.5s reverse;
}
.hero-shape--3 {
    top: 35%; right: 25%;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: float 7s ease-in-out infinite 0.8s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.05); }
    66%      { transform: translate(-20px, 30px) scale(0.95); }
}

/* ---- 5. Gradient text shimmer (accent) ---- */
.italic-accent {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-soft) 50%, var(--color-accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ---- 6. Ripple (on btn-cta / btn-hero-primary) ---- */
.btn-cta, .btn-hero-primary, .btn-hero-outline, .project-link {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: rippleExpand 0.65s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}
@keyframes rippleExpand {
    to { transform: scale(4); opacity: 0; }
}

/* ---- 7. Project card 3D tilt & image zoom reveal ---- */
.project-card {
    will-change: transform;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.project-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 37, 64, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}
.project-card:hover .project-img::after { opacity: 1; }
.project-status {
    animation: badgeShine 3s ease-in-out infinite;
}
@keyframes badgeShine {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 164, 76, 0.6); }
    50%      { box-shadow: 0 0 0 8px rgba(201, 164, 76, 0); }
}

/* ---- 8. Feature icon wiggle on hover ---- */
.feature-item:hover .feature-icon {
    animation: wiggle 0.5s ease-in-out;
    background: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25%      { transform: rotate(-6deg) scale(1.08); }
    75%      { transform: rotate(6deg) scale(1.08); }
}

/* ---- 9. Why-card icon float ---- */
.why-card:hover .why-icon {
    transform: translateY(-6px) scale(1.05);
    background: var(--color-accent);
    color: var(--color-primary);
}
.why-icon { transition: var(--transition); }

/* ---- 10. Trust marquee (infinite scroll strip) ---- */
.trust-strip {
    background: var(--color-primary-dark);
    padding: 26px 0;
    overflow: hidden;
    position: relative;
}
.trust-strip::before,
.trust-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.trust-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, transparent 100%);
}
.trust-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-primary-dark) 0%, transparent 100%);
}
.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.3rem;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.marquee-item i {
    color: var(--color-accent);
    font-size: 1.6rem;
    font-style: normal;
}
.marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    opacity: 0.6;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.trust-strip:hover .marquee-track { animation-play-state: paused; }

/* ---- 11. Navbar brand mark hover rotate ---- */
.navbar-brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.06);
    box-shadow: 0 10px 28px rgba(201, 164, 76, 0.5);
}
.brand-mark { transition: var(--transition); }

/* ---- 12. Section tagline dash animation ---- */
.section-tagline {
    position: relative;
    padding-left: 0;
}
.section-tagline::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    vertical-align: middle;
    margin-right: 10px;
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.is-visible .section-tagline::before,
.section-tagline.is-visible::before {
    width: 32px;
}

/* ---- 13. Form success checkmark overlay ---- */
.form-success {
    position: absolute;
    inset: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
    border-radius: var(--radius-lg);
    z-index: 5;
}
.form-success.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}
.form-success svg {
    width: 72px;
    height: 72px;
}
.form-success circle,
.form-success path {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.form-success.active circle {
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    animation: checkCircle 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.form-success.active path {
    stroke-dasharray: 44;
    stroke-dashoffset: 44;
    animation: checkPath 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s forwards;
}
@keyframes checkCircle { to { stroke-dashoffset: 0; } }
@keyframes checkPath   { to { stroke-dashoffset: 0; } }
.form-success h4 { color: var(--color-primary); margin: 0; }
.form-success p  { color: var(--color-muted); margin: 0; font-size: 14.5px; }

/* ---- 14. Contact form container needs positioning ---- */
.contact-form-body { position: relative; }

/* ---- 15. Scroll indicator glow ---- */
.scroll-indicator::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    border: 1px solid rgba(201, 164, 76, 0.35);
    animation: indicatorPulse 2.2s ease-in-out infinite;
}
@keyframes indicatorPulse {
    0%   { transform: scale(0.95); opacity: 0.8; }
    70%  { transform: scale(1.3);  opacity: 0; }
    100% { transform: scale(1.3);  opacity: 0; }
}

/* ---- 16. Back-to-top orbit pulse ---- */
.back-to-top::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    opacity: 0;
    animation: orbitPulse 2.5s ease-out infinite;
}
.back-to-top.visible::before { opacity: 1; }
@keyframes orbitPulse {
    0%   { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ---- 17. Reveal on scroll (generic) ---- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

/* ---- 18. Magnetic button hover glow ---- */
.btn-hero-primary::before,
.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}
.btn-hero-primary:hover::before,
.btn-cta:hover::before { opacity: 1; }
.btn-hero-primary > *,
.btn-cta > * { position: relative; z-index: 1; }

/* ---- 19. Stat number color pulse while counting ---- */
.counter.counting {
    color: var(--color-accent);
    transition: color 0.4s ease;
}

/* ---- 20. Prefers reduced motion — kill non-essential motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-bg { animation: none !important; }
    .marquee-track { animation: none !important; }
    .hero-shape { display: none; }
    .reveal-text .word > span { transform: none !important; }
    .reveal-up { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .btn-hero-primary, .btn-hero-outline { padding: 13px 24px; font-size: 14px; width: 100%; justify-content: center; }
    .project-body { padding: 24px; }
    .project-title { font-size: 1.4rem; }
    .project-amenities { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
    .project-amenities li { font-size: 12.5px; }
    .chairman-quote p { font-size: 1.1rem; }
    .chairman-quote { padding-left: 20px; }
    .section-title { font-size: 1.75rem; }
    .brand-text { font-size: 18px; }
    .brand-text small { font-size: 8.5px; letter-spacing: 0.18em; }
    .brand-mark { width: 42px; height: 42px; font-size: 15px; }
}
