/* ============================================
   ORTOPEDIA PETTA - Custom Styles
   Mobile First WordPress Theme
   ============================================ */

/* Variabili CSS */
:root {
    --color-primary: #383e56;
    --color-secondary: #587534;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray-dark: #2C2C2C;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-weight-bold: 700;
    --font-weight-regular: 300;
    --transition-base: all 0.3s ease;
    --border-radius: 0.5rem;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    color: #444444;
    line-height: 1.6;
    overflow-x: hidden;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #383e56;
    margin-bottom: 1rem;
}

b, strong {
    font-weight: 600;
}

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

a[href^="tel:"],
a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
}

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

/* iOS Tap highlight fix - global for touch devices */
a, button, [role="button"], .nav-link, .btn-cta {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

.text-start {
    max-width: 900px;
}

/* Utility Classes */
.section-padding {
    padding: 5rem 0;
}

.min-vh-75 {
    min-height: 75vh;
}

/* ============================================
    HERO CAROUSEL SECTION
    ============================================ */
.hero-carousel h1,
.hero-carousel h2,
.hero-carousel h3,
.hero-carousel h4,
.hero-carousel h5,
.hero-carousel h6,
.hero-carousel .hero-title {
    color: #ffffff;
}

.hero-carousel {
    position: relative;
    margin-top: 80px;
}

.hero-carousel .carousel {
    height: 600px;
    min-height: 600px;
    background: transparent;
}

.hero-carousel .carousel-inner {
    height: 100%;
}

.hero-carousel .carousel-item {
    height: 600px;
    min-height: 600px;
}

.hero-slide {
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-carousel .carousel-item {
    height: 600px;
    min-height: 600px;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56,62,86,0.6);
    z-index: 1;
}

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

.hero-carousel .carousel {
    min-height: 600px;
}

.hero-carousel .carousel-item {
    height: 600px;
    min-height: 600px;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56,62,86,0.6);
    z-index: 1;
}

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

.hero-carousel .carousel {
    height: 600px;
    min-height: 600px;
    background: transparent;
}

.hero-carousel .carousel-inner {
    height: 100%;
}

.hero-carousel .carousel-item {
    height: 600px;
    min-height: 600px;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56,62,86,0.6);
    z-index: 1;
}

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

.hero-carousel .hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-carousel .hero-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 992px) {
    .hero-carousel .hero-title {
        font-size: 3.25rem;
    }
}

.hero-carousel .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 700px;
    opacity: 0.95;
    color: #ffffff;
}

.hero-carousel .carousel-indicators {
    bottom: 20px;
}

.hero-carousel .carousel-indicators button {
    background-color: #ffffff;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(27, 42, 107, 0.7);
    border-radius: 50%;
    padding: 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header,
.site-header .navbar,
.site-header .main-nav {
    background: #FFFFFF !important;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding-top: env(safe-area-inset-top);
}

.site-header .main-nav {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header.scrolled .main-nav {
    padding: 0.25rem 0;
}

.site-header.scrolled .brand-logo {
    width: 30px;
    height: 30px;
}

.site-header.scrolled .navbar-brand .brand-text {
    font-size: 1rem;
}

.site-header .navbar-brand .brand-text {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.site-header .brand-logo {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.main-nav {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1;
    white-space: nowrap;
}

.brand-light {
    font-weight: 400;
    color: var(--color-primary);
}

.brand-bold {
    font-weight: 600;
    color: var(--color-primary);
}

.brand-tagline {
    font-size: 0.5rem;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: #383e56 !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-base);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: #587534 !important;
}

.btn-cta {
    background: #383e56;
    color: #ffffff !important;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-cta:hover {
    background: #587534;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-toggler {
    border-color: var(--color-primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(27, 42, 107, 0.25);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-white) 100%);
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta .btn {
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transition: var(--transition-base);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #257a32;
    border-color: #257a32;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transition: var(--transition-base);
}

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

.hero-image img {
    width: 100%;
    object-fit: cover;
}

/* ============================================
    QUICK CALL BAR
    ============================================ */
.quick-call-bar {
    background: #587534;
    height: 105px;
    width: 100%;
    margin-top: 0;
}

.quick-call-bar h2 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-call-bar a {
    color: #ffffff;
    text-decoration: none;
}

.quick-call-bar a:hover {
    color: rgba(255,255,255,0.9);
}

.quick-call-bar .quick-call-hours {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 0.25rem;
}

@media (max-width: 767px) {
    .quick-call-bar {
        height: auto;
        padding: 1rem 0;
        min-height: auto;
    }

    .quick-call-bar h2 {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin: 0;
    font-size: 0.95rem;
    }

    .quick-call-bar a {
        font-size: 1.5rem !important;
    }

    .quick-call-bar .quick-call-hours {
        font-size: 0.75rem;
        margin-top: 0.25rem;
        padding: 0 1rem;
    }
}

.locations-section {
    background: #f5f5f5;
}

.contact-form-section {
    background: var(--color-white);
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section textarea,
.contact-form-section select {
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    font-size: 16px;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus,
.contact-form-section select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.25rem rgba(88,117,52,0.15);
    outline: none;
}

.contact-form-section button[type="submit"] {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
}

.contact-form-section button[type="submit"]:hover {
    background: #257a32;
    border-color: #257a32;
}

.go-back-message {
    display: none !important;
}

.contact-form-success-header-b2b163c6c98058528fc5f2589bd0701decc0ac11 {
    display: none !important;
}

.locations-section .section-header {
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.locations-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.locations-section .col {
    display: flex;
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 768px) {
    .locations-section .col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.location-card {
    padding: 1.5rem 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: calc(var(--border-radius) / 2);
    transition: var(--transition-base);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.location-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.location-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.location-buttons {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-buttons .btn {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

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

.location-buttons .btn i {
    color: var(--color-primary);
}

.location-buttons .btn:hover i {
    color: var(--color-white);
}

.services-section .section-header {
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: #444444;
    font-size: 1.125rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-row {
    margin: -15px;
}

.service-item {
    padding: 15px;
    width: 280px;
    max-width: 100%;
    position: relative;
}

.service-wrapper {
    position: relative;
    width: 100%;
    height: 365px;
    overflow: hidden;
}

.service-wrapper .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56,62,86,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: var(--transition-base);
    z-index: 1;
}

.service-overlay .service-title {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    opacity: 1;
    line-height: 1.3;
    word-wrap: break-word;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.service-overlay .service-description {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 3rem);
}

@media (max-width: 767px) {
    .service-overlay .service-description {
        font-size: 1.125rem;
    }
}

.service-item:hover .service-title {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

.service-item:hover .service-description {
    opacity: 1;
    max-height: 300px;
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

.service-wrapper {
    position: relative;
    width: 100%;
    height: 365px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .service-item {
        width: 100%;
        max-width: none;
    }
    
    .service-wrapper {
        height: auto;
        aspect-ratio: 4 / 5;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .service-overlay .service-description {
        font-size: 1.125rem;
    }
}

.service-title {
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-top: 0.75rem;
    text-align: center;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.25em;
    line-height: 1.5;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(56,62,86,0.6), rgba(56,62,86,0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: var(--transition-base);
    z-index: 1;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
}

.service-overlay .service-description {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0;
    line-height: 1.6;
}

.service-item:hover .service-overlay {
    opacity: 1;
    background: linear-gradient(rgba(56,62,86,0.9), rgba(56,62,86,0.9));
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .service-item {
        width: 280px;
    }
}

.service-card {
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
}

.service-card:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 2rem;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

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

.service-link i {
    margin-left: 0.25rem;
    transition: var(--transition-base);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ============================================
    CLAIM SECTION
    ============================================ */
.claim-section h1,
.claim-section h2,
.claim-section h3,
.claim-section h4,
.claim-section h5,
.claim-section h6 {
    color: #ffffff;
}

.claim-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a3d8a 100%);
    color: var(--color-white);
}

.claim-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .claim-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 992px) {
    .claim-title {
        font-size: 3.25rem;
    }
}

.claim-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
    SECTION UMANITA
    ============================================ */
.section-umanita {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

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

.section-umanita::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56,62,86,0.6);
    z-index: 1;
}

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

.section-umanita h1,
.section-umanita h2,
.section-umanita h3,
.section-umanita h4,
.section-umanita h5,
.section-umanita h6 {
    color: #ffffff;
}

.section-umanita .hero-image-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.section-umanita .hero-image-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .section-umanita .hero-image-title {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    .section-umanita .hero-image-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .section-umanita .hero-image-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-umanita .hero-image-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ============================================
   KNOWLEDGE SECTION
   ============================================ */
.knowledge-section {
    background: #F5F5F5;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .knowledge-section {
        padding: 4rem 0;
    }
}

@media (min-width: 992px) {
    .knowledge-section {
        padding: 1rem 0;
    }
}

.knowledge-section ul li {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.knowledge-section .h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .knowledge-section .container {
        max-width: 1140px;
    }
}

.about-image img {
    width: 100%;
    object-fit: cover;
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-item i {
    color: #383e56;
    margin-right: 0.75rem;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature-item .bi-check-circle-fill {
    color: #383e56;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-base);
}

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

.team-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--color-gray-light);
}

.team-name {
    font-size: 1.25rem;
    margin: 1rem 0 0.25rem;
}

.team-role {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
    STAFF SECTION
    ============================================ */
.staff-section {
    background-size: cover;
    background-position: center;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    position: relative;
}

.staff-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56,62,86,0.6);
    z-index: 1;
}

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

.staff-section h1,
.staff-section h2,
.staff-section h3,
.staff-section h4,
.staff-section h5,
.staff-section h6,
.staff-section .display-4 {
    color: #ffffff;
}

@media (min-width: 768px) {
    .staff-section {
        padding: 4rem 0;
    }
}

@media (min-width: 992px) {
    .staff-section {
        padding: 5rem 0;
    }
}

.staff-section .display-4 {
    font-size: 1.75rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .staff-section .display-4 {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .staff-section .display-4 {
        font-size: 3rem;
    }
}

.staff-section .lead {
    font-size: 1rem;
    font-weight: 100;
    color: #ffffff;
}

@media (min-width: 768px) {
    .staff-section .lead {
        font-size: 1.125rem;
		max-width: 600px;
    }
}

 /* ============================================
    MAP SECTION
    ============================================ */
.map-section {
    width: 100%;
    background: #f4f4f4;
}

.map-section .section-subtitle {
    margin-bottom: 3rem;
}

.map-section.section-padding {
    padding-bottom: 0rem;
}

.approach-section.section-padding {
    padding-bottom: 1rem;
}

.faq-section {
    background: #f4f4f4;
}

.knowledge-section li .bi-check-circle-fill {
    color: #383e56;
}

.map-container {
    width: 100%;
    height: 500px;
}

.map-container iframe {
    filter: hue-rotate(190deg) saturate(1.2) contrast(1.2) brightness(1);
}

#mapLocations {
    border: none;
    border-radius: 0;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #383e56;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.leaflet-popup-content b {
    font-weight: 700;
    color: #587534;
}

.i4ewOd-pzNkMb-haAclf.QUIbkc {
    display: none !important;
}

.approach-step {
    padding: 2rem;
    position: relative;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--color-gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.approach-step:hover .step-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

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

.step-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

.process-flow {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .process-flow {
        display: none;
    }
}

/* ============================================
    ARCHIVE PAGE
    ============================================ */
.archive-page .post-card {
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    transition: var(--transition-base);
    height: 100%;
}

.archive-page .post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.archive-page .post-thumbnail-link {
    display: block;
    overflow: hidden;
}

.archive-page .post-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: var(--transition-base);
}

.archive-page .post-card:hover .post-thumbnail {
    transform: scale(1.03);
}

.archive-page .post-meta {
    font-size: 0.875rem;
    color: #666;
}

.archive-page .post-meta i {
    color: #383e56;
}

.archive-page .post-title a {
    color: #383e56;
}

.archive-page .post-title a:hover {
    color: #587534;
}

.archive-page .post-excerpt {
    color: #444444;
    font-size: 0.95rem;
}

/* ============================================
    BLOG PREVIEW SECTION (FRONT PAGE)
    ============================================ */

.blog-preview-section .post-card {
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    transition: var(--transition-base);
    height: 100%;
}

.blog-preview-section .post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.blog-preview-section .post-thumbnail-link {
    display: block;
    overflow: hidden;
}

.blog-preview-section .post-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: var(--transition-base);
}

.blog-preview-section .post-card:hover .post-thumbnail {
    transform: scale(1.03);
}

.blog-preview-section .post-meta {
    font-size: 0.875rem;
    color: #666;
}

.blog-preview-section .post-meta i {
    color: #383e56;
}

.blog-preview-section .post-title a {
    color: #383e56;
}

.blog-preview-section .post-title a:hover {
    color: #587534;
}

.blog-preview-section .post-excerpt {
    color: #444444;
    font-size: 0.95rem;
}

.blog-preview-section .btn-outline-primary {
    color: #383e56;
    border-color: #383e56;
}

.blog-preview-section .btn-outline-primary:hover {
    background-color: #383e56;
    color: #ffffff;
    border-color: #383e56;
}

.partner-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
}

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

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

.partner-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.partner-description {
    color: #666;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT PREVIEW SECTION
   ============================================ */
.contact-info {
    padding: 2rem;
    background: var(--color-gray-light);
    border-radius: var(--border-radius);
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-right: 1rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin-bottom: 0;
    color: #666;
}

.contact-item a {
    color: var(--color-primary);
    font-weight: 500;
}

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

.map-container iframe {
    width: 100%;
    border-radius: var(--border-radius);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #383e56;
    color: var(--color-white);
    margin-top: auto;
    padding-bottom: env(safe-area-inset-bottom);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.footer-brand-text-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1;
    color: var(--color-white);
    white-space: nowrap;
}

.footer-brand-light {
    font-weight: 400;
}

.footer-brand-bold {
    font-weight: 600;
}

.footer-brand .footer-tagline {
    color: rgba(255,255,255,0.9);
    font-size: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0;
}

.accordion-button {
    color: var(--color-primary);
    font-weight: 600;
}

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

.accordion-button:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(56,62,86,0.15);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-base);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-secondary);
    padding-left: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--color-white);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.fiscal-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* ============================================
    NO ROUNDED CORNERS (global)
    ============================================ */
img,
.rounded,
.rounded-0,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5,
.rounded-circle,
.rounded-pill {
    border-radius: 0 !important;
}

/* ============================================
    PAGE HEADER
    ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--color-gray-light) 0%, var(--color-white) 100%);
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.single-post .page-header {
    padding: 5rem 0 1rem 0;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3rem;
    }
}

.page-header {
    color: #444444;
}

.page-title {
    color: #444444;
}

.page-subtitle {
    color: #444444;
    font-size: 1.25rem;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-details {
    background: var(--color-gray-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition-base);
    font-size: 16px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 58, 0.15);
}

.contact-form .btn-primary {
    padding: 0.875rem 2rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ============================================
   BLOG PAGE
   ============================================ */
.post-card {
    background: var(--color-white);
    border-radius: 0;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-base);
}

.post-thumbnail-link:hover .post-thumbnail {
    opacity: 0.9;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #666;
}

.post-category {
    color: var(--color-secondary);
    font-weight: 600;
}

.post-title {
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--color-primary);
}

.post-title a:hover {
    color: var(--color-secondary);
}

.post-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
}

.blog-sidebar .widget {
    background: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-secondary);
}

.category-list li a,
.recent-posts li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--color-gray-dark);
}

.category-list li a:hover,
.recent-posts li a:hover {
    color: var(--color-secondary);
}

.category-list .badge {
    background: var(--color-primary) !important;
    font-weight: 500;
}

/* ============================================
    SINGLE POST
    ============================================ */
.post-content {
    font-size: 1.125rem;
    line-height: 1.9;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    margin: 2rem 0;
}

.post-tags .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.post-nav a {
    color: #383e56;
    transition: var(--transition-base);
}

.post-nav a:hover {
    color: #587534;
}

.blog-page .post-card {
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    padding: 0;
    transition: var(--transition-base);
}

.blog-page .post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.blog-page .post-thumbnail-link {
    display: block;
    overflow: hidden;
}

.blog-page .post-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transition: var(--transition-base);
}

.blog-page .post-card:hover .post-thumbnail {
    transform: scale(1.03);
}

.blog-page .post-meta {
    font-size: 0.875rem;
    color: #666;
}

.blog-page .post-meta i {
    color: #383e56;
}

.blog-page .post-title a {
    color: #383e56;
}

.blog-page .post-title a:hover {
    color: #587534;
}

.blog-page .post-excerpt {
    color: #444444;
}

.blog-page .no-posts .bi-inbox {
    color: #383e56;
}

.blog-page .pagination .page-numbers {
    border-color: #383e56;
    color: #383e56;
}

.blog-page .pagination .page-numbers:hover,
.blog-page .pagination .page-numbers.current {
    background-color: #383e56;
    color: #ffffff;
    border-color: #383e56;
}

.blog-page .btn-outline-primary {
    color: #383e56;
    border-color: #383e56;
}

.blog-page .btn-outline-primary:hover {
    background-color: #383e56;
    color: #ffffff;
    border-color: #383e56;
}

.blog-page .post-nav a {
    color: #383e56;
    transition: var(--transition-base);
}

.blog-page .post-nav a:hover {
    color: #587534;
}

.blog-page .post-nav i {
    color: #383e56;
}

.blog-page .post-nav i:hover {
    color: #587534;
}

.blog-page .post-share .btn-outline-primary {
    color: #383e56;
    border-color: #383e56;
}

.blog-page .post-share .btn-outline-primary:hover {
    background-color: #383e56;
    color: #ffffff;
    border-color: #383e56;
}

.blog-page .post-share .btn-outline-info {
    color: #383e56;
    border-color: #383e56;
}

.blog-page .post-share .btn-outline-info:hover {
    background-color: #383e56;
    color: #ffffff;
    border-color: #383e56;
}

.blog-page .post-category a {
    color: #383e56;
}

.blog-page .post-category a:hover {
    color: #587534;
}

.blog-page .post-date i {
    color: #383e56;
}

.blog-page .post-date i:hover {
    color: #587534;
}

.blog-page .post-nav {
    font-size: 0.875rem;
    color: #666;
}

.blog-page .post-nav a:hover {
    text-decoration: none;
    color: #587534;
}

.blog-page .post-nav .fw-semibold {
    font-weight: 600;
}

.blog-page .post-nav .text-truncate {
    color: #383e56;
    transition: var(--transition-base);
}

.blog-page .post-nav .text-truncate:hover {
    color: #587534;
}

.blog-page .post-share h4 {
    font-size: 0.875rem;
    color: #383e56;
}

.blog-page .post-tags a {
    color: #383e56;
    border-color: #383e56;
}

.blog-page .post-tags a:hover {
    background-color: #383e56;
    color: #ffffff;
    border-color: #383e56;
}

.blog-page .post-tags a i {
    color: #383e56;
}

.blog-page .post-tags a:hover i {
    color: #ffffff;
}

.blog-page .post-footer {
    border-top: 1px solid #e0e0e0;
}

.blog-page .no-posts h3 {
    font-size: 1.5rem;
    color: #383e56;
}

.blog-page .no-posts p {
    color: #444444;
}

.blog-page .no-posts .bi-inbox {
    color: #383e56;
    font-size: 3rem;
}

.blog-page .widget h4 {
    font-size: 1.125rem;
    color: #383e56;
    margin-bottom: 1rem;
}

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

.blog-page .widget li a {
    color: #383e56;
    transition: var(--transition-base);
}

.blog-page .widget li a:hover {
    color: #587534;
}

.blog-page .widget li i {
    color: #383e56;
    margin-right: 0.5rem;
}

.blog-page .widget .badge {
    background-color: #383e56;
    color: #ffffff;
}

.blog-page .search-form .form-control {
    border-radius: 0;
    border-color: #e0e0e0;
}

.blog-page .search-form .btn-primary {
    background-color: #383e56;
    border-color: #383e56;
    border-radius: 0;
}

.blog-page .search-form .btn-primary:hover {
    background-color: #587534;
    border-color: #587534;
}

.single-post .post-meta {
    font-size: 0.875rem;
    color: #444444;
}

.single-post .post-category i,
.single-post .post-date i {
    color: #383e56;
}

.single-post .post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
    PAGINATION
    ============================================ */
.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: #383e56;
    border: 1px solid #383e56;
    text-decoration: none;
    transition: var(--transition-base);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #383e56;
    color: #ffffff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 576px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .claim-title {
        font-size: 1.75rem;
    }
    
    .contact-details,
    .contact-form-wrapper {
        padding: 1.5rem;
    }

    /* Input styling for iOS */
    input, textarea, select {
        -webkit-appearance: none;
        appearance: none;
    }
}

@media (max-width: 767px) {
    .navbar-toggler {
        padding: 0.15rem 0.35rem;
        font-size: 0.5rem;
        border: none;
    }

    .navbar-toggler-icon {
        width: 4em;
        height: 4em;
    }

    .navbar-brand {
        font-size: 0.9rem;
        max-width: calc(100% - 40px);
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
        margin-right: 6px;
    }

    .navbar-collapse {
        background: var(--color-white);
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
        margin-top: 1rem;
    }
    
    .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .btn-cta {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}


/* ========================
 * color patches 
 ============================== */

.hero-title > p {color: #ffffff !important; font-size: 1.5rem}