/* ============================================
   LUXURY 3D ENHANCEMENTS - DENTAL WELLNESS
   ============================================ */

/* ====== LUXURY HEADER 3D EFFECTS ====== */
.luxury-header {
    background: var(--bg-white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.luxury-header.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.luxury-header .header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #2a1f10 100%);
    position: relative;
    overflow: hidden;
}

.luxury-header .header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.logo-3d {
    position: relative;
    perspective: 1000px;
}

.logo-3d img {
    height: 55px;
    width: auto;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-3d img {
    transform: rotateY(10deg) rotateX(-5deg) scale(1.05);
}

/* ====== MEGA DROPDOWN MENU ====== */
.has-mega-dropdown {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px) perspective(1000px) rotateX(-10deg);
    width: 900px;
    max-width: 95vw;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-top: 4px solid var(--accent-gold);
    overflow: hidden;
}

.has-mega-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px) perspective(1000px) rotateX(0deg);
}

.mega-dropdown-inner {
    padding: 30px;
}

.mega-dropdown-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 10px);
    min-width: 250px;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.mega-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.mega-item:hover::before {
    left: 100%;
}

.mega-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--accent-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mega-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
}

.mega-item:hover .mega-icon {
    transform: rotateY(360deg);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.mega-icon i {
    font-size: 20px;
    color: var(--white);
    transition: color 0.3s;
}

.mega-item:hover .mega-icon i {
    color: var(--accent-gold);
}

.mega-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mega-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.mega-item:hover .mega-title {
    color: var(--white);
}

.mega-desc {
    font-size: 12px;
    color: var(--text-light);
    transition: color 0.3s;
}

.mega-item:hover .mega-desc {
    color: rgba(255, 255, 255, 0.8);
}

.mega-dropdown-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 80, 48, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 80, 48, 0.4);
    color: var(--white);
}

.view-all-btn i {
    transition: transform 0.3s;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* ====== 3D BUTTON EFFECT ====== */
.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(500px) rotateX(0deg);
    box-shadow: 0 6px 20px rgba(92, 80, 48, 0.3),
                inset 0 -3px 0 rgba(0, 0, 0, 0.2),
                inset 0 3px 0 rgba(255, 255, 255, 0.1);
}

.btn-3d:hover {
    transform: perspective(500px) translateY(-3px);
    box-shadow: 0 12px 30px rgba(92, 80, 48, 0.4),
                inset 0 -3px 0 rgba(0, 0, 0, 0.2),
                inset 0 3px 0 rgba(255, 255, 255, 0.1);
}

.btn-3d:active {
    transform: perspective(500px) translateY(0);
    box-shadow: 0 3px 10px rgba(92, 80, 48, 0.3),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* ====== LUXURY FOOTER 3D ====== */
.luxury-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1408 100%);
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 30px var(--accent-gold), 0 0 60px rgba(212, 175, 55, 0.5);
}

.luxury-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.footer-logo-3d {
    perspective: 1000px;
}

.footer-logo-3d img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform 0.4s;
}

.footer-logo:hover .footer-logo-3d img {
    transform: rotateY(10deg);
}

.social-link-3d {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-3d::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}

.social-link-3d:hover::before {
    width: 120%;
    height: 120%;
}

.social-link-3d i {
    position: relative;
    z-index: 1;
    font-size: 18px;
}

.social-link-3d:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    border-color: var(--accent-gold);
}

.contact-icon-3d {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.luxury-footer .footer-contact li:hover .contact-icon-3d {
    transform: rotateY(180deg);
}

.luxury-footer .footer-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.luxury-footer .footer-links li a i {
    font-size: 10px;
    color: var(--accent-gold);
    transition: transform 0.3s;
}

.luxury-footer .footer-links li a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.luxury-footer .footer-links li a:hover i {
    transform: translateX(5px);
}

.luxury-footer .footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.luxury-footer .footer-contact li span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.luxury-footer .footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.luxury-footer .footer-contact li a:hover {
    color: var(--accent-gold);
}

/* ====== WHO WE ARE STYLISH SECTION ====== */
.who-we-are-stylish {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.who-we-are-stylish::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.who-we-are-content {
    position: relative;
    z-index: 2;
}

.who-we-are-image-stack {
    position: relative;
    padding: 40px;
}

.image-main-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}

.who-we-are-image-stack:hover .image-main-card {
    transform: perspective(1000px) rotateY(0deg);
}

.image-main-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.image-floating-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 150px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--white);
    animation: float 4s ease-in-out infinite;
}

.image-floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge-3d {
    position: absolute;
    top: 20px;
    left: 0;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #B8860B 100%);
    padding: 25px 30px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    transform: perspective(500px) rotateY(10deg);
    transition: transform 0.4s;
}

.who-we-are-image-stack:hover .experience-badge-3d {
    transform: perspective(500px) rotateY(0deg);
}

.experience-badge-3d .years-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.experience-badge-3d .years-number span {
    font-size: 28px;
}

.experience-badge-3d .years-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.highlight-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.highlight-point {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.highlight-point:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.highlight-text h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.highlight-text p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* ====== PATIENT INFO STYLISH CARDS ====== */
.patient-info-stylish {
    padding: 80px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.info-card-3d {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid var(--border-color);
}

.info-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
}

.info-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.info-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(92, 80, 48, 0.3);
    transition: all 0.4s;
}

.info-card-3d:hover .info-card-icon {
    transform: rotateY(360deg);
}

.info-card-icon i {
    font-size: 32px;
    color: var(--white);
}

.info-card-3d h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 15px;
    color: var(--text-color);
    transition: all 0.3s;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.info-list li i {
    color: var(--accent-gold);
    font-size: 14px;
}

.treatment-guidelines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.guideline-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.guideline-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.guideline-card:hover::after {
    transform: scaleX(1);
}

.guideline-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.guideline-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s;
}

.guideline-card:hover .guideline-icon {
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
}

.guideline-icon i {
    font-size: 28px;
    color: var(--accent-gold);
    transition: color 0.3s;
}

.guideline-card:hover .guideline-icon i {
    color: var(--white);
}

.guideline-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.guideline-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ====== SERVICE PAGE LAYOUT LIKE SCALING-POLISHING ====== */
.service-hero-modern {
    padding: 80px 0;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero-content .section-title {
    margin-bottom: 30px;
}

.service-hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.service-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.steps-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-white);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.4s;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.step-number-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.step-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ====== RESPONSIVE HEADER & MEGA MENU ====== */
@media (max-width: 991px) {
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .header-top {
        padding: 8px 0;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .logo {
        order: 1;
        flex: 0 1 auto;
    }

    .logo img {
        height: 45px;
    }

    .logo-text .logo-name {
        font-size: 18px;
    }

    .logo-text .logo-tagline {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .header-btn {
        order: 2;
        padding: 10px 18px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .mobile-toggle {
        display: flex;
        order: 3;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
        cursor: pointer;
        background: var(--bg-cream);
        border-radius: var(--radius-sm);
        flex-shrink: 0;
    }

    .mobile-toggle span {
        width: 22px;
        height: 2px;
        background: var(--text-dark);
        transition: all 0.3s;
        border-radius: 2px;
    }

    .mobile-toggle.active {
        background: var(--primary-color);
    }

    .mobile-toggle.active span {
        background: var(--white);
    }

    .nav-menu {
        order: 4;
        width: 100%;
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        margin-top: 10px;
    }

    .nav-menu.active {
        max-height: 800px;
        overflow-y: auto;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 15px 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a {
        padding: 15px 0;
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links > li > a::after {
        display: none;
    }

    .nav-links > li > a i {
        transition: transform 0.3s;
    }

    .nav-links > li.active > a i,
    .has-dropdown.active > a i,
    .has-mega-dropdown.active > a i {
        transform: rotate(180deg);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-top: none;
        background: var(--bg-cream);
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown {
        max-height: 500px;
    }

    .dropdown li a {
        padding: 12px 20px;
        font-size: 14px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown li:last-child a {
        border-bottom: none;
    }

    .has-mega-dropdown {
        position: static;
    }

    .mega-dropdown {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        border-top: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.4s ease;
        background: var(--bg-cream);
    }

    .has-mega-dropdown.active .mega-dropdown {
        max-height: 2000px;
    }

    .mega-dropdown-inner {
        padding: 15px;
    }

    .mega-dropdown-grid {
        flex-direction: column;
        gap: 5px;
    }

    .mega-item {
        flex: 1 1 100%;
        min-width: auto;
        padding: 12px 15px;
        border-radius: var(--radius-sm);
    }

    .mega-item .mega-icon {
        width: 40px;
        height: 40px;
    }

    .mega-item .mega-icon i {
        font-size: 16px;
    }

    .mega-title {
        font-size: 14px;
    }

    .mega-desc {
        font-size: 12px;
    }

    .mega-dropdown-footer {
        margin-top: 15px;
        padding-top: 15px;
    }

    .view-all-btn {
        width: 100%;
        justify-content: center;
    }

    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .who-we-are-image-stack {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .highlight-points {
        grid-template-columns: 1fr;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .treatment-guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-hero-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .header-top {
        padding: 6px 0;
    }

    .header-top-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-info {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .contact-info a {
        font-size: 12px;
    }

    .timing-info {
        font-size: 11px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar .container {
        gap: 8px;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo img {
        height: 38px;
    }

    .logo-text .logo-name {
        font-size: 15px;
    }

    .logo-text .logo-tagline {
        font-size: 9px;
    }

    .header-btn {
        padding: 8px 12px;
        font-size: 10px;
    }

    .mobile-toggle {
        padding: 6px;
    }

    .mobile-toggle span {
        width: 20px;
    }

    .nav-links > li > a {
        padding: 12px 0;
        font-size: 14px;
    }

    .mega-item {
        padding: 10px 12px;
    }

    .mega-item .mega-icon {
        width: 35px;
        height: 35px;
    }

    .mega-item .mega-icon i {
        font-size: 14px;
    }

    .mega-title {
        font-size: 13px;
    }

    .mega-desc {
        font-size: 11px;
    }

    .treatment-guidelines-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .image-main-card {
        transform: none;
    }

    .experience-badge-3d {
        transform: none;
        position: relative;
        border-radius: var(--radius-lg);
        margin-bottom: 20px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 5px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
    }

    .contact-info a {
        font-size: 11px;
    }

    .timing-info {
        font-size: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar .container {
        padding: 0 10px;
        gap: 6px;
    }

    .logo {
        gap: 6px;
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo img {
        height: 32px;
    }

    .logo-text .logo-name {
        font-size: 13px;
    }

    .logo-text .logo-tagline {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .header-btn {
        padding: 6px 10px;
        font-size: 9px;
        border-radius: 15px;
        flex-shrink: 0;
    }

    .mobile-toggle {
        padding: 5px;
        flex-shrink: 0;
    }

    .mobile-toggle span {
        width: 18px;
        height: 2px;
    }

    .nav-menu {
        margin-top: 8px;
    }

    .nav-links {
        padding: 10px 0;
    }

    .nav-links > li > a {
        padding: 10px 0;
        font-size: 13px;
    }

    .dropdown li a {
        padding: 10px 15px;
        font-size: 13px;
    }

    .mega-dropdown-inner {
        padding: 10px;
    }

    .mega-dropdown-grid {
        gap: 3px;
    }

    .mega-item {
        padding: 8px 10px;
    }

    .mega-item .mega-icon {
        width: 32px;
        height: 32px;
    }

    .mega-item .mega-icon i {
        font-size: 12px;
    }

    .mega-title {
        font-size: 12px;
    }

    .mega-desc {
        font-size: 10px;
    }

    .mega-dropdown-footer {
        margin-top: 10px;
        padding-top: 10px;
    }

    .view-all-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .logo-text {
        display: none;
    }

    .logo img {
        height: 35px;
    }

    .header-btn {
        padding: 6px 8px;
        font-size: 8px;
    }
}
