/********** Template CSS **********/
:root {
    /* --primary: #13C5DD; */
    --primary: orange;
    --secondary: #354F8E;
    --light: #EFF5F9;
    /* --dark: #1D2A4D; */
    --dark: #273272;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

/* .navbar-light .navbar-nav .nav-link:hover, */
/* .navbar-light .navbar-nav .nav-link.active { */
    /* color: var(--primary); */
/* } */

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: orange;
}



@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* .hero-header { */
    /* background: url(../img/hero.jpg) top right no-repeat; */
    /* background-size: cover; */
/* } */

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}




.carousel-img {
    height: 78vh;
    object-fit: cover;
}

/* Caption */
.carousel-caption {
    bottom: 20%;
}

.carousel-caption h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
}

.carousel-caption p {
    font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-img {
        height: 55vh;
    }

    .carousel-caption {
        bottom: 15%;
        text-align: center;
    }
}




.about-img-box {
    overflow: hidden;
    border-radius: 12px;
}

.about-img {
    object-fit: cover;
}

/* Mobile improvement */
@media (max-width: 768px) {
    .about-img-box {
        min-height: 280px;
    }
}








/* ===== Layout ===== */
.tech-section {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

/* Buttons */
.tech-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tech-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: #eaeaea;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tech-buttons button.active {
    background: #273272;
    color: #fff;
}

/* Content */
.tech-content {
    display: none;
    animation: fadeUp 0.5s ease;
}

.tech-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Cards */
.tech-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.tech-card i {
    font-size: 30px;
    color: #273272;
    margin-bottom: 10px;
}

.tech-card h4 {
    margin: 0;
    font-size: 18px;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile spacing */
@media (max-width: 576px) {
    .tech-buttons button {
        width: 100%;
    }
}



.icon-bg-orange {
    /* background-color: orange;   background */
    color: orange;              /* icon color */
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



.btn-primary {
    background-color: orange !important;
    border-color: orange !important;
}

.orange {
    color: orange !important;
}


.d-flex a {
    text-decoration: none;
}



.menu-item {
    color: #273272;           /* default text color */
    transition: color 0.3s;   /* smooth color change on hover */
    text-decoration: none;    /* remove underline if any */
}

.menu-item:hover {
    color: orange;            /* text color on hover */
}






.carousel-img {
    /* width: 100%; */
    /* height: 100vh;           Full viewport height on desktop */
    object-fit: cover;       /* Ensures image covers the container */
    object-position: center; /* Centers the image */
}

/* Adjust height for mobile screens */
@media (max-width: 768px) {
    .carousel-img {
        height: 20vh; 
        height: auto;          /* Let image keep natural height */
        object-fit: contain; 
        /* width: 50%;         Reduced width on mobile */
        margin: 0 auto;     /* Center the image */
        display: block;      
    }
}




.carousel-caption {
    bottom: 20%;             /* Keep captions in proper position */
}




/* Submenu default text color */
.dropdown-menu .dropdown-item {
    color: #273272;
}



/* Submenu hover background color */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    background-color: orange;
    color: #fff; /* optional: makes text readable on orange */
}





.software-img {
    height: 350px; /* Desktop default */
}

/* Mobile view */
@media (max-width: 767px) {
    .software-img {
        height: 1000px; /* Increased only for mobile */
    }
}




.tech-box {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.tech-box:hover {
    background-color: #273272;
    color: #fff;
    transform: translateY(-5px);
}

.tech-box:hover i {
    color: orange;
}


.container-fluid.py-2.border-bottom.d-none.d-lg-block {
    background-color: #273272;
}

a.text-decoration-none.text-body.pe-3,
a.text-decoration-none.text-body.pe-3 i {
    color: #ffffff !important;
}


a.text-decoration-none.text-body.px-3,
a.text-decoration-none.text-body.px-3 i {
    color: #ffffff !important;
}

span.text-body {
    color: #ffffff !important;
}

.text-lg-end .text-body i {
    color: #ffffff !important;
}






.solution-box {
    transition: all 0.3s ease;
}

/* Hover / touch effect */
.solution-box:hover {
    background-color: #273272;
}

/* Text & icon color change for contrast */
.solution-box:hover h5,
.solution-box:hover p,
.solution-box:hover i {
    color: #ffffff !important;
}



.intern-box {
    transition: all 0.3s ease;
}

/* Hover / touch */
.intern-box:hover {
    background-color: #273272;
}

/* Text & icon color for contrast */
.intern-box:hover h5,
.intern-box:hover p,
.intern-box:hover i {
    color: #ffffff !important;
}


/* Change mobile menu (hamburger) color */
.navbar-light .navbar-toggler {
    border-color: #273272;
}


/* Open state (menu expanded) */
.navbar-light .navbar-toggler:not(.collapsed) {
    /* border-color: #273272; */
    border-color: orange;

    
}


.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(39, 50, 114, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-light .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(39, 50, 114, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}





.feature-box {
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

/* Hover (desktop) + Touch (mobile) */
.feature-box:hover,
.feature-box:active,
.feature-box:focus {
    background-color: #273272 !important;
}

/* Text color on active */
.feature-box:hover h6,
.feature-box:active h6 {
    color: #ffffff;
}












/* Mobile view adjustments */
@media (max-width: 576px) {

    /* Reduce section spacing */
    .container-fluid.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* About image height smaller */
    .col-lg-5 {
        min-height: 280px !important;
        margin-bottom: 1.5rem;
    }

    /* Headings smaller */
    .display-4 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    h5.text-uppercase {
        font-size: 0.9rem;
    }

    /* Paragraph text smaller */
    p {
        font-size: 0.9rem;
    }

    /* Feature circles smaller */
    .feature-box {
        padding: 1.5rem 0 !important;
        transform: scale(0.9);
    }

    /* Icon size smaller */
    .feature-box img {
        width: 36px !important;
    }

    /* Feature text smaller */
    .feature-box h6 {
        font-size: 0.8rem;
    }
}








.platform-box {
    transition: all 0.3s ease;
}

.platform-box:hover {
    background-color: #273272;
    /* color: #ffffff; */
    transform: translateY(-6px);
}

.platform-box:hover p {
    color: #e0e0e0;
}




.platform-box {
    transition: all 0.3s ease;
}

.platform-box i,
.platform-box h5,
.platform-box p {
    transition: all 0.3s ease;
}

/* Hover / touch effect */
.platform-box:hover {
    background-color: #273272 !important;
}


.platform-box:hover h5,
.platform-box:hover p {
    color: #ffffff !important;
}

/* Icon turns white on hover */
.platform-box:hover i {
    color: orange;
}

/* Icon default */
.platform-box i {
    color: orange;
    transition: color 0.3s ease;
}






.platform-box:hover,
.platform-box:has(i:hover) {
    background-color: #273272 !important;
}

.platform-box:hover h1,
.platform-box:hover h5,
.platform-box:hover h6,
.platform-box:hover p,
.platform-box:has(i:hover) h1,
.platform-box:has(i:hover) h5,
.platform-box:has(i:hover) h6,
.platform-box:has(i:hover) p {
    color: #ffffff !important;
}

.platform-box:hover i,
.platform-box:has(i:hover) i {
    color: #ffffff !important;
}






/* Accordion button default */
.accordion-button {
    background-color: #273272 !important;
    color: #ffffff !important;
}

/* Accordion button when active (open) */
.accordion-button:not(.collapsed) {
    /* background-color: #273272 !important; */
    /* color: #ffffff !important; */
    box-shadow: none;
}

/* Accordion body */
/* .accordion-body { */
    /* background-color: #273272 !important; */
    /* color: #ffffff !important; */
/* } */

/* Remove focus outline */
.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Make arrow icon white */
.accordion-button::after {
    filter: brightness(0) invert(1);
}




