/* 
 * Bright Light Adult Family Home
 * Compassionate, Warm, Professional
 */

:root {
    --primary: #1a3c3a; /* Deep Warm Teal */
    --secondary: #c29b6b; /* Soft Gold/Tan */
    --accent: #fdfaf5; /* Warm Beige */
    --text-main: #222222;
    --text-muted: #666666;
    --white: #ffffff;
    --black: #000000;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s ease;
    --max-width-xl: 1600px;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    text-transform: none;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

@media (max-width: 768px) {
    .img-responsive {
        box-shadow: 15px 15px 0 var(--secondary) !important;
    }
    .wow[style*="box-shadow: -30px"], .img-responsive[style*="box-shadow: -30px"] {
        box-shadow: -15px 15px 0 var(--secondary) !important;
    }
}

/* Layout Utilities */
.container-lg {
    max-width: var(--max-width-xl);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 60px 0;
}

.full-width {
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-2-1 { display: grid; grid-template-columns: 2fr 1.2fr; gap: 80px; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: center; }
.grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lightfort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.lightfort-grid-2 {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.lightfort-grid-2 .sector-card-detailed {
    display: flex;
    align-items: center;
    gap: 60px;
    background: none;
    box-shadow: none;
    padding: 0;
}
.lightfort-grid-2 .sector-card-detailed .sector-img-box {
    width: 50%;
    height: 450px;
    flex-shrink: 0;
    border-radius: 15px;
}
.lightfort-grid-2 .sector-card-detailed .sector-info {
    width: 50%;
    padding: 40px;
}
.lightfort-grid-2 .sector-card-detailed:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {
    .lightfort-grid-2 .sector-card-detailed {
        flex-direction: column !important;
        gap: 0;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border-radius: 15px;
        overflow: hidden;
    }
    .lightfort-grid-2 .sector-card-detailed .sector-img-box,
    .lightfort-grid-2 .sector-card-detailed .sector-info {
        width: 100%;
    }
    .lightfort-grid-2 .sector-card-detailed .sector-info {
        padding: 30px;
    }
    .lightfort-grid-2 .sector-card-detailed .sector-img-box {
        height: 300px;
        border-radius: 0;
    }
}

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

/* Home Gallery Tabs */
.gallery-tabs { display: flex; justify-content: center; gap: 20px; border-bottom: 1px solid rgba(26,60,58,0.1); padding-bottom: 20px; }
.gallery-tab-btn { background: none; border: none; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.15em; cursor: pointer; color: var(--text-muted); position: relative; padding-bottom: 20px; }
.gallery-tab-btn.active { color: var(--primary); }
.gallery-tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--secondary); }

.gallery-tab-content { display: none; }
.gallery-tab-content.active { display: block; }

.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.preview-item { height: 300px; overflow: hidden; background: var(--primary); border-radius: 5px; cursor: pointer; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); opacity: 0.9; }
.preview-item:hover img { transform: scale(1.05); opacity: 0.6; }

@media (max-width: 992px) {
    .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-tabs { flex-direction: column; align-items: center; gap: 10px; }
}

@media (max-width: 768px) {
    .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .preview-item { height: 200px; }
}
.text-secondary { color: var(--secondary) !important; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.location-contact-info p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}
.location-contact-info p strong {
    color: var(--secondary);
    margin-right: 10px;
}
.location-contact-info i {
    width: 20px;
    text-align: center;
}
.mb-4 { margin-bottom: 1.5rem; }

/* Components */
.badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 20px 45px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 18px 45px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 2px solid var(--white);
    cursor: pointer;
}

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

.btn-minimal {
    display: inline-block;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-header {
    background: var(--primary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-info {
    display: flex;
    gap: 30px;
}

.top-loc {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: inline-block;
}

.top-loc strong {
    color: var(--secondary);
    margin-right: 5px;
}

.top-loc a {
    color: var(--white);
    transition: var(--transition);
}

.top-loc a:hover {
    color: var(--secondary);
}

.top-email a {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.top-email i {
    color: var(--secondary);
    margin-right: 8px;
}

nav {
    padding: 20px 0;
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
}

nav.sticky {
    position: fixed;
    top: 0;
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .top-header { display: none; }
}

.logo img {
    height: 120px;
    transition: var(--transition);
    display: block;
}

nav.sticky .logo img {
    height: 90px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

nav.sticky .nav-links a {
    color: var(--primary);
}

.nav-links a.active, .nav-links a:hover {
    color: var(--secondary) !important;
}

/* Navigation */
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; transition: var(--transition); color: var(--white); }
.nav-links a:hover, .nav-links a.active { color: var(--secondary) !important; }

nav.sticky .nav-links a { color: var(--primary); }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    color: var(--primary) !important;
    padding: 12px 30px;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.dropdown li a:hover {
    background: var(--accent);
    color: var(--secondary) !important;
    padding-left: 35px;
}

.menu-toggle { display: none; cursor: pointer; z-index: 1001; }
.menu-toggle span { display: block; width: 30px; height: 2px; background: white; margin-bottom: 8px; transition: 0.3s; }
nav.sticky .menu-toggle span { background: var(--primary); }

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-links { 
        position: fixed; 
        right: -100%; 
        top: 0; 
        background: var(--primary); 
        width: 80%; 
        height: 100vh; 
        flex-direction: column; 
        justify-content: flex-start;
        padding: 100px 40px 40px; 
        transition: 0.5s; 
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a { 
        color: white !important; 
        font-size: 1.1rem; 
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        background: rgba(255,255,255,0.03);
        box-shadow: none;
        border: none;
        transform: none;
        padding: 10px 20px;
        text-align: left;
        margin: 10px 0;
    }
    .dropdown li a {
        color: rgba(255,255,255,0.7) !important;
        font-size: 0.95rem;
        padding: 10px 0;
        border-bottom: none;
    }
    
    .mobile-menu-info { 
        display: flex !important; 
        flex-direction: column; 
        gap: 20px; 
        margin-top: 30px; 
        border-top: 2px solid var(--secondary);
        padding-top: 30px;
        text-align: left;
    }
    .m-info-item { 
        display: flex;
        align-items: center;
        gap: 15px;
        color: white;
    }
    .m-info-item a {
        border-bottom: none !important;
        padding: 0 !important;
        font-size: 0.9rem !important;
    }
    .m-info-item i { color: var(--secondary); width: 20px; text-align: center; margin: 0; }
}

/* Card Animations & Hover Effects */
.sector-card, .sector-card-detailed, .expect-card, .impact-stat, .why-choose-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-card:hover, .sector-card-detailed:hover, .expect-card:hover, .impact-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 60, 58, 0.15);
}

.sector-card i, .expect-card i, .fit-item i {
    transition: transform 0.5s ease;
}

.sector-card:hover i, .expect-card:hover i {
    transform: scale(1.1) rotateY(10deg);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 120px; /* More padding for menu */
}

.slide.active { opacity: 1; }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 60, 58, 0.7) 0%, rgba(26, 60, 58, 0.3) 100%);
}

.slide .container-lg { 
    position: relative; 
    z-index: 10;
    padding-bottom: 60px; /* Prevent overlap with slider nav */
}

.slide h1 { 
    color: var(--white); 
    margin-bottom: 1.5rem; 
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
}
.slide p { 
    font-size: 1.2rem; 
    max-width: 650px; 
    opacity: 0.9; 
    margin-bottom: 2.5rem; 
}

.slide-nav {
    position: absolute;
    bottom: 50px;
    left: 40px;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.slide-dot {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.slide-dot.active { background: var(--secondary); }

/* Animations */
.wow {
    visibility: hidden;
}

/* Header Adjustments */
.header-btn {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 12px 25px !important;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
}

.header-btn:hover {
    background: var(--primary);
}

nav.sticky .header-btn {
    background: var(--primary);
}

nav.sticky .header-btn:hover {
    background: var(--secondary);
}

/* Card Refinements */
.sector-card, .sector-card-detailed, .impact-stat, .expect-card {
    transition: var(--transition-slow);
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sector-card:hover, .sector-card-detailed:hover, .impact-stat:hover, .expect-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26, 60, 58, 0.15);
}

.sector-img-box {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.sector-card-detailed:hover .sector-img-box {
    transform: scale(1.05);
}
.purpose-section h2 { max-width: 900px; }
.contact-methods-minimal p {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-methods-minimal strong {
    color: var(--secondary);
    margin-right: 10px;
}

.section-header-minimal { margin-bottom: 40px; }
.section-header-minimal h2 { margin-bottom: 0; }
.section-header-minimal.text-center { text-align: center; }

.sector-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: var(--transition-slow);
}

.sector-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-10px);
}

.sector-card i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 2rem; display: block; }
.sector-card p { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; color: var(--secondary); text-transform: uppercase; }
.sector-card h3 { font-size: 1.3rem; margin-top: 10px; margin-bottom: 15px; transition: var(--transition); }
.sector-card:hover h3 { color: var(--white); }
.sector-card .small-text { color: var(--text-muted); text-transform: none; font-weight: 400; letter-spacing: 0; margin-top: 1rem; }
.sector-card:hover .small-text { color: rgba(255,255,255,0.7); }

.experience-section .grid-1-2 div:last-child {
    padding-left: 40px;
}

@media (max-width: 992px) {
    .experience-section .grid-1-2 div:last-child {
        padding-left: 0;
        margin-top: 30px;
    }
}

/* Vision Blocks (About Page) */
.lightfort-flex-grid { display: flex; height: 450px; }
@media (max-width: 768px) {
    .lightfort-flex-grid { flex-direction: column; height: auto; }
    .flex-block { height: 300px; }
}
.flex-block {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: var(--white);
    transition: var(--transition-slow);
    overflow: hidden;
}

.flex-block:hover { flex: 1.6; }
.block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(5, 26, 58, 0.9) 100%);
    opacity: 0.7;
    transition: var(--transition);
}

.flex-block:hover .block-overlay { opacity: 0.9; }
.block-content { position: relative; z-index: 5; }
.block-content h3 { color: var(--white); margin-bottom: 0.5rem; font-size: 1.8rem; }
.block-content p { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.2em; color: var(--secondary); text-transform: uppercase; }

/* New AFH Sections */
.fit-list { display: flex; flex-direction: column; gap: 30px; }
.fit-item { display: flex; gap: 20px; align-items: flex-start; }
.fit-item i { font-size: 1.5rem; color: var(--secondary); margin-top: 5px; }
.fit-item h4 { margin-bottom: 5px; font-size: 1.1rem; }
.fit-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.expect-card { text-align: center; padding: 30px 20px; border: 1px solid rgba(255,255,255,0.1); }
.expect-card i { font-size: 3rem; color: var(--secondary); margin-bottom: 20px; display: block; }
.expect-card h3 { color: white; margin-bottom: 15px; }
.expect-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

.expect-card-detailed {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    transition: var(--transition-slow);
}
.expect-card-detailed .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 60, 58, 0.9) 20%, rgba(26, 60, 58, 0.2));
    z-index: 1;
}
.expect-card-detailed .card-content {
    position: relative;
    z-index: 2;
}
.expect-card-detailed:hover {
    transform: translateY(-10px);
}
.expect-card-detailed h3 {
    color: white;
    margin-bottom: 10px;
}
.expect-card-detailed p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.expect-card-detailed i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: block;
}

.afh-check-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; font-weight: 500; color: var(--text-main); }
.afh-check-list i { color: var(--secondary); font-size: 0.9rem; }
.why-choose-box { background: var(--accent); padding: 30px; }
.why-choose-box h3 { font-size: 1.4rem; margin-bottom: 25px; }

.impact-stat {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border: 1px solid #eee;
}

.stat-number { display: block; font-size: 5rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.impact-stat p { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; color: var(--text-muted); }

@media (max-width: 992px) {
    .fit-section .grid-2 { display: flex; flex-direction: column-reverse; }
    .expect-section .grid-3 { grid-template-columns: 1fr; }
}

/* Sector Cards Detailed (Services Page) */
.sector-card-detailed {
    background: var(--white);
    border: 1px solid #eee;
}

.page-header {
    padding: 150px 0 60px;
}

.page-header h1 {
    color: var(--white) !important;
}

.gallery-grid-lightfort { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    padding: 0 15px;
}

@media (max-width: 992px) {
    .gallery-grid-lightfort { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 576px) {
    .gallery-grid-lightfort { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 5px;
        padding: 0 5px;
    }
}
.gallery-item-lightfort { position: relative; height: 450px; overflow: hidden; background: var(--primary); cursor: pointer; }
.gallery-item-lightfort img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); opacity: 0.9; }
.gallery-item-lightfort:hover img { transform: scale(1.05); opacity: 0.4; }

.gallery-overlay-minimal { position: absolute; bottom: 0; left: 0; width: 100%; padding: 60px; color: white; opacity: 0; transform: translateY(20px); transition: var(--transition-slow); z-index: 10; pointer-events: none; }
.gallery-item-lightfort:hover .gallery-overlay-minimal { opacity: 1; transform: translateY(0); pointer-events: auto; }
.gallery-overlay-minimal h3 { color: white; font-size: 1.8rem; margin-top: 5px; margin-bottom: 20px; }
.gallery-overlay-minimal .sector-tag { color: var(--secondary); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.2em; }
.btn-minimal-white { color: white; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; }

.filter-controls-minimal { display: flex; gap: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.filter-btn-min { background: none; border: none; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.15em; cursor: pointer; color: var(--text-muted); position: relative; padding-bottom: 20px; }
.filter-btn-min.active { color: var(--primary); }
.filter-btn-min.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--secondary); }

@media (max-width: 992px) {
    .page-header { padding: 100px 0 40px; }
    .gallery-item-lightfort { height: 400px; }
    .gallery-overlay-minimal { padding: 30px; }
    .gallery-overlay-minimal h3 { font-size: 1.5rem; }
    .filter-controls-minimal { gap: 20px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
    .page-header { padding: 80px 0 30px; }
    .sector-img-box { height: 250px; }
}
.sector-info { padding: 40px 30px; }
.sector-tag { font-size: 0.7rem; font-weight: 800; color: var(--secondary); letter-spacing: 0.2em; margin-bottom: 1rem; display: block; }
.sector-info h3 { margin-bottom: 1.5rem; }
.sector-info p { color: var(--text-muted); margin-bottom: 2rem; }
.sector-list li {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.sector-list li i { color: var(--secondary); font-size: 0.6rem; margin-right: 15px; }

/* Contact Page Styles */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-form input, .contact-form select, .contact-form textarea,
.contact-form-minimal input, .contact-form-minimal select, .contact-form-minimal textarea {
    width: 100%;
    padding: 20px;
    background: var(--accent);
    border: none;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.contact-form-minimal select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
}

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

.contact-form label { display: block; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 10px; }

/* Gallery Page Styles */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: #eee; }
.gallery-item { position: relative; height: 500px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 26, 58, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Footer */
footer {
    background: #0f2a28; /* Darker Teal */
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-grid-minimal {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo { height: 120px; filter: brightness(0) invert(1); margin-bottom: 2rem; }
.footer-col h3 { color: var(--secondary); font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 1.5rem; }
.footer-col p, .footer-col li a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-col li { margin-bottom: 12px; }
.footer-col li a:hover { color: var(--secondary); }

.footer-bottom-minimal {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-bottom-minimal {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
.acc-mini-panel button { background: none; border: none; color: var(--secondary); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; cursor: pointer; margin-left: 20px; }

.slide-btns, .tour-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .slide-btns, .tour-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .tour-btns .btn-minimal {
        margin-left: 0 !important;
    }
}
/* CTA Contacts */
.cta-contacts {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}
.cta-loc-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    padding: 12px 25px;
    border-radius: 50px;
    transition: var(--transition);
    color: white !important;
    border: 1px solid rgba(255,255,255,0.1);
}
.cta-loc-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}
.cta-loc-link i {
    color: var(--secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}
.cta-loc-link:hover i {
    color: white;
}
/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.amenity-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}
.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.amenity-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}
.amenity-item h4 {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--primary);
}

@media (max-width: 992px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .amenities-grid {
        gap: 15px;
    }
    .amenity-item {
        padding: 20px;
    }
}

/* Scrollable Services */
.services-scroll-wrapper {
    overflow-x: auto;
    padding: 20px 0 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
}
.services-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}
.services-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}
.scroll-grid {
    display: flex;
    gap: 30px;
    min-width: max-content;
    padding: 0 15px;
}
.scroll-grid .sector-card {
    width: 350px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.scroll-grid .sector-card:hover {
    transform: translateY(-10px);
}
.scroll-grid .sector-card .sector-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .scroll-grid .sector-card {
        width: 280px;
    }
}

/* Floating Tools */
.floating-tools {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 1000;
}

.floating-trigger {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.floating-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-tools.active .floating-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tool-btn {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accessibility Widget */
.accessibility-widget {
    position: fixed;
    left: 20px;
    bottom: 40px;
    z-index: 1001;
}

.acc-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 1.2rem;
    transition: var(--transition);
}

.acc-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 250px;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.accessibility-widget.active .acc-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.acc-panel h4 { font-size: 0.7rem; letter-spacing: 0.2em; margin-bottom: 20px; color: var(--primary); }

.acc-btn-group { display: flex; flex-direction: column; gap: 10px; }

.acc-btn-group button {
    text-align: left;
    padding: 12px 15px;
    background: var(--accent);
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.acc-btn-group button:hover { background: var(--secondary); color: var(--white); }

.acc-reset { background: #ff4444 !important; color: var(--white) !important; margin-top: 10px; }

/* Dyslexic Font */
@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://cdn.jsdelivr.net/npm/opendyslexic@1.0.3/OpenDyslexic-Regular.otf');
}
body.dyslexic-font * { font-family: 'OpenDyslexic', sans-serif !important; }

/* Mobile Menu Info */
.mobile-menu-info { display: none; }

/* Accessibility Modes */
body.dark-mode {
    background: var(--primary);
    color: var(--white);
}

body.dark-mode section, body.dark-mode .container-lg { background: transparent !important; }
body.dark-mode .sector-card, body.dark-mode .impact-stat, body.dark-mode .sector-card-detailed, body.dark-mode .acc-panel {
    background: #0a1f3d;
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode p, body.dark-mode .acc-btn-group button {
    color: var(--white) !important;
}

body.dark-mode .acc-btn-group button { background: rgba(255,255,255,0.05); }

body.high-contrast {
    background: var(--black) !important;
    color: #ffff00 !important;
}

body.high-contrast * {
    background-color: var(--black) !important;
    color: #ffff00 !important;
    border-color: #ffff00 !important;
}

/* Map Section Styles */
.map-grid-lightfort { display: grid; grid-template-columns: 1fr 1fr; }
.map-item { position: relative; }
.map-label { position: absolute; top: 30px; left: 30px; z-index: 10; background: var(--primary); color: white; padding: 10px 20px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; }
.loc-detail h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.loc-detail p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }

/* Mobile Responsive Maps */
@media (max-width: 992px) {
    .map-grid-lightfort { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .container-lg { padding: 0 20px; }
    section { padding: 40px 0; }
    .logo img { height: 90px; }
    nav.sticky .logo img { height: 70px; }
    .grid-2, .grid-3, .grid-1-1, .footer-grid-minimal, .contact-grid, .lightfort-grid, .lightfort-grid-2, .grid-2-1, .grid-1-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    section { padding: 30px 0; }
    .grid-2, .grid-3, .grid-1-1, .contact-grid, .lightfort-grid, .lightfort-grid-2, .grid-2-1, .grid-1-2 {
        gap: 20px;
    }
    .footer-grid-minimal {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
    .footer-grid-minimal div:first-child {
        grid-column: span 2;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .btn-primary, .btn-secondary { padding: 15px 30px; font-size: 0.75rem; }
    .slide { padding-top: 150px; }
    .slide h1 { font-size: 1.8rem; }
    .slide p { font-size: 1rem; margin-bottom: 1.5rem; }
    .gallery-item-lightfort { height: 250px; }
}
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-item h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--primary); }
.faq-item p { color: var(--text-muted); font-size: 0.9rem; }
.cta-box { background: var(--accent); padding: 40px; text-align: center; }

@media (max-width: 992px) {
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-box { padding: 40px 20px; }
    .hero-slider, .slide { height: 75vh; min-height: 450px; }
}

@media (max-width: 768px) {
    .faq-grid { gap: 20px; }
    .hero-slider, .slide { height: auto; min-height: 500px; }
    .slide { 
        background-size: contain; 
        background-repeat: no-repeat; 
        background-position: top center; 
        background-color: var(--primary); 
        align-items: flex-end;
        padding-top: 55vw; /* Reserve space for the contained image at the top */
        padding-bottom: 60px;
    }
    .slide-overlay {
        background: linear-gradient(180deg, rgba(26, 60, 58, 0) 0%, rgba(26, 60, 58, 0.7) 40%, rgba(26, 60, 58, 0.9) 100%);
    }
    .slide h1 { font-size: 1.6rem; }
    .slide p { font-size: 0.95rem; }
}
