@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
    /* Offset for fixed header */
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    /* background-color: #f8f9fa; */
}

.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bg-primary {
    background-color: #0469be !important;
    /* Brand Blue */
}

.text-primary {
    color: #0469be !important;
}

/* Discover More Button */
.btn-discover {
    border-color: #0469be;
    color: #1f2937;
    transition: all 0.3s ease;
}

.btn-discover:hover {
    background-color: #0469be;
    border-color: #0469be;
    color: #ffffff;
}

.top-bar {
    font-size: 0.85rem;
    color: #6b7280;
    background-color: #f8fafc !important;
    /* slight gray */
}

.top-bar .text-secondary {
    color: #4b5563 !important;
    transition: color 0.3s;
}

.top-bar .text-secondary:hover {
    color: #0469be !important;
}

.navbar-nav .nav-link {
    color: #374151 !important;
    position: relative;
    padding-bottom: 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0469be !important;
}

/* Optional hover underline effect */
@media (min-width: 992px) {
    .navbar-nav .nav-link:not(.dropdown-toggle)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: #0469be;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
    .navbar-nav .nav-link:not(.dropdown-toggle).active::after {
        width: 100%;
    }

    /* Open dropdown on hover for desktop */
    .dropdown:hover>.dropdown-menu,
    .dropend:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropend>.dropdown-menu {
        left: 220px !important;
        width: 327px;
        top: -15px;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
        border-top: 5px solid #0469be !important;
        right: 0;
    }

    .customer-experience-section {
        /* padding-top: 90px; */
    }
}

/* Custom Dropdown Arrow */
.custom-dropdown-toggle::after {
    display: none !important;
    /* Hide default Bootstrap caret */
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 3px;
}

.dropdown:hover .dropdown-icon,
.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* Slanted Brand Section for Desktop */
@media (min-width: 992px) {
    .header-brand {
        min-width: 320px;
        /* clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); */
        padding-right: 4rem !important;
        /* Give space for slant */
        z-index: 10;
        justify-content: center !important;
        border-right: 5px solid #0469be !important;
    }

    .main-header .header-brand img {
        max-height: 90px !important;
    }
}

/* Hero Banner */
.hero-banner {
    min-height: 600px;
    /* background-color: #23244e; */
    /* Deep blue/purple fallback */
    overflow: hidden;
}

.hero-bg img {
    object-position: right center;
}

.hero-overlay {
    /* background: linear-gradient(90deg, rgb(4 80 133) 0%, rgb(82 144 197) 45%, rgba(35, 36, 78, 0) 100%); */
    /* background: linear-gradient(360deg, rgb(4 80 133) 0%, rgba(35, 36, 78, 0) 100%); */
}

.text-accent {
    color: #d4f234;
    /* Bright Lime/Yellow */
}

.btn-accent {
    background-color: #2aa4d3;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #73d5fc;
    color: #fff;
    transform: translateY(-2px);
}

.watch-video-btn .play-btn {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.watch-video-btn:hover .play-btn {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hero-banner p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Experience Section */
.text-dark-blue {
    color: #0b132b;
}

.text-purple {
    color: #4b36fa;
}

.bg-gradient-primary {
    background: linear-gradient(145deg, #085489 0%, #5290c5 100%);
}

.btn-primary-gradient {
    background: linear-gradient(90deg, #085489 0%, #5290c5 100%);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    background: linear-gradient(90deg, #085489 0%, #5290c5 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    z-index: 2;
    min-width: 120px;
}

@media (max-width: 767px) {
    .hero-banner {
        min-height: 500px;
    }

    .experience-section.py-5 {
        margin-bottom: 0 !important;
    }

    .customer-experience-section {
        padding-bottom: 50px;
    }


}

@media (min-width: 768px) {
    .experience-badge {
        top: -30px;
        left: -40px;
        min-width: 150px;
    }

    .decorative-bars {
        left: 0px !important;
    }


}

.decorative-bars {
    position: absolute;
    left: 20px;
    top: 55%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 50%;
}

.bar {
    width: 10px;
    border-radius: 5px;
}

.bar-purple {
    height: 40%;
    background-color: #085489;
}

.bar-blue {
    height: 50%;
    background-color: #5290c5;
}

.custom-checklist i {
    line-height: 1.2;
}

/* Services Section */
.service-card .service-content {
    margin-top: -50px;
    border-bottom: 4px solid #111827;
    z-index: 10;
}

.service-card .service-icon {
    width: 50px;
    height: 50px;
    background-color: #111827;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: #085489;
}

.service-card .service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: translateX(3px);
}

/* Stats Section */
.stats-section {
    min-height: 350px;
    background-color: #0d2844;
}

.stats-bg img {
    object-position: center;
}

.stats-overlay {
    background: linear-gradient(to bottom, rgba(46, 115, 178, 0.7) 0%, rgba(13, 40, 68, 0.95) 100%);
}

/* Work Process Section */
@media (min-width: 992px) {
    .position-lg-absolute {
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Consultancy Section */
.consultancy-bg-shape {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

@media (max-width: 991px) {

    .navbar-nav.text-center,
    .top-request-btn.text-center {
        text-align: left !important;
    }

    #team-contact-section {
        margin-top: 0 !important;
    }

    .services-section.py-4 {
        padding-bottom: 10px !important;
        padding-top: 20px !important;
    }

    .what-do-we-serve .mt-auto {
        display: none;
    }

    .what-do-we-serve.py-4 {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .what-do-we.mb-5 {
        margin-bottom: 10px !important;
    }

    .navbar-toggler i {
        color: #fff !important;
        background: linear-gradient(145deg, #085489 0%, #5290c5 100%);
        border-radius: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }


}

@media (min-width: 768px) and (max-width: 991px) {

    .customer-experience-section {
        margin-bottom: 60px;
    }

    .experience-section.my-md-5 {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .what-do-we-serve.py-4 {
        margin-top: 0 !important;
    }

}

@media (min-width: 992px) {
    .w-lg-85 {
        width: 85% !important;
    }

    .py-md-5#about-us-experience-section {
        margin-top: 0 !important;
        margin-bottom: 0px !important;
        padding-bottom: 15px !important;
    }

    .services-section.py-md-5 {
        padding-top: 0 !important;
    }
}

.custom-input {
    background-color: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
}

.custom-input::placeholder {
    color: #a0a0a0;
}

/* Footer Section */
.main-footer .hover-opacity {
    transition: opacity 0.3s ease;
}

.main-footer .hover-opacity:hover {
    opacity: 0.75;
}

/* Satisfaction CTA Section */
.satisfaction-section {
    background-color: #0d2844;
}

.satisfaction-bg img {
    object-position: center;
}

.satisfaction-overlay {
    background: linear-gradient(to bottom, rgba(37, 107, 163, 0.7) 0%, rgba(13, 40, 68, 0.95) 100%);
}

.enquire-form .form-control {
    color: #333;
}

.enquire-form .form-control:focus {
    box-shadow: none;
    background-color: #fff !important;
}

.enquire-form .btn-light {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    transition: background-color 0.3s ease;
}

.enquire-form .btn-light:hover {
    background-color: #e2e6ea;
}

.copyright p {
    width: 100%;
    text-align: center;
    color: #fff;
}

.copyright p a {
    color: #fff;
    text-decoration: none;
}

.position-absolute.skewed-shape-bg {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #2aa4d3 0%, #09558a 100%);
    border-radius: 40px;
    transform: rotate(-45deg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 0;
    bottom: 20px;
    right: 29.5%;
}

.position-absolute.skewed-shape {
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    transform: rotate(-45deg);
    z-index: 0;
    bottom: 10px;
    right: 28%;
}

.bg-cover {
    position: relative;
    padding: 60px 0px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.main-footer {
    margin-top: 5rem;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    pointer-events: none;
    /* Prevent clicks when hidden */
    background: linear-gradient(145deg, #085489 0%, #5290c5 100%);
    border: none;
}

#scrollToTopBtn.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Sticky Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-in-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}