/**
 * Mondo Dent Landing Page - Logo Brand Colors
 * Brand Colors from Logo:
 * --primary: #40D0D0 (Electric Cyan/Blue - bright tooth/globe color)
 * --secondary: #1A7A7A (Dark Teal - darker parts of tooth/globe)
 * --accent: #90A050 (Olive Green - MONDO banner color)
 * --dark: #0D1A2B (Dark Blue - logo background)
 */

:root {
    --primary: #40D0D0;
    --secondary: #1A7A7A;
    --accent: #90A050;
    --accent-light: #A8B46E;
    --dark: #0D1A2B;
    --light: #f8f9fa;
    --text: #2a2a2a;
    --text-light: #6c757d;
    --border: #e9ecef;
    --gradient-primary: linear-gradient(135deg, #40D0D0 0%, #1A7A7A 100%);
    --gradient-accent: linear-gradient(135deg, #90A050 0%, #A8B46E 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    --gradient-medical: linear-gradient(135deg, #e0f7f7 0%, #ffffff 100%);
    --shadow-sm: 0 2px 10px rgba(64, 208, 208, 0.15);
    --shadow-md: 0 8px 30px rgba(64, 208, 208, 0.2);
    --shadow-lg: 0 15px 50px rgba(64, 208, 208, 0.25);
}

/* Reset and Base Styles */
.mondo-dent-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: #ffffff;
}

.mondo-dent-landing * {
    box-sizing: border-box;
}

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

/* Hide WordPress Theme Title - Comprehensive */
body.page-template-page-mondo-dent-landing .wp-block-post-title,
body.page-template-page-mondo-dent-landing .entry-title,
body.page-template-page-mondo-dent-landing h1.wp-block-post-title,
body.page-template-page-mondo-dent-landing .wp-block-post-title-wrapper,
body.page-template-page-mondo-dent-landing .page-title,
body.page-template-page-mondo-dent-landing .post-title,
body.page-template-page-mondo-dent-landing article header h1,
body.page-template-page-mondo-dent-landing .wp-block-template-part header .wp-block-post-title,
body.page-template-page-mondo-dent-landing .site-header ~ .wp-block-post-title,
body.page-template-page-mondo-dent-landing .wp-block-group:has(.wp-block-post-title),
body.page-template-page-mondo-dent-landing .wp-block-template-part:has(.wp-block-post-title),
body.page-template-page-mondo-dent-landing .wp-site-blocks > .wp-block-post-title,
body.page-template-page-mondo-dent-landing .wp-block-template-part:has(.wp-block-post-title),
body.page-template-page-mondo-dent-landing main > .wp-block-post-title,
body.page-template-page-mondo-dent-landing .wp-block-group > .wp-block-post-title,
body.page-template-page-mondo-dent-landing header + .wp-block-post-title,
body.page-template-page-mondo-dent-landing .mondo-dent-header ~ .wp-block-post-title {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide theme header title area if present */
body.page-template-page-mondo-dent-landing .wp-block-template-part:has(.wp-block-post-title),
body.page-template-page-mondo-dent-landing .wp-block-group:has(.wp-block-post-title),
body.page-template-page-mondo-dent-landing .wp-block-group:first-child:has(.wp-block-post-title) {
    display: none !important;
}

/* Additional hide for any title blocks */
body.page-template-page-mondo-dent-landing [class*="post-title"],
body.page-template-page-mondo-dent-landing [class*="entry-title"],
body.page-template-page-mondo-dent-landing [class*="page-title"] {
    display: none !important;
}

/* Hide title in main content area before our custom header */
body.page-template-page-mondo-dent-landing main > .wp-block-post-title:first-child,
body.page-template-page-mondo-dent-landing .wp-site-blocks > .wp-block-post-title:first-child {
    display: none !important;
}

/* Hide WordPress Default Header Image Section */
body.page-template-page-mondo-dent-landing .wp-block-cover,
body.page-template-page-mondo-dent-landing .wp-block-cover-image,
body.page-template-page-mondo-dent-landing .wp-block-template-part:has(.wp-block-cover),
body.page-template-page-mondo-dent-landing .wp-block-template-part:has(.wp-block-cover-image),
body.page-template-page-mondo-dent-landing .custom-header,
body.page-template-page-mondo-dent-landing .header-image,
body.page-template-page-mondo-dent-landing .wp-block-template-part:has([class*="header"]),
body.page-template-page-mondo-dent-landing .wp-block-group:has(.wp-block-cover):first-child,
body.page-template-page-mondo-dent-landing .wp-site-blocks > .wp-block-template-part:has(.wp-block-cover):first-child,
body.page-template-page-mondo-dent-landing .wp-site-blocks > .wp-block-cover:first-child,
body.page-template-page-mondo-dent-landing .wp-site-blocks > .wp-block-cover-image:first-child,
body.page-template-page-mondo-dent-landing header[class*="header"]:not(.mondo-dent-header),
body.page-template-page-mondo-dent-landing .site-header:not(.mondo-dent-header),
body.page-template-page-mondo-dent-landing .wp-block-template-part[class*="header"]:not(.mondo-dent-header),
body.page-template-page-mondo-dent-landing .mondo-dent-header ~ .wp-block-template-part:has(.wp-block-cover),
body.page-template-page-mondo-dent-landing .mondo-dent-header ~ .wp-block-cover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide WordPress Theme Default Header (#header and #headerimg) */
body.page-template-page-mondo-dent-landing #header,
body.page-template-page-mondo-dent-landing #headerimg,
body.page-template-page-mondo-dent-landing #header[role="banner"],
body.page-template-page-mondo-dent-landing #headerimg h1,
body.page-template-page-mondo-dent-landing #headerimg .description,
body.page-template-page-mondo-dent-landing #headerimg a,
body.page-template-page-mondo-dent-landing div#header,
body.page-template-page-mondo-dent-landing div#headerimg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Hide WordPress Theme Default Footer (#footer) */
body.page-template-page-mondo-dent-landing #footer,
body.page-template-page-mondo-dent-landing #footer[role="contentinfo"],
body.page-template-page-mondo-dent-landing #footer p,
body.page-template-page-mondo-dent-landing #footer a,
body.page-template-page-mondo-dent-landing div#footer,
body.page-template-page-mondo-dent-landing footer#footer,
body.page-template-page-mondo-dent-landing .site-footer:not(.mondo-dent-footer),
body.page-template-page-mondo-dent-landing .wp-block-template-part:has(#footer),
body.page-template-page-mondo-dent-landing .wp-site-blocks > footer:not(.mondo-dent-footer) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Dynamic Header - Modern Design */
.mondo-dent-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(64, 208, 208, 0.12);
}

.mondo-dent-header.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    animation: slideDown 0.3s ease;
    box-shadow: var(--shadow-md);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 30px;
    min-height: 70px;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 800;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
    line-height: 1;
}

.header-logo a:hover {
    opacity: 0.9;
}

.logo-image {
    max-height: 70px;
    height: auto;
    width: auto;
    max-width: 220px;
    min-width: 180px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 6px rgba(64, 208, 208, 0.25));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.header-logo a:hover .logo-image {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 12px rgba(64, 208, 208, 0.35));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.header-menu .menu-item {
    margin: 0;
}

.header-menu .menu-item a {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.header-menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.header-menu .menu-item a:hover {
    color: var(--primary);
}

.header-menu .menu-item a:hover::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
}

.btn-header-cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-header-cta::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 ease;
}

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

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Add padding to main when header is sticky */
/* .mondo-dent-header.sticky-header ~ .mondo-dent-landing {
    padding-top: 80px;
} */

body.sticky-header-active {
    padding-top: 70px;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .header-menu.active {
        right: 0;
    }
    
    .header-menu .menu-item {
        width: 100%;
    }
    
    .header-menu .menu-item a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .header-content {
        padding: 8px 0;
        min-height: 60px;
    }
    
    .logo-image {
        max-height: 50px;
        max-width: 160px;
        min-width: 140px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}

/* Section Common Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Section Title Alignment Classes */
.section-title-center {
    text-align: center;
}

.section-title-left {
    text-align: left;
}

.section-title-right {
    text-align: right;
}

/* Hero Section - Logo Brand Dark Blue Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    overflow: hidden;
    padding-top: 0;
    position: relative;
}

/* Hero Background Overlay */
.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 26, 43, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* Dental Professional Elements - Logo Inspired Creative Design */
.hero-dental-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.dental-tooth {
    position: absolute;
    filter: drop-shadow(0 0 25px rgba(64, 208, 208, 0.5));
    animation: dentalFloat 25s ease-in-out infinite;
}

.dental-tooth-1 {
    top: 5%;
    right: 5%;
    width: 180px;
    height: 200px;
    animation-duration: 28s;
    animation-delay: 0s;
    opacity: 0.8;
    z-index: 1;
}

.dental-tooth-2 {
    bottom: 8%;
    left: 8%;
    width: 140px;
    height: 160px;
    animation-duration: 24s;
    animation-delay: -10s;
    opacity: 0.7;
    z-index: 1;
}

.dental-globe {
    position: absolute;
    filter: drop-shadow(0 0 20px rgba(64, 208, 208, 0.4));
    animation: dentalGlobeRotate 30s linear infinite;
}

.dental-globe-1 {
    top: 50%;
    right: 12%;
    width: 120px;
    height: 120px;
    transform: translateY(-50%);
    opacity: 0.6;
    z-index: 0;
}

.dental-tooth-small {
    position: absolute;
    filter: drop-shadow(0 0 15px rgba(64, 208, 208, 0.4));
    animation: dentalFloatSmall 20s ease-in-out infinite;
}

.dental-small-1 {
    top: 30%;
    left: 15%;
    width: 80px;
    height: 90px;
    animation-duration: 22s;
    animation-delay: -5s;
    opacity: 0.6;
    z-index: 1;
}

.dental-small-2 {
    bottom: 30%;
    right: 20%;
    width: 70px;
    height: 80px;
    animation-duration: 18s;
    animation-delay: -12s;
    opacity: 0.5;
    z-index: 1;
}

.dental-pattern {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 208, 208, 0.12) 0%, transparent 70%);
    filter: blur(4px);
    animation: dentalPulse 10s ease-in-out infinite;
}

.dental-pattern-1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    animation-duration: 12s;
    animation-delay: 0s;
    z-index: 0;
}

.dental-pattern-2 {
    bottom: 15%;
    right: 15%;
    width: 350px;
    height: 350px;
    animation-duration: 14s;
    animation-delay: -6s;
    z-index: 0;
}

.dental-tooth svg,
.dental-globe svg,
.dental-tooth-small svg {
    width: 100%;
    height: 100%;
}

@keyframes dentalFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(25px, -35px) rotate(8deg) scale(1.08);
    }
    50% {
        transform: translate(-20px, 30px) rotate(-8deg) scale(0.92);
    }
    75% {
        transform: translate(35px, 20px) rotate(5deg) scale(1.05);
    }
}

@keyframes dentalFloatSmall {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(15px, -20px) rotate(-5deg) scale(1.1);
    }
    66% {
        transform: translate(-15px, 20px) rotate(5deg) scale(0.9);
    }
}

@keyframes dentalGlobeRotate {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-50%) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translateY(-50%) rotate(360deg) scale(1);
    }
}

@keyframes dentalPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
    }
}

body.sticky-header-active .hero-section {
    padding-top: 0;
}

.hero-3d-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 20px;
    max-width: 1000px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.btn-hero {
    display: inline-block;
    padding: 18px 45px;
    background: #ffffff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.btn-hero span {
    position: relative;
    z-index: 1;
    color: var(--primary);
    transition: color 0.3s ease;
}

.btn-hero:hover::before {
    opacity: 1;
}

.btn-hero:hover span {
    color: #ffffff;
}

.btn-hero:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(64, 208, 208, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 0.8;
}

.hero-scroll-indicator:hover .scroll-arrow {
    transform: translateY(5px);
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    border-radius: 2px;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: rotate(45deg);
}

/* Purpose Section - Professional Clean Design */
.purpose-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.purpose-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(64, 208, 208, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.purpose-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(64, 208, 208, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.purpose-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.purpose-section .purpose-text {
    text-align: left;
}

.purpose-section .purpose-visual {
    position: relative;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purpose-visual-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Purpose 3D Dental Image - Video-like Animation */
.purpose-dental-image-3d {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1200px;
}

.purpose-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    transform-style: preserve-3d;
    animation: purpose3DAnimation 8s ease-in-out infinite;
}

.purpose-3d-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    display: block;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(64, 208, 208, 0.3),
        0 0 80px rgba(64, 208, 208, 0.2),
        inset 0 0 40px rgba(64, 208, 208, 0.1);
    position: relative;
    z-index: 2;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.1);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(64, 208, 208, 0.05) 0%, rgba(26, 122, 122, 0.05) 100%);
}

.purpose-image-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(64, 208, 208, 0.3) 0%, transparent 70%);
    border-radius: 30px;
    filter: blur(20px);
    z-index: 1;
    animation: purposeGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.purpose-image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 20px;
    z-index: 3;
    animation: purposeShine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes purpose3DAnimation {
    0%, 100% {
        transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(0px) scale(1);
    }
    25% {
        transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-10px) scale(1.02);
    }
    50% {
        transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-15px) scale(1.03);
    }
    75% {
        transform: perspective(1200px) rotateY(5deg) rotateX(-2deg) translateY(-10px) scale(1.02);
    }
}

@keyframes purposeGlowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes purposeShine {
    0% {
        left: -100%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: -100%;
    }
}

.purpose-visual:hover .purpose-3d-image {
    transform: scale(1.05);
    box-shadow: 
        0 25px 70px rgba(64, 208, 208, 0.4),
        0 0 100px rgba(64, 208, 208, 0.3),
        inset 0 0 50px rgba(64, 208, 208, 0.15);
    filter: brightness(1.1) contrast(1.15);
}

.purpose-visual:hover .purpose-image-wrapper {
    animation-play-state: paused;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) translateY(-5px) scale(1.05);
}

.purpose-visual:hover .purpose-image-glow {
    opacity: 0.6;
    transform: scale(1.2);
}

/* Purpose Icon Wrapper - Default SVG */
.purpose-icon-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(64, 208, 208, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(2deg) scale(1.02);
    }
    50% {
        transform: translateY(-25px) rotate(0deg) scale(1.05);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg) scale(1.02);
    }
}

.purpose-section .purpose-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 30px;
    opacity: 0.1;
    transform: rotate(-5deg);
    z-index: -1;
}

.purpose-section .purpose-visual::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(144, 160, 80, 0.15) 0%, rgba(64, 208, 208, 0.1) 100%);
    border-radius: 30px;
    opacity: 0.1;
    transform: rotate(5deg);
    z-index: -2;
}

.purpose-section .section-title {
    font-size: 3.2rem;
    margin-bottom: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.purpose-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-weight: 400;
    text-align: left;
}

.purpose-section .btn-link {
    margin-top: 0;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(64, 208, 208, 0.08);
    border: 1px solid rgba(64, 208, 208, 0.25);
    margin-top: 0.5rem;
}

.btn-link::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    line-height: 1;
}

.btn-link:hover::after {
    transform: translateX(6px);
}

.btn-link:hover {
    color: var(--secondary);
    background: rgba(64, 208, 208, 0.12);
    border-color: rgba(64, 208, 208, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 208, 208, 0.2);
}

/* Different Section - Professional Medical Design */
.different-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 30px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.different-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(64, 208, 208, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(64, 208, 208, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.different-section .section-title {
    margin-bottom: 20px;
}

.different-section .section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    font-size: 1.15rem;
    color: var(--text);
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    justify-items: stretch;
}

/* Limit to 4 columns max for features */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
}

/* 3 columns for medium-large screens */
@media (min-width: 900px) and (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 columns for tablets */
@media (min-width: 600px) and (max-width: 899px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    border: 1px solid var(--border);
    transform: translateY(0);
}

/* Staggered effect - alternate cards */
.feature-card:nth-child(odd) {
    transform: translateY(-20px);
}

.feature-card:nth-child(even) {
    transform: translateY(20px);
}

.feature-card::before {
    content: counter(feature-counter, decimal-leading-zero);
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(64, 208, 208, 0.3);
    z-index: 2;
    opacity: 1;
    border: 3px solid white;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(64, 208, 208, 0.1) 0%, rgba(64, 208, 208, 0.1) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.feature-card:hover::after {
    opacity: 1;
    transform: scale(1.5);
}


.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(64, 208, 208, 0.18);
    border-color: var(--primary);
}

/* Feature number badge */
.feature-card {
    counter-increment: feature-counter;
}

.features-grid {
    counter-reset: feature-counter;
}

.feature-card:hover::before {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(64, 208, 208, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0f7f7 0%, #f0f9f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 12px rgba(64, 208, 208, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(64, 208, 208, 0.3);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(1500%) hue-rotate(145deg) brightness(0.9) contrast(0.9);
    transition: filter 0.4s ease;
}

.feature-card:hover .feature-icon img {
    filter: brightness(0) invert(1);
}

/* Categories Section - Clean Professional Medical Design */
.categories-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(64, 208, 208, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(64, 208, 208, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.categories-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px auto 40px;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.categories-divider .divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.categories-divider .divider-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(64, 208, 208, 0.1) 0%, rgba(64, 208, 208, 0.1) 100%);
    border-radius: 50%;
    padding: 8px;
    position: relative;
    z-index: 1;
}

.categories-divider .divider-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(64, 208, 208, 0.3));
}

.categories-description {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.category-card {
    background: white;
    padding: 40px 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(64, 208, 208, 0.03) 0%, rgba(64, 208, 208, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(64, 208, 208, 0.2);
    border-color: var(--primary);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f7f7 0%, #f0f9f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(64, 208, 208, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border);
}

.category-card:hover .category-icon {
    transform: translateY(-5px) scale(1.05);
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(64, 208, 208, 0.25);
    border-color: transparent;
}

.category-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(1500%) hue-rotate(145deg) brightness(0.9) contrast(0.9);
    transition: filter 0.4s ease;
}

.category-card:hover .category-icon img {
    filter: brightness(0) invert(1);
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--primary);
}

.category-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.category-name a:hover {
    color: var(--secondary);
}

.categories-cta {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Sustainability Section - Professional Medical Layout */
.sustainability-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 30px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.sustainability-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(64, 208, 208, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sustainability-text {
    padding-right: 40px;
}

.sustainability-description {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.sustainability-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(64, 208, 208, 0.15);
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.4s ease;
}

.sustainability-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.sustainability-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section - Professional Clean Cards */
.testimonials-section {
    background: #f8f9fa;
    padding: 30px 0 80px 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 70px;
}

.testimonial-card {
    background: white;
    padding: 50px 45px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 0 5px 5px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(64, 208, 208, 0.15);
    border-color: var(--primary);
}

.testimonial-quote {
    color: var(--primary);
    margin-bottom: 25px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Email CTA Section - Modern Creative Design */
.email-cta-section {
    background: linear-gradient(135deg, #40D0D0 0%, #2A9D8F 50%, #1A7A7A 100%);
    padding: 0px 0 50px 0;
    position: relative;
    overflow: hidden;
}

.email-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.email-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.email-cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.email-cta-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    line-height: 1.6;
    font-weight: 400;
}

.email-cta-form-wrapper {
    max-width: 650px;
    margin: 0 auto 30px;
    position: relative;
}
.mondo-dent-cf7-form{
 align-items: center !important;
    gap: 0 !important;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    }
.email-cta-form,
.email-cta-form-wrapper .wpcf7,
.email-cta-form-wrapper .mondo-dent-cf7-form {
    display: flex;
}

.email-cta-form-group,
.email-cta-form-wrapper .wpcf7-form {
    display: block !important;
    flex-direction: row !important;

}

/* CF7 form paragraphs should be flex items - make form horizontal */
.email-cta-form-wrapper .wpcf7-form {
    display: block !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.email-cta-form-wrapper .wpcf7-form > span {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
}

.email-cta-form-wrapper .wpcf7-form > p:has(.wpcf7-submit) {
    flex: 0 0 auto !important;
}

.email-cta-form-wrapper .wpcf7-form > p:last-child {
    flex: 0 0 auto !important;
}

.email-cta-form-group:hover,
.email-cta-form-wrapper .wpcf7-form .mondo-dent-cf7-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.email-cta-form-group input[type="email"],
.email-cta-form-wrapper input[type="email"],
.email-cta-form-wrapper .wpcf7-email,
.email-cta-form-wrapper input.wpcf7-email {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 18px 28px !important;
    border: none !important;
    border-radius: 60px !important;
    font-size: 1.05rem !important;
    outline: none !important;
    background: transparent !important;
    color: #000000 !important;
    font-family: inherit !important;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50px !important;
}

.email-cta-form-group input[type="email"]::placeholder,
.email-cta-form-wrapper input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.email-cta-form-group input[type="email"]:focus,
.email-cta-form-wrapper input[type="email"]:focus,
.email-cta-form-wrapper .wpcf7-email:focus {
    background: rgba(255, 255, 255, 0.5);
}

.email-cta-btn,
.email-cta-form-wrapper button[type="submit"],
.email-cta-form-wrapper .wpcf7-submit {
    padding: 18px 40px !important;
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 60px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 15px rgba(64, 208, 208, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50px !important;
    margin: 0 !important;
}

.email-cta-btn::before,
.email-cta-form-wrapper .wpcf7-submit::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 ease;
}

.email-cta-btn:hover::before,
.email-cta-form-wrapper .wpcf7-submit:hover::before {
    left: 100%;
}

.email-cta-btn:hover,
.email-cta-form-wrapper button[type="submit"]:hover,
.email-cta-form-wrapper .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 208, 208, 0.4);
}

.email-cta-footer {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 25px;
    font-weight: 400;
}

/* Hide CF7 labels in email CTA */
.email-cta-form-wrapper label,
.email-cta-form-wrapper .wpcf7-form-control-wrap label,
.email-cta-form-wrapper .wpcf7-form > p label {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

.email-cta-form-wrapper .wpcf7-form-control-wrap {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

.email-cta-form-wrapper .wpcf7-form-control-wrap input {
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Email field paragraph takes flex space */
.email-cta-form-wrapper .wpcf7-form > p:first-child,
.email-cta-form-wrapper .wpcf7-form > p:has(.wpcf7-form-control-wrap) {
    flex: 1 !important;
    min-width: 0 !important;
}

/* Submit button paragraph doesn't grow */
.email-cta-form-wrapper .wpcf7-form > p:has(.wpcf7-submit),
.email-cta-form-wrapper .wpcf7-form > p:last-child:has(.wpcf7-submit) {
    flex: 0 0 auto !important;
}

/* Fallback for browsers without :has() support */
.email-cta-form-wrapper .wpcf7-form > p:nth-child(1):not(:has(.wpcf7-submit)) {
    flex: 1 !important;
}

.email-cta-form-wrapper .wpcf7-form > p:nth-child(2) {
    flex: 0 0 auto !important;
}

.email-cta-form-wrapper .wpcf7-spinner {
    display: none !important;
}

/* Products Section - Modern Grid Layout */
.products-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 30px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.products-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #999;
    font-size: 3rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 208, 208, 0.9) 0%, rgba(42, 157, 143, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-link-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-link-text i {
    transition: transform 0.3s ease;
}

.product-card:hover .product-link-text i {
    transform: translateX(5px);
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.product-card:hover .product-cta {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.product-card:hover .product-cta i {
    transform: translateX(3px);
}

.no-products-message {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 60px 20px;
}

/* Responsive Products Section */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .products-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive Email CTA */
@media (max-width: 768px) {
    .email-cta-section {
        padding: 80px 0;
    }
    
    .email-cta-title {
        font-size: 2.5rem;
    }
    
    .email-cta-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .email-cta-form-group,
    .email-cta-form-wrapper .wpcf7-form {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        border-radius: 20px;
    }
    
    .email-cta-form-group input[type="email"],
    .email-cta-form-wrapper input[type="email"],
    .email-cta-form-wrapper .wpcf7-email {
        border-radius: 15px;
        padding: 16px 20px;
    }
    
    .email-cta-btn,
    .email-cta-form-wrapper button[type="submit"],
    .email-cta-form-wrapper .wpcf7-submit {
        width: 100%;
        border-radius: 15px;
        padding: 16px 28px;
    }
}

/* Footer - Modern Design */
.mondo-dent-footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.mondo-dent-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 208, 208, 0.4), transparent);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    text-align: left;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand .footer-tagline {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

.footer-nav a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-company strong {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
}

/* .address-text {
    white-space: pre-line;
} */

.contact-emails .emails-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.email-link:hover {
    color: var(--primary);
}

.email-link span {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.email-link:hover span {
    color: var(--primary);
}

.phone-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.phone-link:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(64, 208, 208, 0.3);
}

.social-link i {
    font-size: 1.2rem;
}

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

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links .footer-nav {
        align-items: center;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* Animation Classes */
[data-animate] {
    opacity: 0;
}

[data-animate].animate {
    opacity: 1;
}

/* Purpose Section Responsive */
@media (max-width: 768px) {
    .purpose-dental-image-3d {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .purpose-3d-image {
        min-height: 300px;
        border-radius: 15px;
    }
    
    .purpose-image-glow {
        filter: blur(15px);
    }
    
    .purpose-image-wrapper {
        animation-duration: 6s;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dental-tooth-1 {
        width: 120px;
        height: 135px;
        top: 8%;
        right: 3%;
        opacity: 0.6;
    }
    
    .dental-tooth-2 {
        width: 100px;
        height: 115px;
        bottom: 12%;
        left: 3%;
        opacity: 0.5;
    }
    
    .dental-globe-1 {
        width: 80px;
        height: 80px;
        top: 50%;
        right: 8%;
        opacity: 0.4;
    }
    
    .dental-small-1 {
        width: 60px;
        height: 68px;
        top: 35%;
        left: 8%;
        opacity: 0.4;
    }
    
    .dental-small-2 {
        width: 50px;
        height: 57px;
        bottom: 25%;
        right: 12%;
        opacity: 0.35;
    }
    
    .dental-pattern-1 {
        width: 250px;
        height: 250px;
        top: 8%;
        left: 8%;
    }
    
    .dental-pattern-2 {
        width: 200px;
        height: 200px;
        bottom: 12%;
        right: 12%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .purpose-section {
        padding: 60px 0;
    }
    
    .purpose-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .purpose-section .purpose-text {
        text-align: center;
    }
    
    .purpose-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    /* Mobile: Center all section titles */
    .section-title-left,
    .section-title-center,
    .section-title-right {
        text-align: center !important;
    }
    
    .purpose-description {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .purpose-section .purpose-visual {
        min-height: 250px;
    }
    
    .purpose-icon-wrapper svg {
        width: 100px;
        height: 100px;
    }
    
    .sustainability-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sustainability-text {
        padding-right: 0;
    }
    
    .sustainability-image {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .categories-divider {
        max-width: 90%;
        gap: 15px;
        margin: 25px auto 30px;
    }
    
    .categories-divider .divider-icon {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    
    section {
        padding: 80px 0;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .purpose-description,
    .sustainability-description {
        font-size: 1.1rem;
    }
}

.mondo-dent-cf7-form p {
    display: flex;
    margin: 0;
}

p.emails-list-inner {
    display: flex;
    gap: 10px;
    margin: 0;
}
.wpcf7-response-output {
    margin-top: 20px !important;
    z-index: 5 !important;
    position: relative !important;
}
.wpcf7 form.sent .wpcf7-response-output{
background: green !important;
    border: none !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    padding: 0 !important;
}
span.wpcf7-not-valid-tip {
    display: none;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
background: red !important;
    border: none !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    padding: 0 !important;
}