html {
    scroll-behavior: smooth;
}

section {
    padding: 87px 0 !important;
    /* top & bottom 87px, left & right 0 */
}

/* For mobile devices */
@media (max-width: 767px) {
    section {
        padding: 50px 0 !important;
    }
}

/* Navbar links */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #02176d !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #d49a1c !important;
}

.nav-link.active-link {
    color: #d49a1c !important;
    font-weight: 600;
}


/* Offcanvas menu styling */
.offcanvas {
    height: 100% !important;
    /* full height */
}

.offcanvas-body .nav-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.offcanvas-title {
    font-size: 20px;
    font-weight: bold;
}

.carousel-control-next,
.carousel-control-prev {
    width: 5% !important;
}

.carousel-indicators [data-bs-target] {

    width: 12px;
    /* equal width and height */
    height: 12px;
    padding: 0;
    margin: 0 8px;
    /* spacing between dots */
    border: 0;
    border-radius: 50%;
    /* makes it a circle */
}

/* Default (desktop/laptop) */
#home .carousel-item img {
    height: 85vh;
    /* adjust as needed */
    object-fit: cover;
    /* crop if image ratio doesn't match */
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    #home .carousel-item img {
        height: 50vh;
        /* full screen height */
        object-fit: cover;
    }
}


.heading-color {
    color: #02176d !important;
}

.second-heading {
    color: #d49a1c;
}



/* process section  */
.process-box {
    border-radius: 0px;
    padding: 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 210px;
    cursor: pointer;
    border: 1px solid #d49a1c;
    border-radius: 12px;
}

/* Icon */
.process-box i {
    font-size: 5rem;
    color: #d49a1c;
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Heading */
.process-box h5 {
    color: #d49a1c;
    /* darker gold for contrast */
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 10px;
}

/* Hover effect */
.process-box:hover {
    transform: translateY(-8px);
    border: 1px solid #d49a1c;
    background-color: #d49a1c;
}

.process-box:hover h5 {
    color: white !important;
    /* your gold highlight on hover */
}

.process-box:hover i {
    color: white;
    /* main gold on hover */
    transform: scale(1.2);
}

/* end process section */


/* services section code  */
.service-item {
    /* very light gold / cream */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #d49a1c;
    background-color: #d49a1c;
    color: #fff;
    /* subtle border */
}

.service-item i {
    font-size: 5rem !important;
    color: white;
    /* soft gold icon */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.service-item:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: white;
    border: 1px solid #d49a1c;
}

.service-item:hover i {
    color: #d49a1c;
}

/* Service heading */
.row h6 {
    color: #d49a1c;
    /* soft gold/dark text */
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 5px;
    transition: color 0.3s ease;
}

.row .col-6:hover h6 {
    color: #02176d;
}

/* end services section */


/* custom btn */
.custom-btn {
    display: inline-block;
    background-color: #fff;
    color: #d49a1c;
    border: 1px solid #d49a1c;
    font-weight: 500;
    padding: 8px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #d49a1c;
    color: #fff;
    font-weight: bold;
    border: 2px solid #fff;
}

/* custom btn  */

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #d49a1c;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-icon:hover {
    background: white;
    color: #d49a1c;
    border: 1px solid #d49a1c;
}

section {
    padding-top: 50px;
    /* 50px space from top */
    padding-bottom: 50px;
    /* optional: add bottom padding for spacing between sections */
}


/* contact form  */

.form-label {
    color: #d49a1c;
    font-weight: 600;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    /* hidden by default */
    z-index: 9999;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.back-to-top {
    color: white;
    background-color: #d49a1c;
    border: 1px solid white;
}

.back-to-top:hover {
    color: #d49a1c;
    background-color: white;
    border: 1px solid #d49a1c;
}

/* footer links same style as navbar */
.useful-links a {
    font-weight: 600;
    /* bold */
    color: #212529;
    /* default dark */
    text-decoration: none;
    transition: color 0.3s ease;
}

.useful-links a:hover,
.useful-links a.active {
    color: #d49a1c;
    /* your gold highlight */
}