/* Custom Styles for MaxilloSurgeon Website */

:root {
    --primary-color: #4f87fb;
    --secondary-color: #130947;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

/* Typography - Headings */
h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3, .h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h5, .h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

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

/* Mobirise compatibility classes */
.mbr-fonts-style {
    font-family: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mbr-bold {
    font-weight: 700 !important;
}

.mbr-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.display-2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

.display-4 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-dark);
}

.display-5 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

.display-7 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
}

.capabilities-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.mbr-list {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.mbr-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

.mbr-section-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
}

.mbr-section-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.mbr-light {
    font-weight: 300;
}

/* Additional typography improvements */
.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
}

.capabilities {
    margin-bottom: 2rem;
}

.capabilities-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.list-unstyled li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Services Section typography */
.services-section h2,
.services-section h3 {
    font-weight: 700;
    color: var(--secondary-color);
}

.services-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Responsive typography */
@media (max-width: 768px) {
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    h3, .h3 {
        font-size: 1.5rem;
    }
    
    h4, .h4 {
        font-size: 1.25rem;
    }
    
    .display-2 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--white) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-decoration: none;
}

.navbar-brand img {
    height: 5.5rem;
    margin-right: 1rem;
}

.navbar-brand span {
    font-size: 1.8rem;
    line-height: 1.2;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Dropdown Menu Styles */
.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.navbar-nav .dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.navbar-nav .dropdown-divider {
    margin: 0.5rem 0;
    border-color: #e9ecef;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
}

.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 233, 233, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
    color: var(--text-dark);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom-color: var(--primary-color);
}

.tab-content {
    padding: 2rem 0;
}

.tab-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.tab-content h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.tab-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-info h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item .icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form h2 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-control {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 135, 251, 0.25);
}

/* Footer */
.footer-top {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--white) !important;
}

.footer-top p {
    color: var(--white) !important;
}

.footer-top h3 {
    color: var(--white) !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-top a {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-top a:hover {
    color: var(--white) !important;
}

.footer-top .btn-danger {
    background-color: #25d366;
    border-color: #25d366;
    color: var(--white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.footer-top .btn-danger:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.footer-top .btn-danger i {
    margin-right: 8px;
}

.footer-bottom {
    padding: 30px 0;
    background-color: #0a0828;
    color: var(--white) !important;
    text-align: center;
}

.footer-bottom p {
    color: var(--white) !important;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: var(--white);
    text-decoration: none;
}

/* Logos Section */
.logos-section {
    padding: 60px 0;
    background-color: var(--white);
}

.logos-section img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logos-section img:hover {
    filter: grayscale(0%);
}

/* Gallery images - always in color */
.gallery-img img {
    filter: grayscale(0%) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        left: 20px;
        font-size: 25px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

