/*
========================================================================
CLASSIC LIFECARE - CUSTOM STYLESHEET
========================================================================
*/

@import url('https://img1.wsimg.com/gfonts/s/abrilfatface/v25/zOL64pLDlL1D99S8g8PtiKchq-dmjQ.woff2');
@import url('https://img1.wsimg.com/gfonts/s/droidsans/v19/SlGVmQWMvZQIdix7AFxXkHNSbQ.woff2');

/* ----------------------------------------------------
   1. Design Tokens & Variables
   ---------------------------------------------------- */
:root {
    --primary-color: #00bfff;
    --primary-hover: #009ce6;
    --primary-light: rgba(0, 191, 255, 0.1);
    --secondary-color: #2f4f4f;
    --secondary-hover: #223838;
    --accent-blue: #007ea8;
    --text-dark: #161616;
    --text-muted: #555555;
    --text-light: #ffffff;
    --bg-light: #f7f9fa;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --font-heading: 'Abril Fatface', Georgia, serif;
    --font-body: 'Droid Sans', arial, sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

/* ----------------------------------------------------
   2. Reset & General Styles
   ---------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed), background-color var(--transition-speed), border-color var(--transition-speed);
}

ul, ol {
    list-style: none;
}

section {
    padding: 80px 0;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------------------------
   3. Typography
   ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    position: relative;
    margin-bottom: 3.5rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* ----------------------------------------------------
   4. Buttons & CTA Elements
   ---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-ghost:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* ----------------------------------------------------
   5. Site Header & Sticky Navigation
   ---------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(22, 22, 22, 0.25);
    z-index: 1000;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed), height var(--transition-speed);
}

.site-header.scrolled {
    background-color: rgba(22, 22, 22, 0.95);
    height: 70px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper img {
    height: 55px;
    width: auto;
    transition: height var(--transition-speed);
}

.site-header.scrolled .logo-wrapper img {
    height: 48px;
}

/* Desktop Menu */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Header CTAs */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions .btn {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Mobile hamburger button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.8rem;
    cursor: pointer;
    outline: none;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.98);
    z-index: 1001;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: right var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.mobile-nav-drawer.open {
    right: 0;
}

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

.mobile-drawer-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.2rem;
    cursor: pointer;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-actions .btn {
    width: 100%;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ----------------------------------------------------
   6. Homepage Redesigned Hero Section
   ---------------------------------------------------- */
/* ===== HERO SLIDER ===== */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.05);
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slider .slider-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
    z-index: 1;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    /* Background now handled by .hero-slider */
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + 40px);
    color: var(--text-light);
    overflow: hidden;
}

.hero-content {
    max-width: 750px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 2px;
    height: 40px;
    background-color: var(--primary-color);
}

/* ----------------------------------------------------
   7. Homepage Content Cards & Philosophy
   ---------------------------------------------------- */
.intro-section {
    background-color: var(--bg-light);
}

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

.intro-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-img-wrapper {
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 32px;
}

.card-title {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link::after {
    content: '→';
    transition: transform var(--transition-speed);
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* ----------------------------------------------------
   8. Our Services Grid
   ---------------------------------------------------- */
.services-section {
    background-color: var(--bg-white);
}

.ndis-disclaimer {
    max-width: 800px;
    margin: -10px auto 50px auto;
    text-align: center;
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
}

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

.service-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    background-color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-speed);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.service-title {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
   9. FAQ Section (Accordion)
   ---------------------------------------------------- */
.faq-section {
    background-color: var(--bg-light);
}

.accordion-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.accordion-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color var(--transition-speed);
}

.accordion-item.active {
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out;
}

.accordion-content p {
    padding: 0 32px 24px 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ----------------------------------------------------
   10. Contact Forms & Details Panels
   ---------------------------------------------------- */
.contact-section {
    background-color: var(--bg-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 56px;
    margin-top: 40px;
}

.contact-info-panel {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: 12px;
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-info-title {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-detail-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-detail-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
}

.contact-detail-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.hours-list {
    display: grid;
    grid-template-columns: auto auto;
    gap: 8px 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Forms */
.form-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 48px;
    border: 1px solid var(--border-color);
}

.form-title {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: all var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.file-input-wrapper {
    position: relative;
    margin-top: 8px;
}

.btn-file {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--bg-white);
    border: 1px dashed var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background var(--transition-speed);
}

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

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.form-recaptcha-notice {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ----------------------------------------------------
   11. About Us & Company Pages Styling
   ---------------------------------------------------- */
.inner-hero {
    position: relative;
    padding: 120px 0 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.inner-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.inner-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

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

.about-text {
    font-size: 1rem;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-light);
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--secondary-color);
}

.value-item::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 900;
}

/* ----------------------------------------------------
   12. Images Gallery Page
   ---------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-speed);
}

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

.gallery-icon {
    color: var(--text-light);
    font-size: 2.5rem;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.8rem;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.lightbox-close:hover {
    color: var(--text-light);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: color var(--transition-speed);
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--text-light);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
}

/* ----------------------------------------------------
   13. Site Footer
   ---------------------------------------------------- */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--primary-color);
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-speed);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: 50px;
    outline: none;
    flex-grow: 1;
    font-family: var(--font-body);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    padding: 10px 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

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

.acknowledgment-box {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ----------------------------------------------------
   14. Animations
   ---------------------------------------------------- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* ----------------------------------------------------
   15. Responsive Styling (Media Queries)
   ---------------------------------------------------- */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title { font-size: 3rem; }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .site-header {
        background-color: rgba(22, 22, 22, 0.95);
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
}

/* ===== ABOUT ROW (Two-column layout: image + text) ===== */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.about-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== GALLERY PREVIEW SECTION ===== */
.gallery-preview-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 191, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-icon {
    color: #fff;
    font-size: 2rem;
}

/* ===== RESPONSIVE: About Row & Gallery ===== */
@media (max-width: 768px) {
    .about-row {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 0;
    }

    .about-img img {
        height: 280px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
