:root {
    --dental-blue: #1976d2;
    --dental-dark: #0d47a1;
    --dental-light: #e3f2fd;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  color: #222;
}


.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dental-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: var(--dental-dark);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--dental-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dental-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #555;
    transition: color 0.3s ease;
    position: relative;
}

.menu-btn:hover {
    color: var(--dental-blue);
}

.menu-icon,
.close-icon {
    font-size: 1.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.menu-btn.active .menu-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-btn.active .close-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 300px;
}

.mobile-nav-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 0 0.5rem;
}

.mobile-nav-link:hover {
    color: var(--dental-blue);
    background: var(--dental-light);
}

/* Responsive Design */
@media (max-width: 768px) {
      html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title,
  .cta-title {
    font-size: 1.4rem;
  }

  .hero-desc,
  .section-desc,
  .cta-desc {
    font-size: 1rem;
  }

  .info-title {
    font-size: 1rem;
  }
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-link {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-link {
        font-size: 1.1rem;
    }
    
    .mobile-nav-link {
        padding: 0.5rem 0.75rem;
        margin: 0 0.25rem;
    }
}

/* Active page indicator */
.nav-link.active {
    color: var(--dental-blue);
}

.nav-link.active::after {
    width: 100%;
}

.mobile-nav-link.active {
    color: var(--dental-blue);
    background: var(--dental-light);
}

/* Footer Component Styles */
:root {
    --dental-dark: #0d47a1;
    --dental-blue: #1976d2;
    --dental-light: #e3f2fd;
}

.site-footer {
    background: var(--dental-dark);
    color: #fff;
    padding: 3rem 0 1rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-icon {
    color: var(--dental-light);
    font-size: 1.25rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.footer-text {
    font-size: 0.9rem;
    color: #e3f2fd;
    margin: 0;
    line-height: 1.4;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #e3f2fd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link:hover {
    color: var(--dental-light);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dental-light);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Social Media */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--dental-blue);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--dental-light);
    color: var(--dental-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-description {
    font-size: 0.9rem;
    color: #b0bec5;
    margin: 0;
    line-height: 1.4;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #1e3a8a;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}
.company-profile>a{
    color: var(--dental-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: large;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-contact-item {
        justify-content: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .site-footer {
        padding: 2rem 0 1rem 0;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1rem;
    }
}

/* Animation for social links */
@keyframes socialHover {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.1);
    }
    100% {
        transform: translateY(-2px) scale(1.05);
    }
}

.social-link:hover {
    animation: socialHover 0.3s ease forwards;
}

/* Ensure footer stays at bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}