/* ==========================================================================
   DeepShine - Dark Purple (#800080) & Neon Teal Design System
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-primary: #1a001a;       /* Very Dark Purple derived from #800080 */
    --bg-secondary: #260026;     /* Slightly lighter Dark Purple derived from #800080 */
    --bg-card: rgba(38, 0, 38, 0.65); /* Translucent Purple Glass */
    
    /* Harmonious original Accent Palette (Neon Teal / Cyan) */
    --accent-teal: #06b6d4;      /* Glowing cleanliness & trust */
    --accent-teal-glow: rgba(6, 182, 212, 0.15);
    --accent-teal-hover: #0891b2;
    
    --accent-gold: #f59e0b;      /* Gold standard / Shine */
    --accent-gold-glow: rgba(245, 158, 11, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #d8b4fe;   /* Purple 300 (light soft purple for labels) */
    --text-muted: #8b5cf6;       /* Violet 500 */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(6, 182, 212, 0.5);
    
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.2);
    --danger: #ef4444;
    
    --font-primary: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-premium: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 5px 15px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);
    
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #3a003a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal);
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(26, 0, 26, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.sparkle-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-teal);
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
    animation: pulse 3s infinite ease-in-out;
}

.highlight-text {
    color: var(--accent-teal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition-smooth);
}

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

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

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

.nav-btn {
    background: var(--accent-teal);
    color: var(--bg-primary);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
    transition: var(--transition-smooth);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero & Booking Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 0, 26, 0.96) 30%, rgba(26, 0, 26, 0.7) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-teal);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.highlight-gradient {
    background: linear-gradient(90deg, var(--accent-teal), #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
}

.feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--success);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Glassmorphic Order Form Card */
.booking-card-wrapper {
    width: 100%;
}

.booking-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--accent-teal-glow);
    filter: blur(60px);
    border-radius: 50%;
    pointer-events: none;
}

.booking-card-header {
    margin-bottom: 1.75rem;
}

.booking-card-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.booking-card-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Form Styles */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    background: rgba(38, 0, 38, 0.6);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--accent-teal);
    background: rgba(38, 0, 38, 0.8);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

/* Mobile Country Code Prefix */
#customer-mobile {
    padding-left: 3.25rem;
}

.country-code {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-color);
    padding-right: 0.5rem;
    pointer-events: none;
}

/* Disabled/Readonly Area Box */
.disabled-input {
    background: rgba(38, 0, 38, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    color: var(--text-secondary) !important;
    pointer-events: none;
    cursor: not-allowed;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    width: 100%;
    font-family: var(--font-primary);
    opacity: 0.8;
}

/* Custom House Type Selection Cards */
.house-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.house-type-card {
    background: rgba(38, 0, 38, 0.45);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.9rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.house-type-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(38, 0, 38, 0.65);
    transform: translateY(-2px);
}

.house-type-card.active {
    border-color: var(--accent-teal);
    background: rgba(6, 182, 212, 0.08);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.card-icon {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.house-type-card.active .card-icon {
    color: var(--accent-teal);
    transform: scale(1.1);
}

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
}

/* BHK segment selector */
.bhk-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    background: rgba(38, 0, 38, 0.5);
    padding: 0.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.bhk-btn {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.6rem 0;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.bhk-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.bhk-btn.active {
    background: var(--accent-teal);
    color: var(--bg-primary);
    box-shadow: 0 3px 10px rgba(6, 182, 212, 0.25);
}

/* Autocomplete suggestions box */
.pincode-group {
    position: relative;
}

.pincode-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #260026;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    max-height: 180px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
}

.pincode-suggestion-item {
    padding: 0.7rem 1rem;
    cursor: pointer;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    text-align: left;
}

.pincode-suggestion-item:last-child {
    border-bottom: none;
}

.pincode-suggestion-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-teal);
}

/* Error states */
.input-wrapper.invalid input,
.input-wrapper.invalid textarea {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.04);
}

.error-msg {
    color: var(--danger);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.35rem;
    display: none;
}

.input-wrapper.invalid .error-msg {
    display: block;
    animation: slideDown 0.2s ease;
}

/* Pricing Card Component */
.pricing-summary {
    background: rgba(6, 182, 212, 0.04);
    border: 1px dashed rgba(6, 182, 212, 0.25);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.price-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.price-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* Submit Button & Interactive Loading State */
.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-teal), #0891b2);
    color: var(--bg-primary);
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button.loading {
    pointer-events: none;
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.submit-button.loading .btn-text {
    opacity: 0.5;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-teal);
    animation: spin 0.8s infinite linear;
    display: none;
}

.submit-button.loading .spinner {
    display: block;
}

/* Services Section */
.services-section {
    padding: 6rem 2rem;
    background-color: var(--bg-secondary);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, var(--text-primary) 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
}

.services-grid .service-card:nth-child(2) {
    order: 3;
}

.services-grid .service-card:nth-child(3) {
    order: 2;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 6rem 2rem;
    background-color: var(--bg-primary);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.why-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    line-height: 1;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.1);
}

.why-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Success Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(26, 0, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-success-icon {
    width: 64px;
    height: 64px;
    background: var(--success-glow);
    border: 2px solid var(--success);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.modal-success-icon svg {
    width: 32px;
    height: 32px;
}

.modal-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.modal-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.booking-receipt {
    background: rgba(38, 0, 38, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.5rem;
}

.receipt-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.receipt-row span {
    color: var(--text-secondary);
}

.receipt-row strong {
    color: var(--text-primary);
}

.modal-next-steps {
    font-size: 0.82rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.close-modal-btn {
    background: #300030;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 2.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-smooth);
}

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

/* Floating WhatsApp CTA */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: var(--transition-smooth);
}

.whatsapp-float-icon {
    width: 36px;
    height: 36px;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #128c7e;
    color: #ffffff;
    transform: translateY(-2px);
    outline: none;
}

/* Footer Styling */
footer {
    background: #120012;       /* Extra deep dark purple derived from #800080 */
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.95); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .hero-content {
        text-align: center;
        align-items: center;
    }
    .hero-subtitle {
        margin: 0 auto;
    }
    .hero-features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0.9rem 1rem;
    }

    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: stretch;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }

    .nav-menu a {
        text-align: center;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-section {
        min-height: auto;
        padding: 6.5rem 1rem 3rem;
        background-position: center top;
    }

    .hero-container {
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .services-section,
    .why-us-section {
        padding: 4rem 1rem;
    }

    footer {
        padding: 3rem 1rem 5.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .badge {
        max-width: 100%;
        align-items: flex-start;
        border-radius: var(--radius-sm);
    }
    
    .booking-card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
    }
    
    .house-type-grid {
        grid-template-columns: 1fr;
    }
    
    .bhk-selector {
        grid-template-columns: repeat(3, 1fr);
        padding: 0.25rem;
    }
    
    .bhk-btn {
        font-size: 0.8rem;
        min-height: 42px;
        padding: 0.55rem 0.25rem;
    }

    .price-details {
        flex-direction: column;
        gap: 0.25rem;
    }

    .receipt-row {
        gap: 0.75rem;
        align-items: flex-start;
    }

    .receipt-row strong {
        text-align: right;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float-icon {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }

    .bhk-selector {
        grid-template-columns: repeat(2, 1fr);
    }
}
