:root {
    --primary: #1a2e44;      /* Deep Navy */
    --secondary: #c5a059;    /* Muted Gold */
    --accent: #4a6741;       /* Sage Green */
    --text: #2c3e50;         /* Dark Slate */
    --text-light: #5d6d7e;   /* Muted Slate */
    --light: #fcfaf7;        /* Soft Cream */
    --white: #ffffff;
    --dark: #121d28;
    --border: #e5e8ed;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
}

/* Accessibility Modes */
body.dark-mode {
    --primary: #fcfaf7;
    --secondary: #d4af37;
    --text: #e0e0e0;
    --text-light: #b0b0b0;
    --light: #121d28;
    --white: #1a2e44;
    --dark: #fcfaf7;
    --border: #2c3e50;
}

body.high-contrast {
    --primary: #ffff00;
    --secondary: #ffffff;
    --text: #ffffff;
    --light: #000000;
    --white: #000000;
    --dark: #ffffff;
    --border: #ffffff;
}

body.dyslexic-font {
    font-family: 'OpenDyslexic', sans-serif !important;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

.container, .container-fluid {
    width: 100%;
    padding: 0 6%;
    position: relative;
    z-index: 2;
}

@media (min-width: 1800px) {
    .container-fluid {
        padding: 0 2%;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Header & Nav */
.main-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.top-info span {
    margin-right: 25px;
}

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

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

.top-social a {
    margin-left: 20px;
    font-size: 1rem;
}

.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 65px;
    margin-right: 15px;
}

.site-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Lora', serif;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

.nav-links a:hover {
    color: var(--secondary);
}

.nav-btn {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 4px;
    margin-left: 10px !important;
    font-size: 0.85rem !important;
}

.nav-btn:after {
    display: none !important;
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
    width: 30px;
    padding: 0;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 50px 20px;
    }
    
    .nav-links.active {
        display: flex;
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-btn {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .mobile-nav-toggle {
        display: flex;
        z-index: 1002;
    }
}

/* Accessibility Menu */
.accessibility-menu {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.accessibility-toggle {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accessibility-toggle:hover {
    background: var(--secondary);
}

.accessibility-options {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 15px;
    display: none;
    flex-direction: column;
    width: 240px;
    border: 1px solid var(--border);
}

.accessibility-options.active {
    display: flex;
}

.accessibility-options button {
    background: none;
    border: none;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}

.accessibility-options button:last-child {
    border-bottom: none;
}

.accessibility-options button:hover {
    background: var(--light);
    color: var(--secondary);
}

/* Accessibility Menu Mobile Tweaks */
@media (max-width: 768px) {
    .accessibility-menu {
        left: 15px;
        bottom: 15px;
        top: auto;
        transform: none;
    }
    
    .accessibility-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .accessibility-options {
        left: 0;
        bottom: 55px;
        top: auto;
        transform: none;
        width: 200px;
        max-width: calc(100vw - 30px);
    }
}

/* Hero Slider Animation */
.hero-section {
    height: 75vh;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: heroSlider 24s infinite;
}

@media (min-width: 1400px) {
    .hero-section {
        height: 65vh;
        max-height: 700px;
    }
}

@keyframes heroSlider {
    0%, 30% { background-image: url('../images/AdobeStock_560061371.jpg'); }
    33%, 63% { background-image: url('../images/AdobeStock_636932000.jpg'); }
    66%, 96% { background-image: url('../images/AdobeStock_677971096.jpg'); }
    100% { background-image: url('../images/AdobeStock_560061371.jpg'); }
}

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

.hero-btns .btn {
    margin-left: 0 !important; /* Remove old inline margin */
}

@media (max-width: 1024px) {
    .site-name {
        font-size: 0.8rem;
        max-width: 130px;
        line-height: 1.2;
    }
    
    .logo img {
        height: 50px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 46, 68, 0.85) 0%, rgba(26, 46, 68, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    max-width: 750px;
    color: var(--white);
}

.hero-text h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-family: 'Lora', serif;
    font-style: italic;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-compact {
    padding: 50px 0;
}

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

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-family: 'Lora', serif;
}

/* Decorative Background Elements */
section {
    position: relative;
    overflow: hidden; /* Prevent shapes from causing overflow */
}

.bg-pattern-dots {
    /* Subtle organic pattern - very sparse and low opacity */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm16 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM21 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm54 61c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM16 71c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 61c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm88 32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM71 16c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM31 35c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm51 17c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM6 46c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm31-26c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm55 61c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM13 13c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23c5a059' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 100px 100px;
}

.bg-shape {
    position: absolute;
    z-index: 1; /* Above basic background, but below container */
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.45; /* Increased opacity for visibility */
    border-radius: 50%;
}

.bg-shape-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: blobMorph 30s infinite alternate;
}

.bg-shape-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: blobMorph 30s infinite alternate-reverse;
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%; transform: translate(50px, 30px) rotate(15deg) scale(1.1); }
}

.bg-shape-light {
    opacity: 0.05;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Ensure content stays above shapes */
.container-fluid {
    position: relative;
    z-index: 2;
}

/* Redesigning Grids */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.feature-image {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.feature-image img {
    border-radius: 4px;
    box-shadow: 30px 30px 0 var(--light);
}

.feature-content h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Services / Amenities Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover:before {
    transform: scaleY(1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .service-card h3 {
        font-size: 1.2rem; /* Smaller titles on mobile to fit cards */
    }
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Info Section (Blue Background) */
.info-section {
    background: var(--primary);
    color: var(--white);
}

.info-section h2, .info-section h3 {
    color: var(--white);
}

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

.info-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-item h3 i {
    color: var(--secondary);
    margin-right: 12px;
}

.info-item p {
    font-size: 1rem;
    opacity: 0.85;
}

/* Gallery Sections */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

.services-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Cascading Gallery Mobile Tweaks */
@media (max-width: 768px) {
    .bg-shape {
        display: none !important; /* Disabling expensive filters/animations on mobile */
    }
    
    .cascading-gallery {
        flex-direction: row; /* Keep columns horizontal to allow 2x2 */
        flex-wrap: wrap;
        height: auto;
    }
    .gallery-column {
        flex: 0 0 calc(50% - 10px); /* 2 columns */
        height: 500px;
    }
    .gallery-column:nth-child(even) {
        margin-top: 30px; /* Reduced stagger for mobile balance */
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row for mobile */
        gap: 15px;
    }
    .gallery-item {
        /* aspect-ratio: 1/1 inherited from main selector */
    }
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 29, 40, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 60px;
    font-weight: 200;
    cursor: pointer;
}

/* Cascading Gallery */
.cascading-gallery {
    display: flex;
    gap: 20px;
    height: auto; /* Allow content to dictate height */
}

.gallery-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-column:nth-child(even) {
    margin-top: 60px;
}

.gallery-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-img:last-child {
    margin-bottom: 0;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.gallery-img:hover img {
    transform: scale(1.1);
}

/* Full Width sections */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 150px 0;
    color: var(--white) !important;
    text-align: center;
}

.parallax-section h1, 
.parallax-section h2, 
.parallax-section h3, 
.parallax-section p {
    color: var(--white) !important;
}

.parallax-section .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 29, 40, 0.75); /* Slightly darker for better contrast */
}

.parallax-section .content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Form Overhaul */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--white);
    box-shadow: var(--shadow-hover);
}

.contact-info-box {
    background: var(--primary);
    color: var(--white);
    padding: 60px;
}

.contact-info-box h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.info-details > div {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.info-details i {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-form-box {
    padding: 60px;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--light);
    border: 1px solid transparent;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--secondary);
}

/* Cascading Gallery for About Page */
.cascading-images {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 500px; /* Center-aligned container */
}

.cascading-images img {
    position: absolute;
    width: 280px;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.cascading-images img:nth-child(1) { top: 0; left: 0; z-index: 3; }
.cascading-images img:nth-child(2) { top: 60px; left: 220px; z-index: 2; }
.cascading-images img:nth-child(3) { top: 220px; left: 40px; z-index: 4; }
.cascading-images img:nth-child(4) { top: 280px; left: 260px; z-index: 1; }

@media (min-width: 1400px) {
    .cascading-images {
        height: 750px;
        max-width: 700px;
    }
    .cascading-images img {
        width: 380px;
        height: 520px;
    }
    .cascading-images img:nth-child(2) { top: 80px; left: 320px; }
    .cascading-images img:nth-child(3) { top: 280px; left: 60px; }
    .cascading-images img:nth-child(4) { top: 360px; left: 380px; }
}

.cascading-images img:hover {
    transform: scale(1.05);
    z-index: 10;
}

@media (max-width: 991px) {
    .cascading-images {
        height: 500px;
    }
    .cascading-images img {
        width: 180px;
        height: 280px;
    }
    .cascading-images img:nth-child(2) { left: 120px; }
    .cascading-images img:nth-child(3) { top: 150px; left: 20px; }
    .cascading-images img:nth-child(4) { top: 200px; left: 150px; }
}

@media (max-width: 576px) {
    .cascading-images {
        height: 480px;
        margin: 40px auto;
        width: 100%;
        max-width: 340px;
    }
    .cascading-images img {
        width: 160px;
        height: 240px;
    }
    .cascading-images img:nth-child(1) { top: 0; left: 0; }
    .cascading-images img:nth-child(2) { top: 40px; left: 160px; }
    .cascading-images img:nth-child(3) { top: 160px; left: 20px; }
    .cascading-images img:nth-child(4) { top: 200px; left: 180px; }
}

/* Footer Redesign */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

.footer-links-row {
    flex: 2;
    display: flex;
    gap: 60px;
    min-width: 300px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-about img {
    height: 80px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 10px;
}

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

/* Floating Elements */
.floating-icons {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-icons a {
    width: 55px;
    height: 55px;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.floating-icons a:hover {
    background: var(--primary);
    transform: translateX(-5px);
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    z-index: 99999;
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border);
    background: var(--white);
    transition: var(--transition);
}

.faq-question {
    padding: 20px 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--light);
}

.faq-answer-content {
    padding: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.faq-item.active .faq-question {
    color: var(--secondary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Large enough to fit content */
}
/* Mobile Responsive */
@media (max-width: 1024px) {
    .feature-grid, .services-grid, .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-top {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 40px;
    }
    
    .footer-links-row {
        display: contents; /* Reverting to contents for 2nd column in grid */
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container, .container-fluid {
        padding: 0 15px; /* Smaller fixed padding on mobile */
    }

    @media (max-width: 480px) {
        .container, .container-fluid {
            padding: 0 10px; /* Even smaller for very narrow devices */
        }
        .contact-form-box, .contact-info-box {
            padding: 25px 10px;
        }
    }

    section { padding: 40px 0; }
    .section-title { margin-bottom: 30px; }
    .section-title h2 { font-size: 1.8rem; }
    .hero-section { height: auto; min-height: 50vh; padding: 50px 0 40px; }
    .hero-text h1 { font-size: 2.2rem; }
    .parallax-section { padding: 50px 0; }
    .parallax-section h1 { font-size: 2.2rem !important; }
    .contact-form-box { padding: 30px 20px; } /* Consistent and safe padding */
    .contact-form-box h3 { font-size: 1.5rem; margin-bottom: 20px; }
    .contact-form-box p { font-size: 0.95rem; margin-bottom: 25px; }
    .contact-info-box { padding: 30px 20px; } /* Ensure left box also has reduced mobile padding */
    .contact-info-box h2 { font-size: 1.6rem; }
    .contact-container { box-shadow: none; overflow: visible; } /* Remove shadow/overflow that might clip */
    .top-bar { display: block; padding: 10px 0; }
    .top-bar .container-fluid { flex-direction: column; text-align: center; gap: 8px; padding: 0 15px; }
    .top-info { display: flex; flex-direction: column; gap: 4px; }
    .top-info span { margin-right: 0; font-size: 0.75rem; display: block; }
    .top-social { display: none; }
    
    .feature-grid, .info-grid, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card i {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
        height: auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-links ul li a {
        word-break: break-word; /* Ensure long links like Terms of Service wrap instead of overflow */
        display: block;
    }
    
    .hero-text h1 { font-size: 2.2rem; }
    
    .site-name { font-size: 1.15rem; }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cascading-gallery { 
        height: auto; 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .gallery-column {
        display: contents; /* Allows nested images to participate in the grid directly */
    }
    
    .gallery-column:nth-child(even) { margin-top: 0; }
    
    .gallery-img { 
        aspect-ratio: 1/1;
        height: auto;
        margin-bottom: 10px;
    }
    
    .form-row { flex-direction: column; gap: 0; }
}
