/* ==========================================================================
   SKY CARE SOLUTIONS LTD - CONSOLIDATED STYLES
   ========================================================================== */

/* ==========================================================================
   1. RESET AND BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Helvetica, sans-serif, Arial;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. HEADER AND NAVIGATION
   ========================================================================== */
.header {
    background: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

/* Main Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    position: relative;
}

.nav-brand img {
    height: 50px;
    width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: 18px;
    font-family: Helvetica, sans-serif, Arial;
    align-items: center;
}

/* ==========================================================================
   DROPDOWN MENU IMPROVEMENTS - Add to styles.css
   ========================================================================== */

/* Dropdown Container */
.dropdown {
    position: relative;
}

/* Dropdown Toggle */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
}

.dropdown-icon {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    backdrop-filter: blur(15px);
    border-radius: 7px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0.8rem ;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

/* Hover Effect for Dropdown Items */
.dropdown-menu a:hover,
.dropdown-menu a.active {
    background-color: rgba(75, 172, 36, 0.08);
    color: #4BAC24;
    border-left-color: #4BAC24;
    padding-left: 1.8rem;
}

/* Remove underline effect from dropdown items */
.dropdown-menu a::after {
    display: none;
}

/* Icon before dropdown items (optional enhancement) */
.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #4BAC24;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu a:hover::before {
    opacity: 1;
}

/* ==========================================================================
   MOBILE DROPDOWN STYLES (Tablet and below)
   ========================================================================== */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
        font-size: 1.5rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(75, 172, 36, 0.05);
        backdrop-filter: none;
        border-radius: 8px;
        margin: 0.5rem 1rem;
        padding: 0;
        min-width: auto;
        width: calc(100% - 2rem);
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: all 0.3s ease;
        border: 1px solid rgba(75, 172, 36, 0.2);
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding: 1rem 1.5rem;
        font-size: 1.2rem !important;
        border-left: none;
        text-align: center;
        transform: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background-color: rgba(75, 172, 36, 0.15);
        transform: none;
        padding-left: 1.5rem;
        border-left: none;
    }

    .dropdown-menu a::before {
        display: none;
    }

    /* Smooth animation for mobile dropdown items */
    .dropdown-menu li {
        animation: slideDown 0.3s ease forwards;
        opacity: 0;
    }

    .dropdown.active .dropdown-menu li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .dropdown.active .dropdown-menu li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dropdown.active .dropdown-menu li:nth-child(3) {
        animation-delay: 0.3s;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ==========================================================================
   MOBILE LANDSCAPE (640px and below)
   ========================================================================== */
@media (max-width: 640px) {
    .dropdown-menu {
        margin: 0.5rem 0.5rem;
        width: calc(100% - 1rem);
    }

    .dropdown-menu a {
        font-size: 1.1rem !important;
        padding: 0.9rem 1.2rem;
    }
}

/* ==========================================================================
   MOBILE PORTRAIT (480px and below)
   ========================================================================== */
@media (max-width: 480px) {
    .dropdown-toggle {
        font-size: 1.3rem;
    }

    .dropdown-menu a {
        font-size: 1rem !important;
        padding: 0.8rem 1rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */

/* Focus states for keyboard navigation */
.dropdown-toggle:focus,
.dropdown-menu a:focus {
    outline: 2px solid #4BAC24;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dropdown-menu {
        border: 2px solid #000;
    }

    .dropdown-menu a:hover {
        border-left: 3px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .dropdown-menu,
    .dropdown-menu a,
    .dropdown-icon {
        transition: none;
    }

    .dropdown-menu li {
        animation: none;
    }
}

/* Navigation Link Styles */
.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: block;
}

/* Underline effect for regular nav links and dropdown toggles */
.nav-menu a::after,
.dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4BAC24;
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.dropdown-toggle:hover {
    color: #4BAC24;
}

.nav-menu a:hover::after,
.dropdown-toggle:hover::after {
    width: 100%;
}

/* Active Navigation Link */
.nav-menu a.active,
.dropdown-toggle.active {
    color: #4BAC24;
    font-weight: 600;
}

.nav-menu a.active::after,
.dropdown-toggle.active::after {
    width: 100%;
}

/* Contact Links */
.nav-contact {
    display: flex;
    text-transform: none;
    gap: 1rem;
}

.nav-contact2 {
    text-decoration: none;
    border: 2px solid #4BAC24;
    padding: 0.5rem 1rem;   
    color: #4BAC24;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-contact2:hover {
    color: #fff;
    background-color: #4BAC24;
}

/* Secondary Navigation */
.nav2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
    background-color: #4BAC24;
    color: white;
    font-size: 18px;
    font-weight: 300;
}

.nav-contact3 {
    display: flex;
    gap: 1rem;
}

.nav-contact4 {
    text-decoration: none;
    border: 2px solid #fff;
    padding: 0.5rem 1rem;   
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-contact4:hover {
    background-color: #fff;
    color: #4BAC24;
}

.divider-hover:hover {
    background-color: #3F8AC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63, 138, 196, 0.3);
}

/* Utility Classes */
.desktop-only {
    display: flex;
}

/* ==========================================================================
   3. HERO SECTIONS
   ========================================================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('/images/hero-image.jpg') center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 600px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    margin-bottom: 10vh;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Page-specific Hero Sections */
.about-hero,
.facilities-hero,
.services-hero,
.domiciliary-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-image.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 120px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-content,
.facilities-hero .hero-content,
.services-hero .hero-content,
.domiciliary-hero .hero-content {
    max-width: 800px;
    padding: 2rem;
}

.about-hero .hero-title,
.facilities-hero .hero-title,
.services-hero .hero-title,
.domiciliary-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.about-hero .hero-subtitle,
.facilities-hero .hero-subtitle,
.services-hero .hero-subtitle,
.domiciliary-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   4. CONTACT PAGE STYLES
   ========================================================================== */

/* Contact Hero Section */
.contact-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
                url(/images/hero-image.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 120px;
}

.contact-hero .hero-content {
    max-width: 800px;
    padding: 2rem;
}

.contact-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.contact-hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Contact Information Section */
.contact-info-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4BAC24;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: #4BAC24;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #3F8AC4;
}

.contact-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Contact Main Section */
.contact-main {
    padding: 4rem 0;
    background: white;
}

.contact-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.contact-form-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: Helvetica, sans-serif, Arial;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4BAC24;
    box-shadow: 0 0 0 3px rgba(75, 172, 36, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

/* Map Section */
.map-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.map-section p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.transport-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4BAC24;
}

.transport-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.transport-info ul {
    list-style: none;
    padding: 0;
}

.transport-info ul li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.5;
}

.transport-info strong {
    color: #4BAC24;
    font-weight: 600;
}

/* Success Message Styles */
.success-message {
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(75, 172, 36, 0.3);
}

.success-message h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.success-message p {
    margin: 0;
    opacity: 0.9;
}

/* Animation for contact cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

/* ==========================================================================
   5. CONTENT SECTIONS
   ========================================================================== */

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
    line-height: 1;
    font-weight: 550;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.about-text a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4BAC24;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.about-text a:hover {
    background-color: #3d8b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 172, 36, 0.3);
}

.about-text ul {
    list-style: none;
}

.about-text li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
    font-family: helvetica, sans-serif, Arial;
}

.about-text i {
    color: #4BAC24;
    width: 20px;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Service Text Styling */
.abt-text2 h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
    line-height: 1.2;
    font-weight: 400;
}

.abt-text2 p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.abt-text2 a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4BAC24;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.abt-text2 a:hover {
    background-color: #3d8b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 172, 36, 0.3);
}

/* Background Colors */
.abt-bg-blue {
    background-color: #C9DEE2;
}

.abt-bg-green {
    background-color: #a3f583;
}

/* Home Description Section */
.nav-about {
    padding: 70px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.nav-about h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-family: 'Times New Roman', serif;
}

.nav-about p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    line-height: 1.8;
}

/* ==========================================================================
   6. DOMICILIARY CARE SECTIONS
   ========================================================================== */

/* Introduction Section */
.domiciliary-intro {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.intro-content .section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
}

.intro-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}

/* Service Overview Section */
.service-overview {
    padding: 4rem 0;
    background: #f8f9fa;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content .section-title {
    font-size: 2.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
}

.overview-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.key-benefits {
    margin-top: 2rem;
}

.key-benefits h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.key-benefits ul {
    list-style: none;
    padding: 0;
}

.key-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
}

.key-benefits li i {
    color: #4BAC24;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.overview-image {
    text-align: center;
}

.care-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Services Provided Section */
.services-provided {
    background: white;
}

.services-provided .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    text-align: center;
    justify-items: center;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #4BAC24;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details li {
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li::before {
    content: '•';
    color: #4BAC24;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Care Plans Section */
.care-plans {
    padding: 4rem 0;
    background: #f8f9fa;
}

.care-plans .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.plan-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #4BAC24;
}

.plan-card.featured {
    border: 2px solid #4BAC24;
    background: linear-gradient(135deg, #ffffff, #cef7be);
}

.plan-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.plan-card .plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.plan-card h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.plan-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.plan-features li {
    color: #555;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    color: #4BAC24;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Care Process Section */
.care-process {
    padding: 4rem 0;
    background: white;
}

.care-process .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', serif;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.process-step:nth-child(even) {
    transform: translateX(30px);
}

.process-step:hover {
    background: #cef7be;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Quality Assurance Section */
.quality-assurance {
    padding: 4rem 0;
    background: #f8f9fa;
}

.quality-assurance .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', serif;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.quality-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.quality-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quality-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.quality-item .quality-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.quality-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.quality-item p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   7. SERVICES PAGE SECTIONS
   ========================================================================== */

/* Services Overview */
.services-overview {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

.overview-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Services Section */
.main-services {
    padding: 3rem 0;
    background: #f8f9fa;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #4BAC24;
}

.service-card.featured {
    border: 2px solid #4BAC24;
    background: linear-gradient(135deg, #ffffff, #cef7be);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #555;
}

.service-features li i {
    color: #4BAC24;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: linear-gradient(135deg, #3a8c1d, #6bcf45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 172, 36, 0.3);
}

/* Service Features Section */
.service-features-section {
    padding: 3rem 0;
    background: white;
}

.service-features-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-item:hover {
    background: #cef7be;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   8. SUPPORTED ACCOMMODATION SECTIONS
   ========================================================================== */

/* Our Services Section */
.our-services {
    padding: 3rem 0;
    background: white;
}

/* Service Detail Sections */
.service-detail {
    padding: 3rem 0;
    background: white;
}

.service-detail.alternate {
    background: #f8f9fa;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detail-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
}

.detail-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.8;
}

.detail-features {
    display: grid;
    gap: 2rem;
}

.feature-block {
    padding: 1.5rem;
    background: #cef7be;
    border-radius: 10px;
    border-left: 4px solid #4BAC24;
}

.service-detail.alternate .feature-block {
    background: white;
}

.feature-block h4 {
    color: #4BAC24;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-block p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 500px;
    object-fit: cover;
}

/* Why Choose Services Section */
.why-choose-services {
    padding: 3rem 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #4BAC24;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.benefit-card h3 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Referral Process Section */
.referral-process {
    padding: 3rem 0;
    background: white;
}

.step-card {
    background: #cef7be;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    color: #4BAC24;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #4BAC24;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.service-link:hover {
    background: #4BAC24;
    color: white;
    transform: scale(1.05);
}

/* ==========================================================================
   9. COMMON SECTIONS (All Pages)
   ========================================================================== */

/* Divider Sections */
.divider {
    min-height: 150px;
    display: flex;
    background-color: #2c3e50;
    align-items: center;
    justify-content: space-around;
    padding: 2rem 1rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.divider-text {
    text-align: center;
    flex: 1;
    max-width: 600px;
}

.divider p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.second {
    margin: 50px 0 0 0;
}

/* Partners Section */
.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 6rem 4rem;
    background-color: #d2f8c3;
}

.partners img {
    max-width: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partners img:hover {
    transform: scale(1.05);
}

/* Partner Logos */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Staff Section */
.staff {
    padding: 1rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.staff-member {
    text-align: center;
    padding: 2rem;
    background: #e4eff1;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.staff-member img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.staff-member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.staff-member p {
    color: #4BAC24;
    font-style: italic;
    font-size: 1rem;
}

/* About Page - Our Story Section */
.our-story {
    padding: 3rem 0;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: translateY(-5px);
}

/* Mission & Values Section */
.mission-values {
    padding: 3rem 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mission-card {
    text-align: center;
    padding: 2.5rem;
    background: #cef7be;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4BAC24;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Our Approach Section */
.our-approach {
    padding: 3rem 0;
    background: #f8f9fa;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
}

.approach-features {
    display: grid;
    gap: 2rem;
}

.approach-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 700px;
}

/* Statistics Section */
.statistics {
    padding: 3rem 0;
    background: linear-gradient(135deg, #2c3e50, #4BAC24);
    color: white;
    text-align: center;
}

.statistics .section-title {
    color: white;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Team Leadership Section */
.team-leadership {
    padding: 3rem 0;
    background: white;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.leader-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #cef7be;
    border-radius: 15px;
    transition: transform 0.3s ease;
    align-items: center;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4BAC24;
}

.leader-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
}

.leader-title {
    color: #4BAC24;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 3rem 0;
    background: #f8f9fa;
}

.choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.choose-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
}

.reasons-list {
    display: grid;
    gap: 2rem;
}

.reason-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reason-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.reason-content p {
    color: #666;
    line-height: 1.6;
}

.choose-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Facilities Page Styles */
.facilities-overview {
    padding: 3rem 0;
    background: white;
    text-align: center;
}

/* Virtual Tour Section */
.virtual-tour {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.tour-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tour-text .section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
}

.tour-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tour-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tour-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tour-preview {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tour-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(75, 172, 36, 0.4);
}

.tour-preview i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.tour-preview span {
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.tour-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
    background: linear-gradient(135deg, #2c3e50, #4BAC24);
    color: white;
}

.testimonials .section-title {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-family: 'Times New Roman', serif;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: #7bdf53;
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: serif;
}

.testimonial-author h5 {
    color: #7bdf53;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section,
.services-cta,
.domiciliary-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4BAC24, #3d8b1f);
    color: white;
    text-align: center;
}

.domiciliary-cta {
    background: linear-gradient(135deg, #2c3e50, #4BAC24);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: white;
    /* color: #4BAC24; */
    color: #2c3e50 !important;
        border: #2c3e50 2px solid;

}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4BAC24;
    transform: translateY(-2px);
}

.btn-secondary2 {
    background: transparent !important;
    color: #4BAC24 !important;
    border: 2px solid #4BAC24 !important;
}

.btn-secondary2:hover {
    background: white;
    color: #4BAC24;
    transform: translateY(-2px);
}

.cta-section .btn-primary {
    background: #4BAC24;
    color: white;
}

.cta-section .btn-primary:hover {
    background: #3d8b1f;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #4BAC24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4BAC24;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4BAC24;
    border: 1px solid rgba(75, 172, 36, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
}

.social-links a:hover {
    background: #fff;
    color: #4BAC24;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #4BAC24;
}

/* ==========================================================================
   11. ANIMATION CLASSES
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animation delays for staggered effects */
.service-item:nth-child(1), .plan-card:nth-child(1), .process-step:nth-child(1), 
.quality-item:nth-child(1), .facility-card:nth-child(1), .feature-item:nth-child(1), 
.testimonial-card:nth-child(1), .service-card:nth-child(1) { 
    transition-delay: 0.1s; 
}
.service-item:nth-child(2), .plan-card:nth-child(2), .process-step:nth-child(2), 
.quality-item:nth-child(2), .facility-card:nth-child(2), .feature-item:nth-child(2), 
.testimonial-card:nth-child(2), .service-card:nth-child(2) { 
    transition-delay: 0.2s; 
}
.service-item:nth-child(3), .plan-card:nth-child(3), .process-step:nth-child(3), 
.quality-item:nth-child(3), .facility-card:nth-child(3), .feature-item:nth-child(3), 
.testimonial-card:nth-child(3), .service-card:nth-child(3) { 
    transition-delay: 0.3s; 
}
.service-item:nth-child(4), .process-step:nth-child(4), .quality-item:nth-child(4), 
.feature-item:nth-child(4), .service-card:nth-child(4) { 
    transition-delay: 0.4s; 
}
.service-item:nth-child(5), .process-step:nth-child(5), .feature-item:nth-child(5) { 
    transition-delay: 0.5s; 
}
.service-item:nth-child(6), .feature-item:nth-child(6) { 
    transition-delay: 0.6s; 
}

/* ==========================================================================
   12. RESPONSIVE DESIGN
   ========================================================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .nav-about {
        padding: 60px 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .nav {
        padding: 1rem 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-about {
        padding: 50px 30px;
    }
    
    .nav-about h1 {
        font-size: 2.2rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .nav-contact {
        gap: 0.5rem;
    }
    
    .nav-contact2 {
        padding: 0.4rem 0.8rem;
        font-size: 13px;
    }
    
    .nav2 {
        flex-direction: column;
        gap: 1rem;
        padding: 20px;
        text-align: center;
    }
    
    .nav2 p {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-content,
    .facilities-content {
        gap: 2rem;
    }
    
    .divider {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet Portrait - Mobile Navigation */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .desktop-only {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: left 0.3s ease;
        z-index: 1000;
        font-size: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    /* Mobile navigation links */
    .nav-menu a,
    .dropdown-toggle {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown {
        width: 80%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(75, 172, 36, 0.1);
        backdrop-filter: none;
        border-radius: 5px;
        margin: 1rem 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        max-height: 200px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        border-left: none;
        text-align: center;
        transform: none;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(75, 172, 36, 0.2);
        transform: none;
    }
    
    /* Adjust hero section */
    .hero {
        min-height: 70vh;
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-hero,
    .facilities-hero,
    .services-hero,
    .domiciliary-hero,
    .contact-hero {
        height: 70vh;
    }
    
    .about-hero .hero-title,
    .facilities-hero .hero-title,
    .services-hero .hero-title,
    .domiciliary-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero .hero-subtitle,
    .facilities-hero .hero-subtitle,
    .services-hero .hero-subtitle,
    .domiciliary-hero .hero-subtitle,
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Single column layouts */
    .about-content,
    .facilities-content,
    .story-content,
    .approach-content,
    .choose-content,
    .tour-content,
    .overview-grid,
    .detail-content,
    .contact-main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text,
    .facility-text {
        order: 2;
    }
    
    .about-image,
    .facility-image {
        order: 1;
    }
    
    /* Adjust text sizes */
    .about-text h2,
    .abt-text2 h2,
    .facility-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    /* Navigation about section */
    .nav-about {
        padding: 40px 20px;
    }
    
    .nav-about h1 {
        font-size: 1.8rem;
    }
    
    .nav-about p {
        font-size: 1.1rem;
    }
    
    /* Grid adjustments */
    .staff-grid,
    .mission-content,
    .leadership-grid,
    .services-grid,
    .plans-grid,
    .process-steps,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .staff-member {
        padding: 1.5rem;
    }
    
    .leader-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tour-preview {
        width: 250px;
        height: 160px;
    }
    
    .tour-preview i {
        font-size: 3rem;
    }
    
    .tour-buttons {
        justify-content: center;
    }
    
    .detail-image img {
        height: 300px;
    }
    
    /* Contact Page Responsive */
    .contact-hero {
        height: 50vh;
        margin-top: 100px;
    }
    
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .contact-main-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .transport-info {
        padding: 1.5rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Section padding */
    .service-card,
    .plan-card,
    .quality-item,
    .testimonial-card,
    .feature-item,
    .benefit-card,
    .step-card {
        padding: 1.5rem;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .nav2 {
        padding: 15px;
    }
    
    .nav2 p {
        font-size: 14px;
    }
    
    .nav-contact4 {
        padding: 0.4rem 0.8rem;
        font-size: 12px;
    }
    
    .hero {
        min-height: 60vh;
        height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about,
    .facilities,
    .staff {
        padding: 2rem 0;
    }
    
    .nav-about {
        padding: 30px 15px;
    }
    
    .nav-about h1 {
        font-size: 1.6rem;
    }
    
    .nav-about p {
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .nav {
        padding: 0.8rem 10px;
    }
    
    .nav-brand img {
        height: 40px;
    }
    
    .nav2 {
        padding: 10px;
    }
    
    .nav-contact3 {
        flex-direction: flex;
        gap: 0.5rem;
    }
    
    .hero {
        min-height: 50vh;
        height: 50vh;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-hero,
    .facilities-hero,
    .services-hero,
    .domiciliary-hero,
    .contact-hero {
        height: 50vh;
        margin-top: 100px;
    }
    
    .about-hero .hero-title,
    .facilities-hero .hero-title,
    .services-hero .hero-title,
    .domiciliary-hero .hero-title,
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .about-text h2,
    .abt-text2 h2 {
        font-size: 1.4rem;
    }
    
    .about-text p,
    .abt-text2 p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .facility-text h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .nav-about h1 {
        font-size: 1.4rem;
    }
    
    .nav-about p {
        font-size: 0.95rem;
    }
    
    .divider {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }
    
    .divider p {
        font-size: 1rem;
    }
    
    .staff-member {
        padding: 1rem;
    }
    
    .staff-member img {
        width: 120px;
        height: 120px;
    }
    
    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .tour-preview {
        width: 200px;
        height: 140px;
    }
    
    .tour-preview i {
        font-size: 2.5rem;
    }
    
    .tour-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 200px;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* Contact Page Mobile */
    .contact-hero {
        height: 40vh;
    }
    
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-section,
    .map-section {
        padding: 0 10px;
    }
    
    .transport-info {
        padding: 1rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .service-icon,
    .plan-icon,
    .quality-icon,
    .feature-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .domiciliary-intro,
    .service-overview,
    .services-provided,
    .care-plans,
    .care-process,
    .quality-assurance,
    .testimonials,
    .domiciliary-cta,
    .main-services,
    .service-features-section,
    .our-services,
    .why-choose-services,
    .referral-process,
    .cta-section,
    .services-cta,
    .contact-info-section,
    .contact-main {
        padding: 2rem 0;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .nav-about h1 {
        font-size: 1.2rem;
    }
    
    .about-text h2,
    .abt-text2 h2 {
        font-size: 1.2rem;
    }
    
    .facility-text h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* High Resolution Displays */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .nav-about h1 {
        font-size: 3rem;
    }
    
    .nav-about p {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   13. ACCESSIBILITY & SPECIAL FEATURES
   ========================================================================== */

/* Accessibility Improvements */
.social-links a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.service-btn:focus,
.service-link:focus {
    outline: 2px solid #4BAC24;
    outline-offset: 2px;
}

.tour-preview:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .plan-card,
    .quality-item,
    .feature-item,
    .testimonial-card,
    .benefit-card,
    .step-card,
    .contact-card {
        border: 2px solid #000;
    }
    
    .service-btn,
    .btn-primary {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .plan-card,
    .quality-item,
    .feature-item,
    .testimonial-card,
    .benefit-card,
    .step-card,
    .tour-preview,
    .contact-card {
        transition: none;
    }
    
    .tour-preview::before {
        animation: none;
    }
    
    .service-card:hover,
    .plan-card:hover,
    .quality-item:hover,
    .feature-item:hover,
    .testimonial-card:hover,
    .benefit-card:hover,
    .step-card:hover,
    .tour-preview:hover,
    .contact-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section,
    .services-cta,
    .domiciliary-cta {
        display: none;
    }
    
    .hero,
    .about-hero,
    .facilities-hero,
    .services-hero,
    .domiciliary-hero,
    .contact-hero {
        height: auto;
        background: none;
        color: #000;
        margin-top: 0;
    }
    
    .testimonials {
        background: none;
        color: #000;
    }
    
    .service-card,
    .plan-card,
    .quality-item,
    .feature-item,
    .testimonial-card,
    .benefit-card,
    .step-card,
    .contact-card {
        background: #f0f0f0;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .service-icon,
    .plan-icon,
    .quality-icon,
    .feature-icon,
    .benefit-icon,
    .step-number {
        background: #ccc;
        color: #000;
    }
}

/* ==========================================================================
   GALLERY PAGE STYLES - Add to end of styles.css before responsive section
   ========================================================================== */

/* Gallery Hero Section */
.gallery-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-about5.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 120px;
    overflow: hidden;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.gallery-hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.gallery-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-style: italic;
    animation: slideInLeft 1s ease 0.3s both;
}

.gallery-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    animation: slideInRight 1s ease 0.6s both;
}

/* Gallery Filters */
.gallery-filters {
    padding: 3rem 0 2rem;
    background: #f8f9fa;
    animation: fadeIn 1s ease 1s both;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #4BAC24;
    background: transparent;
    color: #4BAC24;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #4BAC24;
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 172, 36, 0.3);
}

/* Gallery Section */
.gallery-section {
    padding: 3rem 0 5rem;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Gallery Items */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: fadeInScale 0.8s ease both;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(75, 172, 36, 0.9),
        rgba(44, 62, 80, 0.9)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Times New Roman', serif;
}

.gallery-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.view-btn {
    padding: 10px 20px;
    border: 2px solid white;
    background: transparent;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.view-btn:hover {
    background: white;
    color: #4BAC24;
    transform: translateY(-2px);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: lightboxFadeIn 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    color: #4BAC24;
    transform: rotate(90deg);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxSlideIn 0.4s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-info {
    padding: 2rem;
    text-align: center;
}

.lightbox-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Times New Roman', serif;
}

.lightbox-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(75, 172, 36, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: #4BAC24;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* Filter Animation */
.gallery-item.filtering-out {
    animation: filterOut 0.5s ease both;
}

.gallery-item.filtering-in {
    animation: filterIn 0.5s ease both;
}

/* Gallery Loading Animation */
.gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4BAC24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Gallery-specific Keyframe Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes filterOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes filterIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   GALLERY RESPONSIVE STYLES - Add to existing responsive section
   ========================================================================== */

/* Add these to the existing @media queries in styles.css */

/* Tablet Portrait - 768px */
@media (max-width: 768px) {
    .gallery-hero {
        height: 50vh;
        margin-top: 100px;
    }
    
    .gallery-hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        margin: 0 10px;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .lightbox-content {
        max-width: 95%;
        margin: 20px;
    }
    
    .lightbox-info {
        padding: 1rem;
    }
    
    .close-lightbox {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .lightbox-nav {
        padding: 10px 15px;
        font-size: 16px;
    }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {
    .gallery-hero-title {
        font-size: 2rem;
    }
    
    .gallery-hero-subtitle {
        font-size: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}

/* ==========================================================================
   DONATE PAGE STYLES - Add to end of styles.css before responsive section
   ========================================================================== */

/* Donate Hero Section */
.donate-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-about.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 400px;
    margin-top: 120px;
}

.donate-hero .hero-content {
    max-width: 700px;
    padding: 2rem;
}

.donate-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.donate-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
    line-height: 1.5;
}

/* Main Donate Section */
.donate-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Donate Information Section */
.donate-info h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.donate-info p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Impact Stats */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4BAC24;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Donation Benefits */
.donation-benefits {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.donation-benefits h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.donation-benefits ul {
    list-style: none;
}

.donation-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.donation-benefits i {
    color: #4BAC24;
    width: 20px;
    text-align: center;
}

/* Donation Form Container */
.donation-form-container {
    position: sticky;
    top: 140px;
}

.donation-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 4px solid #4BAC24;
}

.donation-form h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Donation Amount Buttons */
.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    border-color: #4BAC24;
    background: rgba(75, 172, 36, 0.1);
}

.amount-btn.active {
    border-color: #4BAC24;
    background: #4BAC24;
    color: white;
}

/* Custom Amount */
.custom-amount {
    margin-bottom: 2rem;
}

.custom-amount label {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.custom-amount input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: #4BAC24;
}

/* Donation Type */
.donation-type {
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
}

.donation-type label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #2c3e50;
}

.donation-type input[type="radio"] {
    accent-color: #4BAC24;
}

/* Donor Information */
.donor-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.donor-info .form-group {
    margin-bottom: 1rem;
}

.donor-info .form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.donor-info .form-group input:focus {
    outline: none;
    border-color: #4BAC24;
}

/* Gift Aid */
.gift-aid {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    color: #555;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    accent-color: #4BAC24;
    margin-top: 3px;
}

.checkbox-text {
    font-size: 0.9rem;
}

/* Donate Button */
.donate-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #4BAC24, #3d8b1f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #3d8b1f, #2c6914);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 172, 36, 0.3);
}

.donate-btn:active {
    transform: translateY(0);
}

/* Secure Notice */
.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.secure-notice i {
    color: #4BAC24;
}

/* Other Ways Section */
.other-ways {
    padding: 4rem 0;
    background: white;
}

.other-ways h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.way-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.way-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.way-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(75, 172, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.way-item:hover .way-icon {
    background: #4BAC24;
}

.way-icon i {
    font-size: 2rem;
    color: #4BAC24;
    transition: color 0.3s ease;
}

.way-item:hover .way-icon i {
    color: white;
}

.way-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.way-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.way-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #4BAC24;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.way-link:hover {
    background: #3d8b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 172, 36, 0.3);
}

/* Testimonial Section */
.testimonial-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4BAC24, #3d8b1f);
    color: white;
    text-align: center;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial blockquote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Times New Roman', serif;
}

.testimonial cite {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================================================
   DONATE PAGE RESPONSIVE STYLES - Add to existing responsive section
   ========================================================================== */

/* Tablet Landscape - 1024px */
@media (max-width: 1024px) {
    .donate-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .donate-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .donate-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .donation-form-container {
        position: static;
    }
    
    .impact-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .ways-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablet Portrait - 768px */
@media (max-width: 768px) {
    .donate-main {
        padding: 3rem 0;
    }
    
    .donate-hero {
        margin-top: 100px;
        height: 45vh;
        min-height: 300px;
    }
    
    .donate-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .donate-info h2 {
        font-size: 2rem;
    }
    
    .donation-form {
        padding: 1.5rem;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .donation-type {
        flex-direction: column;
        gap: 1rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .other-ways h2 {
        font-size: 2rem;
    }
    
    .testimonial blockquote {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
}

/* Mobile Landscape - 640px */
@media (max-width: 640px) {
    .donate-hero {
        height: 40vh;
        min-height: 280px;
    }
    
    .donate-hero .hero-title {
        font-size: 2rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .donate-main {
        padding: 2rem 0;
    }
    
    .other-ways {
        padding: 3rem 0;
    }
    
    .testimonial-section {
        padding: 3rem 0;
    }
}

/* Mobile Portrait - 480px */
@media (max-width: 480px) {
    .donate-hero {
        height: 35vh;
        min-height: 250px;
    }
    
    .donate-hero .hero-content {
        padding: 1rem;
    }
    
    .donate-hero .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .donate-info h2 {
        font-size: 1.6rem;
    }
    
    .donate-info p {
        font-size: 1rem;
    }
    
    .donation-form {
        padding: 1rem;
    }
    
    .donation-form h3 {
        font-size: 1.3rem;
    }
    
    .amount-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .donate-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .donation-benefits {
        padding: 1.5rem;
    }
    
    .donation-benefits li {
        font-size: 0.9rem;
    }
    
    .way-item {
        padding: 1.5rem;
    }
    
    .way-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .way-icon i {
        font-size: 1.5rem;
    }
    
    .way-item h3 {
        font-size: 1.2rem;
    }
    
    .testimonial blockquote {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonial blockquote::before {
        font-size: 3rem;
        top: -0.5rem;
        left: -0.3rem;
    }
}

/* Extra Small Devices - 320px */
@media (max-width: 320px) {
    .donate-hero .hero-title {
        font-size: 1.5rem;
    }
    
    .donate-hero .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .donate-info h2 {
        font-size: 1.4rem;
    }
    
    .other-ways h2 {
        font-size: 1.6rem;
    }
    
    .donation-form h3 {
        font-size: 1.1rem;
    }
    
    .amount-btn {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   END OF CONSOLIDATED STYLES
   ========================================================================== */