/* Custom CSS for Hithalaya website */

/* Service Grid Styles */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-item {
    border: 2px solid var(--teal);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 200px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--indigo);
    background-color: rgba(75, 0, 130, 0.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-weight: bold;
    color: var(--indigo);
    margin-bottom: 10px;
    font-size: 18px;
}

.service-description {
    font-size: 14px;
    color: #8B4513; /* Brick brown */
    flex-grow: 1;
}

.service-learn-more {
    margin-top: 15px;
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--teal);
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.service-learn-more:hover {
    background-color: var(--indigo);
    color: white;
}

/* Coming Soon Banner */
.coming-soon-banner {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
}

.coming-soon-container {
    margin-bottom: 30px;
    padding: 20px;
}

.hero-tagline {
    font-size: 32px;
    color: var(--indigo);
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Hotline Styles */
.hotline-button {
    display: inline-flex;
    align-items: center;
    background-color: #e41c23;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 15px;
    box-shadow: 0 2px 10px rgba(228, 28, 35, 0.3);
}

.hotline-button:hover {
    background-color: #c01017;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 28, 35, 0.4);
}

.hotline-button i {
    margin-right: 5px;
    font-size: 18px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    margin-right: 12px;
}

/* Section Headers */
.service-section-header {
    color: var(--indigo);
    border-bottom: 2px solid var(--teal);
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Page Headers */
.page-header {
    background: linear-gradient(to right, var(--indigo), var(--teal));
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
    text-align: center;
}

.page-header h1 {
    font-weight: bold;
    font-size: 36px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 18px;
    margin-top: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-radius: 10px;
    min-width: 200px;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 8px 20px;
    color: var(--indigo);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: rgba(0, 128, 128, 0.1);
    color: var(--indigo);
}

.nav-item.dropdown {
    position: relative;
}

/* Call to Action */
.cta-section {
    background-color: rgba(75, 0, 130, 0.1);
    padding: 40px 0;
    border-radius: 10px;
    margin: 40px 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--indigo);
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-content p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--teal);
    color: white;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.3);
}

.cta-button:hover {
    background-color: var(--indigo);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(75, 0, 130, 0.3);
}

/* Info Cards */
.info-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-top: 5px solid var(--teal);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: var(--indigo);
    margin-bottom: 15px;
    font-weight: bold;
}

.info-card p {
    color: #8B4513; /* Brick brown */
    margin-bottom: 0;
}

/* Footer Enhancements */
#footer {
    background: linear-gradient(to right, var(--indigo), #2c0152);
}

#footer .footer-info h3 {
    color: var(--light-teal);
}

#footer .social-links a,
#footer .social-icons-container a {
    margin-right: 15px;
    transition: all 0.3s ease;
}

#footer .social-links a:hover,
#footer .social-icons-container a:hover {
    transform: translateY(-3px);
}

.social-icon {
    width: 35px;
    height: 35px;
    margin: 0 8px;
}

.social-icons-container {
    display: flex;
    margin-top: 15px;
}

.qr-code {
    width: 180px;
    margin-top: 15px;
}

/* Our Services Section */
.our-services {
    background-color: #f8f9fa;
}

.service-category-box {
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
    background-color: white;
}

.service-category-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--teal) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-category-box:hover:before {
    opacity: 0.9;
}

.service-category-box h3 {
    color: var(--indigo);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 26px;
    position: relative;
    transition: all 0.3s ease;
}

.service-category-box p {
    color: #8B4513; /* Brick brown */
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-category-box:hover h3,
.service-category-box:hover p,
.service-category-box:hover .service-highlights ul li {
    color: white;
}

.service-highlights ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    columns: 2;
}

.service-highlights ul li {
    padding: 6px 0;
    color: #4B0082; /* Indigo */
    transition: all 0.3s ease;
}

.service-highlights ul li i {
    color: var(--teal);
    margin-right: 8px;
    transition: all 0.3s ease;
}

.service-category-box:hover .service-highlights ul li i {
    color: #85FAE5;
}

.service-category-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--teal);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--teal);
}

.service-category-box:hover .service-category-link {
    background-color: transparent;
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

.restorative-care {
    border-top: 5px solid var(--indigo);
}

.transition-care {
    border-top: 5px solid var(--teal);
}

/* Google Map Section */
.map-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--teal);
}

.map-info-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    border-top: 5px solid var(--indigo);
    border-bottom: 5px solid var(--teal);
}

.location-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.location-icon {
    font-size: 28px;
    color: var(--teal);
    margin-right: 15px;
    background-color: rgba(0, 128, 128, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info-card h3 {
    color: var(--indigo);
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 24px;
}

.address-text {
    color: #4B0082; /* Indigo */
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 10px;
    border-left: 3px solid var(--teal);
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.scan-hint {
    margin-top: 10px;
    font-size: 14px;
    color: var(--indigo);
    font-style: italic;
}

.btn-get-directions {
    background-color: var(--teal);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-get-directions:hover {
    background-color: var(--indigo);
    color: white;
    transform: translateY(-2px);
}

.btn-get-directions i {
    margin-right: 8px;
}

.qr-code-small {
    width: 120px;
    margin-top: 10px;
}

.scan-option p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Header Social Icons */
.header-social-icons {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.header-social-icon {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.header-social-icon:hover {
    transform: translateY(-3px);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    line-height: 60px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-widget:hover {
    background-color: #20BA5C;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Scroll Progress Indicator */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #f0f0f0;
    z-index: 999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--indigo), var(--teal));
    width: 0%;
}

/* Healthcare Image Collage */
.healthcare-collage {
    margin: 20px 0;
}

.collage-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.collage-row {
    display: flex;
    gap: 15px;
}

.collage-item {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.collage-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

/* Media Queries */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .hotline-button {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .collage-row {
        flex-direction: column;
    }
    
    .collage-item img {
        height: 180px;
    }
}