 /*  body content use in the background of the full age  */
body {
      padding-top: 120px;
      background-color: #f5f8ff;
    }

    .navbar {
      background: linear-gradient(to right,  #337084,#02075d);   /*   nav colour left side and right side */
      height: 110px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      animation: slideInDown 1s ease-out;
    }

    @keyframes slideInDown {
      0% {
        transform: translateY(-100%);
        opacity: 0;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .navbar-brand img {
      height: 120px;
      transition: transform 0.6s ease-in-out;  /* height of he nav   */
    }

    

    .nav-link {
      color: white !important;    /*  link color and size like home about services  */
      font-weight: bold;
      font-size: 1.1rem;
    }

    .nav-item.dropdown:hover .dropdown-menu {
      display: block;
      animation: fadeIn 0.3s ease-in;
    }

    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(10px);}
      to {opacity: 1; transform: translateY(0);}
    }

    .dropdown-menu {
      background: linear-gradient(to right, #003973, #e5e5be);     /*  drowdown for services building and marine   */
      border-radius: 12px;
    }

    .dropdown-item {
      color: #000;     /*  inside the dropdown   */
    }

    .action-btn {
      border-radius: 30px;
      font-weight: bold;
      padding: 8px 20px;
      margin-left: 10px;
      background: linear-gradient(45deg, #00b4d8,#0077b6 );   
      color: white;
      border: none;
      transition: transform 0.2s;
    }

    .action-btn:hover {
      transform: scale(1.1);
      background: linear-gradient(45deg, #023e8a, #0077b6);
    }

    .flag-icon {
      width: 20px;             /*  change the hight and wirt of flags and margin from left side if increase then space from right increase  */
      height: 15px;
      margin-right: 5px;
    }

    
    body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 85%;
  object-fit: cover;
  animation: zoomIn 8s ease-in-out infinite alternate;         /*  main image hight and width  */
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.slider-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(13, 1, 35, 0.306);                /*  slider text background  */
  text-align: center;
 /* background: rgba(79, 69, 144, 0.5); */
  padding: 2px;
  border-radius: 10px;
  max-width: 1200px;
}
.slider-content h1{
  color: #2E3192; /* Company Name Or use #0000FF for standard blue */
}

.slider-content h3,
.slider-content h4,
.slider-content h2  {
  color: #00AEEF; /* engeeriing services and linence no */
}

.text-highlight {
    background-color: rgb(245, 248, 248);     /* engneerig and linence and paragraph highlighter   */
    padding: 2px 4px;
    border-radius: 4px;
  }



.slider-content h1 {
  font-size: 5em;
  margin-bottom: 20px;         /*  compay name size   */
}
.slider-content h2 {          
  font-size: 4em;
  margin-bottom: 20px;         /*  engeerining size   */
}

.slider-content p {
  font-size: 1.5em;
  color: #0c62ac;       /* paragraph colour    */
}


 body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f8f9fa;
    }

    .about-section {
      padding: 80px 20px;
      background: #fff;
      animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    .about-icon {
      font-size: 2.5rem;
      color: #007bff;
      margin-bottom: 15px;      /*  ICON OF ABOUT UE IN INDEX AND AOUT PAGE COLOUR   */
    }

    .about-highlight {
      background: #e9ecef;
      padding: 30px;
      border-radius: 10px;
      margin-bottom: 30px;
      transition: transform 0.3s ease;
    }

    .about-highlight:hover {
      transform: translateY(-10px);
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f4f4f4;
    }

    .structure-section {
      padding: 80px 0;
    }

    .structure-block {
      margin-bottom: 80px;
      align-items: center;
    }

    .structure-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

    .structure-img:hover {
      transform: scale(1.03);
    }

  .structure-content {
  background-color: #f8f9fa; /* Light gray background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.08);
}

   .structure-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #238ada;
  margin-bottom: 15px;
}

    .structure-content p {
      font-size: 16px;
      line-height: 1.7;
      color: #333;
    }
    .structure-block {
  align-items: center;
  padding: 30px 0;
}

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 767px) {
      .structure-block {
        flex-direction: column !important;
      }
    } 
/*   team section in html page as well as team page */
body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f8f9fa;
    }

    .team-section {
      padding: 80px 0;
      background: #fff;
    }

    .team-box {
      padding: 30px;
      background: #e8f0fe;
      border-radius: 15px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
    }

    .team-box:hover {
      background: #dbeafe;
      transform: translateY(-10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .team-icon {
      font-size: 60px;
      color: #0d6efd;
      margin-bottom: 20px;
      transition: color 0.3s ease;
    }

    .team-box:hover .team-icon {
      color: #6610f2;
    }

    .team-title {
      font-size: 26px;
      font-weight: 700;
      color: #0d6efd;
      margin-bottom: 15px;
      text-align: center;
    }

    .team-description {
      font-size: 15px;
      color: #333;
      line-height: 1.7;
      text-align: justify;
    }

    @media (max-width: 767px) {
      .team-box {
        margin-bottom: 30px;
      }
    }

    html {
  scroll-behavior: smooth;
}
/*  foter section   */
.footer-section {
  background: linear-gradient(135deg, #02075d);   /*   background colour  */
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-title {
  font-size: 26px;
  font-weight: 700;             /* savvy  engineering services  size */
  margin-bottom: 15px;
}

.footer-description {
  font-size: 16px;            /*   paragraph size  */
  opacity: 0.9;
}

.footer-contact li {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: #ffc107;
  transition: color 0.3s ease;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #ffc107;
}

/* Social Icons */
.footer-social a {
  font-size: 18px;
  color: white;
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  color: #ffc107;
  transform: scale(1.2);
}

/* Divider */
hr {
  border-color: rgba(255, 255, 255, 0.3);
}


body, html {
      height: 100%;
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
    }

    .contact-section {
      background: url('image/contact.jpg') no-repeat center center/cover;
      position: relative;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 80px;
      margin-bottom: 100px;
    }


    .contact-overlay {
      background-color: rgba(0, 0, 0, 0.6);
      padding: 40px;
      border-radius: 15px;
      color: white;
      max-width: 600px;
      width: 100%;
      box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    }

    .contact-info {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .contact-info li {
      margin-bottom: 20px;
      transition: transform 0.3s, background-color 0.3s;
    }

    .contact-info li:hover {
      transform: scale(1.05);
      background-color: rgba(255,255,255,0.1);
      border-radius: 8px;
    }

    .contact-info i {
      color: #fceb03;
      margin-right: 10px;
    }

    .contact-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .contact-link { 
      color: #fff;
      font-size: 20px; 
      text-decoration: none;
    }

    .contact-link:hover {
      color: #1500ff;
      text-decoration: underline;
    }

    @media (max-width: 576px) {
      .contact-overlay {
        padding: 20px;
      }
    }

/* Force styles on navbar links */
.navbar-nav .nav-item .nav-link {
    color: #f5f1f1 !important; /* Default text color */
}

.navbar-nav .nav-item .nav-link:hover {
    color: #c28c4f !important; /* Hover color */
    text-decoration: underline; /* Optional: underline on hover */
}



.navbar-nav .nav-link {
  margin-right: 30px;
}

 .services-section {
    padding: 60px 0;
    background-color: #f4f6f9;
  }
  .services-block {
    margin-bottom: 60px;
  }
  .services-img {
    width: 450px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);        /*   building and marine image size and box shadow  colour  */
    transition: transform 0.4s ease;
  }
  .services-img:hover {
    transform: scale(1.05);
  }
  .services-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);     /*   building and marine box background colour  */
    transition: all 0.3s ease-in-out;
  }
  .services-box:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }
  .services-box h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #3d76c0;
  }
  .services-box p {
    font-size: 20px;
    color: #555;          /*   building and marine box fount size and colour  */
    line-height: 1.7;
  }


  /* Responsive adjustments for tablets and small devices */
@media (max-width: 768px) {
  .navbar {
    height: auto;
    flex-direction: column;
    padding: 10px 15px;
    text-align: center;
  }

  .navbar-brand img {
    height: 80px;
  }

  .nav-link {
    font-size: 1rem;
    margin: 10px 0;
  }

  .slider-content h1 {
    font-size: 2.5em;
  }

  .slider-content h2 {
    font-size: 1.8em;
  }

  .slider-content p {
    font-size: 1em;
  }

  .action-btn {
    font-size: 0.9rem;
    padding: 6px 15px;
  }

  .structure-block {
    flex-direction: column;
    text-align: center;
  }

  .structure-content {
    padding: 20px;
  }

  .structure-content h2 {
    font-size: 1.5rem;
  }

  .structure-content p {
    font-size: 14px;
  }

  .services-img {
    width: 100%;
  }

  .services-box {
    padding: 20px;
  }

  .services-box h2 {
    font-size: 24px;
  }

  .services-box p {
    font-size: 16px;
  }

  .team-box {
    padding: 20px;
  }

  .team-title {
    font-size: 20px;
  }

  .team-description {
    font-size: 14px;
  }

  .contact-overlay {
    padding: 20px;
    margin: 20px;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .footer-title {
    font-size: 20px;
  }

  .footer-description,
  .footer-contact li,
  .footer-contact a {
    font-size: 14px;
  }

  .slider-content {
    top: 50%;
    padding: 10px;
  }
}

/* Extra small devices like phones */
@media (max-width: 576px) {
  .navbar-nav .nav-link {
    margin-right: 10px;
    font-size: 0.9rem;
  }

  .slider-content h1 {
    font-size: 2em;
  }

  .slider-content h2 {
    font-size: 1.5em;
  }

  .slider-content p {
    font-size: 0.9em;
  }

  .about-highlight {
    padding: 20px;
  }

  .structure-img {
    max-width: 100%;
  }

  .team-icon {
    font-size: 40px;
  }

  .services-img {
    width: 100%;
  }

  .action-btn {
    margin-left: 0;
    margin-top: 10px;
  }

  .navbar-nav {
    flex-direction: column;
  }

  .footer-social a {
    font-size: 16px;
    margin-right: 10px;
  }

  .flag-icon {
    width: 16px;
    height: 12px;
  }
}
