/* Define Custom Variables and Themes */
:root {
    --primary-color: #0f6f69;       /* Premium Teal */
    --primary-dark: #09423f;        /* Rich Dark Teal */
    --primary-light: #eaf5f4;       /* Very Soft Teal-grey */
    --accent-color: #d8a834;        /* Elegant Gold Accent */
    --accent-light: #ebd485;        /* Light Soft Gold */
    --text-dark: #1f2d2c;           /* Slate Dark text */
    --text-muted: #627876;          /* Soft grey-teal text */
    --bg-main: #f2f7f6;             /* Smooth off-white/mint background */
    --card-bg: #ffffff;
    --border-color: #d2e3e1;
    --success-color: #2e8b57;
    --success-light: #e8f5e9;
    --danger-color: #b22222;
    --danger-light: #ffebee;
    
    /* Font Declarations */
    --font-english: 'Inter', sans-serif;
    --font-tamil: 'Noto Sans Tamil', sans-serif;
    
    /* Animation Speeds */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(15, 111, 105, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 111, 105, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 111, 105, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Base resets and defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-english);
    background: radial-gradient(circle at 10% 20%, #eaf5f4 0%, #fafbfc 50%, #e1ebea 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ensure Tamil fonts render correctly for Tamil content */
[lang="ta"] body,
.tamil-font {
    font-family: var(--font-tamil), var(--font-english);
}

/* Main Layout container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top Navigation Panel */
.top-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--accent-color);
    padding: 12px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.brand-logo-left {
    display: flex;
    align-items: center;
    justify-self: start;
}

.brand-logo-left:hover .brand-logo-img,
.brand-logo-left:hover .logo-crest {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 8px rgba(213, 164, 42, 0.5));
}

.brand-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo-crest {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--accent-color);
    font-family: 'Poppins', serif;
    font-weight: 700;
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(213, 164, 42, 0.3);
    transition: var(--transition-smooth);
}

.brand-names {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    transition: var(--transition-smooth);
}

.brand-names:hover {
    transform: scale(1.02);
}

.brand-main {
    font-weight: 800;
    font-size: 24px; /* Highly visible */
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.brand-sub {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    line-height: 1;
    text-align: center;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

/* Custom Visit Site button styling to increase size and match theme */
.btn-website {
    padding: 12px 28px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: var(--radius-sm) !important;
    background-color: var(--accent-color) !important;
    color: var(--primary-dark) !important;
    border: 1px solid var(--accent-color) !important;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(213, 164, 42, 0.3);
}

.btn-website:hover {
    background-color: var(--accent-light) !important;
    border-color: var(--accent-light) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(213, 164, 42, 0.45);
}

/* Buttons Styling */
button {
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(74, 18, 76, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 18, 76, 0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.btn-danger {
    background-color: #ffffff;
    color: var(--danger-color);
    border: 1px solid var(--border-color);
}

.btn-danger:hover {
    background-color: var(--danger-light);
    border-color: var(--danger-color);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), #b8860b);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(213, 164, 42, 0.3);
    padding: 12px 24px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
    animation: shimmer 3s infinite linear;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(213, 164, 42, 0.5);
    filter: brightness(1.15);
}

.btn-submit:active {
    transform: translateY(-1px) scale(0.99);
}

@keyframes shimmer {
    0% { left: -60%; }
    30% { left: 140%; }
    100% { left: 140%; }
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}

.btn-group button {
    flex: 1;
}

/* Main Content Wrapper */
.content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 760px;
    margin: 24px auto;
    padding: 0 16px;
}

/* Views display logic */
section {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

section.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero card banner (Google Form top-style but highly premium) */
.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 28px auto;
    border: 2.5px solid var(--accent-color);
    box-shadow: 0 12px 36px rgba(74, 18, 76, 0.15), 0 0 20px rgba(213, 164, 42, 0.25);
    height: 220px; /* Increased height slightly */
    width: 100%;
    animation: goldPulse 4s infinite ease-in-out;
    transition: var(--transition-smooth);
}

.hero-card:hover {
    transform: translateY(-4px) scale(1.015);
    border-color: #ffffff;
    box-shadow: 0 16px 48px rgba(74, 18, 76, 0.25), 0 0 35px rgba(213, 164, 42, 0.5);
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 12px 36px rgba(74, 18, 76, 0.15), 0 0 15px rgba(213, 164, 42, 0.2);
    }
    50% {
        box-shadow: 0 12px 36px rgba(74, 18, 76, 0.25), 0 0 30px rgba(213, 164, 42, 0.45);
    }
    100% {
        box-shadow: 0 12px 36px rgba(74, 18, 76, 0.15), 0 0 15px rgba(213, 164, 42, 0.2);
    }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop and fit the reduced height */
    object-position: center; /* Center focus */
    display: block;
}

.badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.badge.dtcp {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.badge.rera {
    background-color: #ffffff;
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
}

/* Info Grid Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.info-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(74, 18, 76, 0.12), 0 0 15px rgba(213, 164, 42, 0.2);
    border-color: var(--accent-color);
}

.info-card:hover .info-icon {
    transform: scale(1.15) rotate(8deg);
    color: var(--primary-dark);
    background-color: var(--accent-color);
}

.info-icon {
    font-size: 24px;
    color: var(--accent-color);
    background-color: var(--primary-light);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.info-details h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-details p {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Amenities quick display */
.amenities-container {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    background-color: var(--primary-light);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.amenity-item:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 16px rgba(74, 18, 76, 0.15);
}

.amenity-item:hover i {
    color: var(--accent-color);
    transform: rotate(360deg) scale(1.1);
}

.amenity-item i {
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

/* Form Styling & Multi-Step Logic */
#inquiry-form {
    position: relative;
}

.form-progress {
    width: 100%;
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), #da70d6, var(--primary-color));
    background-size: 200% auto;
    border-radius: 3px;
    transition: width 0.4s ease;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.form-step {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    animation: cardAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.step-header {
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 12px;
}

.step-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Inputs and Form groups styling */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group.required > label::after {
    content: " *";
    color: var(--danger-color);
    font-weight: bold;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.input-wrapper:focus-within {
    transform: translateX(4px);
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary-color);
    transform: scale(1.15);
}

.input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    transition: var(--transition-smooth);
    background-color: #faf9fb;
    font-family: inherit;
}

.input-wrapper input:not(:placeholder-shown) {
    border-color: var(--primary-color);
    background: linear-gradient(to right, #faf5fa, #fffdf8);
    box-shadow: 0 0 10px rgba(74, 18, 76, 0.08);
}

.input-wrapper input:not(:placeholder-shown) ~ .input-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 18, 76, 0.1), 0 0 14px rgba(213, 164, 42, 0.25);
}

/* Custom Select Dropdowns */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    background-color: #faf9fb;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.custom-select-wrapper select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 18, 76, 0.1), 0 0 14px rgba(213, 164, 42, 0.25);
    background-color: #ffffff;
}

.custom-select-wrapper::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Textarea styling */
.text-area-wrapper {
    align-items: flex-start;
}

.text-area-wrapper .input-icon {
    top: 16px;
}

.text-area-wrapper textarea {
    width: 100%;
    padding: 12px 16px 12px 48px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    color: var(--text-dark);
    background-color: #faf9fb;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: var(--transition-smooth);
}

.text-area-wrapper textarea:not(:placeholder-shown) {
    border-color: var(--primary-color);
    background: linear-gradient(to right, #faf5fa, #fffdf8);
    box-shadow: 0 0 10px rgba(74, 18, 76, 0.08);
}

.text-area-wrapper textarea:not(:placeholder-shown) ~ .input-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

.text-area-wrapper textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 18, 76, 0.1), 0 0 14px rgba(213, 164, 42, 0.25);
    background-color: #ffffff;
    outline: none;
}

/* Radio Cards selection styling */
.radio-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card-content {
    background-color: #faf9fb;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    height: 100%;
    transition: var(--transition-smooth);
}

.radio-card:hover .radio-card-content {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(74, 18, 76, 0.08), 0 0 8px rgba(74, 18, 76, 0.03);
}

.radio-card:hover .radio-card-content i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--primary-color);
}

.radio-card-content i {
    font-size: 20px;
    color: var(--text-muted);
    background-color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.radio-card-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.radio-card-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Checked States */
.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.radio-card input[type="radio"]:checked + .radio-card-content i {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Pill groups (Horizontal pill select) */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-option {
    cursor: pointer;
}

.pill-option input {
    display: none;
}

.pill-option span {
    display: inline-block;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #faf9fb;
    transition: var(--transition-smooth);
}

.pill-option input:checked + span {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(74, 18, 76, 0.15);
}

/* Chip groups (Grid pill select) */
.chip-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.chip-option {
    cursor: pointer;
}

.chip-option input {
    display: none;
}

.chip-option span {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #faf9fb;
    height: 100%;
    transition: var(--transition-smooth);
}

.chip-option input:checked + span {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(74, 18, 76, 0.15);
}

/* Sister Concern branding footer-card */
.sister-banner {
    background: linear-gradient(135deg, #faf6fa, #fdfbfa);
    border: 1px dashed var(--accent-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.sister-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sister-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.sister-links i {
    color: var(--accent-color);
}

.head-office {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Success State Overlay styling */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    border-radius: var(--radius-md);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.success-overlay.active {
    display: flex;
}

.success-card {
    text-align: center;
    max-width: 440px;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--success-light);
    color: var(--success-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.15);
}

.success-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.success-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-card-success {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.contact-card-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.success-phones {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.phone-link:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Admin Dashboard View Styling */
.admin-view {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 32px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.dashboard-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.dashboard-actions {
    display: flex;
    gap: 10px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background-color: #faf9fb;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Table */
.table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

tr:hover td {
    background-color: var(--primary-light);
}

/* Badge tags inside tables */
.table-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.table-badge.blue {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.table-badge.green {
    background-color: var(--success-light);
    color: var(--success-color);
}

.table-badge.yellow {
    background-color: #fffde7;
    color: #f57f17;
}

.table-badge.purple {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.empty-table-message {
    padding: 32px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    display: none;
}

/* Footer Styling */
.main-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-muted);
    font-size: 12px;
}

.main-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.main-footer a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-wrapper {
        margin: 12px auto;
    }
    
    .hero-card {
        height: auto;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-step {
        padding: 20px;
    }
    
    .chip-group {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .dashboard-actions {
        width: 100%;
    }
    
    .dashboard-actions button {
        flex: 1;
    }
}

/* Modals Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 66, 63, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--primary-color);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

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

.modal-body {
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.conditions-list {
    padding-left: 20px;
}

.conditions-list li {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.conditions-list li::marker {
    color: var(--accent-color);
    font-weight: 700;
}

.modal-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    background: var(--primary-light);
}

.modal-footer button {
    min-width: 80px;
}

/* Consent Checkbox */
.consent-check-group {
    margin-top: 20px;
    margin-bottom: 20px;
    background: var(--primary-light);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.consent-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.modal-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.modal-link:hover {
    color: var(--accent-color);
}

/* Top Nav buttons update */
.btn-website {
    background-color: var(--primary-light) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}
.btn-website:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Mobile responsive navigation & layout improvements */
@media (max-width: 576px) {
    .top-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
    }
    .brand-logo-left {
        justify-self: initial;
    }
    .brand-names {
        display: flex !important; /* Show brand names on mobile since Visit button is removed */
        align-items: flex-start;
    }
    .brand-main {
        font-size: 16px !important;
    }
    .brand-sub {
        font-size: 9px !important;
    }
    .brand-logo-img {
        height: 36px !important;
    }
    .logo-crest {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    .nav-btn-placeholder {
        display: none !important; /* Hide placeholder on mobile to keep flex centered */
    }
}

/* Elegant Quote Banner Styles */
.quote-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-color);
    border-right: 5px solid var(--accent-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    animation: fadeInUp 0.8s ease-out;
}

.quote-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-color);
    border-right-color: var(--primary-color);
}

.quote-icon {
    color: var(--accent-color);
    font-size: 18px;
    opacity: 0.8;
}

.quote-text {
    font-family: 'Poppins', var(--font-english);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (max-width: 576px) {
    .quote-text {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    .quote-banner {
        padding: 12px 16px;
        margin-bottom: 18px;
        border-left-width: 4px;
        border-right-width: 4px;
    }
}
