/* Hero Section Styles */
.hero-section {
    position: relative;
    margin: 0 20px;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.hero-background {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 182, 222, 0.1) 0%, rgba(118, 184, 42, 0.1) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 0 30px 30px 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-right: 2rem;
    padding-left: 1rem;
}

.hero-welcome {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #00B6DE;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 45px;
}

.hero-welcome::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: #00B6DE;
    transform: translateY(-50%);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00B6DE;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-text {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.hero-buttons .btn {
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: #00B6DE;
    border-color: #00B6DE;
    box-shadow: 0 4px 15px rgba(0, 182, 222, 0.2);
}

.hero-buttons .btn-primary:hover {
    background: #0095b7;
    border-color: #0095b7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 182, 222, 0.3);
}

.hero-buttons .btn-outline-primary {
    color: #00B6DE;
    border-color: #00B6DE;
}

.hero-buttons .btn-outline-primary:hover {
    background: #00B6DE;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 182, 222, 0.2);
}

.hero-image {
    position: relative;
    z-index: 1;
    max-width: 450px;
    margin: 0 auto;
}

.hero-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 6px solid #fff;
    max-height: 450px;
    object-fit: cover;
    width: 100%;
    border-radius: 20px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: #00B6DE;
    margin-bottom: 1rem;
}

/* Services Section Styles */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00B6DE, #76B82A);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
    transform: rotate(-10deg);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(0deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #00B6DE;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #76B82A;
    text-decoration: none;
}

.service-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Contact and Map Section */
.contact-map-section {
    background-color: #f8f9fa;
}

.contact-info {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

.contact-info .info-item {
    margin-bottom: 1.5rem;
}

.contact-info .info-item:last-child {
    margin-bottom: 0;
}

.contact-info h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact-info h5 {
    color: #555;
    font-size: 1rem;
    font-weight: 600;
}

.contact-info p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-info a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color) !important;
}

.contact-info .hours-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    filter: contrast(1.1) saturate(1.2);
}

.info-item h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.info-item h4 i {
    color: var(--primary-color);
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.info-item .hours-group h5 {
    font-size: 0.95rem;
    color: #444;
}

.info-item .hours-group p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-item .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.info-item .btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.info-item .btn i {
    font-size: 1rem;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.author-avatar span {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Modern Footer Styles */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #1a1a1a 100%);
    color: #fff;
    margin-top: 4rem;
}

.footer-waves {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-content {
    background-color: #1a1a1a;
    padding: 80px 0 40px;
    position: relative;
}

.footer-logo h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-logo .tagline {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.about-text {
    color: #999;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
}

.contact-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item p, 
.contact-item a {
    color: #999;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.clinic-hours-widget h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.clinic-hours-widget h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.timing-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.timing-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timing-item .day {
    color: #fff;
    font-weight: 500;
}

.timing-item .hours {
    color: #999;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.emergency-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-badge i {
    font-size: 2rem;
    color: var(--primary-color);
}

.emergency-badge span {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.emergency-badge a {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.emergency-badge a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: #111;
    padding: 1.5rem 0;
    text-align: center;
}

.copyright {
    color: #999;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00B6DE 0%, #76B82A 100%);
    color: #fff;
    padding: 4rem 0;
    border-radius: 10px;
    margin: 2rem 1rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: #fff;
    color: #00B6DE;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        margin: 0 10px;
        margin-top: 1.5rem;
    }

    .hero-background {
        padding: 30px 0;
        border-radius: 20px;
    }

    .hero-content {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-welcome {
        padding-left: 0;
    }

    .hero-welcome::before {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
    }

    .hero-image img {
        max-height: 350px;
        border-radius: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .footer-waves {
        top: -50px;
    }

    .footer-content {
        padding: 60px 0 30px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .info-item.d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .info-item .btn {
        width: 100%;
    }

    .testimonial-card {
        margin-bottom: 2rem;
    }

    .footer-waves {
        display: none;
    }

    .site-footer {
        margin-top: 2rem;
    }

    .footer-widget {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-item i {
        margin-bottom: 0.5rem;
    }

    .clinic-hours-widget h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .timing-item {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        margin: 0 5px;
        margin-top: 1rem;
    }

    .hero-background {
        padding: 25px 0;
        border-radius: 15px;
    }

    .hero-buttons .btn-outline-primary {
        margin-top: 1rem;
        margin-left: 0 !important;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}