:root {
    --primary-navy: #1A3B5D;
    --secondary-navy: #2C4F7C;
    --accent-sage: #6B8E7A;
    --light-gray: #F5F7F9;
    --warm-white: #FFFFFF;
    --text-charcoal: #333333;
    --text-muted: #666666;
    --border-light: #E1E8ED;
    --highlight-gold: #B8860B;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-charcoal);
    background-color: var(--warm-white);
}

/* Animation Classes */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(184, 134, 11, 0.5);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Glitch Effect */
@keyframes glitch {
    0%, 100% {
        text-shadow: 2px 0 red, -2px 0 cyan;
        transform: translate(2px, -2px);
    }
    25% {
        text-shadow: -2px 0 red, 2px 0 cyan;
        transform: translate(-2px, 2px);
    }
    50% {
        text-shadow: 2px 0 cyan, -2px 0 red;
        transform: translate(2px, 2px);
    }
    75% {
        text-shadow: -2px 0 cyan, 2px 0 red;
        transform: translate(-2px, -2px);
    }
}

/* Card Animations */
.doctor-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.doctor-card:hover::before {
    transform: translateX(100%);
}

.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(107, 142, 122, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    top: -100%;
    left: -100%;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(107, 142, 122, 0.2);
}

.education-card {
    transition: all 0.3s ease;
    position: relative;
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(26, 59, 93, 0.1);
}

/* Image Animations */
.rounded-circle {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rounded-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

/* Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Skill Badge Animations */
.skill-badge {
    transition: all 0.3s ease;
    cursor: default;
}

.skill-badge:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10;
    position: relative;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Staggered Animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.navbar {
    background: var(--warm-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-toggler {
    border: 1px solid var(--primary-red, #8B0000);
    padding: 8px 12px;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(107, 142, 122, 0.25);
    border-color: var(--primary-red, #8B0000);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236B8E7A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-navy) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-navy) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    font-size: 0.85rem;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    background-color: transparent;
    border-bottom-color: var(--primary-red, #8B0000);
    color: var(--primary-red, #8B0000) !important;
}

.hero-section {
    background: var(--warm-white);
    color: var(--text-charcoal);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
}

.doctor-card {
    background: var(--warm-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-navy);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.section-title {
    color: var(--primary-navy);
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red, #8B0000);
}

.service-card {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-navy);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.btn-primary-custom {
    background: var(--primary-navy);
    border: none;
    color: var(--warm-white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26,59,93,0.3);
}

.btn-primary-custom:hover {
    background: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,79,124,0.4);
    color: var(--warm-white);
}

.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    color: var(--warm-white);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    opacity: 0.5;
}

.footer h5 {
    color: var(#B8860B);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red, #8B0000);
}

.footer-section {
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(107, 142, 122, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--primary-red, #8B0000);
    transform: scale(1.1);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.footer-social-link:hover {
    background: var(--primary-red, #8B0000);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(107, 142, 122, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--warm-white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--primary-red, #8B0000);
    opacity: 1;
}

.footer-awards {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.footer-award-badge {
    background: var(--highlight-gold);
    color: var(--primary-navy);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-map-btn {
    background: var(--highlight-gold);
    color: var(--warm-white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    cursor: pointer;
}

.footer-map-btn:hover {
    background: var(--highlight-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

.skill-badge {
    background: var(--primary-red, #8B0000);
    color: var(--warm-white);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-info {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-navy);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-red, #8B0000);
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--pure-white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-navy);
    border: 2px solid var(--warm-white);
}

.education-card {
    background: var(--warm-white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--highlight-gold);
}

.appointment-form {
    background: var(--pure-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.2rem rgba(26,59,93,0.25);
}

.btn-submit {
    background: var(--primary-red, #8B0000);
    border: none;
    color: var(--warm-white);
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--highlight-gold);
    transform: translateY(-2px);
    color: var(--warm-white);
}

.dropdown-menu {
    background: var(--warm-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dropdown-item {
    color: var(--text-charcoal);
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(26,59,93,0.1);
    font-size: 0.8rem;
}

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

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-navy);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.75);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.text-lg-end {
    text-align: right;
}

.me-1 {
    margin-right: 0.25rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.fa-heart {
    color: var(--highlight-gold);
}

/* ============================================
   SCROLL ANIMATIONS - Left/Right Slide
   ============================================ */

/* Initial states for scroll animations */
.scroll-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-down {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state */
.scroll-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

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

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

.scroll-down.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Reverse animations when scrolling back */
.scroll-left.animate-out {
    opacity: 0;
    transform: translateX(-100px);
}

.scroll-right.animate-out {
    opacity: 0;
    transform: translateX(100px);
}

.scroll-up.animate-out {
    opacity: 0;
    transform: translateY(80px);
}

.scroll-down.animate-out {
    opacity: 0;
    transform: translateY(-80px);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   TYPING ANIMATION
   ============================================ */
.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--primary-red);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-red); }
}

/* Cursor blink effect */
.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Typewriter effect for headings */
.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--primary-red);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: 
        typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

/* ============================================
   STAT BOX ANIMATIONS
   ============================================ */
.stat-box {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   HERO SECTION ANIMATIONS
   ============================================ */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* ============================================
   PARALLAX BACKGROUND
   ============================================ */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================
   BUTTON HOVER ANIMATIONS
   ============================================ */
.btn-animate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-animate:hover::before {
    left: 100%;
}

/* ============================================
   IMAGE HOVER ZOOM
   ============================================ */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.1);
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   SECTION FADE IN
   ============================================ */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CARD SLIDE ANIMATIONS
   ============================================ */
.card-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.card-slide-left.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.card-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.card-slide-right.slide-in {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RESPONSIVE ANIMATIONS
   ============================================ */
@media (max-width: 768px) {
    .scroll-left, .scroll-right {
        transform: translateY(30px);
    }
    
    .scroll-left.animate-in, .scroll-right.animate-in {
        transform: translateY(0);
    }
    
    .reveal-left, .reveal-right {
        transform: translateY(30px);
    }
    
    .reveal-left.active, .reveal-right.active {
        transform: translateY(0);
    }
}

/* ============================================
   IMPLANT TYPES SECTION
   ============================================ */
.implant-types {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.implant-type {
    background: var(--warm-white);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 2px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.implant-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-navy);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.implant-type:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--secondary-navy);
}

.implant-type:hover::before {
    transform: scaleX(1);
}

.implant-type h5 {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 15px;
}

.implant-type h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--border-light);
}

.implant-type p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 15px;
    margin-bottom: 0;
}

.implant-type.featured {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    border-color: var(--primary-navy);
    transform: scale(1.05);
}

.implant-type.featured::before {
    background: var(--highlight-gold);
    transform: scaleX(1);
}

.implant-type.featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 59, 93, 0.3);
}

.implant-type.featured h5 {
    color: var(--warm-white);
}

.implant-type.featured h5::after {
    background: rgba(255,255,255,0.3);
}

.implant-type.featured p {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

@media (max-width: 576px) {
    .implant-types {
        flex-direction: column;
        align-items: center;
    }
    
    .implant-type {
        width: 100%;
        max-width: 100%;
    }
    
    .implant-type.featured {
        transform: scale(1);
    }
    
    .implant-type.featured:hover {
        transform: translateY(-8px);
    }
}