/* 
============================================
   PEEXUS IT - Premium Design System
   Color Palette: Deep Slate, Electric Teal, 
   Vivid Blue, Soft Gray
============================================
*/

:root {
    /* Colors */
    --bg-dark: #F1F5F9;
    --bg-darker: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 1);
    
    --text-primary: #031f30;
    --text-secondary: #475569;
    
    --accent-teal: #0099AB;
    --accent-teal-dark: #007380;
    --accent-blue: #00BCD4;
    --accent-purple: #0097A7;
    
    --border-light: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Effects */
    --glass-blur: blur(12px);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

section {
    padding: 5rem 0;
    scroll-margin-top: 75px;
}

section[id],
.hero[id] {
    scroll-margin-top: 75px;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

strong, b {
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-teal { color: var(--accent-teal); }

/* Layout Utils */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid var(--accent-teal);
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-teal {
    background: var(--accent-teal);
    color: var(--bg-darker);
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.2);
}

.btn-teal:hover {
    background: var(--accent-teal-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: rgba(0, 240, 255, 0.05);
}

.btn-block {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}
.badge-teal {
    color: var(--accent-teal);
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.05);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: none;
    box-shadow: none;
}

.navbar.navbar-solid,
body.page-inner .navbar {
    position: sticky;
    top: 0;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: none;
    box-shadow: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a, .mobile-menu-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    height: 26px;
    width: auto;
    display: block;
}
.mobile-menu-logo img {
    height: 28px;
    width: auto;
    display: block;
}

#nav-menu-container {
    display: flex;
    align-items: center;
}

.mobile-menu-logo {
    display: none;
}

.menu-overlay {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links .highlight-link {
    color: var(--accent-teal);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--accent-teal);
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10.5rem 0 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: float 10s ease-in-out infinite alternate;
}

.glow-1 {
    top: -15%;
    left: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.5) 0%, rgba(0, 151, 167, 0.25) 50%, transparent 75%);
}

.glow-2 {
    bottom: -15%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.45) 0%, rgba(0, 188, 212, 0.25) 50%, transparent 75%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    transform: translateY(-20px);
}

.hero-content h1 {
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

/*--------------------------------------------------------------
# ANIMATED HEADER LOGO (ILLO.TV STYLE)
--------------------------------------------------------------*/
.peexus-header-logo-svg {
    display: block;
    width: 115px;
    height: 26px;
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .peexus-header-logo-svg {
    transform: scale(1.03);
}

#peexus-header-dot {
    transform-origin: 561.4px 111.4px;
    transition: filter 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(0, 188, 212, 0.45));
}

/*--------------------------------------------------------------
# PEEXUS LOGO TECH MOTION SYSTEM (ILLO.TV NETWORKING DYNAMICS)
--------------------------------------------------------------*/
.peexus-morph-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
    overflow: visible;
    background: transparent;
}

.peexus-pixel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
    pointer-events: none;
}

.peexus-hero-3d-visual,
.peexus-hero-3d-tooth {
    position: relative;
    z-index: 2;
    width: auto;
    height: 264px;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    animation: peexusHeroFloat 4.8s ease-in-out infinite;
    transform-origin: center center;
    transition: transform 0.12s ease-out;
    pointer-events: none;
}

@keyframes peexusHeroFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes peexusToothFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Responsive Scaling */
@media (max-width: 992px) {
    .peexus-morph-stage {
        margin-top: 1.5rem;
        max-width: 400px;
        height: 400px;
    }
    .peexus-hero-3d-visual,
    .peexus-hero-3d-tooth {
        height: 232px;
    }
}

@media (max-width: 576px) {
    .peexus-morph-stage {
        max-width: 320px;
        height: 320px;
    }
    .peexus-hero-3d-visual,
    .peexus-hero-3d-tooth {
        height: 192px;
    }
}

/* Services */
.services {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .icon-box {
    background: var(--accent-blue);
    color: white;
}

/* Dental Specialty */
.dental-specialty {
    padding: 5rem 0;
}

.dental-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: center;
}

.dental-image {
    min-width: 0;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}

.dental-abstract-art {
    background: transparent;
    border: 1px solid var(--accent-teal);
    border-radius: 30px;
    height: 650px;
    max-height: 650px;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 188, 212, 0.15);
    overflow: hidden !important;
    box-sizing: border-box;
}

.dental-scroll-viewport {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 30px;
    overflow: hidden !important;
    position: relative;
    background: transparent;
    cursor: pointer;
}

.dental-scroll-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    will-change: transform;
    transform: translateY(0);
    user-select: none;
    -webkit-user-drag: none;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.15);
    animation: float 6s ease-in-out infinite alternate;
}

.floating-badge i {
    font-size: 2rem;
    color: var(--accent-teal);
}
.floating-badge span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.floating-badge strong {
    color: var(--text-primary);
    font-size: 1.0625rem;
}

.dental-text p {
    font-size: 1.1875rem;
    line-height: 1.65;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-list li span {
    font-size: 1.1875rem;
    line-height: 1.6;
}

.feature-list li strong {
    font-size: 1.1875rem;
}

.feature-list i {
    font-size: 1.5rem;
    margin-top: 3px;
}

.dental-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Why Us */
.why-us {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #031f30, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #EDF2F7 100%);
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: center;
}

.contact-info h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.contact-info p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(0, 188, 212, 0.18);
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(3, 31, 48, 0.04);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-teal);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.12);
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 188, 212, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-item:hover .contact-item__icon {
    background: var(--accent-teal);
    color: #ffffff;
}

.contact-item__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item__label {
    font-size: 0.825rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item__val {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.contact-perk {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-perk i {
    color: var(--accent-teal);
    font-size: 1.25rem;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #ffffff;
    padding: 2.75rem 2.25rem;
    border-radius: 26px;
    border: 1px solid rgba(0, 188, 212, 0.22);
    box-shadow: 0 20px 45px rgba(3, 31, 48, 0.07), 0 4px 18px rgba(0, 188, 212, 0.06);
    position: relative;
}

.form-header {
    margin-bottom: 1.75rem;
}

.form-header h3 {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.form-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23031f30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group .input-error {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
}

.form-group .input-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}

.error-text {
    display: block;
    margin-top: 0.35rem;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 500;
}

.required-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    text-align: center;
    margin-bottom: 0;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.custom-select-trigger:hover {
    border-color: rgba(0, 188, 212, 0.4);
    background: #ffffff;
}

.custom-select-wrapper.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
    outline: none;
    border-color: var(--accent-teal);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.18);
}

.custom-select-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-label .select-item-icon {
    font-size: 1.25rem;
    color: var(--accent-teal);
    flex-shrink: 0;
    line-height: 1;
}

.select-caret {
    font-size: 1.15rem;
    color: var(--text-secondary);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
    line-height: 1;
}

.custom-select-wrapper.is-open .select-caret {
    transform: rotate(180deg);
    color: var(--accent-teal);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 188, 212, 0.22);
    border-radius: 14px;
    padding: 6px;
    margin: 0;
    list-style: none;
    z-index: 150;
    box-shadow: 0 15px 35px rgba(3, 31, 48, 0.12), 0 4px 18px rgba(0, 188, 212, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s ease;
}

.custom-select-wrapper.is-open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    outline: none;
}

.custom-select-option .option-content {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.custom-select-option .select-item-icon {
    font-size: 1.2rem;
    color: var(--accent-teal);
    transition: transform 0.2s ease;
    line-height: 1;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
    background: rgba(0, 188, 212, 0.08);
    color: var(--accent-teal);
}

.custom-select-option:hover .select-item-icon,
.custom-select-option:focus-visible .select-item-icon {
    transform: scale(1.12);
}

.custom-select-option.is-selected {
    background: rgba(0, 188, 212, 0.12);
    color: var(--accent-teal);
    font-weight: 600;
}

.custom-select-option .select-check {
    font-size: 1.1rem;
    color: var(--accent-teal);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.custom-select-option.is-selected .select-check {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.footer-brand span { color: var(--accent-teal); }
.footer-brand img {
    height: 26px;
    width: auto;
    display: block;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-email {
    color: var(--accent-teal);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

/* Technologies Section */
.technologies {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.technologies .container {
    position: relative;
    z-index: 1;
}

.tech-grid-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tech-card-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.08);
}

.tech-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

.tech-list li.tech-btn,
.tech-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 82px !important;
    height: 82px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 2px solid transparent !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none !important;
    list-style-type: none !important;
}

/* Hover Tooltip for Tech Items */
.tech-btn::after,
.tech-list li.tech-btn::after {
    content: attr(data-tech-name);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #031f30;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: none;
    z-index: 1000;
}

.tech-btn::before,
.tech-list li.tech-btn::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #031f30 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s ease;
    z-index: 1000;
}

.tech-btn:hover::after,
.tech-btn:hover::before,
.tech-list li.tech-btn:hover::after,
.tech-list li.tech-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tech-btn:hover,
.tech-list li.tech-btn:hover {
    color: var(--accent-teal);
    background: #ffffff !important;
    border-color: rgba(0, 188, 212, 0.35) !important;
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.25) !important;
}

.tech-btn svg,
.tech-list li.tech-btn svg {
    width: 44px;
    height: 44px;
    fill: currentColor;
    display: block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), fill 0.25s ease;
}

.tech-btn:hover svg,
.tech-list li.tech-btn:hover svg {
    transform: scale(1.08);
}

/* Tech Modal */
.tech-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tech-modal.is-open {
    display: flex;
    opacity: 1;
}

.tech-modal__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 31, 48, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tech-modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 25px 50px -12px rgba(3, 31, 48, 0.35);
    border: 1px solid rgba(0, 188, 212, 0.2);
    z-index: 2;
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.tech-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tech-modal__header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #031f30;
}

.tech-modal__close {
    background: none;
    border: none;
    font-size: 30px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.tech-modal__close:hover {
    color: #e11d48;
    background: rgba(225, 29, 72, 0.08);
}

.tech-modal__body {
    font-size: 15.5px;
    line-height: 1.68;
    color: #475569;
}

.tech-modal__body h4 {
    margin: 22px 0 10px 0;
    font-size: 16.5px;
    font-weight: 700;
    color: #031f30;
}

.tech-modal__body ul {
    margin: 0;
    padding-left: 22px;
}

.tech-modal__body li {
    margin-bottom: 6px;
    color: #475569;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container,
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-visual { padding: 0 2rem; }
    
    .dental-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 3rem !important;
    }

    .dental-content {
        display: contents !important;
    }

    .dental-text {
        order: 1 !important;
        width: 100% !important;
    }
    
    .dental-image {
        order: 2 !important;
        max-width: 500px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .dental-actions {
        order: 3 !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1200;
        padding: 1.2rem 0;
        transition: all 0.3s ease;
    }

    .navbar.scrolled {
        padding: 0.85rem 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: none;
        box-shadow: none;
    }

    .navbar.navbar-solid,
    body.page-inner .navbar {
        position: sticky;
        top: 0;
        padding: 0.85rem 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: none;
        box-shadow: none;
    }

    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1250;
        opacity: 0;
        transition: opacity 0.3s ease;
        -webkit-transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    #nav-menu-container {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(255, 255, 255, 1);
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1300 !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 25px;
        overflow-y: auto;
        overflow-x: hidden;
        pointer-events: auto;
    }

    #nav-menu-container.active {
        right: 0 !important;
    }

    .mobile-menu-logo {
        display: block;
        width: 100%;
        padding: 0 25px 25px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        margin-bottom: 10px;
    }

    .mobile-menu-logo a {
        font-size: 2.125rem;
        font-weight: 800;
        color: var(--text-primary);
        text-decoration: none;
        letter-spacing: -1px;
    }

    .mobile-menu-logo a span {
        color: var(--accent-teal);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        margin: 0;
    }

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

    .nav-links li a {
        display: block;
        padding: 16px 25px;
        color: #333;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-links li a:hover {
        color: var(--accent-teal);
        background: rgba(0, 188, 212, 0.05);
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1310;
        background: none;
        border: 1px solid var(--accent-teal);
        color: #333;
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
    }

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

    .hero {
        padding: 8rem 0 4rem;
    }

    /* Dental Specialty Mobile */
    .dental-specialty {
        padding: 5rem 0;
    }

    .dental-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }

    .dental-content {
        display: contents !important;
    }

    .dental-text {
        order: 1 !important;
        width: 100% !important;
    }

    .dental-image {
        order: 2 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .dental-abstract-art {
        height: 380px;
        max-height: 380px;
        border-radius: 20px;
    }

    .dental-scroll-viewport {
        border-radius: 20px;
    }

    .floating-badge {
        position: static;
        margin-top: 1.25rem;
        width: 100%;
        justify-content: center;
        animation: none;
        box-sizing: border-box;
    }

    .dental-actions {
        order: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
    }

    .dental-actions .btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .tech-card-wrapper {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .tech-list {
        gap: 8px !important;
    }
}

/*--------------------------------------------------------------
# FLATPICKR GLOBAL THEME STYLING
--------------------------------------------------------------*/
.flatpickr-calendar {
    background: #ffffff !important;
    box-shadow: 0 15px 45px rgba(3, 31, 48, 0.12) !important;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08)) !important;
    border-radius: 14px !important;
    font-family: var(--font-main, 'Outfit', sans-serif) !important;
    padding: 6px !important;
}
.flatpickr-innerContainer, .flatpickr-days, .dayContainer {
    background: transparent !important;
    border-radius: 0 0 12px 12px;
}
.flatpickr-month {
    background: white !important;
    border-radius: 12px 12px 0 0;
    color: var(--text-primary, #031f30) !important;
    fill: var(--text-primary, #031f30) !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    font-weight: 700 !important;
    color: var(--text-primary, #031f30) !important;
    font-family: inherit !important;
}
.flatpickr-weekday {
    color: var(--text-secondary, #64748b) !important;
    font-weight: 600 !important;
}
.flatpickr-day {
    color: var(--text-primary, #031f30) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}
.flatpickr-day:hover {
    background: rgba(0, 188, 212, 0.1) !important;
}
.flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: linear-gradient(135deg, var(--primary-color, #00BCD4) 0%, var(--accent-teal, #0099AB) 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.flatpickr-day.today {
    border-color: var(--primary-color, #00BCD4) !important;
}
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: #cbd5e1 !important;
}

