* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; background-color: #f9fbfd; }

.navbar {
    display: flex; height: 80px; width: 100%; background: #ffffff;
    align-items: center; justify-content: space-between; padding: 0 5%;
    position: fixed; top: 0; z-index: 2000; box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.translate-item {
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}

.goog-te-gadget {
    font-family: 'Segoe UI', sans-serif !important;
    font-size: 13px !important;
}

@media (max-width: 1050px) {
    .translate-item {
        justify-content: center;
        padding: 20px 0;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    gap: 10px; 
}

.logo-icon {
    height: 50px; 
    width: auto;
}

.logo-text {
    height: 45px; 
    width: auto;
}

@media (max-width: 1050px) {
    .logo-icon {
        height: 40px;
    }
    .logo-text {
        height: 35px;
    }
}

#click, .menu-btn { display: none; }

.navbar ul { display: flex; list-style: none; }
.navbar ul li { margin: 0 5px; position: relative; }
.navbar ul li a {
    color: #555; text-decoration: none; font-size: 15px; font-weight: 600;
    padding: 10px 15px; border-radius: 5px; transition: 0.3s;
}
.navbar ul li a:hover, .navbar ul li a.active { color: #3498db; background: #f0f7ff; }

.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: #ffffff; width: 250px;
    display: block !important; padding: 10px 0; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); opacity: 0; visibility: hidden;
    transform: translateY(15px); transition: 0.3s ease; z-index: 2100; border: 1px solid #eee;
}
.navbar ul li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { display: block !important; width: 100% !important; margin: 0 !important; }
.dropdown-menu li a {
    display: block !important; padding: 12px 20px !important; color: #555 !important;
    text-align: left !important; white-space: nowrap; font-size: 14px !important;
}

.navbar ul li.dropdown .dropdown-menu li a {
    color: #555 !important;           
    background: transparent !important; 
    box-shadow: none !important;
    border: none !important;
}

.navbar ul li.dropdown .dropdown-menu li a:hover {
    color: #3498db !important;        
    background: #f0f7ff !important;   
    padding-left: 25px !important;    
}

.navbar ul li.dropdown > a.active {
    color: #3498db !important;
    background: #f0f7ff !important;
}

.hero {
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    padding: 0 8%;
    background: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0.3)), 
                url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover; 
    background-position: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px; 
    margin-top: -80px; 
}

.blur-box-title, .blur-box-description {
    display: inline-block;
    width: max-content;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blur-box-title {
    padding: 20px 40px;
    border-radius: 20px;
}

.blur-box-description {
    padding: 12px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08); 
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    column-gap: 15px;
    margin: 0;
}

.hero-content h1 .small-phrase {
    font-family: 'Segoe UI', sans-serif;
    color: #6000b4;
    white-space: nowrap;
    text-shadow: 1px 1px 0px #fff, 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-content h1 .brand-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 68px;
    font-weight: 900;
    color: #1800ad;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 1px 1px 0px #fff, 2px 2px 0px rgba(24, 0, 173, 0.2), 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-content h1 .brand-name * {
    font-family: 'Times New Roman', Times, serif !important;
}

html[lang="ms"] .hero-content {
    width: auto;            
    max-width: 850px;       
}

html[lang="ms"] .hero-content h1 {
    flex-wrap: wrap;       
    white-space: normal;   
}

html[lang="ms"] .hero-content h1 .brand-name {
    display: block;        
    width: 100%;            
    margin-top: 10px;       
}

.hero-content p {
    font-size: 20px;
    color: #000000;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-btns-plain {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.btn-primary { 
    background: #1800ad !important; 
    color: #fff !important; 
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(24, 0, 173, 0.3) !important;
    transition: 0.3s;
}

.btn-secondary-custom {
    background: #fff !important;
    color: #3498db !important;
    border: 2px solid #3498db !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
    transition: 0.3s;
}

.btn-primary:hover, .btn-secondary-custom:hover {
    transform: translateY(-3px);
}

@media (max-width: 1050px) {
    .navbar {
        padding: 0 15px;
    }
    .logo-container {
        gap: 8px; 
    }
    .logo-icon {
        height: 40px;
    }
    .logo-text {
        height: 35px;
    }

    .hero-content {
        align-items: center; 
        text-align: center;
        width: 100%;
        margin-top: -30px; 
        padding: 0 15px; 
    }

    .hero-content h1 {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        width: 100%;
        
        row-gap: 8px; 
        line-height: 1.1; 
        
        flex-wrap: nowrap !important; 
        column-gap: 0 !important; 
        margin-bottom: 30px; 
    }

    .hero-content h1 .small-phrase {
        font-size: 26px; 
        display: block !important; 
        white-space: normal; 
        letter-spacing: -0.5px;
    }

    .hero-content h1 .brand-name {
        font-size: 42px; 
        display: block !important; 
        padding-left: 0;
        margin-top: 0;
        letter-spacing: 0;
    }


    .hero-content p {
        font-size: 16px; 
        line-height: 1.5;
        margin-bottom: 10px; 
        max-width: 100%; 
    }

    .hero-btns {
        width: 100%;
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 15px; 
    }

    .hero-btns a {
        width: 90%; 
        display: block;
        margin: 0; 
        text-align: center;
        padding: 12px 0; 
    }

    .hero-btns-plain {
        display: flex;
        flex-direction: column; 
        align-items: center;    
        gap: 15px;              
        width: 100%;           
        margin-top: 25px;
    }


    .btn-primary, .btn-secondary-custom {
        width: 85%;             
        max-width: 300px;      
        text-align: center;
        margin: 0 !important;  
        padding: 12px 0;        
    }
}
#technology, 
#orthodontic, 
#prosthodontic, 
#endodontic, 
#scaling, 
#filling, 
#rehabilitation, 
#whitening, 
#implant, 
#children {
    scroll-margin-top: 100px; 
}

.home-services-grid {
    grid-template-columns: repeat(5, 1fr) !important; 
    gap: 15px !important;
}

.home-services-grid .service-card.small-card {
    min-height: 180px;        
    padding: 25px 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.home-services-grid .service-card.small-card i {
    font-size: 32px;          
    margin-bottom: 12px;
}

.home-services-grid .service-card.small-card h3 {
    font-size: 15px;         
    margin-bottom: 0;
    line-height: 1.2;
}

@media (max-width: 1050px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


.services { 
    padding: 100px 8%; 
    text-align: center; 
    background: #fff; 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    align-items: stretch; 

    margin-top: 40px;
}

.services-grid a {
    text-decoration: none;
    color: inherit;
    display: flex; 
}

.service-card { 
    padding: 40px 30px; 
    background: #f9fbfd; 
    border-radius: 15px; 
    border: 1px solid #eee; 
    transition: 0.3s; 
    
    display: flex;
    flex-direction: column;
    flex: 1; 
    width: 100%;
    
    min-height: 380px; 
}

.service-card:hover { 
    transform: translateY(-10px); 
    background: #ffffff; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-color: #3498db; 
}

.service-card i { 
    font-size: 40px; 
    color: #3498db; 
    margin-bottom: 20px; 
    display: block; 
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 22px;
}

.service-card p {
    color: #7f8c8d;
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1; 
}

.doctors { 
    padding: 100px 8%; 
    background: #f9fbfd; 
    text-align: center; 
}

.doctors-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    justify-content: center; 
    gap: 40px; 
    margin-top: 50px; 
}

.doctor-card { 
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
    transition: 0.3s; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; 
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.15);
}


.doctor-img { 
    width: 180px; 
    height: 180px; 
    
    margin-bottom: 25px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 6px solid #f0f7ff; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
}

.doctor-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center top;
}

.doctor-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
    min-height: 2.4em; 
    display: flex;
    align-items: center;
}

.specialty {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 15px;
}

.bio {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

.services-grid .knowledge-card {
    padding: 0 !important; 
    
    min-height: 480px !important; 
    
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}

.knowledge-card h3 {
    padding: 20px 20px 10px !important;
    font-size: 20px !important;
    text-align: center;
    margin: 0;
}

.knowledge-card p {
    padding: 0 20px 30px !important;
    font-size: 14px !important;
    line-height: 1.6;
    color: #7f8c8d;
    text-align: left;
    margin: 0;
    flex-grow: 1; 
}

.knowledge-img-wrapper {
    width: 100%;
    height: 240px; 
    margin-bottom: 0; 
    border-radius: 0;
    flex-shrink: 0;
}

.knowledge-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.contact-info { padding: 100px 8%; background: #f0f7ff; }
.contact-wrapper { display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; }
.info-details { flex: 1; text-align: left; }
.detail-item { display: flex; margin-bottom: 30px; }
.detail-item i { font-size: 24px; color: #3498db; margin-right: 20px; margin-top: 5px; }
.map-container { flex: 1; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 15px; overflow: hidden; }

.footer {
    background: #2c3e50; 
    color: #ffffff;
    padding: 60px 8% 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-about h3 span {
    color: #3498db; 
}

.footer-about p {
    color: #bdc3c7;
    font-size: 14px;
}

.footer-links h4, .footer-social h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}


.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.footer-links ul li a:hover {
    color: #3498db;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #ffffff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #3498db;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid #3d566e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 13px;
}

.brand-name-footer {
    font-family: 'Times New Roman', Times, serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    
    color: #ffffff !important; 
    
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;

    text-shadow: 
        1px 1px 0px #1800ad,                  
        2px 2px 0px rgba(24, 0, 173, 0.3),     
        4px 4px 10px rgba(0, 0, 0, 0.4) !important; 
}

.brand-name-footer font, 
.brand-name-footer span {
    color: #ffffff !important;
    font-family: 'Times New Roman', Times, serif !important;
}

html[lang="zh-CN"] .brand-name-footer .zh-text {
    display: inline !important;
    color: #ffffff !important; 
    font-family: 'STSong', 'SimSun', serif !important;
    font-size: 30px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important; 
}

.brand-name-footer .zh-text {
    display: none;
}

.footer-phrase {
    font-family: 'Segoe UI', sans-serif !important;
    font-size: 14px;
    color: #bdc3c7;
    line-height: 1.6;
    font-style: solid;
    border-left: 2px solid #3498db;
    padding-left: 15px;
    margin-top: 10px;
    max-width: 320px;
}

.brand-name-footer .zh-text { display: none; }
html[lang="zh-CN"] .brand-name-footer .eng-text { display: none !important; }
html[lang="zh-CN"] .brand-name-footer .zh-text { display: inline !important; }

@media (max-width: 1050px) {
    .menu-btn {
        display: block !important;
        font-size: 22px;
        color: #2c3e50;
        cursor: pointer;
    }

    .navbar ul {
        position: fixed;
        top: 80px;
        left: -100%; 
        background: #ffffff;
        height: 100vh;
        width: 100%;
        display: block; 
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1999;
    }

    #click:checked ~ ul {
        left: 0;
    }

    .navbar ul li {
        width: 100%;
        margin: 20px 0;
    }

    .navbar ul li a {
        width: 100%;
        display: block;
        font-size: 20px;
        justify-content: center;
    }

    .mobile-nav-controls {
        display: flex !important; 
        align-items: center;
        gap: 15px;
    }

    .mobile-nav-controls .nav-lang-group {
        display: flex !important; 
        margin-left: 0;
        height: 28px;
        padding: 0 8px;
        background: #f0f7ff;
        border-radius: 30px; 
    }

    .navbar ul .nav-lang-group {
        display: none !important;
    }

    .dropdown-menu {
        position: static; 
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none; 
        background: #f9fbfd;
        box-shadow: none;
        transform: none;
        border: none;
    }

    .navbar ul li:hover .dropdown-menu {
        display: block;
    }

    .contact-wrapper {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px; 
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    color: #fff;
}

.mobile-nav-controls {
    display: none;
}

.mobile-nav-controls .nav-lang-group {
    display: none !important; 
}

.navbar ul .nav-lang-group {
    display: flex !important;
}

.nav-lang-group {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding: 0 10px;
    background: #f0f7ff;
    border-radius: 30px;
    height: 35px;
    align-self: center; 
}

.lang-switch-btn {
    background: none;
    border: none;
    color: #3498db;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 8px;
    transition: 0.3s;
    line-height: 35px;
}

.lang-switch-btn:hover {
    color: #1800ad;
    transform: translateY(-1px);
}

.lang-divider {
    color: #d0e4f7;
    font-size: 12px;
    user-select: none;
}

.zh-text {
    display: none; 
}

.eng-text {
    display: inline; 
}

html[lang="zh-CN"] .eng-text {
    display: none !important; 
}

html[lang="zh-CN"] .zh-text {
    display: inline !important; 
}

html[lang="ms"] .eng-text {
    display: inline; 
}

@media (max-width: 1050px) {
    .mobile-nav-controls {
        display: flex; 
        align-items: center;
        gap: 15px;
        order: 2;
    }

    .mobile-nav-controls .nav-lang-group {
        display: flex !important; 
        margin-left: 0;
        height: 28px;
        padding: 0 8px;
    }

    .navbar ul .nav-lang-group {
        display: none !important;
    }

    .nav-lang-group {
        margin-left: 0;
        height: 28px; 
        padding: 0 8px;
    }

    .lang-switch-btn {
        font-size: 12px;
        padding: 0 4px;
    }

    .menu-btn {
        display: block !important;
    }
}

@media (max-width: 400px) {
    .logo-text {
        display: none; 
    }
}

#google_translate_element, 
.skiptranslate, 
.goog-te-banner-frame, 
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}
body { top: 0px !important; position: static !important; }