/* 
    ========================================================================
    SURYA REALESTATE - PREMIUM DESIGNS & STYLING
    Luxury HSL Gold-Obsidian Palette, Volumetric Shadows, and Glassmorphism
    ========================================================================
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme Variables - Default Dark */
    --primary: hsl(38, 92%, 50%); /* Solar Amber Gold */
    --primary-hover: hsl(38, 92%, 40%);
    --secondary: hsl(28, 95%, 48%);
    --bg-main: hsl(220, 20%, 7%);
    --bg-surface: hsla(220, 20%, 14%, 0.6);
    --bg-surface-solid: hsl(220, 20%, 11%);
    --bg-surface-elevated: hsl(220, 20%, 16%);
    --text-main: hsl(210, 20%, 94%);
    --text-muted: hsl(215, 12%, 68%);
    --border: hsla(220, 15%, 25%, 0.5);
    --border-light: hsla(220, 15%, 35%, 0.2);
    --glass-bg: rgba(14, 18, 27, 0.7);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-subtle: 0 8px 24px rgba(0, 0, 0, 0.2);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --solar-glow: 0 0 20px rgba(255, 160, 0, 0.4);
}

/* Light Theme Variables */
body.light-theme {
    --bg-main: hsl(45, 15%, 97%); /* Warm luxury white */
    --bg-surface: hsla(45, 15%, 90%, 0.6);
    --bg-surface-solid: hsl(0, 0%, 100%);
    --bg-surface-elevated: hsl(45, 10%, 94%);
    --text-main: hsl(220, 30%, 10%);
    --text-muted: hsl(220, 10%, 42%);
    --border: hsla(220, 10%, 75%, 0.4);
    --border-light: hsla(220, 10%, 85%, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --shadow-premium: 0 20px 45px rgba(30, 20, 10, 0.08);
    --shadow-subtle: 0 8px 24px rgba(30, 20, 10, 0.04);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Core Buttons Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary);
    color: hsl(220, 30%, 8%);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 14px rgba(255, 160, 0, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 160, 0, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: hsla(38, 92%, 50%, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Common Section Typography */
.section-tag {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Grids */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animations */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(255, 160, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 160, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(255, 160, 0, 0.3);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header & Sticky Navbar */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

#main-header.scrolled {
    background-color: var(--glass-bg);
    border-color: var(--border-light);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-subtle);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: height 0.3s ease;
}

#main-header.scrolled .navbar-container {
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.logo-subtext {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-left: 4px;
    align-self: flex-end;
    margin-bottom: 3px;
}

.nav-menu {
    display: none; /* Mobile first, shown on desktop */
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-nav {
    display: none; /* Shown on desktop */
}

.mobile-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 32px;
    }
    .btn-nav {
        display: inline-flex;
    }
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Nav Menu Drawer */
@media (max-width: 1023px) {
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface-solid);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-premium);
        animation: fadeInUp 0.3s ease forwards;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 80px;
    background-image: url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(10, 12, 18, 0.7) 0%, 
        rgba(10, 12, 18, 0.85) 60%, 
        var(--bg-main) 100%
    );
    z-index: 1;
}

body.light-theme .hero-bg-overlay {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.7) 60%, 
        var(--bg-main) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 720px;
    margin-bottom: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: hsla(38, 92%, 50%, 0.15);
    border: 1px solid hsla(38, 92%, 50%, 0.3);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.8rem;
    }
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: hsla(38, 92%, 50%, 0.25);
    z-index: -1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Quick Filter Widget */
.quick-filter-widget {
    background-color: var(--glass-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 100%;
    box-shadow: var(--shadow-premium);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
    opacity: 0;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 6px 16px;
    cursor: pointer;
    position: relative;
}

.filter-tab.active {
    color: var(--primary);
}

.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
}

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

@media (min-width: 768px) {
    .filter-form {
        grid-template-columns: repeat(3, 1fr) auto;
        align-items: flex-end;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group select {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    width: 100%;
}

.filter-group select:focus {
    border-color: var(--primary);
}

.search-submit-btn {
    height: 48px;
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.7;
}

.mouse-icon {
    width: 26px;
    height: 44px;
    border-radius: 20px;
    border: 2px solid var(--text-muted);
    display: block;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 1.5s infinite;
}

@keyframes scrollAnimation {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

/* About Section */
.about-section {
    padding: 120px 0;
    position: relative;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.visual-img-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.visual-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    transform: translate(15px, 15px);
    z-index: -1;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-visual:hover .about-img {
    transform: scale(1.05);
}

.visual-badge {
    position: absolute;
    bottom: -20px;
    right: -10px;
    background-color: var(--bg-surface-solid);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-premium);
    border-radius: var(--radius-md);
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.visual-badge .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.visual-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.values-list {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    width: 52px;
    height: 52px;
    background-color: hsla(38, 92%, 50%, 0.1);
    border: 1px solid hsla(38, 92%, 50%, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.value-info h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.value-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Properties Grid & Filters */
.properties-section {
    padding: 120px 0;
    background-color: var(--bg-surface-solid);
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.filter-btn {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: hsl(220, 30%, 8%);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 160, 0, 0.2);
}

/* Property Card Style */
.property-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.card-img-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--glass-bg);
    border: 1px solid var(--primary);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
}

.card-price {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: var(--primary);
    color: hsl(220, 30%, 8%);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: var(--shadow-subtle);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

.card-specs {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.spec-item i {
    color: var(--primary);
}

.card-actions {
    margin-top: auto;
}

/* Mortgage Calculator */
.calculator-section {
    padding: 120px 0;
}

.calculator-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

@media (min-width: 1024px) {
    .calculator-card {
        padding: 60px;
    }
}

.calculator-grid {
    margin-top: 50px;
    align-items: center;
    gap: 50px;
}

.calc-group {
    margin-bottom: 25px;
}

.calc-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 10px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.range-header label {
    margin-bottom: 0;
}

.range-val {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
}

.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 160, 0, 0.4);
    transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.down-pct-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: right;
}

.term-toggle {
    display: flex;
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.term-option {
    flex: 1;
    cursor: pointer;
    text-align: center;
}

.term-option input {
    display: none;
}

.term-option span {
    display: block;
    padding: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.term-option input:checked + span {
    background-color: var(--primary);
    color: hsl(220, 30%, 8%);
    box-shadow: var(--shadow-subtle);
}

/* Outputs side */
.calculator-outputs {
    background-color: var(--bg-surface-solid);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-subtle);
}

.payment-summary {
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.summary-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.payment-amount {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.8rem;
    color: var(--primary);
    line-height: 1;
}

.payment-breakdown {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.breakdown-item {
    display: flex;
    align-items: center;
}

.label-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 12px;
    flex-shrink: 0;
}

.principal-color { background-color: var(--primary); }
.tax-color { background-color: var(--secondary); }
.insurance-color { background-color: hsl(210, 80%, 55%); }

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

.breakdown-val {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.95rem;
}

.breakdown-bar-container {
    height: 10px;
    background-color: var(--border-light);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 40px;
}

.breakdown-bar {
    display: flex;
    height: 100%;
}

.bar-fill {
    height: 100%;
    transition: width 0.4s ease;
}

.pi-fill { background-color: var(--primary); }
.tax-fill { background-color: var(--secondary); }
.insurance-fill { background-color: hsl(210, 80%, 55%); }

/* Team Section (Point of Contact) */
.team-section {
    padding: 120px 0;
    background-color: var(--bg-surface-solid);
}

.team-grid {
    margin-top: 60px;
    gap: 40px;
}

.advisor-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.advisor-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-premium);
}

.advisor-image {
    height: 380px;
    overflow: hidden;
    position: relative;
}

.advisor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.advisor-details {
    padding: 30px;
}

.advisor-role {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.advisor-details h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.advisor-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.advisor-contact-info {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary);
}

.contact-link i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
}

/* Testimonials Carousel */
.testimonials-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container {
    max-width: 850px;
    margin: 50px auto 0;
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.5s ease;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.stars {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.testimonial-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* Interactive Consultation Form */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-surface-solid);
}

.contact-brief {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.office-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-block i {
    width: 48px;
    height: 48px;
    background-color: hsla(38, 92%, 50%, 0.08);
    border: 1px solid hsla(38, 92%, 50%, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-block h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-container {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
}

.form-row {
    gap: 20px;
}

/* Success Toast */
.success-toast {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-surface-solid);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

.success-toast.show {
    transform: translateY(0);
}

.success-toast i {
    font-size: 4.5rem;
    color: var(--primary);
    animation: float 4s ease-in-out infinite;
}

.success-toast h4 {
    font-size: 1.8rem;
    color: var(--text-main);
}

.success-toast p {
    color: var(--text-muted);
    max-width: 320px;
}

/* Footer styling */
.main-footer {
    background-color: hsl(220, 20%, 5%);
    color: hsl(210, 10%, 80%);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}

body.light-theme .main-footer {
    background-color: hsl(45, 12%, 12%);
    color: hsl(45, 5%, 80%);
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: hsl(215, 10%, 70%);
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: hsl(220, 30%, 8%);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    font-size: 0.95rem;
    color: hsl(215, 10%, 70%);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

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

.footer-newsletter p {
    font-size: 0.95rem;
    color: hsl(215, 10%, 70%);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.03);
}

.newsletter-form input {
    background: transparent;
    border: none;
    padding: 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    flex-grow: 1;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary);
    border: none;
    color: hsl(220, 30%, 8%);
    width: 52px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    font-size: 0.85rem;
    color: hsl(215, 10%, 55%);
}

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.bottom-links {
    display: flex;
    gap: 24px;
}

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

/* Modals & Dialog Panels */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 12, 18, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-premium);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

/* Inner Modal Layout Details */
.modal-grid {
    display: grid;
    gap: 35px;
    grid-template-columns: 1fr;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .modal-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.modal-img-carousel {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 320px;
    position: relative;
}

.modal-img-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.modal-price-tag {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.modal-location {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.modal-amenities {
    margin-bottom: 30px;
}

.modal-amenities h4 {
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.amenity-item i {
    color: var(--primary);
}

.modal-agent-box {
    background-color: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.agent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.agent-meta h4 {
    font-size: 1.05rem;
}

.agent-meta span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}
