html {
    scroll-behavior: smooth;
}

body {
    background-color: #FCFCFC;
    color: #1d62cf;
    margin: 0;
    padding: 0;
}

.navbar {
    transition: transform 1s ease, background-color 1s ease, box-shadow 1s ease;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgb(26 26 181 / 93%);
    box-shadow: none;
    transform: translateY(0);
}

a.navbar-brand {
    font-size: 24px;
    font-weight: 700;
}

ul.navbar-nav li {
    margin-right: 15px;
}

.logo-img {
    width: 275px;
}

.navbar.scroll-up {
    transform: translateY(-100px);
    transition: transform 1s;
}

.navbar.scroll-down {
    transform: translateY(0);
    transition: transform 1s;
}

.navbar.initial {
    background-color: rgb(26 26 181 / 93%);
    box-shadow: none;
}

.navbar.scrolled {
    background-color: rgb(26 26 181 / 93%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand, .nav-link {
    color: #FCFCFC !important;
}

.nav-link.active {
    border-bottom: 2px solid #FCFCFC;
}

.position-relative {
    position: relative;
}

.banner {
    background: url(compass.webp) no-repeat center center / cover;
    height: auto;
    color: #FCFCFC;
    position: relative;
    padding-bottom: 5%;
}

.text-container {
    position: relative;
    z-index: 1;
    height: 100%;
}

.text-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
    text-align: center;
    margin-top: 15%;
}

.left-text {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.right-text {
    font-size: 1.5rem;
}

.banner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(26 26 181 / 89%);
    z-index: 0;
}

ul.banner-bottom-text {
    font-size: 16px;
    text-align: justify;
    line-height: 45px;
    margin-top: 2%;
}

.navbar-brand {
    font-family: "Copperplate Gothic Bold", sans-serif;
}

section.banner p {
    font-size: 20px;
    font-weight: 500;
    padding: 15px 0px;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2rem;
}

.welcome {
    background-image: url(pexels.jpg);
    background-position: bottom;
    color: #fff;
    padding: 60px 0;
}

section.contact_us {
    background-image: url(pexels.jpg);
    background-position: bottom;
    color: #fff;
    padding: 45px 0 60px 0;
}

section.contact_us_banner {
    background-image: url(contact-us.jpg);
    height: 400px;
    background-repeat: round;
}

.welcome hr {
    margin: 3rem 0;
}

.services p {
    text-align: justify;
    padding: 23px 0px;
}

.about-us h2 {
    margin: 15px 0px 35px 0px;
}

.about-us p {
    text-align: justify;
}

.service-list {
    text-align: left;
    font-weight: 500;
}

section#services, section#about_us {
    background: rgba(11, 16, 27, 0.35);
    padding: 30px 15px;
}

footer {
    background-color: #1d62cf;
    padding: 20px 0;
    color: #FCFCFC;
}

footer a {
    color: #FCFCFC;
    text-decoration: none;
    font-size: 14px;
    margin: 0px 10px;
}

footer a:hover {
    text-decoration: underline;
}

.footer-icons a:first-child {
    margin-right: 15px;
}

footer .justify-content-between {
    border-top: 1px solid;
    padding-top: 15px;
}

footer p {
    font-size: 18px;
    font-weight: 700;
}

.footer-icons img {
    width: 25px;
}

.service-item {
    cursor: pointer;
}

ul.list-unstyled > li {
    margin-bottom: 10px;
}

.service-content {
    margin-top: 10px;
    margin-left: 30px;
    font-size: 13px;
    color: #dad9d9;
    margin-bottom: 15px;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.service-content.show {
    opacity: 1;
}

.toggle-icon {
    margin-right: 10px;
    font-size: 1.2em;
    cursor: pointer;
}

.modal-body {
    font-size: 16px;
    line-height: 2;
    padding: 25px 15px;
}

.modal-title {
    font-weight: bold;
}

.modal-content {
    background: rgb(26 26 181 / 88%);
    color: #fff;
}
/* Cookie Consent Popup Styles */
.cookie-consent-popup {
    position: fixed;
    bottom: 20px;
    left: 20%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 90%;
    max-width: 500px;
    z-index: 1000;
    display: none;
}

.cookie-consent-content {
    text-align: center;
}

.cookie-consent-popup p {
    margin-bottom: 15px;
    color: #333;
}

.cookie-consent-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
}

.btn.accept {
    background-color: #4CAF50;
    color: white;
}

.btn.reject {
    background-color: #f44336;
    color: white;
}

.btn.customize {
    background-color: #008CBA;
    color: white;
}

.btn:hover {
    opacity: 0.8;
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    font-size: 24px;
    background-color: #1A1AB5;
    color: white;
    border: none;
    padding: 2px 15px 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s;
  }
  
  #scrollTopBtn:hover {
    background-color: #333;
  }
  
  /* Make the button visible when the user scrolls down 20px from the top */
  #scrollTopBtn.show {
    display: block !important;
  }
  

/* contact us */
.form-container {
    background: rgba(11, 16, 27, 0.35);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.captcha-section {
    padding-bottom: 2%;
}

.btn-submit {
    background-color: #1d62cf;
    color: #fff;
}

.btn-submit:hover {
    background-color: #09429e;
}

.error {
    color: red;
    font-size: 0.875rem;
}

.is-invalid {
    border-color: red;
}

/* privacy policy */
section#privacy_policy {
    color: #0f0f0f;
    margin: 30px 0px;
}

@media (max-width: 767px) {
    .banner {
        padding-top: 10%;
    }
    .cookie-consent-popup {
        left: 50%;
    }
    ul.banner-bottom-text {
        line-height: 30px;
    }
    ul.banner-bottom-text li {
        margin-bottom: 15px;
    }
    .logo-img {
        width: 150px;
    }
    
}
