:root {
    --primary: #2b79e4;
    --secondary: #2ea3f2;
    --dark: #0f172a;
    --light: #f8f9fa;
}


/* ============ NAVBAR ============ */

#mainNavbar {

    transition: background .4s ease, padding .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;

    padding: 18px 0;

    background: linear-gradient(15deg, #0a3d91, #2f80ed);

}

#mainNavbar.scrolled {

    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);

    box-shadow: 0 5px 24px rgba(15, 23, 42, .08);

    padding: 10px 0;

}

.logo {

    width: 55px;
    transition: width .3s ease;

}

#mainNavbar.scrolled .logo {

    width: 46px;

}

/* Brand text swaps white (over the blue hero) -> primary blue (once scrolled) */
.navbar-brand {

    font-weight: 700;
    font-size: 1.35rem;

}

.brand-text {

    color: #ffffff;
    transition: color .3s ease;

}

#mainNavbar.scrolled .brand-text {

    color: var(--primary);

}

/* Nav links: white on the blue gradient, dark once the bar turns white */
.navbar-nav .nav-link {

    font-weight: 500;
    margin: 0 10px;
    position: relative;
    color: rgba(255, 255, 255, .92);
    transition: color .3s ease;

}

#mainNavbar.scrolled .navbar-nav .nav-link {

    color: #1e293b;

}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {

    color: #ffffff;

}

#mainNavbar.scrolled .navbar-nav .nav-link:hover,
#mainNavbar.scrolled .navbar-nav .nav-link.active {

    color: var(--primary);

}

.navbar-nav .nav-link::after {

    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width .3s ease, background-color .3s ease;

}

#mainNavbar.scrolled .navbar-nav .nav-link::after {

    background: var(--primary);

}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {

    width: 100%;

}

.navbar .btn {

    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;

}

/* Quote CTA: ghost/light on the blue bar, solid brand color once scrolled */
.quote-btn {

    background: #ffffff;
    color: var(--primary);
    border: 2px solid transparent;
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;

}

.quote-btn:hover {

    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);

}

#mainNavbar.scrolled .quote-btn {

    background: var(--primary);
    color: #ffffff;

}

#mainNavbar.scrolled .quote-btn:hover {

    background: transparent;
    color: var(--primary);
    border-color: var(--primary);

}

/* Toggler lines: white on blue, dark once scrolled */
.navbar-toggler {

    border: none;
    padding: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;

}

.navbar-toggler:focus {

    box-shadow: none;

}

.animated-toggler {

    width: 26px;
    height: 20px;
    position: relative;
    display: block;

}

.animated-toggler span {

    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 30px;
    transition: all .35s ease, background-color .3s ease;

}

#mainNavbar.scrolled .animated-toggler span {

    background: var(--dark);

}

/* Top Line */
.animated-toggler span:nth-child(1) {
    top: 0;
}

/* Middle Line */
.animated-toggler span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

/* Bottom Line */
.animated-toggler span:nth-child(3) {
    bottom: 0;
}

/* ===== X Animation ===== */
.navbar-toggler.active .animated-toggler span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler.active .animated-toggler span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .animated-toggler span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* ============ RESPONSIVE (small / medium screens) ============ */
@media (max-width: 991px) {

    /* The dropdown panel gets its own solid white card so its links are
       always legible, regardless of whether the bar behind it is the
       blue gradient or the scrolled white state */
    .navbar-collapse {

        margin-top: 16px;
        padding: 20px;
        text-align: center;
        background: #ffffff;
        border-radius: 18px;
        box-shadow: 0 15px 35px rgba(15, 23, 42, .18);

    }

    .navbar-collapse .nav-link {

        color: #1e293b !important;

    }

    .navbar-collapse .nav-link::after {

        background: var(--primary) !important;

    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {

        color: var(--primary) !important;

    }

    .navbar-nav .nav-link {

        margin: 10px 0;

    }

    .navbar .quote-btn {

        margin-top: 12px;
        width: 100%;
        background: var(--primary);
        color: #ffffff;

    }

    .navbar .quote-btn:hover {

        background: transparent;
        color: var(--primary);
        border-color: var(--primary);

    }

}

@media (max-width: 420px) {

    .navbar-brand .brand-text {

        font-size: 1.1rem;

    }

    .logo {

        width: 46px;

    }

}

/* FIX: hero background is now protected from being overridden by any
   Bootstrap bg-* utility class, since bg-info has been removed from the
   markup and this rule carries !important as a safety net */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a3d91, #2f80ed) !important;
    color: white;
}

.hero h1 {
    transition: .5s ease;
}

.hero h1:hover {
    transform: translateY(-8px);
}


.about-subtitle {

    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: .9rem;

}

.about-title {


    font-weight: 700;
    color: #222;
    line-height: 1.3;

}

.about-text {

    color: #6c757d;
    line-height: 1.9;
    margin-top: 20px;

}

.about-feature {

    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-weight: 500;

}

.about-feature i {

    color: var(--primary);
    margin-right: 12px;
    font-size: 1.2rem;

}

.about-image {

    overflow: hidden;

}

.about-image img {

    transition: .5s;
    width: 100%;

}

.about-image:hover img {

    transform: scale(1.05);

}

.experience-box {

    position: absolute;

    bottom: 30px;

    right: 30px;

    background: var(--primary);

    color: #fff;

    padding: 20px 30px;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);

}

.experience-box h2 {

    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;

}

.experience-box span {

    font-size: .95rem;

}

@media(max-width:992px) {

    .experience-box {

        right: 15px;
        bottom: 15px;
        padding: 15px 20px;

    }

}

.stat-card {
    transition: .3s ease;
    border-radius: 15px;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .15) !important;
}

.stat-card i {
    color: #2b79e4;
}

.stat-card h2 {
    font-size: 2.7rem;
}


.service-card {
    border-radius: 15px;
    transition: all .3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12) !important;
}

.service-icon {
    font-size: 3.5rem;
    color: #2b79e4;
    transition: .3s;
}

.service-card:hover .service-icon {
    color: #2f80ed;
}

.service-card h4 {
    font-weight: 600;
    margin-top: 15px;
}

.service-card p {
    font-size: .95rem;
    line-height: 1.7;
}

.service-card img{
    height: 200px;
    object-fit: cover;
    transition: .4s;

}
.service-card:hover img {
    transform: scale(1.08);
}


.choose-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
    height: 100%;
}

.choose-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.choose-box i {
    font-size: 2rem;
    color: #2b79e4;
    min-width: 50px;
}

.choose-box h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2b79e4;
}

.choose-box p {
    margin: 0;
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.6;
}

.choose-image {
    overflow: hidden;
}

.choose-image img {
    transition: .5s;
    width: 100%;
}

.choose-image:hover img {
    transform: scale(1.05);
}



.project-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all .35s ease;
}

.project-card img {
    height: 240px;
    object-fit: cover;
    transition: .4s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15) !important;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card .card-title {
    color: var(--primary);
    font-weight: 600;
}

.project-card .btn {
    border-radius: 30px;
}


.industry-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: all .35s ease;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.industry-card i {
    font-size: 3rem;
    color: #2ea3f2;
    margin-bottom: 20px;
    transition: .3s;
}

.industry-card:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.industry-card h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.industry-card p {
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}


.team-card {
    border-radius: 18px;
    overflow: hidden;
    transition: .35s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .15) !important;
}

.team-card img {
    height: 150px;
    object-fit: cover;
    transition: .4s;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h5 {
    color: var(--primary);
}

.social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: #2ea3f2;
    margin: 0 5px;
    text-decoration: none;
    transition: .3s;
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
}

.card-footer {
    padding-bottom: 20px;
}

.team-profile-placeholder {
    width: 150px;
    height: 150px;
    background-color: #e9f2ff;
    color: #0d6efd;
    font-size: 60px;
}


.testimonial-card {

    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

}

.testimonial-img {

    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: none;

}

.testimonial-card p {

    font-size: 1.05rem;
    line-height: 1.8;

}

.carousel-control-prev-icon,
.carousel-control-next-icon {

    background-color: var(--primary);
    border-radius: 50%;
    padding: 18px;

}


.contact-info {

    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    height: 100%;

}

.contact-item {

    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;

}

.contact-item:last-child {

    margin-bottom: 0;

}

.contact-icon {

    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: .3s;

}

.contact-item:hover .contact-icon {

    background: #2ea3f2;
    transform: rotate(10deg);

}

.contact-item h5 {

    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 600;

}

.contact-form {

    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

}

.contact-form .form-control {

    border-radius: 12px;
    padding: 14px;
    border: 1px solid #ddd;

}

.contact-form .form-control:focus {

    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0, 122, 18, .15);

}

.contact-form button {

    border-radius: 30px;
    font-weight: 600;
    transition: .3s;

}

.contact-form button:hover {

    transform: translateY(-3px);

}


.map-card {

    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);

}

.map-card iframe {

    display: block;
    width: 100%;
    border: none;

}


.whatsapp-widget {

    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;

}

.whatsapp-btn {

    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);

    transition: .3s;

}

.whatsapp-btn:hover {

    transform: scale(1.08);

}

.whatsapp-box {

    width: 340px;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .18);

    position: absolute;

    bottom: 85px;

    right: 0;

    display: none;

    animation: fadeUp .3s ease;

}

.whatsapp-header {

    background: #25D366;

    color: #fff;

    padding: 18px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.whatsapp-header img {

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: #fff;

}

.online-dot {

    width: 10px;

    height: 10px;

    background: #00ff66;

    border-radius: 50%;

    display: inline-block;

    margin-right: 5px;

}

.whatsapp-body {

    padding: 25px;

    background: #f5f5f5;

}

.message {

    background: #fff;

    padding: 18px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);

    line-height: 1.8;

}

.whatsapp-footer {

    padding: 18px;

}

.close-chat {

    background: none;

    border: none;

    color: #fff;

    font-size: 1.2rem;

}

@keyframes fadeUp {

    from {

        opacity: 0;
        transform: translateY(20px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

@media(max-width:576px) {

    .whatsapp-box {

        width: 300px;

        right: 0;

    }

}


.footer-section {

    background: #0f172a;

    color: #cbd5e1;

}

.footer-logo {

    width: 70px;

}

.footer-section h4,
.footer-section h5 {

    color: #ffffff;

    margin-bottom: 20px;

    font-weight: 600;

}

.footer-section p {

    line-height: 1.8;

    color: #cbd5e1;

}

.footer-links {

    list-style: none;

    padding: 0;

}

.footer-links li {

    margin-bottom: 12px;

}

.footer-links a {

    text-decoration: none;

    color: #cbd5e1;

    transition: .3s;

}

.footer-links a:hover {

    color: #2ea3f2;

    padding-left: 6px;

}

.social-links {

    margin-top: 20px;

}

.social-links a {

    width: 42px;

    height: 42px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #1e293b;

    color: #fff;

    margin-right: 8px;

    text-decoration: none;

    transition: .3s;

}

.social-links a:hover {

    background: var(--primary);

    transform: translateY(-4px);

}

.footer-section hr {

    border-color: rgba(255, 255, 255, .15);

    margin: 40px 0 20px;

}

.back-top {

    color: #2ea3f2;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

.back-top:hover {

    color: #ffffff;

}

.back-top i {

    font-size: 1.3rem;

    margin-right: 6px;

}

.copyright {

    color: #94a3b8;

}

@media(max-width:768px) {

    .footer-section {

        text-align: center;

    }

    .social-links {

        justify-content: center;

    }

    .back-top {

        display: inline-block;

        margin-top: 20px;

    }

}