/* Variables & Root Styles */
:root {
    --primary-navy: #00238C;
    --primary-orange: #FF4500;
    --primary-cyan: #00B4DB;
    --primary-gold: #FFD700;
    --primary-deep-blue: #001450;
    --white-transparent: rgba(255, 255, 255, 0.15);
    --dark-transparent: rgba(0, 0, 0, 0.6);
    --card-blur: 10px;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --gradient-bg: linear-gradient(135deg, var(--primary-navy), var(--primary-deep-blue));
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: white;
    background: var(--gradient-bg);
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
}


.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 3.5rem;
    text-shadow: var(--text-shadow);
}

h2 {
    font-size: 2.8rem;
    text-shadow: var(--text-shadow);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #001a6e 0%, #000b3a 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-cross {
    position: relative;
    width: 50px;
    height: 70px;
    animation: crossPulse 2s ease-in-out infinite;
}

.cross-vertical {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 70px;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-gold));
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
}

.cross-horizontal {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 12px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-gold));
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
}

.loader-ring {
    width: 100px;
    height: 100px;
    border: 3px solid transparent;
    border-top-color: var(--primary-orange);
    border-bottom-color: var(--primary-gold);
    border-radius: 50%;
    position: absolute;
    animation: spin 1.5s linear infinite;
}

.loader-text {
    margin-top: 55px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes crossPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.3); }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Top Banner */
.top-banner {
    background: linear-gradient(90deg, var(--primary-orange), #FF6E40, var(--primary-orange));
    background-size: 200% 100%;
    animation: bannerGradient 4s ease infinite;
    color: white;
    padding: 0.6rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    overflow: hidden;
}

@keyframes bannerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 25s linear infinite;
}

.scrolling-text span {
    display: inline-block;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.header {
    position: fixed;
    top: 2.2rem; /* Adjust this value based on the banner height */
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(0, 20, 80, 0.95);
    backdrop-filter: blur(var(--card-blur));
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.header.scrolled {
    height: 70px;
    background: rgba(0, 20, 80, 0.98);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-container {
    height: 80px; /* Increase from current size */
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 2px;
    transition: all var(--transition-speed);
}

.logo-link:hover {
    border-color: var(--primary-cyan);
    transform: scale(1.05);
}

.logo-img {
    height: 100%;
    width: auto;
    max-height: 70px; /* Add this to control maximum size */
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px rgba(0, 180, 219, 0.5));
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all var(--transition-speed);
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all var(--transition-speed);
    transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.menu-bar {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu.active .menu-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .menu-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Hero Slider Container System - Complete Rewrite */
.hero-slider-wrapper {
    width: 100%;
    position: relative;
    margin-top: calc(var(--header-height) + 2.2rem); /* Account for navbar + banner height */
    padding: 0;
    overflow: hidden;
}

/* Hero Slider with Aspect Ratio Control */
.hero-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio container */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Slider Container */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Slide Base Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease;
    z-index: 1;
    overflow: hidden;
}

/* Active Slide */
.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

/* Previous Slide */
.slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

/* Slide Overlay Gradient */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 20, 80, 0.8), rgba(0, 20, 80, 0.4) 50%, rgba(0, 20, 80, 0.2) 100%);
    z-index: 1;
}

/* Image Handling for Large Images */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Center focus point of image */
    display: block; /* Remove default spacing */
    vertical-align: middle; /* Fix small gaps in some browsers */
    transform: scale(1.01); /* Slight scale to prevent edge flickering */
}

/* Slide Content Positioning and Styling */
.slide-content {
    position: absolute;
    bottom: 15%; /* Position in lower third instead of center */
    left: 50%;
    transform: translateX(-50%); /* Only transform X axis */
    text-align: center;
    z-index: 3;
    width: 80%; /* More rectangular */
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker background */
    padding: 1.5rem 2rem; /* Reduced vertical padding */
    border-radius: 8px; /* Slightly reduced border radius */
    backdrop-filter: blur(5px);
    border: 1px solid var(--white-transparent);
}

.slide-content h1 {
    font-size: 2.8rem; /* Slightly smaller font */
    color: white;
    margin-bottom: 1rem; /* Reduced margin */
    text-shadow: var(--text-shadow);
}

.slide-content p {
    font-size: 1.2rem; /* Slightly smaller font */
    color: white;
    margin-bottom: 1.5rem; /* Reduced margin */
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 4;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
@media (max-width: 768px) {
  .slide-content {
    display: none; /* This will completely hide the slide content */
  }
  
  /* Also adjust the slider navigation to move it up slightly since no content box is there */
  .slider-navigation {
    bottom: 40px;
  }
}
.slider-arrow:hover {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-orange);
    transform: scale(1.3);
}

/* Responsive Adaptations */
@media (min-width: 1600px) {
    /* For very large screens, limit aspect ratio height */
    .hero-slider {
        padding-bottom: 40%; /* Shorter aspect ratio for ultra-wide screens */
    }
}

@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    
    .slide-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    /* Adjust to 3:2 aspect ratio for tablets */
    .hero-slider {
        padding-bottom: 66.67%;
    }
    
  
}

    
    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
}




/* Welcome Section */
.welcome-section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}
@media (max-width: 992px) {
    .hero-slider {
        padding-bottom: 66.67%; /* 3:2 aspect ratio for tablets */
    }
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        margin-top: calc(var(--header-height) + 2.2rem - 10px);
    }
    
    .hero-slider {
        padding-bottom: 75%; /* 4:3 aspect ratio for mobile */
    }
}
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern-bg.png');
    opacity: 0.05;
    z-index: -1;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    color: var(--primary-orange);
    text-shadow: var(--text-shadow);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.welcome-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.welcome-text {
    max-width: 800px;
    text-align: center;
}

.welcome-text p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Service Times Section */
.service-times {
    padding: 6rem 2rem;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.schedule-card {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--box-shadow);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.schedule-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
}

.schedule-card:hover::before {
    transform: scaleX(1);
}

.schedule-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
    transition: all 0.3s ease;
}

.schedule-card:hover i {
    transform: scale(1.2);
}

.schedule-card h3 {
    color: white;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.schedule-card p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.1rem;
}

.service-type {
    display: inline-block;
    background: var(--primary-orange);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.sunday {
    border: 2px solid var(--primary-orange);
    background: rgba(255, 69, 0, 0.2);
}

/* Location Section */
.location {
    padding: 6rem 2rem;
    position: relative;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.address-card {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.address-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.address-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.address-card p {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.address-card .btn {
    margin-top: 2rem;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white-transparent);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Quick Contact */
.quick-contact {
    padding: 5rem 2rem;
    background: rgba(0, 20, 80, 0.5);
    backdrop-filter: blur(var(--card-blur));
    position: relative;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern-bg.png');
    opacity: 0.05;
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-card {
    /* Maintain existing styles */
    text-align: center;
    padding: 2rem;
    background: var(--white-transparent);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    /* Add these properties to handle overflow */
    word-wrap: break-word;     /* Break long words if needed */
    overflow-wrap: break-word; /* Modern browsers */
    hyphens: auto;             /* Add hyphens if necessary */
    max-width: 100%;           /* Ensure max width is respected */
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.1);
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    
    /* Add these properties to ensure text stays within container */
    word-break: break-word;    /* Break words at any character if needed */
    white-space: normal;       /* Allow normal wrapping */
    overflow: hidden;          /* Hide any overflow */
    text-overflow: ellipsis;   /* Add ellipsis for any still-overflowing text */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .contact-card p {
        font-size: 1rem; /* Slightly smaller font on mobile */
    }
}

@media (max-width: 576px) {
    .contact-grid {
        gap: 1.5rem; /* Reduce gap between cards on very small screens */
    }
    
    .contact-card {
        padding: 1.5rem 1rem; /* Reduce padding for more space */
    }
}

/* Footer */
.footer {
    background: var(--primary-deep-blue);
    padding: 5rem 2rem 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-orange);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary-orange);
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary-orange);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.social-links a:hover {
    color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-8px);
    background: var(--primary-cyan);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--primary-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary-orange);
    color: white;
}

.btn-outline:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Animation Utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-left {
    animation: slideInLeft 1s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 1s ease;
}

/* Gallery Page Styles */
.gallery-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 35, 140, 0.7), rgba(0, 35, 140, 0.8)), url('img/gallery-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: var(--header-height);
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow);
}

.services-hero p {
    font-size: 1.5rem;
    max-width: 700px;
}

.services-section {
    padding: 5rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Contact Page Styles */
.contact-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 35, 140, 0.7), rgba(0, 35, 140, 0.8)), url('img/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: var(--header-height);
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow);
}

.contact-hero p {
    font-size: 1.5rem;
    max-width: 700px;
}

.contact-section {
    padding: 5rem 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 2rem;
    position: relative;
}

.contact-info h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary-orange);
    position: absolute;
    bottom: -10px;
    left: 0;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-detail i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail div h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-detail div p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Account Info Box */
.account-info {
    background: linear-gradient(45deg, var(--primary-deep-blue), var(--primary-navy));
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 4rem auto;
    max-width: 800px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border: 1px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
}

.account-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/pattern-bg.png');
    opacity: 0.05;
    z-index: 0;
}

.account-info h3 {
    color: var(--primary-orange);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.account-info h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary-orange);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.account-details {
    margin-top: 2rem;
    z-index: 1;
    position: relative;
}

.account-details p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.account-number {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 5px;
    display: inline-block;
    margin: 0.5rem 0;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    font-family: monospace;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .header {
        height: 70px;
    }
    
    .logo-container {
        height: 50px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--primary-deep-blue);
        padding: 1rem 0;
        gap: 0;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-item {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item::after {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-slider {
        height: 70vh;
        margin-top: 70px;
    }
    
  
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .slider-navigation {
        bottom: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .services-hero h1,
    .gallery-hero h1,
    .contact-hero h1,
    .about-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .welcome-section,
    .service-times,
    .location,
    .quick-contact,
    .services-section,
    .about-section,
    .gallery-section,
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .address-card,
    .contact-form,
    .contact-info {
        padding: 2rem 1.5rem;
    }
    
    .account-info {
        padding: 2rem 1.5rem;
    }
    
    .account-number {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
};


.gallery-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow);
}

.gallery-hero p {
    font-size: 1.5rem;
    max-width: 700px;
}

.gallery-section {
    padding: 5rem 2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-orange);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 300px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-info {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    bottom: 0;
}

.gallery-item-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}



/* Gallery Highlights Section */
.gallery-highlights {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.gallery-preview {
    margin: 2rem 0;
}

.gallery-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-preview-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
}

.gallery-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.1);
}

.gallery-preview-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-preview-item:hover .overlay {
    opacity: 1;
}

.gallery-preview-item .overlay h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
    }
    
    .gallery-preview-item {
        margin-bottom: 20px;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    border: none;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}
.whatsapp-button img {
    width: 40px;
    height: 40px;
}
.whatsapp-button:hover {
    background-color: #1DA851;
}
/* About G.O Page Styles */
.about-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 35, 140, 0.7), rgba(0, 35, 140, 0.8)), url('img/about-hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: var(--header-height);
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow);
}

.about-hero p {
    font-size: 1.5rem;
    max-width: 700px;
}

.about-section {
    padding: 5rem 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    color: var(--primary-orange);
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary-orange);
    position: absolute;
    bottom: -10px;
    left: 0;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.highlight-item i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Services Page Styles */
.services-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(0, 35, 140, 0.7), rgba(0, 35, 140, 0.8)), url('img/services-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: var(--header-height);
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow);
}

.services-hero p {
    font-size: 1.5rem;
    max-width: 700px;
}

.services-section {
    padding: 5rem 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Additional Page Styles for Special Programs Section */
.special-programs {
    background: rgba(0, 35, 140, 0.1);
    padding: 5rem 2rem;
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0, 20, 80, 0.8), rgba(0, 20, 80, 0.9)), url('img/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonial-slider {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.testimonial-slide {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 1s ease;
}

.testimonial-content {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-orange);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-orange);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

/* Events Page Styles */
.events-section {
    padding: 5rem 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.event-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.event-content {
    padding: 2rem;
}

.event-content h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.event-details {
    margin-bottom: 1.5rem;
}

.event-detail {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.event-detail i {
    color: var(--primary-orange);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

/* Media Queries for Events Section */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Prayer Request Form Styles */
.prayer-request-section {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0, 20, 80, 0.7), rgba(0, 20, 80, 0.8)), url('img/prayer-bg.jpg');
    background-size: cover;
    background-position: center;
}

.prayer-request-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-transparent);
    backdrop-filter: blur(var(--card-blur));
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Fix for missing mobile styles */
@media (max-width: 576px) {
    /* Additional mobile tweaks */
 
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-detail i {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .testimonial-slide {
        padding: 2rem 1.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 1rem;
        height: auto;
    }
    .logo-container {
        margin-bottom: 10px;
        height: 70px;
    }
    
    /* Horizontal menu for mobile */
    .nav-links {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        background: transparent;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        padding: 5px 0;
    }
    
    .nav-links li {
        width: auto;
    }
    
    .nav-item {
        padding: 8px 10px;
        font-size: 0.9rem;
        border-bottom: none;
    }
    
    /* Hide the hamburger menu as it's no longer needed */
    .mobile-menu {
        display: none;
    }
    
    /* Adjust header height to accommodate the horizontal menu */
    .header {
        height: auto;
        min-height: 130px;
    }
    
    /* Adjust the margin for content below header */
    .hero-slider-wrapper {
        margin-top: calc(var(--header-height) + 2.2rem + 30px);
    }
    .hero-slider {
        min-height: 450px;
    }
}
/* Improved Responsive Styles for About-GO page */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: var(--border-radius);
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .highlight-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 80px; /* Account for the new header layout */
    }
    
    .about-image {
        max-width: 100%;
        height: auto;
    }
    
    .about-image img {
        max-height: 450px;
        object-fit: cover;
    }
    
    .nav-container {
        flex-direction: column;
        padding: 10px 1rem;
        height: auto;
    }
    
    .logo-container {
        margin-bottom: 10px;
        height: 70px;
    }
    
    /* Horizontal menu for mobile - MODIFIED FOR SINGLE ROW */
    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap; /* Changed from wrap to nowrap */
        justify-content: space-between; /* Changed from center to space-between */
        gap: 0; /* Removed gap */
        background: transparent;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        padding: 5px 0;
    }
    
    .nav-links li {
        width: auto;
        flex: 1; /* Make each item take equal width */
    }
    
    .nav-item {
        padding: 8px 5px; /* Reduced horizontal padding */
        font-size: 0.8rem; /* Reduced font size slightly */
        text-align: center; /* Center text */
        border-bottom: none;
        display: block; /* Ensure block display for full clickable area */
    }
    
    /* Hide the hamburger menu as it's no longer needed */
    .mobile-menu {
        display: none;
    }
    
    /* Adjust header height to accommodate the horizontal menu */
    .header {
        height: auto;
        min-height: 130px;
    }
    
    /* Adjust the margin for content below header */
    .hero-slider-wrapper {
        margin-top: calc(var(--header-height) + 2.2rem + 30px);
    }
}
/* Animation keyframes and utility classes */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Initial state for animated sections */
  .welcome-section, .service-times, .gallery-highlights, 
  .account-info, .location, .quick-contact {
    opacity: 0;
    transition: all 0.8s ease-out;
  }
  
  /* Animation styles for different sections */
  .welcome-section.animate-in {
    animation: fadeInUp 1s ease forwards;
  }
  
  .service-times.animate-in {
    animation: scaleIn 1s ease forwards;
  }
  
  .gallery-highlights.animate-in {
    animation: fadeInRight 1s ease forwards;
  }
  
  .account-info.animate-in {
    animation: fadeInLeft 1s ease forwards;
  }
  
  .location.animate-in {
    animation: fadeInUp 1s ease forwards;
  }
  
  .quick-contact.animate-in {
    animation: scaleIn 1s ease forwards;
  }
  
  /* Add animations for child elements with staggered delay */
  .service-times.animate-in .schedule-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .service-times.animate-in .schedule-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .service-times.animate-in .schedule-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .service-times.animate-in .schedule-card:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .service-times.animate-in .schedule-card:nth-child(4) {
    animation-delay: 0.4s;
  }
  
  .service-times.animate-in .schedule-card:nth-child(5) {
    animation-delay: 0.5s;
  }
  
  .gallery-highlights.animate-in .gallery-preview-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .gallery-highlights.animate-in .gallery-preview-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .gallery-highlights.animate-in .gallery-preview-item:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .gallery-highlights.animate-in .gallery-preview-item:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .quick-contact.animate-in .contact-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .quick-contact.animate-in .contact-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .quick-contact.animate-in .contact-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .quick-contact.animate-in .contact-card:nth-child(3) {
    animation-delay: 0.3s;
  }
/* Add additional styles for very small screens */
@media (max-width: 380px) {
    .nav-item {
        font-size: 0.7rem; /* Further reduce font size for very small screens */
        padding: 8px 2px; /* Minimum padding */
    }
}


@media (max-width: 576px) {
    .about-hero {
        min-height: 300px;
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .about-image {
        height: auto;
        max-height: 350px;
    }
    
    .about-image img {
        height: auto;
        max-height: 350px;
    }
    
    .about-highlights .highlight-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.8rem;
    }
    
    .about-highlights .highlight-item i {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
}

/* ===== FANCY ENHANCEMENTS ===== */

/* Particles Canvas */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Shimmer Gradient Section Titles */
.section-title {
    background: linear-gradient(
        90deg,
        var(--primary-orange) 0%,
        var(--primary-gold) 25%,
        var(--primary-orange) 50%,
        var(--primary-gold) 75%,
        var(--primary-orange) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.section-title::after {
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-gold), var(--primary-orange));
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Glowing Pulse Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-orange), #ff6b35);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-cyan), #00d4ff);
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.5), 0 0 40px rgba(0, 180, 219, 0.2);
}

.btn-outline {
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-outline:hover::before {
    left: 100%;
}

/* Animated Gradient Borders on Cards */
.schedule-card,
.contact-card,
.service-card,
.address-card {
    position: relative;
    border: none;
    background-clip: padding-box;
}

.schedule-card::after,
.contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.3), rgba(0, 180, 219, 0.3), rgba(255, 215, 0, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
    transition: all 0.4s ease;
}

.schedule-card:hover::after,
.contact-card:hover::after {
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-cyan), var(--primary-gold), var(--primary-orange));
    background-size: 300% 300%;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 3D Tilt Hover Effect */
.schedule-card:hover,
.contact-card:hover,
.gallery-preview-item:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
}

/* Icon Float Animation on Cards */
.schedule-card i,
.contact-card i {
    transition: all 0.4s ease;
}

.schedule-card:hover i,
.contact-card:hover i {
    transform: scale(1.2) translateY(-5px);
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.6), 0 0 40px rgba(255, 69, 0, 0.3);
}

/* Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

/* WhatsApp Button Pulse */
.whatsapp-button {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-button:hover {
    transform: scale(1.15) rotate(-5deg);
    animation: none;
}

/* Back to Top Fancy */
.back-to-top {
    background: linear-gradient(135deg, var(--primary-orange), #ff6b35);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--primary-cyan), #00d4ff);
    box-shadow: 0 0 20px rgba(0, 180, 219, 0.5);
}

/* Typing Cursor for Hero */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: white;
    margin-left: 5px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Gallery Preview Fancy Overlay */
.gallery-preview-item .overlay {
    background: linear-gradient(transparent 0%, rgba(0, 35, 140, 0.85) 100%);
    transform: translateY(100%);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-preview-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-preview-item .overlay h3 {
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-preview-item:hover .overlay h3 {
    transform: translateY(0);
}

/* Gallery Preview Items - Clickable Cursor */
.gallery-preview-item {
    cursor: pointer;
}

/* Fancy Footer Enhancements */
.footer::before {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-cyan), var(--primary-gold), var(--primary-orange));
    background-size: 300% 100%;
    animation: gradientBorder 4s linear infinite;
}

.footer-section ul li a {
    position: relative;
}

.footer-section ul li a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--primary-orange);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links Fancy Hover */
.social-links a:hover {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
}

/* Account Info Fancy */
.account-info {
    border: none;
    position: relative;
}

.account-info::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-gold), var(--primary-cyan));
    background-size: 200% 200%;
    animation: gradientBorder 4s ease infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* Smooth Page Transitions */
body {
    animation: pageLoad 0.8s ease;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header Glassmorphism Enhancement */
.header {
    background: rgba(0, 20, 80, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(0, 15, 60, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav Item Fancy Hover */
.nav-item:hover,
.nav-item.active {
    background: rgba(255, 69, 0, 0.1);
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

/* Map Container Glow */
.map-container {
    transition: all 0.4s ease;
}

.map-container:hover {
    box-shadow: 0 0 30px rgba(0, 180, 219, 0.2), var(--box-shadow);
}

/* Service Type Badge Fancy */
.service-type {
    background: linear-gradient(135deg, var(--primary-orange), #ff6b35);
    transition: all 0.3s ease;
}

.schedule-card:hover .service-type {
    background: linear-gradient(135deg, var(--primary-cyan), #00d4ff);
    box-shadow: 0 5px 20px rgba(0, 180, 219, 0.4);
}

/* Gallery Highlights Background Fancy */
.gallery-highlights {
    background: linear-gradient(135deg, rgba(0, 35, 140, 0.3) 0%, rgba(0, 20, 80, 0.5) 100%);
}

/* Welcome Section Decorative Elements */
.welcome-section::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Smooth Scroll Reveal Enhancements */
.welcome-section, .service-times, .gallery-highlights,
.account-info, .location, .quick-contact {
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Church Name Glow Effect in Header */
.church-name span {
    transition: all 0.3s ease;
}

.logo-container:hover .church-name span {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 1px 1px 2px rgba(0,0,0,0.7);
}