/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar Styles */
.topBar {
    background-color: #0056b3; /* Darker blue for better contrast */
    color: #ffffff;
    padding: 0.3rem 0;
    font-size: 0.9rem;
    top: 0;
    width: 100%;
    z-index: 1000;
    position: relative;
}

.topBarPort {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.topTools {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.btIconWidget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btIconWidgetIcon {
    color: #ffffff;
}

.btIconWidgetContent {
    display: flex;
    flex-direction: column;
}

.btIconWidgetTitle {
    font-weight: 600;
}

.btIconWidgetText {
    font-size: 0.7rem;
    white-space: nowrap;
    color: #ffffff;
}

.bt_button_widget {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.bt_button_widget:hover {
    opacity: 0.9;
    color: #ffffff;
}

.bt_bb_button_text {
    color: #ffffff;
    font-weight: 600;
}

/* Ensure phone number is clearly visible */
.bt_button_widget .bt_bb_button_text {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Add hover effect for better interaction */
.btIconWidget:hover .btIconWidgetTitle,
.btIconWidget:hover .btIconWidgetText {
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .topTools {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .topBar {
        display: none;
    }
    header {
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        border-bottom: 1px solid #f0f0f0;
        height: 60px;
    }
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0.7rem;
        height: 60px;
        background: #fff;
        margin: 0 !important;
    }
    .logo img {
        height: 28px;
        display: block;
        margin: 0;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    .language-switcher {
        display: flex;
        gap: 0.15rem;
        background: #f7f7f7;
        border-radius: 20px;
        padding: 2px 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }
    .flag-icon {
        width: 18px !important;
        height: 18px !important;
        border-radius: 50%;
        border: 2px solid transparent;
        transition: border 0.2s;
        background: #fff;
    }
    .language-btn.active .flag-icon {
        border: 2px solid #1a8e9b;
        box-shadow: 0 0 4px #1a8e9b33;
    }
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: #fff;
        border: 1.5px solid #e0e0e0;
        border-radius: 8px;
        margin-left: 10px;
        cursor: pointer;
        z-index: 1100;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
        transition: box-shadow 0.2s, border 0.2s;
    }
    .mobile-menu-btn:hover, .mobile-menu-btn:active {
        box-shadow: 0 2px 8px rgba(26,142,155,0.10);
        border: 1.5px solid #1a8e9b;
        background: #f0fafd;
    }
    .mobile-menu-btn .bar {
        display: block;
        width: 24px;
        height: 3px;
        background: #333;
        margin: 3px 0;
        border-radius: 2px;
        padding: 0;
        transition: all 0.3s;
    }
    .nav-right, .social-icons, .btn-primary {
        display: none !important;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1200;
    }
    .nav-links.active {
        display: flex !important;
    }
    /* Only hide .btn-primary in nav-right (header), not globally */
    nav .btn-primary, .nav-right .btn-primary {
        display: none !important;
    }
    /* Ensure .btn-primary in hero section is visible */
    #hero .btn-primary, .hero-content .btn-primary {
        display: inline-block !important;
    }
    /* Ensure form submit button is visible */
    #appointment-form .btn-primary {
        display: inline-block !important;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.5rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .btn-primary {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header.nav-collapsed {
    transform: translateY(-100%);
}

header.nav-expanded {
    transform: translateY(0);
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    position: relative;
    z-index: 1000;
}

.logo {
    flex-shrink: 0;
    margin-right: 2rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-right: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    justify-content: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0056b3;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-left: 2rem;
}

.language-switcher {
    background: #f7f7f7;
    border-radius: 24px;
    padding: 2px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    gap: 0.25rem;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    padding: 0;
}

.language-btn .flag-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    display: block;
}

.language-btn.active {
    border: 2.5px solid #1a8e9b;
    box-shadow: 0 0 8px #1a8e9b33;
    background: #e6fafd;
}

.language-btn:hover:not(.active) {
    border: 2px solid #b2e4ef;
    background: #f0fafd;
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #0056b3;
}

.btn-primary {
    background-color: #0056b3;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin-left: 1rem;
}

.btn-primary:hover {
    background-color: #003d82;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.bar {
    display: block;
    width: 24px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    border-radius: 2px;
    padding: 0;
    transition: all 0.3s;
}

/* Hero Section */
#hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.carousel-slide.active img {
    filter: brightness(1);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content h1 .highlight {
    color: #1a8e9b;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Carousel Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero {
        height: auto;
        min-height: 70vh;
        padding: 80px 5%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-dots {
        bottom: 1.5rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: 65vh;
        padding: 60px 5%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .carousel-dots {
        bottom: 1rem;
    }
}

/* Services Section */
#services {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a8e9b;
    position: relative;
    padding-bottom: 20px;
}

#services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #1a8e9b;
}

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

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

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

.service-card i {
    font-size: 2.5rem;
    color: #1a8e9b;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

/* About Section */
#about {
    padding: 5rem 5%;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features-list i {
    color: #1a8e9b;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Testimonials Section */
#testimonials {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

#testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a8e9b;
    position: relative;
    padding-bottom: 20px;
}

#testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #1a8e9b;
}

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

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patient-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Section Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.contact-info h2 {
    color: #007bff;
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #007bff;
}

.contact-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-right: 10px;
    font-weight: 500;
}

.contact-link:hover {
    color: #007bff;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-link {
    color: #25D366;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.whatsapp-link:hover {
    transform: scale(1.2);
    color: #128C7E;
}

.phone-number {
    color: #666;
    font-size: 0.9rem;
    margin-left: 5px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-item i {
    margin-right: 15px;
    color: #007bff;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,123,255,0.1);
    border-radius: 50%;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    justify-content: center;
    align-items: center;
}

.social-links a {
    color: #333;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    margin: 0 auto;
    text-decoration: none;
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links a:first-child {
    color: #1877F2; /* Facebook blue */
}

.social-links a:nth-child(2) {
    color: #E4405F; /* Instagram pink */
}

/* WhatsApp specific styles */
.info-item .fa-whatsapp {
    color: #25D366; /* WhatsApp green */
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item .fa-whatsapp:hover {
    transform: scale(1.1);
}

/* Phone icon specific styles */
.info-item .fa-phone {
    color: #007bff;
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item .fa-phone:hover {
    transform: scale(1.1);
}

/* Email icon specific styles */
.info-item .fa-envelope {
    color: #FF6B6B;
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item .fa-envelope:hover {
    transform: scale(1.1);
}

/* Location icon specific styles */
.info-item .fa-map-marker-alt {
    color: #6C5CE7;
    font-size: 1.8rem;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item .fa-map-marker-alt:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
    
    .contact-info {
        padding: 30px;
    }
    
    .contact-phone {
        flex-wrap: wrap;
    }
}

/* Footer */
footer {
    background-color: #2a545b;
    color: #fff;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #1a8e9b;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

#appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

#appointment-form input,
#appointment-form select,
#appointment-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    color: #333;
    font-family: inherit;
}

#appointment-form input::placeholder,
#appointment-form textarea::placeholder {
    color: #999;
    font-size: 0.95rem;
}

#appointment-form input:focus,
#appointment-form select:focus,
#appointment-form textarea:focus {
    outline: none;
    border-color: #1a8e9b;
    box-shadow: 0 0 0 3px rgba(26, 142, 155, 0.1);
    background-color: #fff;
}

#appointment-form input:hover,
#appointment-form select:hover,
#appointment-form textarea:hover {
    border-color: #9ca3af;
    background-color: #fff;
}

#appointment-form input:invalid,
#appointment-form select:invalid,
#appointment-form textarea:invalid {
    border-color: #1a8e9b;
}

#appointment-form input:invalid:focus,
#appointment-form select:invalid:focus,
#appointment-form textarea:invalid:focus {
    box-shadow: 0 0 0 3px rgba(26, 142, 155, 0.1);
}

#appointment-form .error-message {
    color: #1a8e9b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

#appointment-form input:invalid ~ .error-message,
#appointment-form select:invalid ~ .error-message,
#appointment-form textarea:invalid ~ .error-message {
    display: block;
}

/* Input Icons */
#appointment-form .input-wrapper {
    position: relative;
}

#appointment-form .input-wrapper i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1a8e9b;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#appointment-form input:focus ~ i,
#appointment-form textarea:focus ~ i {
    opacity: 1;
    color: #1a8e9b;
}

@media (max-width: 768px) {
    #appointment-form {
        padding: 1.5rem;
    }
    
    #appointment-form input,
    #appointment-form select,
    #appointment-form textarea {
        padding: 1rem 1.2rem;
    }
}

/* Dental Tourism Section */
#dental-tourism {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

#dental-tourism::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./images/26.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.tourism-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tourism-benefits h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.tourism-benefits h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #007bff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,123,255,0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.2);
}

.benefit-card h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.benefit-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.benefit-card:hover h4::after {
    width: 100px;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #dental-tourism {
        padding: 60px 20px;
    }
    
    .tourism-benefits h3 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
}

/* Travel Information Section */
#travel-info {
    padding: 80px 20px;
}

.travel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #007bff;
    margin-bottom: 20px;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card i {
    color: #007bff;
}

/* Treatment Packages Section */
#treatment-packages {
    padding: 80px 20px;
    background: #f8f9fa;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.package-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.package-card.featured {
    transform: scale(1.05);
    border: 2px solid #007bff;
}

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

.package-card h3 {
    color: #007bff;
    margin-bottom: 20px;
}

.package-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.package-card li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-card i {
    color: #007bff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0056b3;
    color: #ffffff;
}

.btn-primary:hover {
    background: #003d82;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1200;
    }
    .nav-links.active {
        display: flex !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .info-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
}

.language-btn {
    padding: 5px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

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

.language-btn.active {
    border: 2px solid #007bff;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #0056b3;
}

/* Contact Section Styles */
.contact-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-right: 10px;
}

.contact-link:hover {
    color: #007bff;
}

.whatsapp-link {
    color: #25D366;
    font-size: 1.5rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.2);
    color: #128C7E;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    color: #007bff;
    font-size: 1.2rem;
}

.info-item a {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    justify-content: center;
    align-items: center;
}

.social-links a {
    color: #333;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    margin: 0 auto;
    text-decoration: none;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Section Headers */
h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1a8e9b;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #1a8e9b;
}

h3 {
    font-size: 1.8rem;
    color: #1a8e9b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #1a8e9b;
}

h4 {
    font-size: 1.4rem;
    color: #1a8e9b;
    margin-bottom: 1rem;
}

/* Update specific section headers */
#services h2,
#about h2,
#testimonials h2,
#dental-tourism h2,
#travel-info h2,
#treatment-packages h2,
#contact h2 {
    color: #1a8e9b;
}

#services h2::after,
#about h2::after,
#testimonials h2::after,
#dental-tourism h2::after,
#travel-info h2::after,
#treatment-packages h2::after,
#contact h2::after {
    background: #1a8e9b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

#appointment-form button[type="submit"] {
    background-color: #1a8e9b;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    margin: 1.5rem auto 0.5rem auto;
    box-sizing: border-box;
}

#appointment-form button[type="submit"]:hover {
    background-color: #14707a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#appointment-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 768px) {
    #appointment-form .btn-primary {
        display: block !important;
        width: 100%;
        margin: 1.5rem auto 0.5rem auto;
    }
}

/* Gallery Section */
#gallery {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 142, 155, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-info {
    text-align: center;
    color: #fff;
    padding: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.gallery-info p {
    font-size: 1rem;
    opacity: 0.9;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-info h3 {
        font-size: 1.2rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animations for grid items */
.services-grid .service-card,
.gallery-grid .gallery-item,
.testimonials-grid .testimonial-card,
.packages-grid .package-card {
    transition-delay: calc(var(--index) * 0.05s);
}

/* Add index variable to each item */
.services-grid .service-card {
    --index: 0;
}

.services-grid .service-card:nth-child(2) { --index: 1; }
.services-grid .service-card:nth-child(3) { --index: 2; }
.services-grid .service-card:nth-child(4) { --index: 3; }
.services-grid .service-card:nth-child(5) { --index: 4; }
.services-grid .service-card:nth-child(6) { --index: 5; }

.gallery-grid .gallery-item {
    --index: 0;
}

.gallery-grid .gallery-item:nth-child(2) { --index: 1; }
.gallery-grid .gallery-item:nth-child(3) { --index: 2; }
.gallery-grid .gallery-item:nth-child(4) { --index: 3; }
.gallery-grid .gallery-item:nth-child(5) { --index: 4; }
.gallery-grid .gallery-item:nth-child(6) { --index: 5; }

.testimonials-grid .testimonial-card {
    --index: 0;
}

.testimonials-grid .testimonial-card:nth-child(2) { --index: 1; }
.testimonials-grid .testimonial-card:nth-child(3) { --index: 2; }

.packages-grid .package-card {
    --index: 0;
}

.packages-grid .package-card:nth-child(2) { --index: 1; }
.packages-grid .package-card:nth-child(3) { --index: 2; }

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .map-container {
        margin: 20px auto;
        border-radius: 5px;
    }
}

/* Update any other low contrast elements */
.text-muted {
    color: #4a4a4a !important; /* Darker gray for better contrast */
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}
.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    margin: 0;
}
.whatsapp-float .fab.fa-whatsapp {
    font-size: 2.6rem;
    color: #fff;
    line-height: 1;
    display: block;
    margin: 0;
    padding: 0;
}
.whatsapp-float:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    transform: scale(1.08);
    background: #1ebe57;
}
@media (max-width: 600px) {
    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        width: 56px;
        height: 56px;
    }
    .whatsapp-float .fab.fa-whatsapp {
        font-size: 2.8rem;
    }
}
