/* CSS Custom Properties - Color System */
:root {
    /* Primary Colors - Based on Virtuous Veronica Brand */
    --primary-color: #c41e3a;
    --primary-dark: #a0172f;
    --primary-light: #e74c3c;
    --primary-lighter: #f87171;

    /* Secondary Colors */
    --secondary-color: #dc2626;
    --secondary-dark: #b91c1c;
    --secondary-light: #ef4444;

    /* Accent Colors */
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;

    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #94a3b8;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #1f2937;

    /* Border Colors */
    --border-light: #e5e7eb;
    --border-medium: #cbd5e1;
    --border-dark: #9ca3af;

    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;

    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.3);

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    --gradient-hero: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Awesome fallback and icon loading */
.fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 5 Pro", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-primary);
    box-shadow: 0 2px 20px var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo .logo-img {
    height: 100px; /* This sets the logo height */
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    color: #c41e3a;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 1001;
    position: relative;
    pointer-events: auto;
}

.hamburger:hover {
    background-color: rgba(196, 30, 58, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    pointer-events: none;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
   text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px var(--shadow-light);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-placeholder:hover {
    transform: scale(1.05);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Amenities Section */
.amenities {
    background: white;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.amenity-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-image i {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

.image-placeholder {
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.amenity-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    padding: 0 1.5rem;
    font-weight: 600;
}

.amenity-card p {
    color: var(--text-secondary);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.events-section {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 15px;
}

.events-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.event-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.event-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-map {
    margin-top: 2rem;
}

.map-placeholder {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-light);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bg-tertiary);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    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-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    
    .hamburger:hover {
        background-color: rgba(196, 30, 58, 0.1);
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active { 
        left: 0; 
    }
    
    .nav-menu li { 
        padding: 0.5rem 0; 
        border-bottom: 1px solid rgba(196, 30, 58, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a { 
        font-size: 1.2rem; 
        padding: 1rem 2rem;
        display: block;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 1rem;
    }
    
    .nav-menu a:hover {
        background-color: rgba(196, 30, 58, 0.1);
        color: var(--primary-color);
    }
    
    .nav-menu .cta-button {
        background: var(--gradient-primary);
        color: white;
        margin: 1rem;
        border-radius: 8px;
    }
    
    .nav-menu .cta-button:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 50px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-description { font-size: 1rem; }
    
    .section-header h2 { font-size: 2rem; }
    .section-header p { padding: 0 1rem; }
    
    .service-card,
    .contact-form { padding: 1.5rem; }
    
    .events-section { padding: 2rem 1rem; }
    
    .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* Page-specific styles */

/* Page Hero */
.page-hero {
    background: var(--gradient-hero);
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero .hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero .hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Styles */
.about-story {
    padding: 80px 0;
    background: var(--bg-primary);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.story-image .image-placeholder {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px var(--shadow-light);
}

.story-image .image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Mission & Values */
.mission-values {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Leadership Team */
.leadership-team {
    padding: 80px 0;
    background: var(--bg-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.member-photo i {
    font-size: 4rem;
    color: white;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-info .position {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Awards & Recognition */
.awards-recognition {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.award-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.award-icon i {
    font-size: 2rem;
    color: white;
}

.award-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.award-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Services Page Styles */
.services-overview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-details {
    padding: 80px 0;
    background: var(--bg-primary);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-image {
    height: 150px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.detail-content {
    padding: 2rem;
}

.detail-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.detail-content ul {
    list-style: none;
}

.detail-content ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Service Levels */
.service-levels {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.level-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
}

.level-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.level-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.level-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.level-price {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.level-features ul {
    list-style: none;
    text-align: left;
}

.level-features ul li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.level-features ul li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services FAQ */
.services-faq {
    padding: 80px 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.faq-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Amenities Page Styles */
.amenities-overview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.amenity-features {
    list-style: none;
    margin-top: 1rem;
}

.amenity-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.amenity-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.apartment-features { /* Keep class name for structure if needed, but contents might be removed */
    padding: 80px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Virtual Tour Styles */
.virtual-tour {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tour-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tour-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.tour-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tour-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tour-features li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.tour-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tour-video .video-placeholder {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px var(--shadow-light);
}

.tour-video .video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Community Events */
.community-events {
    padding: 80px 0;
    background: var(--bg-primary);
}

.events-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-category {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.event-category h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.event-category ul {
    list-style: none;
}

.event-category ul li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.event-category ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Gallery Page Styles */
.gallery-filter {
    padding: 40px 0;
    background: var(--bg-primary);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-light);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-grid {
    padding: 40px 0 80px;
    background: var(--bg-secondary);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-img {
    transform: scale(1.05);
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.photo-placeholder {
    height: 250px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.photo-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.photo-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Gallery Styles */
@media (max-width: 1200px) {
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .photo-img,
    .photo-placeholder {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery-filter {
        padding: 30px 0;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        padding: 30px 0 60px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .photo-img,
    .photo-placeholder {
        height: 200px;
    }
    
    .photo-placeholder i {
        font-size: 2.5rem;
    }
    
    .photo-placeholder p {
        font-size: 1rem;
    }
    
    .photo-overlay {
        padding: 1.5rem;
    }
    
    .photo-overlay h4 {
        font-size: 1.1rem;
    }
    
    .photo-overlay p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
        padding: 12px 24px;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .photo-img,
    .photo-placeholder {
        height: 180px;
    }
    
    .photo-placeholder i {
        font-size: 2rem;
    }
    
    .photo-placeholder p {
        font-size: 0.9rem;
    }
    
    .photo-overlay {
        padding: 1rem;
    }
    
    .photo-overlay h4 {
        font-size: 1rem;
    }
    
    .photo-overlay p {
        font-size: 0.75rem;
    }
}

/* Virtual Tour Page Styles */
.tour-navigation {
    padding: 40px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
}

.tour-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tour-nav-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-light);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tour-nav-btn:hover,
.tour-nav-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tour-content { /* Used for both amenities and tour page */
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tour-section { /* Specifically for virtual tour page sections */
    display: none;
}

.tour-section.active {
    display: block;
}

.tour-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tour-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tour-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tour-item {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
}

.tour-item:hover {
    transform: translateY(-5px);
}

.tour-image .image-placeholder {
    height: 200px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tour-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tour-description {
    padding: 2rem;
}

.tour-description h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tour-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tour-description ul {
    list-style: none;
    margin-top: 1rem;
}

.tour-description ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.tour-description ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tour-features { /* Also used on Amenities page */
    padding: 80px 0;
    background: var(--bg-primary);
}

/* Contact Page Styles */
.contact-info { /* Used for top contact cards */
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-grid { /* Used for top contact cards */
    display: grid !important;
    /* Updated in inline styles */
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.contact-card { /* Used for top contact cards */
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-card .contact-icon { /* Used for top contact cards */
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card .contact-icon i { /* Used for top contact cards */
    font-size: 2rem;
    color: white;
}

.contact-card h3 { /* Used for top contact cards */
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p { /* Used for top contact cards */
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link { /* Used for top contact cards */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-form-map { /* Contains form and map */
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-content { /* Grid container for form/map or combined section */
    display: grid;
    /* Updated in inline styles for combined */
    gap: 4rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.map-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.directions-info {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.directions-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.direction-item {
    margin-bottom: 1.5rem;
}

.direction-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.direction-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.staff-directory {
    padding: 80px 0;
    background: var(--bg-primary);
}

.staff-grid { /* Added for potential multiple staff members */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.staff-member { /* Container for single staff member */
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease;
    max-width: 400px; /* Optional: Constrain width if only one */
    margin: 0 auto; /* Center if only one */
}


.staff-member:hover {
    transform: translateY(-5px);
}

.staff-photo {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.staff-photo i {
    font-size: 4rem;
    color: white;
}

.staff-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.staff-info .position {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.staff-info .contact,
.staff-info .phone {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word; /* Ensure email wraps */
}


.emergency-contact {
    padding: 80px 0;
    /* Updated with inline style */
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* Updated with inline style */
}

.emergency-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    /* Updated with inline style */
}

.emergency-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    /* Updated with inline style */
}

.emergency-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    /* Updated with inline style */
}

.emergency-number {
    text-align: center;
    /* Updated with inline style */
}

.emergency-phone {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    word-wrap: break-word; /* Ensure email wraps */
    /* Updated with inline style */
}

.emergency-number p {
    font-size: 1rem;
    opacity: 0.9;
    /* Updated with inline style */
}


/* Virtual Tour CTA */
.virtual-tour-cta {
    padding: 80px 0;
    background: var(--bg-primary);
}

.tour-benefits {
    list-style: none;
    margin: 2rem 0;
}

.tour-benefits li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.tour-benefits li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tour-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Navigation Active State */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px var(--shadow-light);
    background: var(--bg-primary);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Image Container Styles */
.image-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-light);
    background: var(--bg-primary);
    transition: box-shadow 0.3s ease;
}

.image-container:hover {
    box-shadow: 0 25px 50px var(--shadow-medium);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
    object-fit: cover;
    object-position: center;
    background-color: var(--bg-tertiary);
    /* Smooth loading */
    opacity: 0;
    animation: fadeInImage 0.5s ease forwards;
}

/* Image loading animation */
@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Preload optimization */
.image-container img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

/* High DPI display optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-container img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.image-container:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Hero Section Images */
.hero-main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
}

/* Story Section Images */
.story-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Services Section Images */
.services-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Amenities Section Images */
.amenities-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Gallery Section Images */
.gallery-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Virtual Tour Section Images */
.virtual-tour-main-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
}

/* Contact Section Images */
.contact-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 250px;
    object-fit: cover;
    object-position: center;
}

/* Responsive Image Container Styles */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .hero-main-image {
        max-height: 600px;
        min-height: 400px;
    }
    
    .virtual-tour-main-image {
        max-height: 500px;
        min-height: 350px;
    }
}

/* Desktop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .hero-main-image {
        max-height: 500px;
        min-height: 350px;
    }
    
    .virtual-tour-main-image {
        max-height: 450px;
        min-height: 320px;
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .image-container {
        border-radius: 12px;
        box-shadow: 0 15px 30px var(--shadow-light);
    }
    
    .image-container img {
        border-radius: 12px;
    }
    
    .image-caption {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
    
    .hero-main-image {
        max-height: 400px;
        min-height: 280px;
    }
    
    .story-main-image,
    .services-main-image,
    .amenities-main-image,
    .gallery-main-image,
    .contact-main-image {
        max-height: 350px;
        min-height: 220px;
    }
    
    .virtual-tour-main-image {
        max-height: 400px;
        min-height: 280px;
    }
}

/* Tablet Portrait (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .image-container {
        border-radius: 10px;
        box-shadow: 0 12px 25px var(--shadow-light);
    }
    
    .image-container img {
        border-radius: 10px;
    }
    
    .image-caption {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .hero-main-image {
        max-height: 350px;
        min-height: 250px;
    }
    
    .story-main-image,
    .services-main-image,
    .amenities-main-image,
    .gallery-main-image,
    .contact-main-image {
        max-height: 300px;
        min-height: 200px;
    }
    
    .virtual-tour-main-image {
        max-height: 350px;
        min-height: 250px;
    }
}

/* Mobile (320px - 480px) */
@media (max-width: 480px) {
    .image-container {
        border-radius: 8px;
        box-shadow: 0 8px 20px var(--shadow-light);
    }
    
    .image-container img {
        border-radius: 8px;
    }
    
    .image-caption {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    
    .hero-main-image {
        max-height: 280px;
        min-height: 200px;
    }
    
    .story-main-image,
    .services-main-image,
    .amenities-main-image,
    .gallery-main-image,
    .contact-main-image {
        max-height: 250px;
        min-height: 180px;
    }
    
    .virtual-tour-main-image {
        max-height: 280px;
        min-height: 200px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .image-container {
        border-radius: 6px;
        box-shadow: 0 6px 15px var(--shadow-light);
    }
    
    .image-container img {
        border-radius: 6px;
    }
    
    .image-caption {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .hero-main-image {
        max-height: 220px;
        min-height: 160px;
    }
    
    .story-main-image,
    .services-main-image,
    .amenities-main-image,
    .gallery-main-image,
    .contact-main-image {
        max-height: 200px;
        min-height: 140px;
    }
    
    .virtual-tour-main-image {
        max-height: 220px;
        min-height: 160px;
    }
}

/* Responsive Video Container Styles (for any remaining videos) */
@media (max-width: 768px) {
    .video-container {
        border-radius: 10px;
        box-shadow: 0 15px 30px var(--shadow-light);
    }
    
    .video-container iframe {
        border-radius: 10px;
    }
    
    .video-caption {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        border-radius: 8px;
        box-shadow: 0 10px 20px var(--shadow-light);
    }
    
    .video-container iframe {
        border-radius: 8px;
    }
    
    .video-caption {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
}

.video-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1rem;
}

.video-showcase {
    margin-bottom: 3rem;
}

.video-tour-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.video-tour-section .video-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Comprehensive Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-logo .logo-img {
        height: 45px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px; /* Adjusted based on navbar height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px); /* Adjusted based on navbar height */
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px var(--shadow-light);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 1.5rem 0;
        width: 100%; /* Make list items full width */
        padding: 0 1rem; /* Add horizontal padding */
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        width: 100%; /* Make links full width */
    }
    
    
    /* Ensure header stays visible */
    /* .header rule might not be needed if .navbar is already fixed */
    /* If you have a separate .header element, keep this */
    /* .header { 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        background: var(--bg-primary);
        box-shadow: 0 2px 10px var(--shadow-light);
    } */
    
    /* Hero Section */
    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* Amenities Grid */
    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .amenity-card {
       /* Removed padding here - added padding to content */
    }
    
    /* Adjusted from .amenity-icon to match card structure */
    .amenity-image { 
        height: 150px; /* Example reduction */
    }
    .amenity-image i {
         font-size: 2.5rem; /* Example reduction */
    }

    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3, /* Adjusted selector */
    .footer-section h4 { 
        font-size: 1.2rem;
    }
    
    /* Removed redundant rules */
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav-logo .logo-img {
        height: 40px;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Ensure header stays visible on small mobile */
    /* .header rule might not be needed if .navbar is already fixed */

    /* Hero Section */
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 200px;
        text-align: center;
        padding: 14px 24px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    /* Amenity Cards */
    .amenity-card {
       /* Removed padding here */
    }
     .amenity-image { 
        height: 120px; /* Example reduction */
    }
     .amenity-image i {
         font-size: 2rem; /* Example reduction */
    }
    .amenity-card h3 {
        font-size: 1.1rem;
        padding: 0 1rem; /* Add padding back to content */
        margin: 1rem 0 0.5rem;
    }
    
    .amenity-card p {
        font-size: 0.9rem;
         padding: 0 1rem 1rem; /* Add padding back to content */
    }
    
    /* Testimonial Cards */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card p {
        font-size: 0.95rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-section h3, /* Adjusted selector */
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}


.service-card,
.amenity-card,
.testimonial-card,
.value-card,
.team-member,
.award-item,
.detail-card,
.level-card,
.faq-item,
.feature-card,
.contact-card,
.staff-member {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .story-content,
    .tour-content, /* Applies to amenities page too */
    .contact-content { /* Applies to contact page combined section */
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tour-buttons, /* Also for amenities virtual tour btn */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-buttons,
    .tour-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn,
    .tour-nav-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .page-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
    }
    
    .level-card.featured {
        transform: none; /* Remove scaling on mobile */
    }
    
    /* Video responsive adjustments */
    .video-container {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero .video-container {
        max-width: 500px;
    }
    
    .tour-video .video-container { /* Might not be used */
        max-width: 450px;
    }
    
    .video-tour-section .video-container {
        max-width: 100%;
    }
    
    /* Contact grid responsive - Stack vertically on mobile */
    .contact-info .contact-grid { /* For contact page top cards */
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .contact-info .contact-card { /* For contact page top cards */
        padding: 1.5rem;
    }

    /* Combined contact section grid */
    .contact-main-grid { /* For contact page combined section */
         grid-template-columns: 1fr;
    }
    .contact-info-wrapper { /* Ensure correct order on mobile */
        order: 1; /* Info first */
    }
    .contact-form-wrapper {
        order: 2; /* Form second */
    }
     .contact-cards-stack .contact-card { /* Cards in combined section */
        padding: 1.5rem;
     }

}