body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, #87CEFA, #ffffff);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}

.nav-item {
  padding-left: 18px;
}

.navbar {
  padding-left: 20px;
  padding-right: 20px;
  background-color: #5db3e9;
  font-size: 18px;
}

.navbar-logo {
  height: 90px;
  /* Increased height for better readability */
  width: auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  /* Make the image scale with the width of its container */
  height: auto;
  /* Maintain aspect ratio */
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #0a3879;
}

.hero p {
  font-size: 1.25rem;
  color: #0a3879;
}

.hero .btn-light {
  font-size: 1.2rem;
  padding: 12px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #0a3879;
}

/* Add left margin to logo on medium to large screens */
@media (min-width: 768px) {
  .navbar-logo {
    margin-left: 20px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-logo {
    height: 70px;
    /* Smaller size on smaller screens */
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero {
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero .btn-light {
    font-size: 1.1rem;
    padding: 10px 25px;
  }

}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn-light {
    font-size: 1rem;
    padding: 8px 20px;
  }
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 65px;
    /* Even smaller size on extra small screens */
  }
}

footer {
  position: relative;
  width: 100%;
  bottom: 0;
}

@media (max-width: 768px) {
  .navbar-nav {
    text-align: center;
  }
}

/* About us Section */

.about-features {
  background-color: #f8f9fa;
}

.about-features h2 {
  font-size: 2.3rem;
  font-weight: 600;
  color: #0a3879;
 
}

.about-features p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: #0a3879;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item i {
  font-size: 2rem;
  color: #0a3879;
}
.center-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item {
  text-align: center;
  display: flex;
  align-items: center;
  margin-top: 15px;
  
}
.quality{
  font-size: 1.3rem;
}


.about-features h4 {
  font-size: 1.25rem;
  font-weight: 500;

}

@media (max-width: 768px) {
  .about-features h2 {
    font-size: 1.5rem;
  }

  .about-features p {
    font-size: 0.9rem;
  }

  .feature-icon i {
    font-size: 1.5rem;
  }

  .about-features h4 {
    font-size: 1rem;
  }
  .item{
    justify-content: center
  }
}

/* Services Section */
#services {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

#services h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.3rem;
  font-weight: 600;
  color: #0a3879;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  flex: 1 1 300px;
  /* Adjusts flex-basis for responsive layout */
  max-width: 300px;
  /* Limits the maximum width of each service card */
}

.service .icon {
  font-size: 3em;
  color: #0a3879;
  /* Adjust icon color as needed */
  margin-bottom: 20px;
}

.service h3 {
  margin: 10px 0;
  font-size: 1.5em;
  color: #333;
}

.service p {
  color: #666;
  line-height: 1.6;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  #services h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .service {
    flex: 1 1 100%;
  }
}


/* portfolio section */
#portfolio {
  background-color: #fff;
  padding: 60px 20px;
}

#portfolio h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.3rem;
  font-weight: 600;
  color: #0a3879;
}

#portfolio h5 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.0rem;
  font-weight: 300;
  color: #0a3879;
  opacity: 0.75;
}

#portfolio h6 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.overlay p {
  font-size: 1em;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 200px;
  margin-bottom: 20px;
}

.footer-section h5 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #5db3e9;
}

.footer-section p,
.footer-section ul {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.social {
  margin-top: 20px;
}

.social a {
  margin-right: 15px;
  font-size: 1.5em;
  color: #5db3e9;
}

.footer-bottom {
  text-align: right;
  margin-top: 20px;
  font-size: 0.9em;
  color: #bbb;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
  }

  .social {
    text-align: center;
  }
}




/* Contact Page Styles */
#contact-page {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

#contact-page h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.3rem;
  font-weight: 600;
  color: #0a3879;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

 .contact-form {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-info{
  flex: 1 1 300px;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-info::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 200px solid #0a3879; /* Corner color */
  border-left: 200px solid transparent;
}
.contact-info h3, .contact-form h3 {
  margin-bottom: 20px;
  font-size: 1.8em;
  color: #007bff;
  text-align: center;
}

.contact-info p {
  font-size: 1em;
  margin-bottom: 10px;
  color: #666;
}

.contact-info p i {
  margin-right: 10px;
  color: #007bff;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 1em;
  color: #333;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  color: #333;
}

.contact-form button {
  background-color: #0a3879;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0056b3;
}
.outer-div{
  background-image: linear-gradient(to right, #0a3879, #97bdf1);
  border-radius: 10px;
  height: 190px;
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-div{
  background-color: #fff;
  border-radius: 10px;
  height: 170px;
  width:150px ;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.inner-div i{
  font-size: 40px;
  color:#5db3e9;
}
.inner-div p{
  font-size: 16px;
  font-weight: 600;
  padding-top: 15px;
}
.values-container{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}
/* Media queries for responsiveness */
@media (max-width: 768px) {
  .contact-content {
      flex-direction: column;
      align-items: center;
  }

  .contact-info, .contact-form {
      width: 100%;
  }
  .contact-info::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 50px solid #0a3879; /* Corner color */
    border-left: 50px solid transparent;
  }
}
