/* Custom fixes for MedPotter Patient Specific Implants site */

/* Navigation fixes for better spacing and responsive behavior */
@media (min-width: 1200px) and (max-width: 1400px) {
    .main-nav-one .main-nav__navigation-box>li+li {
        margin-left: 25px; /* Reduced from 35px for better spacing */
    }
    
    .main-nav-one .main-nav__navigation-box>li>a {
        font-size: 16px; /* Slightly smaller font for better fit */
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .main-nav-one .main-nav__navigation-box>li+li {
        margin-left: 20px; /* Further reduced for tighter screens */
    }
    
    .main-nav-one .main-nav__navigation-box>li>a {
        font-size: 15px;
    }
}

/* Ensure navigation items don't wrap to two lines */
.main-nav-one .main-nav__main-navigation .main-nav__navigation-box {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.main-nav-one .main-nav__navigation-box>li>a {
    white-space: nowrap;
}

/* Brand color improvements inspired by banner design */
:root {
    --brand-orange: #f97316;
    --brand-blue: #1e3a8a;
    --brand-light-blue: #dbeafe;
}

/* Enhanced button styling */
.thm-btn {
    background: linear-gradient(135deg, var(--brand-orange), #ea580c);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.thm-btn:hover {
    background: linear-gradient(135deg, #ea580c, var(--brand-orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

/* Service cards enhancement */
.service-one__service {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-one__service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-orange);
}

/* Enhanced service titles */
.service-one__service-title {
    color: var(--brand-blue) !important;
    font-weight: 700;
}

/* Fix missing favicon manifest */
.favicon-fallback {
    display: none;
}

/* Improve form styling */
.contact-form-one .form-one__group {
    margin-bottom: 30px;
}

.contact-form-one .form-one__group .selectpicker {
    width: 100% !important;
}

/* Enhanced section headers */
.about-three__title {
    color: var(--brand-blue);
}

.block-title__top-text {
    color: var(--brand-orange);
    font-weight: 600;
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    .about-three__title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .service-one__service .service-one__service-title {
        font-size: 20px;
    }
}

/* Clean up any orphaned styles */
.irrelevant-content {
    display: none;
}
