/* Custom CSS for Labo Guenoun Website */

:root {
    --bs-primary: #1E4620;
    --bs-secondary: #6A994E;
    --bs-success: #198754;
    --bs-info: #5a9ab5;
    --bs-warning: #D4A276;
    --bs-danger: #dc3545;
    --bs-light: #FDFBF5;
    --bs-dark: #333333;
    --bs-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1E4620 0%, #6A994E 100%);
    --gradient-secondary: linear-gradient(135deg, #F2E8CF 0%, #D4A276 100%);
    --box-shadow: 0 0.125rem 0.25rem rgba(30, 70, 32, 0.075);
    --box-shadow-lg: 0 1rem 3rem rgba(30, 70, 32, 0.175);
    --accent-color: #F2E8CF;
    --accent-light: #F7F1E3;
    --background-light: #FDFBF5;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--bs-dark);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--bs-dark);
    color: var(--bs-white);
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    color: var(--bs-dark);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--bs-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 60vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 70, 32, 0.8) 0%, rgba(106, 153, 78, 0.6) 100%);
    z-index: 1;
}

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

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
}

/* Hero Slider Background */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-swiper {
    height: 100%;
}

.hero-slide {
    height: 100%;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 70, 32, 0.4);
    z-index: 1;
}

.hero-content {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.min-vh-70 {
    min-height: 70vh !important;
}

.min-vh-60 {
    min-height: 60vh !important;
}

/* ===================================================================
   Mobile-First Responsive Styles
=================================================================== */

/* Large Tablets & Small Desktops (max-width: 992px) */
@media (max-width: 992px) {
    .team-image {
        height: 350px;
    }

    .team-content {
        padding: 1.5rem;
    }

    .footer-main {
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-cta, .footer-contact {
        margin-bottom: 2rem;
        justify-content: center;
    }
}


/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .min-vh-70 {
        min-height: 60vh !important;
    }
    .hero-slide {
        min-height: 60vh;
    }
    .min-vh-60 {
        min-height: 50vh !important;
    }
    .hero-section {
        min-height: 50vh;
    }
    .hero-section {
        padding: 60px 0 30px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 10px;
        backdrop-filter: blur(5px);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .hero-content .d-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-lg {
        font-size: 0.9rem;
        padding: 0.8rem 1.8rem;
        width: 100%;
        max-width: 300px;
    }
    
    .navbar-nav {
        text-align: center;
        background: var(--bs-white);
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: var(--box-shadow-lg);
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .section-title {
        font-size: 2rem;
    }

    .py-4, .py-3 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .contact-cards,
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .mini-map-card {
        flex-direction: column;
    }

    .mini-map-content, 
    .mini-map-info {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-credits,
    .footer-social {
        justify-content: center;
    }

    .hero-badges .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-info {
        display: none;
    }
}


/* Mobile Large (max-width: 576px) */
@media (max-width: 576px) {
    .min-vh-70 {
        min-height: 50vh !important;
    }
    .hero-slide {
        min-height: 50vh;
    }
    .min-vh-60 {
        min-height: 45vh !important;
    }
    .hero-section {
        min-height: 45vh;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }

    .feature-card,
    .specialty-card,
    .analysis-card {
        padding: 1.5rem;
    }

    .team-image {
        height: 300px;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-card-icon {
        margin: 0 auto;
    }

    .hero-badges {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}


/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .py-4, .py-3 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .action-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-light);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Selection Color */
::selection {
    background: var(--bs-primary);
    color: var(--bs-white);
}

::-moz-selection {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* Hero Section */
.hero-badges .badge {
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.hero-info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-btn {
    display: inline-block;
    animation: bounce 2s infinite;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features-section {
    padding: 1.5rem 0;
}

.feature-card {
    background: var(--bs-white);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 3.5rem;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
    color: var(--bs-info);
}

/* Gallery Swiper */
.gallery-swiper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--bs-primary);
}

.swiper-pagination-bullet-active {
    background: var(--bs-primary);
}

/* Specialty Cards */
.specialty-card {
    background: var(--bs-white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.specialty-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.specialty-card h5 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.specialty-card p.small {
    margin-top: 0.5rem;
    font-style: italic;
}

/* Analysis Cards */
.analysis-card {
    background: var(--bs-white);
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.analysis-icon {
    margin-bottom: 1.5rem;
}

.analysis-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.analysis-features {
    text-align: left;
    background: var(--bs-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.analysis-features i.bi-check-circle {
    color: var(--bs-success);
}

.analysis-features i.bi-lightning {
    color: var(--bs-warning);
}

/* Team Section */
.team-member-card {
    background: var(--bs-white);
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(24, 83, 79, 0.1);
}

.team-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-image img {
    transform: scale(1.05);
}

/* Specific positioning for different images */
.team-image img[src*="docteur.jpg"] {
    object-position: center 15%;
}

.team-image img[src*="profile3.jpg"] {
    object-position: center 25%;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 83, 79, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-member-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-btn:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    transform: scale(1.1);
}

.team-badge {
    position: absolute;
    top: 20px;
    right: 20px;
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    color: var(--bs-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--bs-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-credentials {
    margin-bottom: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.credential-item i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 20px;
}

.team-contact {
    background: var(--bs-light);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.team-contact h6 {
    color: var(--bs-dark);
    margin-bottom: 0.5rem;
}

.team-contact p {
    color: var(--bs-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.team-description p {
    color: var(--bs-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.specialty-badge {
    background: var(--bs-light);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--bs-dark);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.specialty-badge:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-primary);
}

.specialty-badge i {
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

.specialty-badge:hover i {
    color: var(--bs-white);
}

/* Team Statistics */
.team-statistics {
    background: var(--bs-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
}

.stat-card {
    background: var(--bs-light);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.stat-card:hover {
    background: var(--bs-white);
    border-color: var(--bs-primary);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stat-card.highlight {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.stat-card.highlight:hover {
    background: var(--bs-dark);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.stat-card.highlight .stat-icon {
    color: var(--bs-white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.stat-card.highlight .stat-number {
    color: var(--bs-white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--bs-secondary);
    font-weight: 500;
}

.stat-card.highlight .stat-label {
    color: var(--bs-white);
}

/* Team Values */
.team-values {
    background: var(--bs-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--bs-white);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-item h6 {
    color: var(--bs-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--bs-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Accordion FAQ */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-button {
    background: var(--bs-white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--bs-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
}

/* Partner Cards */
.partner-card {
    background: var(--bs-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.highlight-partner {
    background: var(--bs-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
}

/* Contact Cards - Modern Design */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    background: var(--bs-white);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--bs-primary);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--bs-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card-icon i {
    color: var(--bs-white);
    font-size: 1.3rem;
}

.contact-card-icon.bg-success {
    background: var(--bs-success);
}

.contact-card-icon.bg-warning {
    background: var(--bs-warning);
}

.contact-card-icon.bg-info {
    background: var(--bs-info);
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h6 {
    color: var(--bs-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-card-content p {
    color: var(--bs-dark);
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-card-content small {
    font-size: 0.85rem;
}

/* Contact Lists */
.phone-list, .email-list, .schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.phone-item, .email-item, .schedule-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.phone-item i, .email-item i, .schedule-item i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.phone-item a, .email-item a {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-item a:hover, .email-item a:hover {
    color: var(--bs-dark);
    text-decoration: underline;
}

.schedule-item span {
    color: var(--bs-dark);
}

.schedule-item strong {
    color: var(--bs-dark);
}

/* Action Buttons Grid */
.contact-actions {
    margin-top: 1.5rem;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.8rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 70px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.action-btn i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.action-btn span {
    font-size: 0.85rem;
}

.btn-call {
    background: var(--bs-success);
    color: var(--bs-white);
}

.btn-call:hover {
    background: #198754;
    color: var(--bs-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(25, 135, 84, 0.3);
}

.btn-email {
    background: var(--bs-warning);
    color: var(--bs-white);
}

.btn-email:hover {
    background: #fd7e14;
    color: var(--bs-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 126, 20, 0.3);
}

.btn-direction {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.btn-direction:hover {
    background: #0d6efd;
    color: var(--bs-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.3);
}

.btn-location {
    background: var(--bs-info);
    color: var(--bs-white);
}

.btn-location:hover {
    background: #0dcaf0;
    color: var(--bs-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13, 202, 240, 0.3);
}

/* Google Map */
/* Mini Map Card - Simple & Clean */
.mini-map-card {
    background: var(--bs-white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: fit-content;
}

.mini-map-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #667eea 100%);
    color: var(--bs-white);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mini-map-header i {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-map-header h6 {
    color: var(--bs-white);
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.mini-map-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.mini-map-content {
    padding: 1.5rem;
    background: #f8f9fa;
}

.mini-map-content iframe {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mini-map-info {
    padding: 1.5rem;
    background: var(--bs-white);
}

.address-block h6 {
    color: var(--bs-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.address-block p {
    color: var(--bs-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.map-actions {
    display: flex;
    gap: 0.8rem;
}

.map-actions .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.map-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Map Fallback */
.map-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.fallback-content {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.fallback-header h5 {
    color: var(--bs-dark);
    font-weight: 700;
}

.address-info {
    margin: 2rem 0;
}

.address-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bs-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.address-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.address-item strong {
    display: block;
    color: var(--bs-dark);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.address-item p {
    color: var(--bs-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.map-actions .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    margin: 0.25rem;
}

/* Footer */
.footer-section {
    font-size: 14px;
    background-color: var(--bs-dark);
    padding: 40px 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section .footer-info .logo {
    line-height: 0;
    margin-bottom: 25px;
}

.footer-section .footer-info .logo img {
    max-height: 40px;
    margin-right: 10px;
}

.footer-section .footer-info .logo span {
    font-size: 28px;
    font-weight: 700;
    color: var(--bs-white);
    font-family: "Segoe UI", sans-serif;
}

.footer-section .footer-info p {
    font-size: 14px;
    font-family: "Segoe UI", sans-serif;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 10px;
    transition: 0.3s;
}

.footer-section .social-links a:hover {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: bold;
    color: var(--bs-white);
    position: relative;
    padding-bottom: 12px;
}

.footer-section .footer-links {
    margin-bottom: 30px;
}

.footer-section .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section .footer-links ul i {
    padding-right: 2px;
    color: var(--bs-primary);
    font-size: 12px;
    line-height: 0;
}

.footer-section .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer-section .footer-links ul li:first-child {
    padding-top: 0;
}

.footer-section .footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

.footer-section .footer-links ul a:hover {
    color: var(--bs-primary);
}

.footer-section .footer-contact p {
    line-height: 26px;
}

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

.footer-section .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section .credits a {
    color: var(--bs-warning);
    font-weight: 500;
}

.footer-section .credits a:hover {
    color: var(--bs-white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 1000 !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    background: var(--bs-primary) !important;
    border: none !important;
    color: var(--bs-white) !important;
    font-size: 1.2rem !important;
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.4) !important;
    transition: all 0.3s ease !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.back-to-top:hover {
    background: #0d6efd !important;
    color: var(--bs-white) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(13, 110, 253, 0.6) !important;
}

.back-to-top.show {
    display: flex !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--box-shadow);
}

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

.btn-outline-primary {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--bs-white);
    color: var(--bs-white);
}

.btn-outline-light:hover {
    background: var(--bs-white);
    color: var(--bs-primary);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* MOBILE OPTIMIZATION - FORCE OVERRIDE BOOTSTRAP */

/* Reset Bootstrap conflicts */
@media (max-width: 991.98px) {
    .hero-section .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .hero-section .col-lg-8 {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Mobile Large (576px) */
@media (max-width: 576px) {
    /* HERO - More compact */
    .hero-section {
        min-height: 50vh !important;
    }
    
    .hero-section .container,
    .hero-section .row,
    .hero-section .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-content {
        padding: 1.2rem 0.6rem !important;
        margin: 0.3rem !important;
        width: calc(100% - 0.6rem) !important;
    }
    
    .hero-section h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.2rem !important;
    }
    
    .hero-section .display-3 {
        font-size: 1.8rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-badges {
        gap: 0.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-badges .badge {
        max-width: 100% !important;
        font-size: 0.75rem !important;
        padding: 0.7rem 0.8rem !important;
    }
    
    .btn-lg {
        font-size: 0.9rem !important;
        padding: 0.9rem 1.5rem !important;
        max-width: 100% !important;
    }
    
    .hero-info {
        margin-top: 2rem !important;
    }
    
    .hero-info-item {
        padding: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-info-item i {
        font-size: 1.7rem !important;
    }
    
    .hero-info-item h6 {
        font-size: 1rem !important;
    }
    
    .hero-info-item small {
        font-size: 0.85rem !important;
    }
    
    /* NAVIGATION */
    .navbar-toggler {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.8rem !important;
        font-size: 1rem !important;
    }
    
    /* SECTIONS */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }
    
    .py-3 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* CARDS */
    .feature-card,
    .specialty-card,
    .analysis-card {
        margin-bottom: 2rem !important;
        padding: 2rem 1.5rem !important;
    }
    
    /* TEAM */
    .team-member-card {
        margin-bottom: 2rem !important;
    }
    
    .team-image {
        height: 300px !important;
    }
    
    .team-content {
        padding: 1.8rem 1.2rem !important;
    }
    
    .team-name {
        font-size: 1.3rem !important;
    }
    
    .team-position {
        font-size: 0.95rem !important;
    }
    
    .credential-item {
        font-size: 0.85rem !important;
    }
    
    .specialty-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        margin: 0.2rem !important;
    }
    
    .team-statistics {
        margin-top: 2rem !important;
    }
    
    .stat-card {
        padding: 2rem 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .stat-icon {
        font-size: 2rem !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    .team-values {
        margin-top: 2rem !important;
    }
    
    .value-item {
        margin-bottom: 2rem !important;
    }
    
    .value-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    /* CONTACT */
        .contact-cards {
        gap: 0.8rem !important;
    }

    .contact-card {
        padding: 1rem !important;
        gap: 0.8rem !important;
    }

    .contact-card-icon {
        width: 45px !important;
        height: 45px !important;
    }

    .contact-card-icon i {
        font-size: 1.1rem !important;
    }

    .contact-card-content h6 {
        font-size: 0.85rem !important;
    }

    .action-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }

    .action-btn {
        padding: 0.8rem 0.6rem !important;
        min-height: 60px !important;
    }

    .action-btn i {
        font-size: 1rem !important;
    }

    .action-btn span {
        font-size: 0.8rem !important;
    }
    
    /* MINI MAP - Mobile */
    .mini-map-content iframe {
        height: 200px !important;
    }
    
    .mini-map-header {
        padding: 0.8rem 1rem !important;
    }
    
    .mini-map-header h6 {
        font-size: 0.9rem !important;
    }
    
    .mini-map-info {
        padding: 1rem !important;
    }
    
    .map-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .map-actions .btn {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }
    
    /* FOOTER */
    .footer-main {
        padding: 3rem 0 1.5rem !important;
    }
    
    .footer-brand {
        margin-bottom: 2.5rem !important;
    }
    
    .footer-logo {
        width: 45px !important;
        height: 45px !important;
    }
    
    .brand-text h3 {
        font-size: 1.4rem !important;
    }
    
    .footer-title {
        font-size: 1.2rem !important;
    }
    
    .footer-contact .contact-item {
        padding: 1rem !important;
    }
    
    .footer-contact .contact-item i {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    
    .btn-footer-cta {
        font-size: 0.95rem !important;
        padding: 1rem 2rem !important;
    }
    
    .footer-badge {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        margin: 0.3rem !important;
    }
    
    .footer-bottom {
        padding: 1.2rem 0 !important;
    }
    
    .footer-social a {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
    
    .back-to-top {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
        bottom: 15px !important;
        right: 15px !important;
    }
}

/* Mobile Medium (480px) */
@media (max-width: 480px) {
    /* Force override Bootstrap on small screens */
    .hero-section .container,
    .hero-section .row,
    .hero-section .col-lg-8,
    .hero-section .mx-auto {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* HERO - Ultra compact */
    .hero-content {
        padding: 1rem 0.4rem !important;
        margin: 0.2rem !important;
        width: calc(100% - 0.4rem) !important;
    }
    
    .hero-section h1 {
        font-size: 1.6rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-section .display-3 {
        font-size: 1.6rem !important;
    }
    
    .hero-section .lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .hero-badges {
        gap: 0.4rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .hero-badges .badge {
        font-size: 0.7rem !important;
        padding: 0.6rem 0.7rem !important;
    }
    
    .btn-lg {
        font-size: 0.85rem !important;
        padding: 0.8rem 1.2rem !important;
    }
    
    .hero-info {
        margin-top: 1.5rem !important;
    }
    
    .hero-info-item {
        padding: 1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero-info-item i {
        font-size: 1.5rem !important;
    }
    
    .hero-info-item h6 {
        font-size: 0.9rem !important;
    }
    
    .hero-info-item small {
        font-size: 0.8rem !important;
    }
    
    /* COMPACT SPACING */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* CARDS */
    .feature-card,
    .specialty-card,
    .analysis-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* TEAM */
    .team-image {
        height: 260px !important;
    }
    
    .team-content {
        padding: 1.5rem 1rem !important;
    }
    
    .team-name {
        font-size: 1.2rem !important;
    }
    
    .team-position {
        font-size: 0.9rem !important;
    }
    
    .credential-item {
        font-size: 0.8rem !important;
    }
    
    .specialty-badge {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }
    
    .stat-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .stat-icon {
        font-size: 1.7rem !important;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
    }
    
    .google-map {
        height: 300px !important;
    }
    
    .location-marker {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .footer-logo {
        width: 40px !important;
        height: 40px !important;
    }
    
    .brand-text h3 {
        font-size: 1.3rem !important;
    }
    
    .footer-title {
        font-size: 1.1rem !important;
    }
    
    .footer-contact .contact-item {
        padding: 1rem !important;
    }
    
    .footer-contact .contact-item i {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .footer-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .footer-bottom {
        padding: 1.2rem 0 !important;
    }
    
    .footer-social a {
        width: 35px !important;
        height: 35px !important;
        font-size: 0.9rem !important;
    }
    
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        bottom: 12px !important;
        right: 12px !important;
    }

    /* CONTACT MOBILE */
    .contact-cards {
        gap: 0.6rem !important;
    }

    .contact-card {
        padding: 0.8rem !important;
        gap: 0.6rem !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .contact-card-icon {
        width: 40px !important;
        height: 40px !important;
        margin: 0 auto !important;
    }

    .contact-card-icon i {
        font-size: 1rem !important;
    }

    .contact-card-content h6 {
        font-size: 0.85rem !important;
        margin-bottom: 0.3rem !important;
    }

    .phone-item, .email-item, .schedule-item {
        font-size: 0.8rem !important;
        justify-content: center !important;
    }

    .action-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.4rem !important;
    }

    .action-btn {
        padding: 0.6rem 0.4rem !important;
        min-height: 50px !important;
    }

    .action-btn i {
        font-size: 0.9rem !important;
        margin-bottom: 0.2rem !important;
    }

    .action-btn span {
        font-size: 0.75rem !important;
    }
}

/* Mobile Small (360px) */
@media (max-width: 360px) {
    /* HERO - Extra compact */
    .hero-content {
        padding: 1rem 0.3rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.4rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .hero-section .display-3 {
        font-size: 1.4rem !important;
    }
    
    .hero-section .lead {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-badges .badge {
        font-size: 0.65rem !important;
        padding: 0.5rem 0.6rem !important;
    }
    
    .btn-lg {
        font-size: 0.8rem !important;
        padding: 0.7rem 1rem !important;
    }
    
    .hero-info-item {
        padding: 0.8rem !important;
    }
    
    .hero-info-item i {
        font-size: 1.3rem !important;
    }
    
    .hero-info-item h6 {
        font-size: 0.85rem !important;
    }
    
    .hero-info-item small {
        font-size: 0.75rem !important;
    }
    
    /* ULTRA COMPACT */
    .container {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }
    
    .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 1.2rem !important;
    }
    
    .py-3 {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
    
    .team-image {
        height: 220px !important;
    }
    
    .team-content {
        padding: 1.2rem 0.8rem !important;
    }
    
    .team-name {
        font-size: 1.1rem !important;
    }
    
    .specialty-badge {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    .stat-card {
        padding: 1.2rem 0.8rem !important;
    }
    
    .stat-icon {
        font-size: 1.5rem !important;
    }
    
    .stat-number {
        font-size: 1.4rem !important;
    }
    
    .google-map {
        height: 250px !important;
    }
    
    .location-marker {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.1rem !important;
    }
    
    .footer-logo {
        width: 35px !important;
        height: 35px !important;
    }
    
    .brand-text h3 {
        font-size: 1.2rem !important;
    }
    
    .footer-social a {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }
    
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        bottom: 12px !important;
        right: 12px !important;
    }
}

/* Custom Color Enhancements */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-accent-light {
    background-color: var(--accent-light) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

/* Enhanced Buttons with New Palette */
.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bs-white);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--bs-dark);
}

/* Contact Cards with Accent Colors */
.contact-card-icon.bg-accent {
    background-color: var(--accent-color) !important;
}

.contact-card-icon.bg-accent-light {
    background-color: var(--accent-light) !important;
    color: var(--bs-dark) !important;
}

/* Statistics Cards Enhancement */
.stat-card.accent {
    border: 2px solid var(--accent-color);
    background: linear-gradient(45deg, var(--accent-light), var(--bs-white));
}

.stat-card.accent .stat-icon {
    color: var(--accent-color);
}

.stat-card.accent .stat-number {
    color: var(--accent-color);
}

/* Mini Map Header Enhancement */
.mini-map-header {
    background: var(--gradient-primary) !important;
}

/* Footer Enhancement */
.footer-main {
    background: var(--bs-dark);
    color: var(--bs-light);
}

.footer-bottom {
    background: var(--bs-primary);
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: var(--gradient-secondary);
    margin: 2rem 0;
}

@media (max-width: 380px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .hero-section .lead {
        font-size: 0.9rem;
    }
}

/* ===================================================================
   Bootstrap Theme Overrides
=================================================================== */
.text-primary, .text-primary:hover {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-primary:hover {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.btn-outline-primary {
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

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

.border-primary {
    border-color: var(--bs-primary) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

a {
    color: var(--bs-primary);
    text-decoration: none;
}

a:hover {
    color: var(--bs-secondary);
}

.navbar-brand, .nav-link {
    color: var(--bs-dark);
}

.nav-link:hover, .navbar-brand:hover {
    color: var(--bs-primary);
} 