.carousel {
  position: relative;
  max-width: 100%;
  height: 85vh;
  overflow: hidden;
}

.overlay-text {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  margin-top: 45px;
  border-radius: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay-text h1 {
  font-size: 44px;
  font-weight: 700;
}

.overlay-text P {
  font-size: 18px;
}

.blue-txt {
  color: #20A7DB;
}


.dblue-txt {
  color: #003679;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slides.active {
  opacity: 1;
  z-index: 1;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease-in-out;
  animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
}

.prev,
.next {
  background-color: #003679;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  color: white !important;
  border: none;
  padding: 9px 1px 0px 18px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 20px;
}

.prev {
  margin-left: 10px;
}

.next {
  margin-right: 10px;
}

.prev:hover,
.next:hover {
  background-color: #20A7DB;
}

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
}

.dots .active-dot {
  opacity: 1;
  background-color: #20A7DB;
}

@media only screen and (max-width: 600px) {
  .carousel {
    height: 67vh;
  }

  .overlay-text h1 {
    text-align: center;
    font-size: 25px;
  }

  .overlay-text p {
    text-align: center;
    font-size: 16px;
  }

  .controls {
    display: none;
  }
}

/* Modal Styles */
.modall {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modall-content {
  background-color: white;
  /* margin: auto; */
  padding: 40px;
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-radius: 8px;
  position: relative;
}

.modall-content .left,
.modall-content .right {
  flex: 1 1 300px;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.left h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.left p {
  color: #666;
  margin-bottom: 20px;
}

.left img {
  width: 100%;
  max-width: 300px;
}

.right input,
.right textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

.right button {
  padding: 12px 20px;
  background-color: #003679;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* Close button */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

#captchaCanvas {
  border: 1px solid #ccc;
  margin-top: 10px;
}

#reloadCaptcha {
  margin-left: 10px;
  top: 43%;
  position: absolute;
  cursor: pointer;
}

#successMessage {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
  .modall-content {
    flex-direction: column;
    align-items: center;
    padding:20px !important;
  }
  
  .modall-content .left{
      display:none !important;
  }
  .modall-content .right{
      margin-top: 20px !important;
  }

  .left,
  .right {
    width: 100%;
  }
}

/* About us  */

.about-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 50px 0;
}

.about-section {
  padding: 60px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  text-align: justify;
}

.about-text h2 {
  font-weight:bold;
  font-size: 28px;
  color: #0b2953;
}

.about-text .highlight {
  color: #20A7DB;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.why-choose {
  margin-top: 60px;
  text-align: center;
}

.why-choose h2 {
  font-weight: bold;
  font-size: 26px;
  margin-bottom: 40px;
  color: #0b2953;
}

.why-choose .highlight {
  color: #20A7DB;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.feature-item {
  text-align: center;
  max-width: 180px;
}

.feature-item img {
  height: 150px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.feature-item p {
  font-size: 16px;
  color: #0b2953;
  transition: color 0.3s ease;
}

.feature-item:hover p {
  color: #20A7DB;
}



/* OUR SERVICES */

.sevices-section {
  padding: 30px 30px 0 30px;

}

.main-heading {
  color: #003679;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
}


.ser {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 20px;
}

.ser_img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  /* Optional for rounded corners */
}

.service {
  text-align: center;
}

.service p {
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
}

.client {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 20px;
}

.btn-wrapper {
  text-align: center;
  margin: 33px 0px 62px 0px;
}

.btn-wrapper .btns {
  text-decoration: none;
  color: #fff !important;
}

.elegant-hr {
  border: none;
  height: 2px;
  width: 70%;
  /* Adjust as needed */
  margin: 25px auto;
  /* Center horizontally */
  background: linear-gradient(to right, #20A7DB, #003679, #20A7DB);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .service-main{
    padding-top:25% !important;
  }
}


/* ######################################## Portfolio page ############################################################# */

.port-container {
  max-width: 1200px;
  margin: auto;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.tab {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #555;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab:hover,
.tab.active {
  color: #00bfff !important;
  border-bottom: 2px solid #00bfff;
}

.grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 50px;
}

.item {
  background: #fff;
  /* border: 1px solid #ddd; */
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.3s ease;
}

.item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(32, 167, 219, 0.6);

}

.item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .tab{
    padding: 10px 10px;
  }
  .portfolio-main, .client-main{
    padding-top: 25% !important;
  }
  .tagline-text{
    font-size: 22px !important;
  }
}


/* ######################################## client page ############################################################# */

/* Container for the tagline */
.tagline-container {
  text-align: center;
  background-color: #ffffff;
  padding-bottom:10px;
}

/* Main tagline text */
.tagline-text {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.subtext {
  font-size: 16px;
  color: #003679;
  font-style: italic;
  margin-top: 10px;
}

.tagline-text {
  animation: fadeIn 1.5s ease-in-out;
}

/* Fade-in effect */
@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}


.client-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Responsive image grid */
.client-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Grid item: wraps image and overlay */
.client-img-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

/* Image styling */
.client-img-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Overlay text container */
.client-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(32, 167, 219, 0.7); /* #20A7DB with transparency */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 10px;
}

/* Hover effects */
.client-img-item:hover img {
  transform: scale(1.05);
}

.client-img-item:hover .overlay {
  opacity: 1;
}

.cta {
  background-color: #1f2937;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  margin: 2rem;
  border-radius: 20px;
}

.cta .highlight {
  color: #20A7DB;
}
.split-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.half {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  box-sizing: border-box;
  /* Ensure full height so alignment works */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.centered_div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Ensures the container stretches */
}

.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  height: 100%;
}

.text-wrapper {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  background-color: #e6f5fb;
  padding: 30px 20px;
  transition: box-shadow 0.3s ease;
}
.text-wrapper:hover{
  box-shadow: 0 0 15px 0 #20A7DB;
}
.text-wrapper h2{
  font-size: 29px;
  margin-bottom: 10px;
  color: #003679;
  font-weight: 700;
}
.text-wrapper h6{
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  color: #20A7DB;
  font-weight: 600;
}

.text-wrapper p{
  font-size: 14px;
  text-align: justify;
}

.half img {
  width: 80%;
  max-width: 340px;
  height: auto;
}

.cta-wrapper{
  display: flex;
  flex-direction: column;
  gap:10px;
  justify-content: center;
  align-items: center;
}

.cta img{
  width:300px;
}

.cta a{
  background-color: #20A7DB; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  border-radius: 32px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .split1 {
    flex-direction: column;
  }

  .split2 {
    flex-direction: column-reverse;
  }

  .half {
    width: 100%;
    padding: 30px 20px;
    align-items: center;
    text-align: center;
  }
  .text-wrapper h2{
    font-size: 29px;
    text-align:left;
  }
  .text-wrapper h6{
    font-size: 16px;
    text-align: left;
  }
  .cta h2{
      font-size:18px;
  }
  .cta img{
      width:210px;
  }
  .cta a{
      padding:9px 20px;
      font-size:14px;
  }
  .service-h2{
      font-size:30px !important;
  }
  .service-h1{
      font-size:20px !important;
  }
  .service-p{
      text-align: justify !important;
  }
  .form-container{
      padding:14px !important;
  }
  .close{
          right: 16px;
        top: 8px;
  }
}
/* Job apply form */
.apply-formm {
  margin: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('../Images/apply-form.avif') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: rgba(0, 0, 0, 0.2);
  margin: 50px 0px;
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: white;
}

.job-form h2 {
  text-align: center;
  margin-bottom: 30px;
}

.job-form input[type="text"],
.job-form input[type="email"],
.job-form input[type="tel"],
.job-form select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  background: #f9f9f9;
  color: #333;
}

.job-form textarea {
  width: 100%;
  height: 90px;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  background: #f9f9f9;
  color: #333;
  resize: vertical; /* Allow vertical resizing only */
  font-size: 14px;
  font-family: inherit;
}


.status-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.status-options label {
  flex: 1 1 45%;
  background: rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
}

.upload-btn {
  margin: 10px 0;
  color: white;
}

.btn-group {
  display: flex;
  justify-content: space-between;
}

.upload, .send {
  padding: 10px 20px;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.upload {
  background-color: #555;
}

.send {
  background-color: #00bfff;
}

.test-head{
  max-width:1000px;
  width:100%;
  margin: auto;
  text-align: center;
}

.test-head h2{
  font-size: 32px;
  font-weight: bold;
  color: #003679;
}

.test-head span{
  color: #20A7DB;
}

.testi-desc{
  display: flex;
  align-items: center;
  justify-content: center;
  gap:10px;
}

.testi-desc img{
  width:300px;
}

.testi-desc p{
  font-size: 18px;
  color: #919ba2;
  text-align: justify;
}
.testimonial-card {
  position: relative;
  max-width: 900px;
  /* background-color: #fff; */
  background: url('../Images/test_bg.jpg') no-repeat center center fixed;
  border-radius: 15px;
  padding: 30px;
  margin: 40px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.testimonial-avatar {
  width: 200px;
  height: auto;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.testimonial-avatar img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.testimonial-content {
  margin-left: 60px;
  position: relative;
  flex: 1;
}

.testimonial-content h4 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #003679;
}

.position {
  margin: 2px 0 15px;
  color: #00bfff;
  font-size: 18px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.quote-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 60px;
  color: #ccc;
  font-family: serif;
}


@media (max-width: 600px) {
  .testimonial-main{
    padding-top:29% !important;
  }
  .testi-desc{
    flex-direction: column;
    padding:30px;
  }

  .testimonial-card {
    flex-direction: column;
    padding: 20px;
    margin: 20px;
    gap:1px;
  }

  .testimonial-avatar {
    position: static;
    margin: 0 auto 15px;
  }

  .testimonial-content {
    margin-left: 0;
    text-align: center;
  }
  
  .extra{
      margin: auto;
  }

  .quote-icon {
    position: static;
    margin-top: 0px;
    font-size: 40px;
    text-align: center;
  }
  .testimonial-text{
      text-align: justify;
  }
}


/* ##### Contact ##### */

/* ccontactt Section */
.ccontactt-section {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  justify-content: center;
  /* color: #fff; */
}

.ccontactt_img img {
  width: 90%;
}

/* Info Cards */
.info-cards {
  padding-right:15px;
  padding-left:15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.con-card {
  background-image: url('https://img.freepik.com/free-vector/white-abstract-wallpaper_23-2148830027.jpg?ga=GA1.1.62946669.1747304534&semt=ais_hybrid&w=740');
  background-size: cover;/* Adjusts the image to cover the element */
  background-position: center;/* Centers the image */
  background-repeat: no-repeat;/* Prevents the image from repeating */
  /* background: #003679; */
  padding: 15px;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  min-width: 200px;
  border:none;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); */
}

.con-card .icon {
  color:#F8312F;
  font-size: 30px;
  margin-bottom: 10px;
}

.con-card h3 {
  margin: 10px 0;
  color: #20A7DB;
}

.con-card p {
  color:#003679;
}
/* Form Section */
.ccontactt-form {
  /* flex: 1; */
  padding: 20px;
}

.ccontactt-form h1 {
  font-size: 43px;
  font-weight: bold;
  color: #003679;

}

.ccontactt-form p {
  font-size: 22px;
  color: #20A7DB;
}

.ccontactt-form {
  display:flex;
  align-items:center;
  width:100%;
}
.ccontactt-sec1{
  width:60%;
  
}
.ccontactt_img{
  width:40%;
}
.ccontactt-form form {
  display: flex;
  flex-direction: column;                                        
}

.ccontactt-form input, .ccontactt-form textarea {
  margin-bottom: 15px;
  padding: 10px;
  box-shadow: 0 0 2px 1px #003679;
  /* border: none; */
  border-radius: 5px;
}

/* Social Icons */
.social-icons a {
  margin: 0 5px;
  text-decoration: none;
  font-size: 20px;
  color: #ff7e00;
}

/* Responsiveness */
@media (max-width: 768px) {
  .ccontactt-section {
      padding-top: 33% !important;
      flex-direction: column;
  }
 
  .ccontactt-form{
      flex-direction: column-reverse;
  }
  .ccontactt-form h1{
      font-size: 37px;
  }
  .ccontactt-form p {
      font-size: 14px;
  }
  .ccontactt_img{
      width:100%;
  }
  .ccontactt-sec1{
      width: 100%;
  }
  #contact-forrm{
      padding:0px !important;
  }
  .info-cards {
      flex-direction: column;
      gap: 20px;
  }
  .card {
      min-width: auto;
  }
}



