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

/* --- Theme Variables --- */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Light Theme Colors (Clean, Premium, Balanced) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #f59e0b;       /* LIC Yellow/Gold */
    --accent-hover: #d97706;
    --primary: #0284c7;      /* Sky Blue Primary */
    --primary-hover: #0369a1;
    --success: #10b981;
    --success-bg: #d1fae5;
    --danger: #ef4444;
    --danger-bg: #fee2e2;
    --border-color: rgba(226, 232, 240, 0.8);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --glass-blur: 16px;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* Dark Theme Colors (Sleek, futuristic, high-contrast) */
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(51, 65, 85, 0.8);
    --card-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -1px rgba(0,0,0,0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.4), 0 10px 10px -5px rgba(0,0,0,0.3);
    --gradient-hero: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* --- Navigation --- */
.header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(var(--bg-secondary) == #ffffff ? 255 : 15, var(--bg-secondary) == #ffffff ? 255 : 23, var(--bg-secondary) == #ffffff ? 255 : 42, 0.8);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

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

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

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

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

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

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

.hero .btn-secondary,
.cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.hero .btn-secondary:hover,
.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: #0f172a;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--bg-tertiary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* --- Hero Banner --- */
.hero {
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 100px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

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

.hero-content p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 600px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-img-container {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #1e293b;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(2, 132, 199, 0.2);
}

/* --- Features & Grid layouts --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

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

/* --- Income Calculator --- */
.calculator-section {
    background-color: var(--bg-secondary);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.input-header label {
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Styled Range Sliders */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-tertiary);
    outline: none;
    transition: var(--transition);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
    border: none;
    transition: var(--transition);
}

.slider::-moz-range-thumb:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.calc-results {
    background: var(--gradient-hero);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.result-row {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.result-row:last-of-type {
    border-bottom: none;
}

.result-label {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
}

.result-value.total {
    font-size: 3rem;
    color: #38bdf8;
}

/* --- Eligibility Checklist --- */
.eligibility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.eligibility-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
}

.eligibility-card h3 {
    font-size: 1.25rem;
}

.eligibility-card p {
    color: var(--text-secondary);
}

/* --- Stats Dashboard --- */
.stats-banner {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Benefits Page Elements --- */
.benefit-detail-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Table Style */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 32px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--bg-secondary);
}

.premium-table th {
    background-color: var(--bg-tertiary);
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.premium-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.premium-table tr:hover td {
    background-color: var(--bg-primary);
}

/* --- Timeline Steps --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 48px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--bg-secondary);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-content {
    padding: 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary);
}

/* --- Mini Quiz Component --- */
.quiz-container {
    max-width: 650px;
    margin: 40px auto 0 auto;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz-option {
    padding: 16px 20px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 550;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.quiz-option:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--primary);
}

.quiz-option.correct {
    background-color: var(--success-bg);
    border-color: var(--success);
    color: #065f46;
}

.quiz-option.incorrect {
    background-color: var(--danger-bg);
    border-color: var(--danger);
    color: #991b1b;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.quiz-feedback {
    font-weight: 600;
}

/* --- Application Form Layout --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

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

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

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.form-error {
    font-size: 0.85rem;
    color: var(--danger);
    margin-top: 4px;
    display: none;
}

.form-group.invalid .form-control {
    border-color: var(--danger);
}

.form-group.invalid .form-error {
    display: block;
}

/* File Upload Component */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 32px;
    text-align: center;
    background-color: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background-color: var(--bg-tertiary);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.file-upload-icon svg {
    width: 40px;
    height: 40px;
}

/* Modal Popup styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: scaleUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background-color: var(--success-bg);
    color: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* --- About DO Bio Cards --- */
.profile-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.profile-avatar-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--bg-tertiary);
}

.profile-bio h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.profile-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.profile-text {
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* --- Footer --- */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 80px 0 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact h4 {
    color: #ffffff;
    font-size: 1.1rem;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

/* Animations */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 72px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .nav-actions {
        gap: 8px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-img-container {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-content h1 {
        font-size: 2.25rem;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .stats-banner {
        padding: 32px;
    }
    .stat-num {
        font-size: 2.5rem;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.left, .timeline-item.right {
        left: 0;
    }
    .timeline-item::after {
        left: 20px !important;
        right: auto !important;
    }
    .profile-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .profile-avatar-container {
        max-width: 300px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- WhatsApp Floating Widget & Quick Enquiry --- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Quick Enquiry Section Styles */
.quick-enquiry-container {
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.quick-enquiry-container h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.quick-enquiry-container p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Bootstrap Carousel Custom Overrides */
.custom-carousel {
    padding: 24px 0;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    border: none;
    opacity: 0.5;
    transition: var(--transition);
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--accent);
    transform: scale(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(var(--theme-invert, 0));
}

[data-theme="dark"] {
    --theme-invert: 1;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

