html, body {
    overflow-x:hidden;
}
/* Menu bar nav links on hover */
.navbar-nav .nav-link {
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}
    .navbar-nav .nav-link:hover {
        background-color: #0069E5;
        color: #fff !important;
       
    }
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: none;
}
/*----------------font style classes--------------*/
* {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    
    padding: 0;
}
.custom-button {
    width: fit-content;
    padding: 10px 20px;
    border-radius: 30px;
}
.chat-with-codecraft {
   
    bottom: 90px; /* adjust based on other buttons like catalogue */
    right: 30px;
   width:30%;
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    
    transition: all 0.3s ease-in-out;
}

    .chat-with-codecraft:hover {
        background-color: #004bbd;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .chat-with-codecraft img {
        height: 40px;
        width: 40px;
        object-fit: contain;
    }
    /*--------top button--------------*/
.back-to-top {
    position: fixed;
    bottom: 60px; /* adjust if you have other floating buttons */
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #0069E5;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 20px;
    z-index: 999;
    display: none; /* initially hidden */
    transition: all 0.3s ease-in-out;
}

    .back-to-top:hover {
        background-color: #004bbd;
        transform: translateY(-3px);
    }

/*----------Footer----------------*/

.footer-bg {
    background-color: #0069E5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #fff !important;
        text-decoration: none;
        transition: 0.3s;
    }

        .footer-links a:hover {
            color: #808080 !important;
        }

.social-icons a {
    color: #fff !important;
    font-size: 18px;
    margin-right: 12px;
    transition: 0.3s;
}

    .social-icons a:hover {
        color: #fed157;
    }
.copyright-footer a:hover{
    text-decoration:underline !important;
}

/*----------home banner-----------*/

#banner-bg {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
}
#banner-All {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
}
.banner-bg {
    background-image: url('/images/Code_Craft_Web_Banners_H-robotic-08.png');
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
.banner-bg-about {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px; /* image width */
    height: 200px; /* image height */
    background-image: url('/images/about_Banner.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size:400px 200px;
    background-size: contain;
    z-index: 0;
}
.banner-bg-services {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px; /* image width */
    height: 250px; /* image height */
    background-image: url('/images/Services_Banner_Image.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 400px 200px;
    background-size: contain;
    z-index: 0;
}
.banner-bg-Contact {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px; /* image width */
    height: 250px; /* image height */
    background-image: url('/images/contactgirl2.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 400px 200px;
    background-size: contain;
    z-index: 0;
}
.banner-bg-product {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px; /* image width */
    height: 250px; /* image height */
    background-image: url('/images/laptop.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 400px 200px;
    background-size: contain;
    z-index: 0;
}
.banner-content {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 70px;
    padding-left: 120px;
    padding-right: 120px;
    display: flex;
    flex-direction: column;
    color: #000;
}
    .banner-content img {
        max-width: 100%;
        height: auto;
    }
    .banner-content .desc {
        font-size: 1.3rem;
        line-height: 1.6;
        max-width: 1200px;
    }
    .banner-content .subline {
        text-align:end;
        padding:10px;
    }
.banner-content .btn {
    width: fit-content;
    padding: 10px 20px;
    border-radius: 30px;
   
}

/*-------------- about------------- */

.about-us .btn {
    width: fit-content;
    padding: 10px 20px;
    border-radius: 30px;
}
.stagger-up {
    margin-top: -20px;
}
.stagger-down {
    margin-top: 30px;
}
.card-box {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: transform 0.3s ease;
}
.card-box:hover {
        transform: translateY(-5px);
    }
.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}
    .image-container img {
        width: 100%;
        height: auto;
        display: block;
    }
.card-title-overlay {
    position: absolute;
    bottom: 15px;
    left: 20px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 10px;
}

/*-------------- Services------------- */

#why-choose {
    background: url('../images/why-choose-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.card-why {
    background-color: #81AFF0;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    transition: transform 0.3s ease;
    color: #fff;
}
    .card-why:hover {
        transform: translateY(-6px);
    }
.why-icon {
    width: 100px;
    height: 100px;
}
.why-divider {
    width: 60px;
    height: 2px;
    background-color: #ffffff;
    opacity: 0.5;
    margin: 15px auto;
}

/*-----------projects------------*/

#projects {
    background: url('../images/projects-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}
.project-card {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.project-card:hover {
        transform: scale(1.02);
    }
.project-overlay {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    width: 100%;
    height:180px;
}
.project-overlay h5 {
        font-weight: bold;
        margin-bottom: 8px;
    }
.project-overlay p {
        font-size: 0.95rem;
        margin: 0;
    }
    /*==========================About Page============================================*/

  .about-img img {
        object-fit: cover;
        border-radius: 15px;
        height:400px;
        width:100%;
    }
.about-info {
    height:400px;
}
@media (max-width: 767px) {
    .about-img {
        margin-top: 0; /* reset on mobile for cleaner stacking */
        margin-bottom: 20px;
    }
    .about-info h3 ,p {
        padding:15px !important;
    }
}
/*---------core values--------*/
.bg-core-values {
    background-image: url('/images/about-core-value-banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 600px;
    position: relative;
}
.mission-image {
    position:relative;
    background-image: url('/images/Mission_Image.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 500px;
     
}

/* Centered badge */
.bg-content-core-values .excellence {
    position: absolute;
    top: 10%;
    left: 45%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .Innovation {
    position: absolute;
    top: 80%;
    left: 45%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .Centric {
    position: absolute;
    top: 62%;
    left: 15%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .Quality {
    position: absolute;
    top: 30%;
    left: 15%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .Collabration {
    position: absolute;
    top: 45%;
    left: 30%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .Integrity {
    position: absolute;
    top: 30%;
    left: 70%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .Learning {
    position: absolute;
    top: 60%;
    left: 70%;
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}
.bg-content-core-values .teamwork {
    position: absolute;
    top: 45%;
    left: 60%;
  
    background-color: #0069E5;
    z-index: 2;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Star image & text styling */

.img-core-value {
    z-index: 2;
    position: absolute;
}
.img-core-value {
        background-color: #0069E5;
        border-radius: 50%;
        padding: 25px;
        height: 200px;
        width: 200px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    /*-------------Mission------------*/

.mission-img img {
    object-fit: cover;
    border-radius: 15px;
    height: 350px;
    width: 80%;
}

.mission-info {
    height: 350px;
    border-radius: 15px;

}
/*----team-image-----------*/
.team-image img {
    height:1000px;
}
#team-member .team-profile img {
    border-radius:50%;
    height:150px;
    width:150px;
}

/*==============================Contact CSS==============================*/
.contact-bg {
    background-image: url('/images/contactbackground.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 25px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
}

.contact-form:hover {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

.contact-form input,
.contact-form textarea {
        border-radius: 10px;
        border: 1px solid #ced4da;
    }

.contact-form input:focus,
.contact-form textarea:focus {
            border-color: #81AFF0;
            box-shadow: 0 0 5px rgba(129, 175, 240, 0.5);
        }

.btn-primary {
    background-color: #0069E5;
    border: none;
}

.btn-primary:hover {
        background-color: #0056c1;
    }

/*=======================Products CSS=======================================*/
.our-work-section {
    background-color: #f9f9f9;
}

.our-work-title {
    font-size: 32px;
    color: #040e26;
}

.our-work-subtitle {
    font-size: 16px;
}

.our-work-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
   padding:20px 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.our-work-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    }

.our-work-icon img {
    width: 250px;
    height: 250px;
   border-radius:15px;
    object-fit: cover;
}

.our-work-name {
    font-size: 18px;
    font-weight: 600;
    color: #040e26;
   padding-top:20px;
}

/* Section Headings */
#product-Detail h1,
#product-Detail h2,
#product-Detail h3,
#product-Detail h4 {
    color: #040e26;
    font-weight: 700;
}

/* Section top text center alignment fix */

#product-Detail .row.text-center h1,
#product-Detail .row.text-center h4 {
    margin-bottom: 10px;
}

/* About Product Padding & Typography */

.about-product h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-product .lead {
    font-weight: 600;
    font-size: 18px;
}

.about-product p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.7;
}

/* Icons Row */

.product-icon {
    gap: 40px;
    row-gap: 40px;
}

.step-item {
    width: 150px;
    text-align: center;
}

.icon-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0069E5;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    padding: 10px;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.icon-bg img {
        max-width: 50px;
        max-height: 50px;
        object-fit: contain;
    }

.icon-bg:hover {
        transform: scale(1.1);
    }

/* Module Card Styling */

.module-card {
    padding: 25px;
    border-left: 3px solid #81AFF0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    min-height: 200px;
    transition: transform 0.3s ease;
    background-color: #ffffff !important;
}

.module-card h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #040e26;
    }

.module-card p {
        font-size: 15px;
        text-align: justify;
        color: #333333;
        line-height: 1.6;
    }

.module-card:hover {
        transform: translateY(-5px);
    }

/* Background padding fix */

.product-bg {
    background-image: url('/images/workbackground.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}
.product-image img {
    border-radius:20px;
}
.product-overlay {
    padding:10px;
}
.data-image img {
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.data-image img:hover {
        transform: scale(1.02);
    }
.catalogue-download-link {
    position: fixed;
    top: 120px;
    right: 10px;
    background-color: #0069E5;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}
.catalogue-download-link:hover {
        background-color: #004bbd;
        color:#808080;
        text-decoration: underline;
        transform: translateY(-2px);
    }
.pro-img img {
    border-radius:20px;
}