/* Health Center Section */
.health-center-section {
    padding: 100px 0;
    background: var(--white);
}
/* Search Button Styles */
/* Advanced Search Button Styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4b896, #c8a87c);
    border: none;
    padding: 10px 16px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(212, 184, 150, 0.3);
    font-weight: 500;
}

.search-btn:hover {
    background: linear-gradient(135deg, #c8a87c, #b89870);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 184, 150, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.search-icon {
    transition: transform 0.3s ease;
}

.search-btn:hover .search-icon {
    transform: scale(1.1);
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 320px;
    z-index: 1000;
    animation: slideDown 0.3s ease;
    border: 1px solid #e0e0e0;
}

.search-form.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.search-form .search-field {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.search-form .search-field:focus {
    outline: none;
    border-color: #d4b896;
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 184, 150, 0.1);
}

.search-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: #333;
    background: #f0f0f0;
}

.search-suggestions {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.suggestion-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #555;
    padding: 4px 12px;
    margin: 4px 6px 4px 0;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.suggestion-tag:hover {
    background: #d4b896;
    color: white;
    border-color: #d4b896;
    transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-container {
        margin-left: 10px;
    }
    
    .search-btn {
        padding: 8px 12px;
    }
    
    .search-text {
        display: none;
    }
    
    .search-form {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        min-width: auto;
        border-radius: 0;
        padding: 80px 20px 20px;
    }
    
    .search-close {
        top: 20px;
        right: 20px;
        transform: none;
        background: #f8f9fa;
        padding: 8px;
    }
}
.health-center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.health-center-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.health-center-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15);
}

.health-image {
    height: 250px;
    overflow: hidden;
}

.health-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.health-center-card:hover .health-image img {
    transform: scale(1.1);
}

.health-content {
    padding: 2rem;
}

.health-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.health-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Schools Gallery Section */
.schools-gallery-section {
    padding: 100px 0;
    background: var(--background-light);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.school-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 115, 85, 0.1);
}

.school-image {
    height: 200px;
    overflow: hidden;
}

.school-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.school-card:hover .school-image img {
    transform: scale(1.05);
}

.school-info {
    padding: 1.5rem;
}

.school-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.school-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.schools-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}


.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
/* Fix for background images */
.swiper-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.hero-slider {
    height: 80vh;
    /* REMOVE THIS LINE: margin-top: 80px; */
    overflow: hidden;
}

.swiper-container, .swiper-wrapper, .swiper-slide {
    height: 100%;
}
/* Header Styles */

/* Hide/Show Header on Scroll */
.header {
	background: #212529;
	padding: 1rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-dark);
}

/* Ensure content doesn't jump */
.hero-slider {
    margin-top: 80px; /* Keep this to account for fixed header */
}

/* Optional: Add background when scrolled */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}
/* Content positioning */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Hero Slider Backgrounds */
.swiper-slide {
    background-size: cover !important;
    background-position: center !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .health-center-grid {
        grid-template-columns: 1fr;
    }
    
    .schools-grid {
        grid-template-columns: 1fr;
    }
    
    .health-content, .school-info {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}