/* ==========================================================================
   Apex Group - Premium Property & Land Investment Stylesheet (Multi-Page)
   ========================================================================== */

/* Import Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
    --primary: #0b1a30;         /* Royal Deep Navy */
    --primary-light: #183054;   /* Lighter Navy for backgrounds */
    --primary-dark: #050d1a;    /* Deep dark navy */
    --header-bg: #1c1412;       /* Dark charcoal/brown background matching screenshot */
    --accent: #c5a059;          /* Antique Gold */
    --accent-light: #f5edd6;    /* Soft Warm Gold background */
    --accent-hover: #b38e47;    /* Darker Gold for hover states */
    --secondary: #ff7b00;       /* Bright Orange for Action CTAs */
    --secondary-hover: #e06c00;
    --search-green: #008a1c;    /* Vibrant Green for search button */
    --search-green-hover: #006b15;
    --success: #1b5e20;         /* Deep Forest Green for approval badges */
    --success-light: #e8f5e9;
    --text-dark: #1e293b;       /* Charcoal Blue */
    --text-light: #f8fafc;      /* Soft White */
    --text-muted: #64748b;      /* Slate Gray */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(255, 255, 255, 0.4);
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadow Systems */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-dropdown: 0 15px 35px rgba(0, 0, 0, 0.18);
    --shadow-gold: 0 10px 20px -5px rgba(197, 160, 89, 0.3);

    /* Border Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

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

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

li {
    list-style: none;
}

/* Button & Link UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--bg-white);
}

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

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

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

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

.section-title-wrapper {
    margin-bottom: 3.5rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   Header Component (Rebuilt to match user screenshots)
   ========================================================================== */
.header {
    background-color: var(--header-bg);
    width: 100%;
    position: relative;
    z-index: 1000;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent), #fff);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--bg-white);
}

.logo-text span {
    color: var(--accent);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
}

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

/* Dropdown hamburger toggle styling (Screenshot reference) */
.menu-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hamburger-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    color: var(--bg-white);
    margin-right: 1.5rem;
    transition: var(--transition-fast);
}

.hamburger-trigger:hover {
    color: var(--accent);
}

.hamburger-trigger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
}

/* Search green square button styling */
.header-search-btn {
    background-color: var(--search-green);
    color: var(--bg-white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.header-search-btn:hover {
    background-color: var(--search-green-hover);
    transform: scale(1.05);
}

/* Floating Dropdown List Panel */
.menu-dropdown-list {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1rem;
    background-color: var(--bg-white);
    min-width: 240px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-dropdown);
    padding: 0.75rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.menu-dropdown-list.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.menu-dropdown-list::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 18px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent var(--bg-white) transparent;
}

.dropdown-item {
    display: block;
    padding: 0.65rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    text-align: left;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    padding-left: 2rem;
}

/* Global Page Banner Header */
.page-banner {
    position: relative;
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    text-align: center;
}

.page-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.page-breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumbs a {
    color: var(--accent);
}

/* ==========================================================================
   Home Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(11, 26, 48, 0.8) 0%, rgba(11, 26, 48, 0.6) 100%), 
                url('assets/images/hero_plots_gated_community.jpg') no-repeat center center / cover;
    padding: 5rem 0;
    color: var(--bg-white);
}

.hero-content {
    max-width: 750px;
}

.hero-tagline {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 2.5rem;
}

/* Stats Strip */
.stats-strip {
    background-color: var(--primary);
    padding: 2.5rem 0;
    margin-top: -3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

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

.stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================================================
   "New Projects (Future Wealth)" Banner Layout (Screenshot 2 reference)
   ========================================================================== */
.projects-showcase-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.85) 0%, rgba(255, 111, 0, 0.75) 100%), 
                url('assets/images/hero_plots_gated_community.jpg') no-repeat center center / cover;
    padding: 3.5rem 0;
    text-align: center;
    color: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}

.projects-showcase-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Selector Filter Strip below project banner */
.filter-selection-strip {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.filter-select-box {
    width: 100%;
    max-width: 480px;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    color: #4b5563;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.1em;
    -webkit-appearance: none;
    appearance: none;
    transition: var(--transition-fast);
}

.filter-select-box:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

/* ==========================================================================
   Project Grid & Cards
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.project-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

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

.project-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 5;
}

.badge {
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    color: var(--bg-white);
}

.badge-approved {
    background-color: var(--success);
}

.badge-status-ongoing {
    background-color: var(--secondary);
}

.badge-status-completed {
    background-color: var(--primary-light);
}

.project-price-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    z-index: 5;
}

.project-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-location {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.project-title-card {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.spec-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.project-actions {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0.5rem;
    margin-top: auto;
}

.project-actions .btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   Other Page Specific Components
   ========================================================================== */

/* About/Story Content blocks */
.story-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Programs Section (about.html teaser & programs.html details) */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 2.25rem 1.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.program-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.program-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.program-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Investment Calculator Widget */
.calculator-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calc-controls {
    background-color: var(--primary-light);
    color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group:last-child {
    margin-bottom: 0;
}

.calc-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calc-val-box {
    background-color: var(--accent);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    background-color: var(--accent);
    cursor: pointer;
}

.calc-results {
    background-color: var(--bg-white);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 2.5rem 2.25rem;
    box-shadow: var(--shadow-md);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
}

.result-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.result-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.result-val.highlight {
    font-size: 1.85rem;
    color: var(--success);
}

/* Why Invest Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.why-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    font-size: 1.4rem;
}

/* FAQ Accordions */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-header {
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--accent);
    transition: var(--transition-normal);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content-inner {
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Blog Listing */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.blog-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

/* Downloads Listing */
.downloads-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-item {
    background-color: var(--bg-white);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

/* Web App Client Dashboard mock */
.client-dashboard {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 500px;
}

.dash-sidebar {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bg-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.dash-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.dash-link.active, .dash-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.dash-content {
    padding: 3rem;
    background-color: var(--bg-light);
}

.dash-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.dash-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
}

/* Bank Details Layout */
.bank-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.bank-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
}

.bank-logo-img {
    height: 35px;
    margin-bottom: 1.5rem;
}

.bank-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.bank-detail-row span:first-child {
    font-weight: 500;
    color: var(--text-muted);
}

.bank-detail-row span:last-child {
    font-weight: 600;
    color: var(--primary);
}

/* Contact layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.contact-info-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-form-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 3rem 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    background-color: var(--bg-white);
}

textarea.form-control {
    resize: none;
    min-height: 100px;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 4.5rem 0 2rem 0;
    font-size: 0.85rem;
    border-top: 3px solid var(--accent);
}

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

.footer-col h3 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.4rem;
}

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

.footer-about p {
    margin-bottom: 1.25rem;
}

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

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.footer-contact-item i {
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: 2px;
}

.footer-newsletter p {
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.4rem;
}

.newsletter-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    color: var(--bg-white);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--accent);
}

.newsletter-form .btn {
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

/* ==========================================================================
   Modals Component (Glassmorphic)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 13, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--bg-light);
    border: none;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: var(--accent);
    color: var(--bg-white);
}

.modal-body {
    padding: 2.5rem;
}

.modal-project-header {
    margin-bottom: 1.75rem;
}

.modal-project-title {
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.modal-project-meta {
    display: flex;
    gap: 1.25rem;
}

.modal-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    background-color: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
}

.modal-layout-gallery {
    margin-bottom: 2rem;
}

.modal-layout-gallery h3 {
    margin-bottom: 1rem;
}

.layout-preview-box {
    border: 1px dashed var(--accent);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 1.25rem;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.layout-preview-box img {
    border-radius: var(--radius-sm);
    max-height: 220px;
    object-fit: contain;
}

.modal-inquiry-box {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.modal-inquiry-box h3 {
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   Floating Actions Component
   ========================================================================== */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-normal);
}

.whatsapp-float {
    background-color: #25d366;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

.back-to-top {
    background-color: var(--primary);
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets (1024px) */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bank-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .client-dashboard {
        grid-template-columns: 1fr;
    }
    
    .dash-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1.25rem;
    }
    
    .dash-logo {
        width: 100%;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* Small Tablets / Large Mobiles (768px) */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .nav-menu {
        display: none; /* In our layout, hamburger dropdown holds all items on mobile */
    }
    
    .hamburger-trigger {
        margin-right: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .story-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Mobiles (480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 0.75rem;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .calc-controls {
        padding: 1.75rem 1.25rem;
    }
    
    .calc-results {
        padding: 2rem 1.25rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .dash-content {
        padding: 1.5rem;
    }
    
    .dash-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-dropdown-list {
        width: 100vw;
        right: -24px; /* Align to edge on very small screen */
    }
}

/* ==========================================================================
   Header Interactive Search Layout (Rebuilt style matching screenshot)
   ========================================================================== */
.header-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-bar {
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 38px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search-bar.active {
    background-color: #f6faf6; /* Soft green-white tint when active */
    border: 1px solid var(--border-color);
}

.search-icon-block {
    background-color: var(--search-green);
    color: var(--bg-white);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.header-search-bar.active .search-icon-block {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.header-search-input {
    border: none;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    height: 100%;
    width: 0;
    opacity: 0;
    background-color: transparent;
    color: var(--search-green);
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.header-search-bar.active .header-search-input {
    width: 220px;
    opacity: 1;
    padding: 0 0.85rem;
    pointer-events: auto;
}

.header-search-input::placeholder {
    color: var(--search-green);
    font-style: italic;
    opacity: 0.65;
}

/* Search Dropdown Panel */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 270px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-dropdown);
    margin-top: 0.5rem;
    max-height: 280px;
    overflow-y: scroll;
    display: none;
    z-index: 1200;
}

/* Scrollbar styling matching reference screenshot grey bar with arrows */
.search-results-dropdown::-webkit-scrollbar {
    width: 14px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #f4f4f4;
    border-left: 1px solid #e5e7eb;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #a3a3a3;
    border-radius: 9999px;
    border: 3px solid #f4f4f4;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #737373;
}

/* Search result item matching thumbnail & green uppercase text */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f7faf7;
}

.search-result-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.search-result-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--search-green);
    text-transform: uppercase;
    line-height: 1.35;
    font-family: var(--font-heading);
    letter-spacing: -0.1px;
}

