
:root {
    --primary-color: #1479b7;
    --secondary-color:#c1202d;
    --light-color: #ededed;
    --dark-color: #212529;
    --primary-light:#edf5fa;
}
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}


main,nav {
    display: block
}


body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    padding-top: 80px;
    margin: 0;
}
/* Custom utility classes */
.bg-primary {
    background-color: var(--primary-color) !important;
}
.text-primary {
    color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}
.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}
.text-light {
    color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}
.text-dark {
    color: var(--dark-color) !important;
}
.bg-primary-light{
    background-color:  var(--primary-light) !important;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1040
}

.navbar-brand h1 {
    /* font-weight: 700; */
}

.navbar-brand span.text-secondary {
    color: var(--secondary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}
/* Dropdown menu styles */
.dropdown-menu {
    background-color: var(--primary-light);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--primary-color);
    transition: all 0.2s ease-in-out;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.dropdown-item:hover .fas {
    color: var(--light-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #00264d;
    border-color: #00264d;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.hero-section {
    background: linear-gradient(rgba(0, 58, 112, 0.9), rgba(0, 58, 112, 0.8)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&auto=format&fit=crop&w=1074&q=80');
    background-size: cover;
    background-position: center;
    margin-top: -80px;
    padding-top: 120px;
}
.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 1rem;
  }

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    /* background-color: var(--primary-color); */
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.testimonial-card {
    border-left: 4px solid var(--secondary-color);
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    background: none;
    border: none;
    text-align: left;
    padding: 1rem 0;
    font-weight: 500;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.partner-logo {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}



@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 50px;
    }


}

.newsletter-section {
    position: relative;
    overflow: hidden;
    /* padding: 100px 0; */
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: transparent; */
    background-image: url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1170&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.newsletter-bg::after {
    content: '';
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 58, 112, 0.85); */
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-form {
    /* background: white; */
    /* border-radius: 12px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
    overflow: hidden;
}

.newsletter-image {
    /* background: url('https://images.unsplash.com/photo-1533575770077-052fa2c609fc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1170&q=80') center center/cover no-repeat; */
    background-color: transparent;
    min-height: 400px;
    border-radius: 0 8px 8px 0;
}

@media (max-width: 768px) {
    .newsletter-image {
        display: none;
    }
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 153, 0, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--bg-primary);
    border-color: var(--bg-primary-light);
}
.footer {
    background-color: var(--light-color);
    color: var(--primary-color)
}
.footer h5 {
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-size: 1.2rem;
}
.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #f8b739;
}
.footer a {
    /* color: #e2e8f0; */
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer a:hover {
    color: #f8b739;
    padding-left: 5px;
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 0.7rem;
}
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: #f8b739;
    transform: translateY(-3px);
}
.contact-info {
    margin: 1.5rem 0;
}
.contact-info a {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.logo {
    max-width: 200px;
    margin-bottom: 1rem;
}
.copyright {
    padding: 1rem 0;
    font-size: 0.9rem;
    background-color: var(--bg-primary-light);
    color: var(--bg-primary);
}
/* Blog specific styles */
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Contact form styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(20, 121, 183, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 150px;
        padding-bottom: 80px;
        min-height: 350px;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Add to your homepage.css file */

#heroCarousel {
    padding-top: 80px;
    /* margin-top: -80px; */
  }

  .lower-navbar{
    --bs-bg-opacity: 1;
     background-color: #edf5fa !important;
     z-index: 1090;
  }

  .hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin-top: -80px;
    position: relative;
  }

  .hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .hero-slide .container {
    position: relative;
    z-index: 2;
  }

  .carousel-indicators {
    bottom: 30px;
  }

  .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
  }

  @media (max-width: 768px) {
    .hero-slide {
      min-height: 450px;
      padding: 3rem 1rem;
    }

    .hero-slide h1 {
      font-size: 2.2rem;
    }

    .hero-slide p {
      font-size: 1rem;
    }
  }
