/* ===================================
   DentMax - Premium Dental Solutions
   Color Theme: Reddish-Orange & White
   =================================== */

:root {
    --primary-orange: #FF6B4A;
    --primary-orange-dark: #E55A3A;
    --primary-orange-light: #FF8B6F;
    --accent-orange: #FF4500;
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --medium-gray: #888888;
    --dark-gray: #333333;
    --text-dark: #2C2C2C;
    --shadow-light: rgba(255, 107, 74, 0.1);
    --shadow-medium: rgba(255, 107, 74, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.nav-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 44px;
}

.logo img,
.logo-img {
    height: 50px;
    width: 200px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Bottom navigation (mobile/tablet – app-style, shown via media query) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 0.25rem;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.4rem 0.25rem;
    text-decoration: none;
    color: var(--medium-gray);
    font-size: 0.7rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    min-width: 0;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-orange);
}

.bottom-nav-item:active {
    transform: scale(0.96);
}

.bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.bottom-nav-icon svg {
    width: 22px;
    height: 22px;
}

.bottom-nav-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
}

/* ===================================
   Hero Banner
   =================================== */

.hero {
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--accent-orange) 100%);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero[style*="background-image"] {
    background-color: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.hero-content-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content-link:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-cta-hint {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    text-decoration: underline;
}

.hero-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    cursor: pointer;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    transform: translateY(-3px);
}

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

/* ===================================
   Sections
   =================================== */

.section {
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

/* ===================================
   Features/Highlights
   =================================== */

.features {
    background-color: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px var(--shadow-light);
    transition: all 0.4s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.feature-card-detail {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.feature-card-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-orange);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.icon-partnership {
    transform: perspective(500px) rotateX(5deg) rotateY(-5deg);
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.2),
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.feature-card:hover .icon-partnership {
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale(1.1);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Professional icon symbols - Clean and professional */
.feature-icon::before,
.contact-icon::before {
    display: block;
}

.icon-quality::before { content: "★"; }
.icon-technology::before { content: "⚙"; }
.icon-partnership::before { content: "✓"; }
.icon-network::before { content: "●"; }
.icon-materials::before { content: "◆"; }
.icon-speed::before { content: "➤"; }
.icon-mission::before { content: "▲"; }
.icon-vision::before { content: "◉"; }
.icon-values::before { content: "✦"; }
.icon-recognition::before { content: "★"; }
.icon-facility::before { content: "■"; }
.icon-team::before { content: "●"; }
.icon-sustainable::before { content: "◊"; }
.icon-innovation::before { content: "→"; }
.icon-support::before { content: "✓"; }
.icon-training::before { content: "◉"; }
.icon-pricing::before { content: "$"; }
.icon-delivery::before { content: "→"; }
.icon-assistance::before { content: "⚙"; }
.icon-marketing::before { content: "↗"; }
.icon-location::before { content: "📍"; }
.icon-email::before { content: "@"; }
.icon-phone::before { content: "☎"; }
.icon-hours::before { content: "◐"; }
.icon-emergency::before { content: "!"; }
.icon-partners::before { content: "✓"; }
.icon-products::before { content: "■"; }
.icon-satisfaction::before { content: "★"; }
.icon-assured::before { content: "✓"; }
.icon-custom::before { content: "◆"; }
.icon-biocompatible::before { content: "+"; }
.icon-expert::before { content: "★"; }

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===================================
   Products Grid
   =================================== */

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-image {
    width: 50%;
    height: 400px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    padding: 2rem;
    border-right: 1px solid var(--light-gray);
}

.product-card:nth-child(even) .product-image {
    border-right: none;
    border-left: 1px solid var(--light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 3rem;
    width: 50%;
    flex-shrink: 0;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 0;
}

.product-features li {
    padding: 0.6rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   Partners Section
   =================================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.partner-location {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.partner-specialty {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* ===================================
   Contact Form
   =================================== */

.contact-section {
    background-color: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.3rem;
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-icon::before {
    font-size: 1.5rem;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--medium-gray);
}

.contact-details a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-orange-dark);
    text-decoration: underline;
}

.footer-section a[href^="tel:"] {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a[href^="tel:"]:hover {
    color: var(--primary-orange);
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.footer-section p,
.footer-section li {
    color: #CCCCCC;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

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

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

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #AAAAAA;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 74, 0.4);
}

.social-link:hover svg {
    fill: var(--white);
    opacity: 1;
}

/* ===================================
   Responsive Design
   =================================== */

/* ===================================
   Home Webcard Section
   =================================== */

.webcard-home-section {
    padding: 4rem 2rem;
    background-color: var(--white);
    overflow: hidden;
    contain: layout style;
}

.webcard-home-section .webcard-container {
    overflow: hidden;
}

.webcard-home-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0fr;
    align-items: center;
    gap: 2.5rem;
    transition: grid-template-columns 1.5s cubic-bezier(0.22, 0.61, 0.36, 1),
                gap 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.webcard-home-wrapper.webcard-reveal {
    grid-template-columns: 0.42fr 1fr;
}

.webcard-card-col {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: justify-content 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    min-width: 0;
}

.webcard-home-wrapper.webcard-reveal .webcard-card-col {
    justify-content: flex-start;
}

.webcard-home-image {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.webcard-home-wrapper.webcard-reveal .webcard-home-image {
    transform: translateX(0);
}

.webcard-text-col {
    opacity: 0;
    transform: translateX(80px);
    visibility: hidden;
    min-width: 0;
    overflow: hidden;
    transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s,
                transform 1.25s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s,
                visibility 0s linear 1.8s;
}

.webcard-home-wrapper.webcard-reveal .webcard-text-col {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    overflow: visible;
    transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s,
                transform 1.25s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s,
                visibility 0s linear 0s;
}

/* After animation completes: no transitions = smooth scroll, layout stays persistent */
.webcard-home-wrapper.webcard-reveal-done {
    transition: none;
}
.webcard-home-wrapper.webcard-reveal-done .webcard-card-col,
.webcard-home-wrapper.webcard-reveal-done .webcard-home-image,
.webcard-home-wrapper.webcard-reveal-done .webcard-text-col {
    transition: none;
}

.webcard-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.webcard-lead {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.webcard-body {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.webcard-text-col .btn {
    margin-top: 0.25rem;
    width: auto;
    max-width: none;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .webcard-home-wrapper.webcard-reveal {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .webcard-home-wrapper.webcard-reveal .webcard-card-col {
        justify-content: center;
    }
    .webcard-home-image {
        max-width: 280px;
    }
}

/* ===================================
   Video Section
   =================================== */

.video-section {
    padding: 4rem 2rem;
    background-color: var(--off-white);
}

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

.video-content-text {
    padding-right: 2rem;
}

.video-content-text .section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.video-description {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

.video-features li {
    padding: 0.7rem 0;
    color: var(--dark-gray);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.video-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.1rem;
}

.video-container-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    background-color: var(--white);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.video-container-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.homepage-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ===================================
   Animated Counter Section
   =================================== */

.counter-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--accent-orange) 100%);
    padding: 4rem 2rem;
    color: var(--white);
}

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

.counter-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.counter-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.counter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.counter-icon-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.counter-icon-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.dentist-icon-3d {
    display: inline-block;
    font-size: 4rem;
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.2),
        4px 4px 8px rgba(0, 0, 0, 0.3),
        6px 6px 12px rgba(0, 0, 0, 0.2),
        -1px -1px 2px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 107, 74, 0.3);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float3d 3s ease-in-out infinite;
}

.dentist-icon-3d:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.1);
}

@keyframes float3d {
    0%, 100% {
        transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-10px);
    }
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.counter-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===================================
   Responsive: Tablet & below – bottom nav, hide top menu
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }

    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ===================================
   Responsive: Phone landscape / small tablet
   =================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .hero {
        min-height: 70vh;
        height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .product-card {
        flex-direction: column !important;
        min-height: auto;
    }

    .product-card:nth-child(even) {
        flex-direction: column !important;
    }

    .product-image {
        width: 100%;
        height: 280px;
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid var(--light-gray);
    }

    .product-card:nth-child(even) .product-image {
        border-bottom: 1px solid var(--light-gray);
    }

    .product-content {
        width: 100%;
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .counter-number {
        font-size: 2.25rem;
    }

    .counters-grid {
        gap: 1.5rem;
    }

    .video-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-content-text {
        padding-right: 0;
        text-align: center;
    }

    .video-content-text .section-title {
        text-align: center !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section .social-links {
        justify-content: center;
    }

    .map-wrapper {
        width: 100%;
        overflow: hidden;
        border-radius: 12px;
    }

    .map-wrapper iframe {
        width: 100% !important;
        height: 320px !important;
        max-width: 100%;
    }
}

/* ===================================
   Responsive: Phone portrait
   =================================== */
@media (max-width: 576px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .hero {
        min-height: 60vh;
    }

    .map-wrapper iframe {
        height: 280px !important;
    }

    .nav-container {
        padding: 0.4rem 0.75rem;
    }

    .logo img,
    .logo-img {
        height: 42px;
        width: 160px;
    }

    .bottom-nav-item {
        font-size: 0.65rem;
        padding: 0.35rem 0.2rem;
    }

    .bottom-nav-icon {
        width: 22px;
        height: 22px;
    }

    .bottom-nav-icon svg {
        width: 20px;
        height: 20px;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .product-content {
        padding: 1.25rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    .webcard-home-section {
        padding: 2.5rem 0.75rem;
    }

    .webcard-heading {
        font-size: 1.4rem;
    }

    .webcard-lead,
    .webcard-body {
        font-size: 0.9rem;
    }

    .contact-section .contact-content {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .footer-content {
        padding: 2rem 1rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* ===================================
   Responsive: Small phone
   =================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section {
        padding: 2.5rem 0.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .bottom-nav-label {
        font-size: 0.6rem;
    }
}

/* ===================================
   Responsive: Very small phone
   =================================== */
@media (max-width: 360px) {
    .logo img,
    .logo-img {
        width: 140px;
        height: 38px;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

/* ===================================
   Animations & Utilities
   =================================== */

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

