body {
    font-family: 'Poppins', sans-serif;
    color: #0d2d5d;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.main-content {
    padding-top: 100px;
}

/* Header & Footer Colors */
.bg-primary {
    background-color: #0d2d5d !important;
}

.text-primary {
    color: #0d2d5d !important;
}

.bg-secondary {
    background-color: #f0f5ff;
}

.text-accent {
    color: #4f46e5;
}

.navbar .nav-link {
    color: #343a40;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #4f46e5;
}

.btn-gradient {
    background-image: linear-gradient(to right, #4f46e5, #7c3aed);
    color: white;
    border: 0;
}

.btn-gradient:hover {
    opacity: 0.9;
    color: white;
}

.btn-teal {
    background-color: #20c997;
}

.btn-teal:hover {
    background-color: #1baa80;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #4f46e5;
    color: white;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider-container {
    width: 100%;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
}

.hero-v3 {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    z-index: 1;
    min-height: 78vh;
}

.hero-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 45, 93, 0.7);
    z-index: -1;
}

.hero-content {
    z-index: 2;
    position: relative;
    animation: fadeInSlideUp 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-gradient-text {
    background: linear-gradient(45deg, #a5b4fc, #f0abfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-description {
    font-size: 1.15rem;
    color: #e0e7ff;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Hero Buttons */
.btn-hero-primary {
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background-image: linear-gradient(45deg, #4f46e5 0%, #a855f7 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5);
    transition: all 0.3s ease;
    animation: pulse-animation 2s infinite;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.6);
    color: white;
}

.btn-hero-secondary {
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
    background-color: #ffffff;
    color: #0d2d5d;
    transform: translateY(-3px);
}

/* Carousel Controls */
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slider-container:hover .carousel-control-prev,
.hero-slider-container:hover .carousel-control-next {
    opacity: 1;
}

/* Animations */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5);
    }

    50% {
        box-shadow: 0 10px 35px -5px rgba(168, 85, 247, 0.6);
    }

    100% {
        box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5);
    }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================= */
/* 5. Tabs & Navigation (v3)                     */
/* ============================================= */
#main-tabs .nav-link {
    color: #0d2d5d;
    background-color: white;
    border: 0;
    border-radius: 999px;
    margin: 0 5px;
}

#main-tabs .nav-link.active {
    color: white;
    background-color: #dc3545;
}

.tab-section-v3 {
    background-color: #ffffff;
}

.main-tab-switcher-v3 {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

.main-tab-switcher-v3 .nav-link {
    color: #6c757d;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s ease;
}

.main-tab-switcher-v3 .nav-link.active {
    color: #0d2d5d;
    border-bottom-color: #4f46e5;
}

.sub-tab-nav-v3 .nav-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    color: #343a40;
    font-weight: 500;
    border-radius: .5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.sub-tab-nav-v3 .nav-link i {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.sub-tab-nav-v3 .nav-link:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.sub-tab-nav-v3 .nav-link.active {
    background-color: #0d2d5d;
    color: #ffffff;
    font-weight: 600;
    border-color: #0d2d5d;
    box-shadow: 0 5px 15px rgba(13, 45, 93, 0.2);
}

.sub-tab-nav-v3 .nav-link.active i {
    color: #ffffff;
}

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

.sub-tab-content-pane-v3 h4 {
    font-weight: 700;
    color: #0d2d5d;
}

.sub-tab-content-pane-v3 p {
    color: #495057;
    line-height: 1.8;
}

/* Vertical Sub Tab Banner */
.vertical-sub-tab-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

.vertical-sub-tab-banner img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vertical-sub-tab-banner:hover img {
    transform: scale(1.02);
}

/* ============================================= */
/* 6. Cards & Offers                             */
/* ============================================= */
.service-card-hover,
.offer-card-hover {
    transition: all 0.3s ease;
}

.service-card-hover:hover,
.offer-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.offer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.offer-card .badge {
    padding: 5px 10px;
    font-weight: 600;
}

.offer-card .btn-outline-primary {
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s;
}

.offer-card .btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.offer-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
}

.offer-details-page {
    background-color: #f8f9fa;
}

.object-cover {
    object-fit: contain !important;
}

.offer-description p {
    line-height: 1.8;
    color: #6c757d;
}

/* ============================================= */
/* 7. Footer & Social                            */
/* ============================================= */
.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin-right: 0.5rem;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

.bg-primary-blue {
    background-color: #3b5998;
}

.bg-dark {
    background-color: #333;
}

.bg-linkedin {
    background-color: #0077b5;
}

.bg-youtube {
    background-color: #ff0000;
}

.bg-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.hover-text-white:hover {
    color: #ffffff !important;
}

.root_PiWWB .header-large_dSNPY .powered-by_Qe9aP {
    display: none !important;
}

/* Floating Chat */
.floating-chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
}

.floating-chat-icon .btn {
    width: 60px;
    height: 60px;
    padding: 0;
}

/* ============================================= */
/* 8. FAQ Section (v2)                           */
/* ============================================= */
.faq-section-v2 {
    padding: 6rem 0;
    background-color: #ffffff;
}

.faq-section-v2 .section-title {
    font-weight: 800;
    color: #0d2d5d;
}

.faq-section-v2 .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
}

.faq-accordion .accordion-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: .5rem !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    color: #0d2d5d;
    background-color: #f8f9fa;
    border-radius: .5rem !important;
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #0d2d5d;
}

.faq-accordion .accordion-body {
    background-color: #ffffff;
    padding: 1.5rem;
    color: #495057;
    line-height: 1.8;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

.faq-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    /* Fallback if FontAwesome not loaded */
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* If using FontAwesome, ensure it's loaded in HTML */
.faq-accordion .accordion-button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f067";
    /* Plus icon */
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    content: "\f068";
    /* Minus icon */
    transform: rotate(180deg);
}

/* ============================================= */
/* 9. Contact Page                               */
/* ============================================= */
.contactbanner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.contactbanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contactbanner-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.newsletter-box {
    background-color: #343a40;
    color: white;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.contact-info {
    margin-top: 50px;
}

.info-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 15px;
}

.map-container {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.expandable-content {
    position: relative;
    transition: max-height 0.3s ease-in-out;
}

.expandable-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.expandable-content[style*="max-height:"]::after {
    opacity: 0;
}


/* ==========================================================================
   10. PROFESSIONAL RESPONSIVE OVERRIDES & MEDIA QUERIES
   ========================================================================== */

/* --- A. Global Fluid Typography --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- B. Mobile Devices (Portrait phones, less than 576px) --- */
@media (max-width: 575.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-content {
        padding-top: 80px;
    }

    .hero-v3 {
        padding: 4rem 0 3rem 0;
        min-height: auto;
        text-align: left;
    }

    .hero-v3 .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-v3 .btn-hero-primary,
    .hero-v3 .btn-hero-secondary {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        text-align: center;
        font-size: 1rem;
    }

    /* Tab Switcher Scrollable on Mobile */
    .main-tab-switcher-v3 {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .main-tab-switcher-v3::-webkit-scrollbar {
        display: none;
    }

    .main-tab-switcher-v3 .nav-link {
        white-space: nowrap;
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    .sub-tab-content-pane-v3 {
        padding-left: 0;
    }

    /* Banners Fix */
    .contactbanner,
    .vertical-sub-tab-banner img {
        height: 250px !important;
    }

    .contactbanner-title {
        font-size: 1.8rem;
    }

    .floating-chat-icon {
        bottom: 15px;
        right: 15px;
    }

    .floating-chat-icon .btn {
        width: 50px;
        height: 50px;
    }
}

/* --- C. Tablets (576px - 991px) --- */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-v3 {
        padding: 5rem 0;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Stack vertical tabs nicely */
    .sub-tab-nav-v3 {
        display: flex;
        overflow-x: auto;
        margin-bottom: 25px;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .sub-tab-nav-v3 .nav-link {
        margin-right: 15px;
        margin-bottom: 0;
        flex: 0 0 auto;
    }

    .sub-tab-content-pane-v3 {
        padding-left: 0;
    }

    .vertical-sub-tab-banner img {
        height: 350px;
    }
}

/* --- D. 13-inch Laptops & Short Screens (1366x768 Specific) --- */
@media (min-width: 992px) and (max-width: 1440px) and (max-height: 800px) {
    .main-content {
        padding-top: 80px;
        /* Reduce header gap */
    }

    .hero-v3 {
        padding: 3.5rem 0;
        min-height: 550px;
        /* Force compact height */
        display: flex;
        align-items: center;
    }

    .hero-v3 .hero-title {
        font-size: 2.8rem;
        /* Scale down title */
    }

    .hero-v3 .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Reduce banner heights to fit screen */
    .vertical-sub-tab-banner img {
        height: 380px;
    }

    .contactbanner {
        height: 300px;
    }

    .faq-section-v2,
    .contact-section {
        padding: 4rem 0;
    }
}

/* --- E. Large Screens (1920x1080 +) --- */
@media (min-width: 1600px) {
    .container {
        max-width: 1520px;
    }

    .hero-v3 {
        min-height: 85vh;
        display: flex;
        align-items: center;
    }

    .hero-v3 .hero-title {
        font-size: 4.5rem;
    }

    .hero-v3 .hero-description {
        font-size: 1.35rem;
        max-width: 750px;
    }

    .vertical-sub-tab-banner img {
        height: 600px;
    }
}