/* Custom styles moved from index.html */

/* Increase main slider height */
.main-slider-section {
    min-height: 520px;
}
.main-slider-section .carousel-item {
    min-height: 520px;
    height: 520px;
    background-size: cover;
    background-position: center;
}
/* Main slider caption custom text color */
.slider-caption-custom .slider-caption-title,
.slider-caption-custom .slider-caption-text,
.slider-caption-custom .slider-caption-link a {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.18);
}
.slider-caption-custom .slider-caption-link a {
    font-weight: 600;
    text-decoration: underline;
}
.slider-caption-custom .slider-caption-link a:hover {
    color: #ffd600 !important;
}
.high-contrast, .high-contrast .bg-light, .high-contrast .bg-white {
    background: #000 !important; color: #fff !important;
}
.high-contrast .navbar, .high-contrast .card, .high-contrast .btn, .high-contrast .bg-primary, .high-contrast .bg-light, .high-contrast .bg-white {
    background: #000 !important; color: #fff !important;
    border-color: #fff !important;
}
.high-contrast a, .high-contrast .nav-link, .high-contrast .btn, .high-contrast .navbar-brand {
    color: #ff0 !important;
}
.skip-link {
    position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
    position: static; width: auto; height: auto; left: 0; background: #ffd600; color: #000; z-index: 9999; padding: 0.5em 1em; border-radius: 0 0 0.5em 0.5em;
}
/* Header Section Design - Flat, no shadow or border */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
}
.main-header .container {
    min-height: 72px;
}
.main-header .d-flex.align-items-center.justify-content-between {
    gap: 1.5rem;
}
.main-header .header-logo {
    width: 56px;
    height: 56px;
    min-width: 48px;
    min-height: 48px;
    background: #388e3c;
    border-radius: 50%;
    transition: transform 0.2s;
    object-fit: cover;
    border: none;
    box-shadow: none;
}
.main-header img:hover {
    transform: scale(1.06) rotate(-2deg);
}
.main-header h1, .main-header .h5 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.1em;
}
.main-header .navbar-nav .nav-link {
    color: #388e3c;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5em;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    background: none;
    border: none;
    box-shadow: none;
}
.main-header .navbar-nav .nav-link.active {
    background: #ffd600;
    color: #d32f2f !important;
    font-weight: 700;
}
.main-header .navbar-nav .nav-link:focus,
.main-header .navbar-nav .nav-link:hover {
    background: #e8f5e9;
    color: #d32f2f;
}
.main-header .btn-warning {
    background: linear-gradient(90deg,#ffd600,#ffb300);
    color: #222;
    border: none;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
}
.main-header .btn-warning:hover,
.main-header .btn-warning:focus {
    background: linear-gradient(90deg,#ffb300,#ffd600);
    color: #d32f2f;
}
@media (max-width: 991.98px) {
    .main-header .navbar-collapse {
        background: #fff;
        border-radius: 0.5em;
        margin-top: 0.5em;
        box-shadow: none;
    }
    .main-header .navbar-nav .nav-link {
        padding: 0.75rem 1.25rem;
        white-space: normal;
    }
    .main-header .d-none.d-md-block {
        display: none !important;
    }
    .main-header .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
    }
    .main-header .header-logo {
        width: 44px;
        height: 44px;
    }
}
@media (max-width: 575.98px) {
    .main-header .container {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .main-header img {
        width: 48px;
        height: 48px;
    }
    .main-header .h5 {
        font-size: 1.1rem;
    }
}
/* Testimonial slider styles */
.testimonial-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    will-change: transform;
}
.testimonial-arrow {
    top: 60%;
}
