/*
Theme Name: KUV Corporate
*/

/* --------------------------- */
/* --- Variable Definition --- */
/* --------------------------- */
:root {
    --kuv-primary: #00A3E0;
    /* Light Blue/Cyan from logo */
    /* --kuv-secondary: #00508C; */
    --kuv-secondary: #004f9b;
    /* Darker Blue from logo */
    --kuv-dark: #212529;
    --kuv-light: #f8f9fa;
    --font-family-base: 'Poppins', sans-serif;
}

/* -------------------- */
/* --- Base Styling --- */
/* -------------------- */
body {
    font-family: var(--font-family-base);
    color: #444;
    padding-top: 0px;
    /* Offset for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--kuv-secondary);
}

a {
    text-decoration: none;
}

.text-primary {
    color: var(--kuv-primary) !important;
}

.text-secondary {
    color: var(--kuv-secondary) !important;
}

/* -------------------- */
/* --- Button Styling --- */
/* -------------------- */
.btn-primary {
    background-color: var(--kuv-primary);
    border-color: var(--kuv-primary);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--kuv-secondary);
    border-color: var(--kuv-secondary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--kuv-primary);
    border-color: var(--kuv-primary);
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--kuv-primary);
    color: #fff;
}

.navbar {
    padding: 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;

    background-image: linear-gradient(to right, transparent, #010411);
}

#header-dark .navbar {

    background-image: linear-gradient(to right, #012641, transparent);
}

/* On-scroll "Glassmorphism" state */
.navbar.scrolled {
    background-image: linear-gradient(to right, #fff, #fff);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    /* padding-top: 0.75rem;
    padding-bottom: 0.75rem; */
}

#header-dark .navbar.scrolled {

    background-image: linear-gradient(to right, #fff, #fff);
}

/* === Nav Link Styling === */
.navbar .nav-link {
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

/* The underline effect element */
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--kuv-primary);
    transition: width 0.3s ease-out;
}

/* --- State 1: Default (Transparent Header on Hero) --- */
.navbar:not(.scrolled) .nav-link {
    color: #fff;
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
    color: #00a3e0;
}

.navbar:not(.scrolled) .nav-link.active::after,
.navbar:not(.scrolled) .nav-link:hover::after {
    width: 100%;
    /* Show underline on hover/active */
}


/* --- State 2: Scrolled (White Header) --- */
.navbar.scrolled .nav-link {
    color: var(--kuv-dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--kuv-primary);
}

.navbar.scrolled .nav-link.active::after,
.navbar.scrolled .nav-link:hover::after {
    width: 100%;
    /* Show underline on hover/active */
}


/* === Login Button Styling === */
.btn-login {
    border-radius: 50px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

/* Default state: Outline on transparent header */
.navbar:not(.scrolled) .btn-login {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background-color: transparent;
}

.navbar:not(.scrolled) .btn-login:hover {
    background-color: var(--kuv-primary);
    border-color: var(--kuv-primary);
    color: #fff;
}

/* Scrolled state: Solid button on white header */
.navbar.scrolled .btn-login {
    background-color: var(--kuv-primary);
    border: 2px solid var(--kuv-primary);
    color: #fff;
}

.navbar.scrolled .btn-login:hover {
    background-color: var(--kuv-secondary);
    border-color: var(--kuv-secondary);
}

/* Remove the default dropdown arrow */
.navbar .dropdown-toggle::after {
    display: none;
}

/* Mega Menu container styling */
.mega-menu {
    width: 600px;
    /* Set a fixed width for the menu */
    padding: 2rem;
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    /* Position adjustments if necessary */
    left: 50%;
    transform: translateX(-60%) !important;
    margin-top: 10px !important;
}

/* Style for each item within the menu */
.mega-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
    margin-bottom: 0.5rem;
    /* Space between rows */
}

.mega-menu-item:hover {
    background-color: var(--kuv-light);
}

/* Icon styling */
.mega-menu-item .icon {
    font-size: 1.5rem;
    color: var(--kuv-primary);
    margin-right: 1rem;
    width: 30px;
    /* Fixed width for alignment */
    text-align: center;
}

/* Text styling */
.mega-menu-item .text {
    font-weight: 500;
    color: var(--kuv-dark);
}

/* Responsive adjustment for smaller screens */
@media (max-width: 991px) {
    .mega-menu {
        width: 100%;
        /* Full width on mobile */
        left: 0;
        transform: none !important;
    }
}

/* ------------------------------------------- */
/* --- V6 Design: Mobile Off-Canvas Menu --- */
/* ------------------------------------------- */

@media (max-width: 991.98px) {

    /* --- Override Mega Menu on Mobile --- */
    .mega-menu {
        width: auto;
        box-shadow: none;
        position: static !important;
        transform: none !important;
        background-color: #f1f1f1 !important;
        padding: 0.5rem 1rem;
    }

    .mega-menu .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mega-menu-item {
        padding-left: 0.5rem;
    }

    /* --- Hamburger Icon Styling --- */
    .navbar-toggler {
        border: none;
        padding: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }


    /* --- Off-Canvas Panel Styling --- */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 80%;
        padding: 1.5rem;
        background-color: #fff;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        display: block !important;
        /* Always display, just move it off-screen */
        overflow-y: auto;
    }

    /* State when the menu is open */
    .navbar-collapse.show {
        transform: translateX(0);
    }

    /* --- Mobile Menu Links --- */
    .navbar-nav {
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
    }

    .navbar .nav-link,
    .navbar.scrolled .nav-link {
        color: var(--kuv-dark) !important;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar .nav-link::after {
        display: none;
        /* Hide underline effect */
    }

    .navbar .nav-link.active,
    .navbar .nav-link:hover {
        color: var(--kuv-primary) !important;
    }

    /* --- Client Login Button on Mobile --- */
    .navbar .btn-login {
        width: 100%;
        margin-top: 1rem;
    }

    /* --- Menu Header & Close Button --- */
    .mobile-menu-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
        margin-bottom: 1rem;
    }
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    /* Just below the menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ----------------- */
/* --- Sections --- */
/* ----------------- */
.section-padding {
    padding: 50px 0;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--kuv-primary);
}

/* --- Service Card --- */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--kuv-primary);
    margin-bottom: 20px;
}

.service-card h4 {
    color: var(--kuv-secondary);
    margin-bottom: 15px;
}

/* ----------------- */
/* --- Footer --- */
/* ----------------- */
footer {
    /* background-color: var(--kuv-secondary) !important; */
    background-image: linear-gradient(to right, rgba(0, 80, 155, 0.808), #002649), url(../img/bg/3.jpg);
    background-position: center;
    background-size: cover;
}

footer .text-primary-light {
    color: #fff;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--kuv-primary) !important;
}

/* ---------------------------------- */
/* --- V2 Styles from PDF Inspire --- */
/* ---------------------------------- */

/* --- Hero Section V2 --- */
.hero-v2 {
    padding: 100px 0;
    background-color: var(--kuv-secondary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-v2 h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

.hero-v2 p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.hero-v2 .btn-get-started {
    border: 2px solid var(--kuv-primary);
    background-color: transparent;
    color: var(--kuv-primary);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-v2 .btn-get-started:hover {
    background-color: var(--kuv-primary);
    color: #fff;
}

.hero-graphic {
    /* Placeholder for the abstract graphic. Can be an SVG or PNG */
    position: absolute;
    right: -150px;
    top: -100px;
    width: 600px;
    opacity: 0.1;
    /* In a real project, you would use an SVG here */
}


/* --- "Who We Are" Section --- */
.who-we-are-section {
    /* background-color: #f0f7ff; */
    /* background-image: linear-gradient(to right, rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)), url(../img/bg/3.webp); */
    background-image: url(../img/bg/dc-background-grey.png);


    /* A very light blue */
    overflow: hidden;
}

.bg-gray-img {
    background-image: url(../img/bg/dc-background-grey.png);
}

/* --- Featurette (Why Choose Us) --- */
.featurette {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.featurette .icon {
    font-size: 2rem;
    color: var(--kuv-primary);
    margin-right: 20px;
    margin-top: 5px;
}

.featurette h5 {
    margin-bottom: 0.5rem;
}


/* --- Insights/Blog Section --- */
.blog-card {
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    /* Ensures image corners are rounded */
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-body {
    padding: 25px;
}

.blog-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

.blog-card .read-more {
    color: var(--kuv-primary);
    font-weight: 600;
    text-decoration: none;
}


/* --- FAQ Section --- */
.faq-section {
    background: #fff;
}

/* .faq-section {
    background-color: var(--kuv-secondary);
    color: #fff;
}

.faq-section .section-title h2 {
    color: #fff;
}

.faq-section .section-title h2::after {
    background-color: var(--kuv-primary);
} */

.accordion-button {
    font-weight: 600;
    color: var(--kuv-secondary);
}

.accordion-button:not(.collapsed) {
    background-color: var(--kuv-primary);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 163, 224, 0.3);
    /* Focus ring with primary color */
}


/* --- CTA Section --- */
.cta-section,
.docs-section {
    background-image: linear-gradient(to right, rgba(0, 80, 155, 0.808), #002649), url(../img/bg/1.webp);
    background-position: center;
    background-size: cover;
    padding: 100px 0;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    font-weight: 400;
}

.cta-section .btn-light {
    font-weight: 600;
    padding: 12px 35px;
}

/* ---------------------------------- */
/* --- Missing Sections Styling --- */
/* ---------------------------------- */

/* --- Services Slider Section --- */
.services-slider-section {
    position: relative;
}

.service-slider-card {
    border: 3px solid #e9ecef;
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-slider-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-slider-card .card-title-bar {
    padding: 15px;
    background-color: var(--kuv-light);
    font-weight: 600;
    color: var(--kuv-secondary);
}

.service-slider-card:hover {
    border-color: var(--kuv-primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem !important;
    color: var(--kuv-secondary);
}

/* --- Explore More Section --- */
.explore-section {
    display: flex;
    min-height: 500px;
    background-color: #333;
    /* Fallback color */
    background-image: linear-gradient(rgba(0, 80, 140, 0.7), rgba(0, 80, 140, 0.7)), url('https://images.pexels.com/photos/590016/pexels-photo-590016.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
}

.explore-banner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: flex 0.5s ease, background-color 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.explore-banner:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.explore-banner h3 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.explore-banner:hover {
    flex: 2;
    /* Expands the banner on hover */
    background-color: rgba(0, 163, 224, 0.5);
    /* KUV Primary with transparency */
}

/* ------------------------------------------- */
/* --- V3 Redesign: Modern Header & Hero --- */
/* ------------------------------------------- */

/* --- Modern Hero Section (v3) --- */
.hero-v3 {
    /* padding: 160px 0 100px; */
    /* background: linear-gradient(45deg, var(--kuv-secondary), #00416a);  */
    background-image: url(../img/bg/1.webp);

    background-position: center;
    color: #fff;
    overflow: hidden;
    min-height: 100vh;
    display: grid;
    place-content: center;

}

.hero-v3 .hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    animation: fadeInDown 1s ease-out;
}

.hero-v3 .hero-content .highlight {
    color: var(--kuv-primary);
    /* Bright cyan color */
}

.hero-v3 .hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-v3 .btn-hero {
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    /* Pill shape */
    background-color: var(--kuv-primary);
    color: #fff;
    border: 2px solid var(--kuv-primary);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-v3 .btn-hero:hover {
    background-color: transparent;
    color: var(--kuv-primary);
    transform: translateY(-3px);
}

/* --- Visual Element for Hero Section --- */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    animation: fadeIn 1.5s ease-out;
}

.visual-card {
    position: absolute;
    width: 250px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-1 {
    transform: rotate(-15deg) translate(-50px, -20px);
    z-index: 1;
}

.card-2 {
    transform: rotate(5deg) scale(1.1);
    z-index: 2;
}

.card-3 {
    transform: rotate(20deg) translate(50px, 40px);
    z-index: 1;
}

.visual-card .icon {
    font-size: 2rem;
    color: var(--kuv-primary);
}

.visual-card h5 {
    color: #fff;
    margin-top: 10px;
}

.visual-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* --- Animation Keyframes --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ------------------------------------------- */
/* --- V7 About Us Page Styles --- */
/* ------------------------------------------- */

/* --- Page Header (Hero Banner for Inner Pages) --- */
.page-header {
    padding: 200px 0 100px;
    position: relative;
    color: #fff;
    /* background-image: linear-gradient(rgba(0, 80, 140, 0.8), rgba(0, 80, 140, 0.8)), url(../img/bg/4.avif); */
    background-image: linear-gradient(rgba(0, 80, 140, 0.8), rgba(0, 80, 140, 0.8)), url(../img/bg/4.avif);
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    color: #fff;
    font-weight: 700;
}

/* --- Team Card Styling --- */
.team-card {
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    /* Ensures faces are visible */
}

.team-card .team-info {
    padding: 20px 15px;
    background-color: #fff;
}

.team-card .team-name {
    margin-bottom: 5px;
    color: var(--kuv-secondary);
}

.team-card .team-title {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* ------------------------------------------- */
/* --- V8 Service Page (Payment Gateway) --- */
/* ------------------------------------------- */

/* --- Service Page Header --- */
.service-header {
    padding: 50px 0;
}

.service-header h1 {
    font-weight: 700;
    color: var(--kuv-secondary);
}

/* --- Simple Feature Card --- */
.feature-card {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--kuv-primary);
    margin-bottom: 1rem;
}

.feature-card h5 {
    color: var(--kuv-secondary);
    font-weight: 600;
}

/* --- "How It Works" Step Card --- */
.step-card {
    position: relative;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    height: 100%;
    border-top: 4px solid var(--kuv-primary);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--kuv-primary);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid #fff;
}

.step-icon {
    font-size: 3rem;
    color: var(--kuv-secondary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.step-card h5 {
    color: var(--kuv-secondary);
    font-weight: 600;
}

/* --- Inner Page FAQ Styling --- */
.faq-section-inner .accordion-button {
    color: var(--kuv-secondary);
}

.faq-section-inner .accordion-button:not(.collapsed) {
    background-color: var(--kuv-secondary);
    color: #fff;
}

.faq-section-inner .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 80, 140, 0.2);
}

/* ------------------------------------------- */
/* --- V9 Contact Page Styles --- */
/* ------------------------------------------- */

.contact-info-box .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-form-wrapper {
    background-color: #f8f9fa;
    /* Light grey background */
    border: 1px solid #e9ecef;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 163, 224, 0.15);
    /* KUV Primary focus ring */
    border-color: var(--kuv-primary);
}

/* Map specific override to remove padding bottom */
section.pb-0 {
    padding-bottom: 0 !important;
}