/*
Theme Name: NDIS Custom Landing Page Theme
Theme URI: https://example.com/
Author: Momenul Ahmad
Author URI: https://www.seosiri.com/
Description: A custom theme to power our interactive landing page.
Version: 1.0
*/

:root {
    --primary-color: #005f73;
    --secondary-color: #0a9396;
    --accent-color: #ee9b00;
    --dark-bg: #22333b;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --success-color: #94d2bd;
    --danger-color: #e56b6f;
    --font-main: 'Inter', sans-serif;
}

*, *::before, *::after { 
    box-sizing: border-box; 
}

/* MERGED BODY RULE FOR EFFICIENCY AND CONTENT PROTECTION */
body { 
    margin: 0; 
    font-family: var(--font-main); 
    color: var(--text-dark); 
    line-height: 1.6; 
    background: #fff;
    /* --- CONTENT PROTECTION: DISABLE TEXT SELECTION --- */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

h1, h2, h3, h4 { 
    font-weight: 700; 
}

h2 { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 60px; 
    color: var(--primary-color);
}

section { 
    padding: 80px 0; 
}

.cta-button { 
    display: inline-block; 
    padding: 15px 30px; 
    background-color: var(--secondary-color); 
    color: var(--text-light); 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 50px; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
}

.cta-button:hover { 
    background-color: var(--primary-color); 
    transform: translateY(-3px); 
}

/* --- SECTION 1: HERO --- */
.hero { 
    min-height: 90vh; 
    background-color: var(--primary-color); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: var(--text-light); 
}

.hero-content { 
    max-width: 800px; 
    padding: 20px;
}

.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 40px; 
}

.fade-in { 
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeIn 0.8s forwards ease-out; 
}

.hero-content p { animation-delay: 0.2s; }
.hero-content .cta-button { animation-delay: 0.4s; }

@keyframes fadeIn { 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

/* --- SECTION 2: CHALLENGES --- */
.challenges-section { 
    background-color: var(--light-bg); 
}

.challenges-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 20px; 
}

.challenge-card { 
    background: #fff; 
    padding: 30px; 
    text-align: center; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.challenge-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
}

.challenge-card i { 
    font-size: 2.5rem; 
    color: var(--secondary-color); 
    margin-bottom: 15px; 
}

.challenge-card h3 { 
    font-size: 1.2rem; 
    margin-bottom: 5px; 
}

/* --- SECTION 3: SOLUTIONS --- */
.solutions-section {
    background-color: #fff;
}

.solutions-interactive-module { 
    background: var(--light-bg); 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

.tabs { 
    display: flex; 
    background-color: #e2e8f0; 
}

.tab-link { 
    flex: 1; 
    padding: 20px; 
    border: none; 
    background: none; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: 700; 
    color: var(--primary-color); 
    transition: background-color 0.3s, color 0.3s; 
    border-bottom: 3px solid transparent; 
}

.tab-link.active, .tab-link:hover { 
    background-color: #fff; 
    border-bottom-color: var(--secondary-color); 
}

.tab-link i { 
    margin-right: 8px; 
}

.tab-content-wrapper { 
    padding: 40px; 
    min-height: 400px; 
}

.tab-content { 
    display: none; 
    animation: fadeInContent 0.5s; 
}

.tab-content.active { 
    display: block; 
}

@keyframes fadeInContent { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

/* TAB 1: Plan Simulator */
.plan-simulator { 
    display: flex; 
    gap: 30px; 
}

.plan-goals { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    flex-basis: 40%; 
}

.goal-btn { 
    padding: 15px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    background: #fff; 
    text-align: left; 
    cursor: pointer; 
    transition: 0.2s ease; 
    font-weight: 700; 
}

.goal-btn.active, .goal-btn:hover { 
    background: var(--secondary-color); 
    color: #fff; 
    border-color: var(--secondary-color); 
}

.plan-results { 
    flex-basis: 60%; 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
}

.plan-results ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.plan-results li { 
    padding: 8px 0; 
    border-bottom: 1px solid #eee; 
}

.plan-results li i { 
    color: var(--success-color); 
    margin-right: 10px; 
}

/* TAB 2: Map Simulator */
.map-simulator { 
    position: relative; 
    width: 100%; 
    max-width: 600px; 
    margin: auto; 
    min-height: 300px; 
    background-color: #f0f0f0; 
    border-radius: 8px;
}
.map-simulator img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 8px;
    opacity: 0.9; 
}

.map-dot { 
    position: absolute; 
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
    transform: translate(-50%, -50%); 
    animation: pulse 2s infinite; 
}

.map-dot.hotspot { 
    background: radial-gradient(var(--success-color), #013a63); 
}

.map-dot.desert { 
    background: radial-gradient(var(--danger-color), #780000); 
}

@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(0, 95, 115, 0.4); } 
    70% { box-shadow: 0 0 0 20px rgba(0, 95, 115, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(0, 95, 115, 0); } 
}

/* TAB 3: Comparison Slider */
.comparison-slider { 
    position: relative; 
    width: 100%; 
    height: 350px; 
    margin: auto; 
    overflow: hidden; 
    border-radius: 10px; 
}

.before-image, .after-image { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Added for better image display */
    background-size: cover;
    background-position: center;
}

.before-image { 
    z-index: 1; 
}

.after-image { 
    width: 50%; 
    z-index: 2; 
}

.image-text { 
    color: var(--text-dark); 
    padding: 30px; 
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    margin: 15px;
    display: inline-block;
}

.image-text h4 { 
    font-size: 1.5rem; 
    margin-top: 0; 
}

.image-text ul { 
    padding-left: 20px; 
}

.slider-handle { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    width: 4px; 
    height: 100%; 
    background: #fff; 
    z-index: 3; 
    cursor: ew-resize; 
    transform: translateX(-50%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.slider-handle i { 
    color: #333; 
    background: #fff; 
    padding: 10px; 
    border-radius: 50%; 
    box-shadow: 0 0 10px rgba(0,0,0,0.3); 
}

/* TAB 4: Timeline */
.timeline { 
    list-style: none; 
    padding: 0; 
    margin-top: 30px; 
    position: relative; 
}

.timeline::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 15px; 
    height: 100%; 
    width: 4px; 
    background: #e2e8f0; 
}

.timeline li { 
    margin-bottom: 20px; 
    padding-left: 40px; 
    position: relative; 
}

.timeline li::before { 
    content: ''; 
    position: absolute; 
    top: 4px; 
    left: 6px; 
    width: 20px; 
    height: 20px; 
    background: white; 
    border: 4px solid var(--secondary-color); 
    border-radius: 50%; 
    z-index: 1; 
}

.timeline li div { 
    background: #fff; 
    padding: 15px; 
    border-radius: 8px; 
    font-weight: 700; 
}

.timeline li i { 
    margin-right: 10px; 
    color: var(--secondary-color); 
}

/* --- SECTION 3.5: NDIS SUPPORTS --- */
.ndis-supports-section {
    background-color: var(--light-bg);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.support-card {
    background: #fff;
    padding: 30px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.support-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- SECTION 4: META BOX --- */
.meta-box { 
    background-color: var(--dark-bg); 
    color: var(--text-light); 
    text-align: center;
}

.meta-box h2 { 
    color: #fff; 
}

.meta-subtitle { 
    max-width: 600px; 
    margin: -40px auto 40px; 
    color: #ccc; 
}

.features-list { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 40px; 
    font-weight: 700; 
}

.features-list span i { 
    color: var(--accent-color); 
    margin-right: 8px; 
}

.cta-button.primary-buy { 
    background-color: var(--accent-color); 
    color: var(--text-dark); 
}

.cta-button.primary-buy:hover { 
    background-color: #fff; 
}
/* --- NEW: LIVING STRUCTURES --- */
.living-structures-section {
    background-color: #fff; /* A clean, white background to stand out */
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.7;
}
.living-structures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.structure-card {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 10px;
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-align: center;
}
.structure-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.structure-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.structure-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}
.structure-card ul li {
    margin-bottom: 10px;
}
.structure-card ul i {
    font-size: 1rem;
    color: var(--success-color);
    margin-right: 10px;
}
.section-cta {
    text-align: center;
    margin-top: 60px;
}
.cta-subtext {
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.8;
}
/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .living-structures-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .tabs { flex-direction: column; }
    .plan-simulator { flex-direction: column; }
    .timeline::before { left: 5px; }
    .timeline li { padding-left: 30px; }
    .timeline li::before { left: -4px; }
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.footer-gallery img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.footer-gallery img:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 0.8rem;
}
/* --- NEW: SERVICE BOOKING CTA --- */
.service-booking-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    color: var(--text-light);
    text-align: center;
}
.service-booking-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 95, 115, 0.7); /* Darker overlay */
}
.service-booking-content {
    position: relative; /* Sit on top of the overlay */
    z-index: 2;
}
.service-booking-content h2 {
    color: #fff;
    font-size: 2.8rem;
}
.service-booking-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- NEW: INTERACTIVE BUDGET CALCULATOR --- */
.calculator-section {
    background-color: #fff;
}
.text-center { text-align: center; max-width: 700px; margin: -40px auto 40px auto; }
.budget-calculator {
    max-width: 800px; margin: auto;
    background: var(--light-bg); padding: 30px; border-radius: 10px;
}
.calculator-controls label { font-weight: 700; font-size: 1.2rem; }
#budget-value { color: var(--secondary-color); }
#total-budget { width: 100%; margin-top: 10px; }
.calculator-results {
    display: flex; gap: 30px; margin-top: 20px;
    border-top: 1px solid #ddd; padding-top: 20px;
}
.budget-remaining { flex-basis: 50%; text-align: center; background: #fff; padding: 20px; border-radius: 8px; }
.budget-remaining h4 { margin: 0 0 10px 0; }
#remaining-value { font-size: 2.5rem; font-weight: 800; color: var(--primary-color); }
.support-costs { flex-basis: 50%; }
.support-costs label { display: block; margin-bottom: 10px; background: #fff; padding: 10px; border-radius: 5px; }
/* --- NEW: COST BREAKDOWN STYLES --- */
.cost-breakdown {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.cost-breakdown h4 {
    margin: 0 0 15px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.cost-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cost-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}
.cost-breakdown li span {
    opacity: 0.8;
}
/* --- NEW: CONSULTATION FORM --- */
.consultation-section { background-color: var(--light-bg); }
.consultation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.consultation-info ul { list-style: none; padding: 0; margin: 20px 0; }
.consultation-info ul li { margin-bottom: 15px; font-weight: 700; }
.consultation-info ul i { color: var(--success-color); margin-right: 10px; }
.consultation-info img { width: 100%; border-radius: 10px; margin-top: 20px; }
.consultation-form form { display: flex; flex-direction: column; gap: 15px; }
.consultation-form input, .consultation-form textarea {
    width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem;
}
.consultation-form button { width: 100%; padding: 20px; }

/* --- NEW: URGENT SUPPORT --- */
.urgent-support-section {
    background-color: var(--danger-color);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}
.urgent-support-section h3 { color: #fff; margin: 10px 0; }
.urgent-support-section > .container > i { font-size: 2rem; }
.urgent-contact a {
    display: inline-block;
    margin-top: 20px;
    background: #fff;
    color: var(--danger-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}
.urgent-contact a:hover { transform: scale(1.05); }

/* --- Add this to the @media (max-width: 768px) block --- */
.consultation-grid { grid-template-columns: 1fr; }