/* Dental Landing Theme Styles */
:root { 
    --accent:#0b76d1; 
    --accent-light: #e6f2ff;
    --bg:#ffffff; 
    --muted:#666;
    --border:#eee;
    --success:#2ecc71;
    --error:#e74c3c;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial,sans-serif;
    line-height:1.6;
    color:#222;
    background:var(--bg);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 6px 12px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.mdclpt-container{
    max-width:1100px;
    margin:0 auto;
    padding:28px;
}

/* ============================= */
/*       HEADER + NAVIGATION     */
/* ============================= */

.mdclpt-header{
    background:#fff;
    border-bottom:1px solid var(--border);
    padding:0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Adjust sticky header for WordPress admin bar */
.admin-bar .mdclpt-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .mdclpt-header {
        top: var(--wp-admin--admin-bar--height, 46px);
    }
}

.mdclpt-header .mdclpt-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap: 30px;
    padding: 16px 28px;
    max-width: 100%;
}

/* LEFT SIDE - BRANDING */
.mdclpt-branding {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.mdclpt-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mdclpt-logo-box .custom-logo {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

.mdclpt-logo-box img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

.mdclpt-logo {
    font-weight: 800;
    font-size: 24px;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}

.mdclpt-logo:hover {
    opacity: 0.8;
}

.mdclpt-site-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mdclpt-site-title {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.mdclpt-site-title a {
    color: #222;
    text-decoration: none;
}

.mdclpt-site-title a:hover {
    color: var(--accent);
}

.mdclpt-site-tagline {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

/* RIGHT SIDE - NAVIGATION */
.mdclpt-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
    margin-left: auto;
}

.mdclpt-nav {
    display: flex;
    flex: 0 0 auto;
}

.mdclpt-nav ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    gap:0;
}

.mdclpt-nav ul li{
    position:relative;
}

.mdclpt-nav a{
    text-decoration:none;
    color:#222;
    font-weight:500;
    transition:color .25s, background .25s;
    display: block;
    padding: 12px 16px;
}

.mdclpt-nav a:hover, .mdclpt-nav a:focus{
    color:var(--accent);
    background: #f5f5f5;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Dropdown menu */
.mdclpt-nav ul ul{
    display:none;
    position:absolute;
    top:calc(100% - 4px);
    left:0;
    background:#fff;
    border:1px solid var(--border);
    padding:0;
    border-radius:4px;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width:160px;
    z-index:100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mdclpt-nav ul li:hover > ul, .mdclpt-nav ul li:focus-within > ul{
    display:block;
}

.mdclpt-nav ul ul a{
    padding:10px 16px;
    display:block;
    white-space:nowrap;
    font-size: 14px;
}

.mdclpt-nav .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
}

.mdclpt-submenu-icon {
    display: inline-flex;
    margin-left: 6px;
    line-height: 1;
}

.mdclpt-submenu-icon .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.mdclpt-submenu-icon .mdclpt-icon-up {
    display: none;
}

.mdclpt-nav .menu-item-has-children:hover > a .mdclpt-icon-down,
.mdclpt-nav .menu-item-has-children:focus-within > a .mdclpt-icon-down,
.mdclpt-nav .menu-item-has-children.open > a .mdclpt-icon-down {
    display: none;
}

.mdclpt-nav .menu-item-has-children:hover > a .mdclpt-icon-up,
.mdclpt-nav .menu-item-has-children:focus-within > a .mdclpt-icon-up,
.mdclpt-nav .menu-item-has-children.open > a .mdclpt-icon-up {
    display: inline-block;
}

/* Menu Toggle Button */
.mdclpt-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 16px;
    flex-shrink: 0;
}

.mdclpt-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: #222;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

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

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

.mdclpt-menu-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mdclpt-menu-close:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Hide close button on desktop/tablet */
@media (min-width: 769px) {
    .mdclpt-menu-close {
        display: none !important;
    }
}

/* ============================= */
/*       HERO SECTION (SLIDER)   */
/* ============================= */

.mdclpt-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.mdclpt-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.mdclpt-hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.mdclpt-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.mdclpt-hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.mdclpt-hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 118, 209, 0.4) 0%, rgba(230, 242, 255, 0.3) 100%);
    z-index: 1;
}

.mdclpt-hero-slide .mdclpt-container {
    position: relative;
    z-index: 2;
}

.mdclpt-hero-inner {
    width: 100%;
    text-align: center;
    animation: slideInUp 0.8s ease-out;
}

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

.mdclpt-hero-title {
    font-size: 56px;
    margin: 0 0 16px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.mdclpt-hero-subtitle {
    font-size: 20px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

/* Hero Slider Controls */
.mdclpt-hero-prev,
.mdclpt-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mdclpt-hero-prev:hover,
.mdclpt-hero-next:hover {
    background: rgba(11, 118, 209, 0.7);
    border-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.mdclpt-hero-prev {
    left: 20px;
}

.mdclpt-hero-next {
    right: 20px;
}

.mdclpt-hero-prev i,
.mdclpt-hero-next i {
    font-size: 20px;
}

/* Slider Dots Navigation */
.mdclpt-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.mdclpt-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mdclpt-hero-dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
    border-color: #fff;
}

.mdclpt-hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ============================= */
/*       BUTTONS                 */
/* ============================= */

.mdclpt-btn{
    display:inline-block;
    padding:12px 28px;
    background:var(--accent);
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    border: 2px solid var(--accent);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mdclpt-btn:hover, .mdclpt-btn:focus{
    background:#095aa8;
    border-color: #095aa8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 118, 209, 0.3);
    outline: none;
}

.mdclpt-btn:active {
    transform: translateY(0);
}

.mdclpt-btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Scroll to Top Button */
.mdclpt-scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mdclpt-scroll-to-top:hover {
    background: #095aa8;
    border-color: #095aa8;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(11, 118, 209, 0.4);
}

.mdclpt-scroll-to-top:active {
    transform: translateY(-1px);
}

/* ============================= */
/*     SCROLL ANIMATIONS         */
/* ============================= */

/* Base animation class */
.mdclpt-animate-on-scroll {
    will-change: opacity, transform;
}

/* Animation states */
.mdclpt-animated {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) scale(1) rotate(0deg) !important;
}

/* Stagger animations for multiple elements */
.mdclpt-animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.mdclpt-animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.mdclpt-animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.mdclpt-animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.mdclpt-animate-on-scroll:nth-child(5) { transition-delay: 400ms; }
.mdclpt-animate-on-scroll:nth-child(6) { transition-delay: 500ms; }
.mdclpt-animate-on-scroll:nth-child(7) { transition-delay: 600ms; }
.mdclpt-animate-on-scroll:nth-child(8) { transition-delay: 700ms; }

/* ============================= */
/*       SECTION TITLES          */
/* ============================= */

.mdclpt-section-title{
    font-size:32px;
    margin:0 0 40px;
    text-align:center;
    font-weight: 700;
    color: var(--accent);
}

/* Decorative underline below section titles */
.mdclpt-section-title {
    position: relative;
    padding-bottom: 18px;
}
.mdclpt-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, var(--accent), #095aa8);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(11,118,209,0.12);
}
/* ============================= */
/*       FEATURES SECTION        */
/* ============================= */

.mdclpt-features {
    padding: 60px 0;
    background: #f9f9f9;
}

.mdclpt-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:24px;
}

.mdclpt-feature{
    background:#fff;
    padding:24px;
    border-radius:8px;
    border:1px solid var(--border);
    transition: all 0.3s ease;
}

.mdclpt-feature:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.mdclpt-feature h3 {
    color: var(--accent);
    margin-top: 0;
}

/* ============================= */
/*       SERVICES SECTION        */
/* ============================= */

.mdclpt-services {
    padding: 60px 0;
    background: #fff;
}

.mdclpt-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.mdclpt-service-card {
    background: #f9f9f9;
    padding: 28px;
    border-radius: 8px;
    border: 2px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.mdclpt-service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(11, 118, 209, 0.15);
    transform: translateY(-6px);
}

.mdclpt-service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mdclpt-service-icon img {
    max-width: 70px;
    height: auto;
}

.mdclpt-service-card h3 {
    color: var(--accent);
    margin: 0 0 12px;
    font-size: 20px;
}

.mdclpt-service-card p {
    color: var(--muted);
    margin: 0 0 16px;
    line-height: 1.6;
}

.mdclpt-service-price {
    background: var(--accent-light);
    padding: 12px;
    border-radius: 6px;
    margin: 16px 0;
    font-weight: 600;
    color: var(--accent);
}

/* ============================= */
/*       TEAM SECTION            */
/* ============================= */

.mdclpt-team {
    padding: 60px 0;
    background: #f9f9f9;
}

.mdclpt-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.mdclpt-team-member {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.mdclpt-team-member:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.mdclpt-team-image {
    margin-bottom: 16px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--accent-light);
}

.mdclpt-team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mdclpt-team-member h3 {
    color: var(--accent);
    margin: 0 0 8px;
    font-size: 18px;
}

.mdclpt-member-title {
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 12px;
    font-style: italic;
}

.mdclpt-team-member p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

/* Team Social Icons */
.mdclpt-team-socials {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mdclpt-team-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-light), #fff);
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.mdclpt-team-social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: -1;
}

.mdclpt-team-social:hover {
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 8px 20px rgba(11, 118, 209, 0.25);
}

.mdclpt-team-social:hover::before {
    width: 100%;
    height: 100%;
}

.mdclpt-team-social i {
    display: inline-block;
    font-size: 16px;
    font-style: normal;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* ============================= */
/*       TESTIMONIALS SECTION    */
/* ============================= */

.mdclpt-testimonials{
    background:#f0f8ff;
    padding:60px 0;
}

.mdclpt-testimonial-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.mdclpt-testimonial{
    margin:0;
    padding:24px;
    border-left:4px solid var(--accent);
    background:#fff;
    border-radius:6px;
    transition: all 0.3s ease;
}

.mdclpt-testimonial:hover {
    box-shadow: 0 4px 12px rgba(11, 118, 209, 0.15);
}

.mdclpt-testimonial cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 600;
    color: var(--accent);
}

/* ============================= */
/*       HOURS SECTION           */
/* ============================= */

.mdclpt-hours {
    padding: 60px 0;
    background: #fff;
}

.mdclpt-hours-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mdclpt-location-map {
    grid-column: 1 / -1;
    max-width: 100%;
}

.mdclpt-hours-list h3, .mdclpt-location-info h3, .mdclpt-location-map h3 {
    color: var(--accent);
    margin-top: 0;
    font-size: 20px;
}

.mdclpt-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.mdclpt-hours-table tr {
    border-bottom: 1px solid var(--border);
}

.mdclpt-hours-table td {
    padding: 12px 0;
}

.mdclpt-hours-table td:first-child {
    font-weight: 600;
    color: var(--accent);
    width: 40%;
}

.mdclpt-hours-fallback p {
    margin: 12px 0;
    color: var(--muted);
}

.mdclpt-location-info {
    background: var(--accent-light);
    padding: 24px;
    border-radius: 8px;
}

.mdclpt-location-info p {
    color: #222;
    margin: 12px 0;
}

.mdclpt-location-map {
    background: var(--accent-light);
    padding: 24px;
    border-radius: 8px;
}

.mdclpt-map-container {
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mdclpt-map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
}

/* ============================= */
/*       CONTACT SECTION         */
/* ============================= */

.mdclpt-contact{
    padding:60px 0;
    background: #f9f9f9;
}

.mdclpt-form-row {
    margin-bottom: 20px;
}

.mdclpt-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.required {
    color: var(--error);
}

.mdclpt-contact-form input,
.mdclpt-contact-form textarea,
.mdclpt-contact-form select {
    width:100%;
    padding:12px;
    border:2px solid var(--border);
    border-radius:6px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.mdclpt-contact-form input:focus,
.mdclpt-contact-form textarea:focus,
.mdclpt-contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11, 118, 209, 0.1);
}

.mdclpt-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.mdclpt-contact-form p {
    text-align: center;
    margin-top: 24px;
}

.mdclpt-alert{
    padding:16px;
    border-radius:6px;
    margin-bottom:20px;
    font-weight: 600;
}

.mdclpt-alert-success {
    background:#e6ffed;
    border:2px solid var(--success);
    color: var(--success);
}

.mdclpt-alert-error {
    background: #ffe6e6;
    border: 2px solid var(--error);
    color: var(--error);
}

/* ============================= */
/*       FOOTER                  */
/* ============================= */

.mdclpt-footer{
    border-top:1px solid var(--border);
    padding:40px 0 20px;
    background: #f9f9f9;
}

.mdclpt-footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.mdclpt-footer-info h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #222;
}

.mdclpt-footer-info p {
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.mdclpt-footer-info a {
    color: var(--accent);
    text-decoration: none;
}

.mdclpt-footer-info a:hover {
    text-decoration: underline;
}

.mdclpt-footer-socials h4 {
    margin: 0 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    color: #222;
}

.mdclpt-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mdclpt-social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease;
}

.mdclpt-social-links a:hover {
    background: #0a5fa8;
}

.mdclpt-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}

/* ============================= */
/*       PRICING SECTION         */
/* ============================= */

.mdclpt-pricing {
    padding: 80px 0;
    background: #fafafa;
}

.mdclpt-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--muted);
    margin: -16px 0 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mdclpt-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.mdclpt-plan {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mdclpt-plan:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.mdclpt-plan.popular {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(11, 118, 209, 0.15);
}

.mdclpt-plan.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(11, 118, 209, 0.25);
}

.mdclpt-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mdclpt-plan h3 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #222;
}

.mdclpt-plan-description {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
}

.mdclpt-price-container {
    margin: 24px 0;
}

.mdclpt-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin: 0;
}

.mdclpt-price-period {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
}

.mdclpt-plan-features {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    text-align: left;
    flex-grow: 1;
}

.mdclpt-plan-features li {
    padding: 12px 0;
    color: #222;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mdclpt-plan-features li:last-child {
    border-bottom: none;
}

.mdclpt-plan-features i {
    color: var(--success);
    margin-right: 12px;
    font-weight: 600;
}

.mdclpt-plan .mdclpt-btn {
    margin-top: 24px;
    display: inline-block;
    padding: 14px 32px;
    background: #f0f0f0;
    color: #222;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.mdclpt-plan .mdclpt-btn:hover {
    background: var(--border);
    color: #222;
}

.mdclpt-plan.popular .mdclpt-btn.mdclpt-btn-primary {
    background: var(--accent);
    color: #fff;
}

.mdclpt-plan.popular .mdclpt-btn.mdclpt-btn-primary:hover {
    background: #0a5fa8;
}

/* ============================= */
/*       MOBILE RESPONSIVE       */
/* ============================= */

@media (max-width:768px){
    .mdclpt-header .mdclpt-container{
        padding: 12px 16px;
        gap: 12px;
    }

    .mdclpt-branding {
        gap: 10px;
        flex: 1;
        min-width: 0;
        z-index: 9999;
    }

    .mdclpt-logo-box {
        flex-shrink: 0;
    }

    .mdclpt-logo-box .custom-logo,
    .mdclpt-logo-box img {
        max-width: 45px;
        max-height: 45px;
    }

    .mdclpt-site-info {
        min-width: 0;
    }

    .mdclpt-site-title {
        font-size: 16px;
    }

    .mdclpt-site-tagline {
        font-size: 11px;
    }

    .mdclpt-nav-wrapper {
        flex: 0 0 auto;
        display: block;
    }
    
    .mdclpt-menu-toggle {
        display: flex;
    }
    
    .mdclpt-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1099; /* Below nav but above content */
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .mdclpt-nav-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mdclpt-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        overflow-y: auto;
        padding-top: 80px;
        z-index: 1100; /* Above header */
        flex: none;
        display: block;
    }

    /* Keep mobile off-canvas menu below WP admin bar */
    .admin-bar .mdclpt-nav {
        top: var(--wp-admin--admin-bar--height, 46px);
        height: calc(100vh - var(--wp-admin--admin-bar--height, 46px));
        padding-top: 0;
    }

    /* Keep backdrop aligned below admin bar */
    .admin-bar .mdclpt-nav-backdrop {
        top: var(--wp-admin--admin-bar--height, 46px);
        height: calc(100vh - var(--wp-admin--admin-bar--height, 46px));
    }

    /* Ensure primary menu list is fully usable when logged in */
    .admin-bar .mdclpt-nav #menu-primary-menu {
        max-height: calc(100vh - var(--wp-admin--admin-bar--height, 46px) - 64px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 78px;
        padding-bottom: 20px;
    }

    .mdclpt-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
    
    .mdclpt-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        padding: 8px;
        z-index: 1101;
        display: none;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .admin-bar .mdclpt-menu-close {
        top: 10px;
        right: 20px;
    }
    
    .mdclpt-nav.active .mdclpt-menu-close {
        display: flex;
    }
    
    .mdclpt-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .mdclpt-nav ul li {
        border-bottom: 1px solid var(--border);
        padding: 0;
    }
    
    .mdclpt-nav ul li a {
        display: block;
        padding: 16px 20px;
    }

    .mdclpt-nav ul li:focus-within {
        border-left: 3px solid var(--accent);
        background: #f5f5f5;
    }

    .mdclpt-nav ul li a:focus,
    .mdclpt-nav ul li a:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: -2px;
        background: #f5f5f5;
    }

    .mdclpt-nav ul li a.mdclpt-initial-focus {
        outline: 2px solid var(--accent);
        outline-offset: -2px;
        background: #f5f5f5;
    }
    
    .mdclpt-nav ul li:last-child {
        border-bottom: none;
    }
    
    .mdclpt-nav ul ul{
        position: static;
        border: none;
        padding: 8px 0 8px 20px;
        box-shadow: none;
        display: none;
        background: #f9f9f9;
    }

    /* On mobile, ignore desktop hover/focus dropdown behavior */
    .mdclpt-nav ul li:hover > ul,
    .mdclpt-nav ul li:focus-within > ul {
        display: none;
    }

    .mdclpt-nav .menu-item-has-children.open > ul {
        display: block !important;
    }

    /* On mobile, icon state should follow only .open */
    .mdclpt-nav .menu-item-has-children > a .mdclpt-icon-down {
        display: inline-block;
    }

    .mdclpt-nav .menu-item-has-children > a .mdclpt-icon-up {
        display: none;
    }

    .mdclpt-nav .menu-item-has-children.open > a .mdclpt-icon-down {
        display: none;
    }

    .mdclpt-nav .menu-item-has-children.open > a .mdclpt-icon-up {
        display: inline-block;
    }

    .mdclpt-footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .mdclpt-hero-title {
        font-size: 32px;
    }
    
    .mdclpt-hero {
        /*padding: 50px 0;*/
        min-height: 300px;
    }
    
    .mdclpt-section-title {
        font-size: 24px;
        margin: 0 0 24px;
    }
    
    .mdclpt-services-grid,
    .mdclpt-team-grid,
    .mdclpt-pricing-grid,
    .mdclpt-grid,
    .mdclpt-testimonial-list {
        grid-template-columns: 1fr;
    }
    
    .mdclpt-hours-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .mdclpt-plan.popular {
        transform: scale(1);
    }
    
    .mdclpt-container {
        padding: 16px;
    }
}

@media (max-width:600px){
    .mdclpt-hero-title {
        font-size: 24px;
    }
    
    .mdclpt-hero-subtitle {
        font-size: 16px;
    }
    
    .mdclpt-section-title {
        font-size: 20px;
    }
    
    .mdclpt-scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    
    .mdclpt-map-container iframe {
        height: 250px;
    }
}

/* ============================= */
/*    POSTS & PAGES STYLING     */
/* ============================= */

.mdclpt-main {
    background: #f9f9f9;
    min-height: calc(100vh - 200px);
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.entry-title {
    margin: 0 0 15px 0;
    font-size: 36px;
    color: #222;
}

/* Fix long post titles overflow on archive pages */
.single .entry-title, .archive .entry-title,
.blog .entry-title,
.search .entry-title {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}


.entry-meta {
    font-size: 14px;
    color: var(--muted);
}

.entry-meta a {
    color: var(--accent);
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

.entry-thumbnail {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.entry-content {
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
    font-size: 16px;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
    font-size: 14px;
}

.tags-list,
.categories-list {
    margin: 10px 0;
}

.tags-list a,
.categories-list a {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 5px;
    text-decoration: none;
    font-size: 12px;
}

.tags-list a:hover,
.categories-list a:hover {
    background: #0a5cb0;
}

/* ============================= */
/*       COMMENTS STYLING       */
/* ============================= */

.comments-area {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comments-title {
    font-size: 24px;
    margin: 0 0 30px 0;
    color: #222;
}

.comment-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.comment-author.vcard {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.fn {
    font-weight: 600;
    color: #222;
}

.says {
    color: var(--muted);
    font-style: italic;
}

.comment-meta {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.comment-metadata {
    font-size: 12px;
    color: var(--muted);
}

.comment-metadata a {
    color: var(--accent);
    text-decoration: none;
}

.comment-content {
    margin: 15px 0;
    color: #333;
    line-height: 1.6;
}

.reply {
    margin-top: 15px;
}

.reply a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.reply a:hover {
    text-decoration: underline;
}

.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.comment-navigation a {
    color: var(--accent);
    text-decoration: none;
}

.comment-navigation a:hover {
    text-decoration: underline;
}

.comment-form {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

#reply-title {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: #222;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.required {
    color: var(--error);
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.comment-form .submit {
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form .submit:hover {
    background: #0a5cb0;
}

.no-comments-allowed {
    padding: 20px;
    background: #f0f0f0;
    border-radius: 4px;
    color: var(--muted);
    text-align: center;
}

/* ============================= */
/*   PAGINATION STYLING         */
/* ============================= */

.page-links {
    display: flex;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
    align-items: center;
}

.page-links span {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
}

.page-links a {
    padding: 8px 12px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}

.page-links a:hover {
    background: var(--accent);
    color: white;
}

.navigation.posts-navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0a5cb0;
    text-decoration: underline;
}

.post-navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.post-navigation a {
    display: block;
    color: var(--accent);
    text-decoration: none;
    margin: 10px 0;
    font-weight: 500;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* ============================= */
/*     ARCHIVE PAGE STYLES      */
/* ============================= */

.mdclpt-archive .archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.archive-title {
    margin: 0 0 15px 0;
    font-size: 32px;
    color: #222;
}

.archive-description {
    color: var(--muted);
    margin: 10px 0 0 0;
}

.author-bio {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    color: #333;
}

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

.archive-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.archive-item-content {
    padding: 20px;
}

.archive-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 20px -20px;
}

.archive-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-item:hover .archive-thumbnail img {
    transform: scale(1.05);
}

.archive-item .entry-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    border: none;
    padding: 0;
}

.archive-item .entry-title a {
    color: #222;
    text-decoration: none;
}

.archive-item .entry-title a:hover {
    color: var(--accent);
}

.archive-item .entry-meta {
    margin-bottom: 15px;
}

.entry-summary {
    margin: 15px 0;
    color: #555;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.2s;
}

.read-more:hover {
    color: #0a5cb0;
}

/* ============================= */
/*    SEARCH RESULTS STYLES     */
/* ============================= */

.mdclpt-search .search-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.search-title {
    margin: 0;
    font-size: 32px;
    color: #222;
}

.search-result {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
}

.result-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

.result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-text {
    flex: 1;
}

.search-result .entry-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    border: none;
    padding: 0;
}

.search-result .entry-title a {
    color: #222;
    text-decoration: none;
}

.search-result .entry-title a:hover {
    color: var(--accent);
}

.no-posts {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.no-posts h1 {
    color: #222;
    margin-bottom: 15px;
}

.no-posts p {
    color: var(--muted);
    margin-bottom: 20px;
}

/* ============================= */
/*     SIDEBAR STYLING         */
/* ============================= */

.mdclpt-sidebar {
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0 0 15px 0;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 8px;
}

.widget a {
    color: var(--accent);
    text-decoration: none;
}

.widget a:hover {
    text-decoration: underline;
}

/* ============================= */
/*    RESPONSIVE ADJUSTMENTS    */
/* ============================= */

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .search-result {
        flex-direction: column;
    }
    
    .result-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .entry-title {
        font-size: 24px;
    }
    
    .archive-title {
        font-size: 24px;
    }
    
    .search-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .comment-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .avatar {
        width: 50px;
        height: 50px;
    }
    
    .entry-title {
        font-size: 20px;
    }
    
    .page-links {
        justify-content: center;
    }
}
