/* ==========================================================================
   AH ESTATES BUILDERS - Core Design System & Styling
   Sialkot, Punjab, Pakistan
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
    --primary: #0D1F2D;          /* Deep navy / charcoal blue */
    --primary-light: #162E42;    /* Slightly elevated navy */
    --primary-dark: #07121B;     /* Deep midnight navy */
    
    --secondary: #B89146;        /* Elegant muted gold */
    --secondary-hover: #9E7A33;  /* Deep gold for hover states */
    --secondary-light: #F9F5EC;  /* Soft champagne gold tint */
    --secondary-glow: rgba(184, 145, 70, 0.25);
    
    --bg-white: #FFFFFF;
    --bg-light: #F6F7F8;
    --bg-card: #FFFFFF;
    --bg-dark-surface: #112332;
    
    --text-main: #1D252C;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;
    
    --border-light: #E5E7EB;
    --border-color: #E2E8F0;
    --border-gold: rgba(184, 145, 70, 0.3);
    
    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE5D;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
    
    --shadow-subtle: 0 4px 15px rgba(13, 31, 45, 0.05);
    --shadow-card: 0 10px 30px rgba(13, 31, 45, 0.07);
    --shadow-card-hover: 0 20px 40px rgba(13, 31, 45, 0.12);
    --shadow-header: 0 4px 20px rgba(13, 31, 45, 0.08);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    --container-max: 1240px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
}

.section-sm {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-dark {
    background-color: var(--primary);
    color: var(--text-white);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
    color: var(--text-white);
}

.section-bg-dark p {
    color: #CBD5E1;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    background-color: var(--secondary-light);
    border: 1px solid var(--border-gold);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
}

.section-badge.on-dark {
    background: rgba(184, 145, 70, 0.15);
    color: #F1D498;
    border-color: rgba(184, 145, 70, 0.4);
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--secondary-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-secondary.on-dark {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-gold {
    background-color: var(--secondary);
    color: var(--text-white);
    border: 1px solid var(--secondary);
}

.btn-gold:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--secondary-glow);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

.btn-outline-gold:hover {
    background-color: var(--secondary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--text-white);
    border: 1px solid var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

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

.btn-block {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
}

.badge-sale {
    background-color: var(--primary);
    color: var(--text-white);
}

.badge-invest {
    background-color: var(--secondary);
    color: var(--text-white);
}

/* --------------------------------------------------------------------------
   5. Top Header & Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

/* Header Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: #D1D5DB;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0;
    transition: all var(--transition-normal);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #D1D5DB;
    transition: color var(--transition-fast);
}

.top-item i {
    color: var(--secondary);
    font-size: 0.85rem;
}

.top-item:hover {
    color: var(--text-white);
}

/* Main Navigation */
.navbar-wrap {
    background-color: rgba(13, 31, 45, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scrolled state */
.site-header.scrolled .navbar-wrap {
    background-color: var(--primary);
    box-shadow: var(--shadow-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    position: relative;
}

/* Logo styling - guaranteed safe for any placeholder or client replacement */
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.site-logo:hover img {
    transform: scale(1.02);
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #E2E8F0;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1002;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Overlay / Drawer */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1001;
    padding: 6rem 2rem 2rem 2rem;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.35rem;
    font-family: var(--font-heading);
    color: var(--text-white);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.mobile-menu-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #E2E8F0;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}
.mobile-contact-item i {
    color: var(--secondary);
    width: 20px;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10.5rem;
    padding-bottom: 6.5rem;
    background-color: var(--primary);
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 10s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(13, 31, 45, 0.92) 0%,
        rgba(13, 31, 45, 0.82) 55%,
        rgba(13, 31, 45, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
    color: var(--text-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(184, 145, 70, 0.18);
    border: 1px solid var(--border-gold);
    color: #F3DCAC;
    padding: 0.45rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    color: var(--text-white);
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    color: #E2E8F0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    margin-bottom: 2.25rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-size: 0.88rem;
    font-weight: 500;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-item i {
    color: var(--secondary);
}

/* --------------------------------------------------------------------------
   7. Property Search / Filter Bar (Hero Overlap)
   -------------------------------------------------------------------------- */
.search-bar-wrap {
    position: relative;
    z-index: 10;
    margin-top: -3.5rem;
    margin-bottom: 3rem;
}

.search-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 45px rgba(13, 31, 45, 0.12);
    padding: 1.85rem 2rem;
    border: 1px solid var(--border-light);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 1.25rem;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-group label i {
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--secondary-glow);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230D1F2D'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* --------------------------------------------------------------------------
   8. Property Cards Grid
   -------------------------------------------------------------------------- */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.property-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(184, 145, 70, 0.4);
}

.card-media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #E2E8F0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.property-card:hover .card-media img {
    transform: scale(1.08);
}

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.card-type-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(13, 31, 45, 0.88);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    z-index: 2;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.property-card:hover .card-title {
    color: var(--secondary);
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
}

.card-location i {
    color: var(--secondary);
}

.card-meta-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-main);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.meta-item i {
    color: var(--secondary);
    font-size: 0.95rem;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    margin-top: auto;
}

.card-actions .btn-wa {
    background-color: rgba(37, 211, 102, 0.12);
    color: var(--whatsapp-green);
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.card-actions .btn-wa:hover {
    background-color: var(--whatsapp-green);
    color: var(--text-white);
}

/* --------------------------------------------------------------------------
   9. About AH Estates Builders Section
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    bottom: -1.75rem;
    right: -1.75rem;
    background: var(--primary);
    color: var(--text-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-left: 4px solid var(--secondary);
    max-width: 280px;
}

.about-floating-card .num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.about-floating-card .text {
    font-size: 0.85rem;
    color: #CBD5E1;
    line-height: 1.4;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.point-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.point-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(184, 145, 70, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--secondary);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    color: var(--primary);
}

.service-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--secondary);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--secondary-light);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.why-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.why-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Citi Housing Sialkot Featured Showcase Section
   -------------------------------------------------------------------------- */
.citi-showcase {
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(13, 31, 45, 0.2);
}

.citi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.citi-content {
    padding: 4.5rem;
}

.citi-content .section-badge {
    margin-bottom: 1.25rem;
}

.citi-content h2 {
    color: var(--text-white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.citi-content p {
    color: #CBD5E1;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.citi-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.citi-image-wrap {
    height: 100%;
    min-height: 450px;
    position: relative;
}

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

/* --------------------------------------------------------------------------
   13. How It Works (Timeline / Steps)
   -------------------------------------------------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    position: relative;
}

.step-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--secondary);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.step-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. Full-Width Investment Banner CTA
   -------------------------------------------------------------------------- */
.invest-cta-section {
    background: linear-gradient(135deg, #07121B 0%, #0D1F2D 100%);
    color: var(--text-white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(184, 145, 70, 0.2);
    border-bottom: 1px solid rgba(184, 145, 70, 0.2);
}

.invest-cta-content {
    max-width: 780px;
    margin: 0 auto;
}

.invest-cta-content h2 {
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.invest-cta-content p {
    color: #CBD5E1;
    font-size: 1.15rem;
    margin-bottom: 2.25rem;
}

.invest-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonial-quote-icon {
    color: var(--secondary);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    color: var(--primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-disclaimer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   16. Social Media & Contact Section
   -------------------------------------------------------------------------- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.social-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--secondary);
}

.social-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.social-icon-box.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-box.facebook {
    background-color: #1877F2;
}

.social-icon-box.youtube {
    background-color: #FF0000;
}

.social-meta h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.social-meta span {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
}

/* Ready Contact CTA Box */
.ready-cta-box {
    background: var(--primary);
    color: var(--text-white);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: var(--shadow-card-hover);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ready-cta-info h2 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.ready-cta-info p {
    color: #CBD5E1;
    font-size: 1.05rem;
    max-width: 580px;
}

.ready-cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.ready-phone-link {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.ready-phone-link:hover {
    color: var(--text-white);
}

.ready-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   17. Footer Styles
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--primary-dark);
    color: #94A3B8;
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-desc {
    color: #94A3B8;
    line-height: 1.65;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94A3B8;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #CBD5E1;
}

.footer-contact-list i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social-btn:hover {
    background: var(--secondary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748B;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* --------------------------------------------------------------------------
   18. Floating WhatsApp Widget
   -------------------------------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.whatsapp-btn-pulse {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: transform var(--transition-fast);
}

.whatsapp-btn-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    opacity: 0.6;
    animation: pulse-ring 2s infinite ease-out;
    z-index: -1;
}

.floating-whatsapp:hover .whatsapp-btn-pulse {
    transform: scale(1.08);
}

.whatsapp-tooltip {
    background-color: var(--primary);
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* --------------------------------------------------------------------------
   19. Inner Page Hero / Header Banner
   -------------------------------------------------------------------------- */
.page-hero {
    background-color: var(--primary);
    color: var(--text-white);
    padding-top: 10rem;
    padding-bottom: 4.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(184, 145, 70, 0.12) 0%, rgba(13, 31, 45, 0.98) 75%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.page-hero-title {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.page-hero-desc {
    color: #CBD5E1;
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-top: 1.25rem;
}

.breadcrumbs a {
    color: #CBD5E1;
}
.breadcrumbs a:hover {
    color: var(--text-white);
}

/* --------------------------------------------------------------------------
   20. Contact Page Styles & Form Alerts
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
}

.contact-channel {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--secondary-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.channel-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.channel-details p, .channel-details a {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.channel-details a:hover {
    color: var(--secondary);
}

.contact-form-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group-full {
    margin-bottom: 1.25rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Honeypot field (hidden from real users) */
.form-honeypot {
    display: none !important;
    visibility: hidden;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.alert-error {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #F8B4B4;
}

/* --------------------------------------------------------------------------
   21. Property Detail Page
   -------------------------------------------------------------------------- */
.detail-layout {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 3rem;
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    background: #E2E8F0;
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.thumb-item {
    height: 110px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--secondary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-price {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 35%;
}

.feature-check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 1.5rem 0 2.5rem 0;
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-main);
}

.feature-check-item i {
    color: var(--secondary);
}

.sidebar-sticky {
    position: sticky;
    top: 6.5rem;
}

.inquiry-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

.inquiry-card h3 {
    margin-bottom: 0.5rem;
}

.inquiry-card p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.disclaimer-box {
    background-color: var(--secondary-light);
    border-left: 4px solid var(--secondary);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #785A1C;
    line-height: 1.55;
    margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   22. Filter Tabs on Properties Page
   -------------------------------------------------------------------------- */
.filter-tabs {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-tab-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-light);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   23. General Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-gold   { color: var(--secondary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
