:root {
    --primary: #8D84D7;
    --secondary: #3DDCC0;
    --accent: #66ccff;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Custom Styles */
.bg-primary-custom {
    background-color: var(--primary);
}

.bg-secondary-custom {
    background-color: var(--secondary);
}

.bg-light-custom {
    background-color: #f8f9fa;
}

.text-primary-custom {
    color: var(--primary);
}

.text-secondary-custom {
    color: var(--secondary);
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary-custom:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-outline-primary-custom {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary);
    color: white;
}

header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 50px;
}
/* Hero Section Styles */
.hero-section {
    background: url('../img/hero-bg.jpg') no-repeat center center/cover;
    padding: 120px 0;
    color: white;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section h2 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 80px 0;
    }
    
    .hero-section h2 {
        font-size: 2.5rem;
    }
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    color: white;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

/* For animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Doctor Gallery Styles */
.doctor-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.doctor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 280px; /* Reduced from 300px to bring name and position closer */
}

.doctor-img-container {
    width: 150px;
    height: 150px;
    margin-bottom: 10px; /* Reduced from 15px */
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.doctor-info {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Changed from space-between to center */
    width: 100%;
    padding: 0 10px;
}

.doctor-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

.doctor-position {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-top: 0; /* Added to reduce space */
}

/* Map Container */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1200px) {
    .doctor-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .doctor-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .doctor-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .doctor-gallery {
        grid-template-columns: 1fr;
    }
    
    .doctor-card {
        min-height: 250px;
    }
}