/* --------------------------------------------------
   Base Styles
-------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  /* Add custom font for all elements except footer */
 
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    font-family: Cambria, sans-serif, Cambria;
    /*background: linear-gradient(180deg, #080034, #02faf2fb); url('../images/hg.jpg');*/
    background-color: white;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    margin-top: 20px; /* Remove margin to handle scroll properly */
    padding: 0; /* Remove padding to handle scroll properly */
    color: #1c1c1c;
  }
  
  /* --------------------------------------------------
     Header
  -------------------------------------------------- */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    color: rgb(3, 127, 151);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgb(4, 4, 47);
    font-family: Cambria, sans-serif;
    box-shadow: 0 2px 5px rgba(57, 57, 57, 0.44);
    backdrop-filter: blur(10px); /* Add blur effect */
    margin-bottom: 0; /* Ensure no margin below the header */
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  header img {
    height: 50px;
    max-height: 50px;
    object-fit: contain;
  }
  
  .company-name {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(180deg, #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  
  .slogan {
    font-size: 0.9rem;
    font-weight: bold;
    background: linear-gradient(90deg,  #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  
  /* --------------------------------------------------
     Footer
  -------------------------------------------------- */
 
  footer {
    position: fixed; /* Ensure footer stays at the bottom */
    bottom: 0;
    width: 100%;
    font-family: Cambria, sans-serif;
    text-align: center;
    padding: 10px;
    color: rgb(13, 223, 223);
    background-color: rgb(4, 4, 47);
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px); /* Add blur effect */
  }
  footer p {
    background: linear-gradient(180deg,  #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: Cambria, sans-serif;
    bottom: 0%;
    text-decoration: none;
    margin: 0;
    transition: color 0.3s ease;
  }
  footer a {
    color: rgb(255, 255, 255);
    font-family: Cambria, sans-serif;
    bottom: 0%;
    text-decoration: none;
    margin: 0;
    transition: color 0.3s ease;
  }
  
  footer a:hover {
    color: #0b012d;
    text-decoration: underline;
  }

  section {
    overflow: hidden; /* Hide scroll for each section */
    overflow-x: hidden; /* Prevent horizontal scrolling in sections */
  }

  .footer-contact {
    background-color: rgb(4, 4, 47);
    color: white;
    height: 30vh;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Default padding */
  }

  @media (max-width: 767px) {
    .footer-contact {
        padding: 10px 20px; /* Reduce top and bottom padding for mobile screens */
    }
  }

  .footer-columns {
    display: flex;
    justify-content: space-between; /* Equal space between columns */
    align-items: flex-start;
    font-family: Cambria, sans-serif;
    font-weight: 900;
    width: 100%;
    max-width: 100%;
    gap: 0; /* Remove gap, use space-between for equal spacing */
  }

  .footer-columns .column {
    flex: 1 1 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 0 20px; /* Add horizontal padding for visual gap */
  }

  .footer-columns .column:first-child {
    align-items: flex-start;
  }

  .footer-columns .column:last-child {
    align-items: flex-start;
  }

  .footer-columns .column img {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
    margin-right: 0;
  }

  .footer-columns .column h3, 
  .footer-columns .column h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    background: linear-gradient(180deg, #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: center;
    justify-content: center;
    text-decoration: underline; /* Add underline */
  }

  .footer-columns .column p, 
  .footer-columns .column a {
    font-size: 0.9rem;
    color: white;
    text-align: left;
    bottom:0;
    justify-items: center;
    text-decoration: none;
  }

  .footer-columns .column a:hover {
    text-decoration: underline;
    text-align: left;

  }

  .footer-columns .column .company-name {
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(180deg, #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
  }
  .footer-columns .column i {
    font-weight: semibold;
    background: linear-gradient(90deg, #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: left;
    padding-right: 10px;
  }
  .footer-columns .column .slogan {
    font-size: 0.9rem;
    font-weight: bold;
    background: linear-gradient(90deg, #e2ff03, #00a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: left;

  }
  
  /* Follow Us icons and text aligned vertically */
.footer-columns .column:last-child a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer-columns .column:last-child a i {
    font-size: 20px;
    color: #8fff4f;
    min-width: 24px;
    text-align: center;
}

.footer-columns .column:last-child a:hover {
    color: #17a2b8;
}

.footer-columns .column:last-child {
    align-items: flex-start;
    text-align: left;
}

/* --------------------------------------------------
     Navigation
  -------------------------------------------------- */
  nav {
    display: flex;
    gap: 15px;
    font-family: Cambria, sans-serif;
  }
  
  nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-family: Cambria, sans-serif;
    transition: color 0.3s ease; /* Ensure smooth transition back to default */
  }

  header nav a.active {
    color: rgb(31, 230, 184); /* Active tab color */
    font-weight: bold;
    border-bottom: 2px solid rgb(31, 230, 184); /* Optional underline for active tab */
    transition: color 0.3s ease; /* Smooth transition for color change */
  }
  
  /* Hamburger Menu */
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
  }
  
  /* --------------------------------------------------
     Main
  -------------------------------------------------- */
  main {
    flex: 1;
    overflow-y: auto; /* Enable scroll only for the main content */
    padding-top: 0; /* Adjust to match the height of the fixed header */
    max-width: 100%; /* Ensure main content does not exceed viewport width */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0;
  }
  
  /* --------------------------------------------------
     Hero Section (home.html)
  -------------------------------------------------- */
  .hero {
    margin-top: 30px;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%; /* Ensure no horizontal overflow */
    min-height: 75vh;
    position: relative;
    overflow: hidden; /* Prevent overflow from the hero section */
    font-family: Cambria, sans-serif;
  }
  .content {
    max-width: 50%;
    max-height: 100%; /* Ensure no vertical overflow */
    overflow: hidden; /* Remove any scrollbars */
    min-height: 75vh;
    display: flex;
    margin-bottom: 30px;
    overflow-y: hidden;
    flex-direction: column; /* Ensure child elements stack properly */
    gap: 15px; /* Add spacing between child elements */
    font-family: Cambria, sans-serif;
  }

  .hero .content * {
    overflow: hidden; /* Prevent child elements from causing overflow */
    max-width: 100%; /* Ensure child elements do not exceed container width */
    box-sizing: border-box; /* Include padding and borders in width/height */
    overflow-y: hidden;

  }
  
  .hero .content .tagline {
    display: inline-block;
    background-color: #c2eaf8;
    overflow-y: hidden;
    color: #581355;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    max-width: fit-content; /* Ensure the width matches the content */
  }
  
  h1 {
    font-size: 42px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: rgb(5, 107, 83);
    font-family: Cambria, sans-serif;
  }
  
  .highlight {
    color: #ff7a00;    
    padding: 0 6px;
    border-radius: 4px;
  }
  
  p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
    color: #6d6d6d;
    margin-bottom: 30px;
    font-family: Cambria, sans-serif;
  }
  
  .buttons {
    display: flex;
    gap: 15px;
  }
  
  .btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: Cambria, sans-serif;
    display: inline-block;
    margin: 5px 8px 5px 0;
  }
  
  .primary {
    background-color: #04676e;
    color: #ffffff;
    font-weight: bold;
  }
  
  .primary:hover {
    background-color: #84f8f4;
    color: #04676e;
  }
  
  .secondary {
    background-color: #ff7a00;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: bold;}
  
  .secondary:hover {
    background-color: #2eaf7d;
    color: #fff;
  }
  
  .image-container {
    max-width: 50%;
    overflow: visible; 
  }
  
  .image-container img {
    width: 100%;  /* Use 100% to fit the container without overflow */
    height: auto;
    border-radius: 20px;
    margin-right: 0;
  }
  
  /* --------------------------------------------------
     Responsive Design
  -------------------------------------------------- */
  
  /* Mobile Devices (up to 767px) */
  @media (max-width: 767px) {
    header,
    footer {
      padding: 10px;
    }
  
    nav {
      display: none;
      flex-direction: column;
      position: absolute;
      font-weight: bolder;
      top: 60px;
      right: 20px;
      background-color: #0d92a6;
      padding: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
    nav.active {
      display: flex;
    }
  
    nav a {
      display: block;
      margin: 10px 0;
    }
  
    .menu-toggle {
      display: flex;
    }
  
    main {
      padding: 15px;
    }
  
    .hero {
      flex-direction: column-reverse;
      text-align: left;
      justify-content: left;
      justify-items: left;
      padding-top: 80px; /* Reduce padding for mobile screens */
      padding-bottom: 10px; /* Reduce spacing below the hero section */
      align-items: left; /* Center align items */
    }
  
    .content,
    .image-container {
      max-width: 100%;
      padding-top: 0; /* Remove top padding */
      margin-bottom: 20px; /* Add spacing between content and image */
      
    }
  
    .buttons {
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .btn {
      width: 100%;
      max-width: 200px;
      text-align: center;
    }
  
    h1 {
      font-size: 30px;
    }
  
    p {
      font-size: 14px;
    }
  
    .tagline {
      font-size: 12px;
      justify-content: center;
    }

    .image-container img {
      margin-top: 0; /* Remove unwanted margin */
      padding-top: 0; /* Remove unwanted padding */
      padding-bottom: 10px; /* Reduce padding below the image */
      width: 100%; /* Make image responsive */
      height: auto; /* Maintain aspect ratio */
    }
  }

  /* Hero Section Mobile Responsiveness */
  @media (max-width: 767px) {
    .hero {
        flex-direction: column-reverse; /* Stack content and image vertically */
        text-align: left; /* Center-align text for smaller screens */
        justify-items: left;
        align-items: left; /* Align items to the left */
        padding: 20px;
    }

    .hero .content {
        max-width: 100%; /* Full width for content */
        padding-top: 120px;
        justify-content: left;
        align-items: left; /* Align items to the left */
        text-align: left;
        margin-bottom: 20px; /* Add spacing between content and image */
    }

    .hero h1 {
        font-size: 1.8rem; /* Adjust heading size for smaller screens */
        line-height: 1.4;
        text-align: left;
        align-items: left; /* Align items to the left */

    }

    .hero p {
        align-items: left; /* Align items to the left */
        font-size: 0.9rem; /* Adjust paragraph size */
        line-height: 1.5;
        text-align: left;
    }

    .hero .buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Add spacing between buttons */
        align-items: center;
    }

    .image-container {
        max-width: 100%; /* Full width for image */
    }

    .image-container img {
        width: 100%; /* Ensure the image fits within the container */
        padding-top: 0;
    }
  }

  /* Features Section Mobile Responsiveness */
  @media (max-width: 767px) {
    .features {
        padding: 50px 20px; /* Adjust padding for smaller screens */
    }

    .features h2 {
        font-size: 1.5rem; /* Adjust heading size */
    }

    .features p {
        font-size: 0.9rem; /* Adjust paragraph size */
        line-height: 1.5;
    }

    .feature-cards {
        flex-direction: column; /* Stack feature cards vertically */
        gap: 20px; /* Add spacing between cards */
    }

    .feature-cards .card {
        width: 100%; /* Full width for cards */
        text-align: center; /* Center-align text */
    }

    .btn {
        width: 100%; /* Full width for buttons */
        max-width: 300px; /* Limit button width */
        margin: 0 auto; /* Center buttons */
        text-align: center;
    }
  }
  
  /* Tablets (768px to 1023px) */
  @media (min-width: 768px) and (max-width: 1023px) {
    nav a {
      margin: 0 8px;
    }
  
    main {
      padding: 18px;
    }
  
    .hero {
      flex-direction: column-reverse;
      text-align: left;
      padding-top: 150px; /* Adjust padding for tablet screens */
      padding-bottom: 20px; /* Add spacing below the hero section */
      align-items: left; /* Align items to the left */
    }
  
    .content,
    .image-container {
      max-width: 100%;
    }
  
    h1 {
      font-size: 36px;
    }

    .image-container img {
      margin-top: 0; /* Remove unwanted margin */
      padding-top: 0; /* Remove unwanted padding */
      padding-bottom: 30px; /* Adjust padding below the image */
      width: 100%; /* Make image responsive */
      height: auto; /* Maintain aspect ratio */
    }
  }
  
  /* Laptops (1024px to 1399px) */
  @media (min-width: 1024px) and (max-width: 1399px) {
    nav a {
      margin: 0 12px;
    }
  
    main {
      max-width: 1000px;
    }
  
    h1 {
      font-size: 42px;
    }
  }
  
  /* Large Screens (1400px to 1899px) */
  @media (min-width: 1400px) and (max-width: 1899px) {
    .hero {
      padding: 70px 12%;
    }
  
    h1 {
      font-size: 48px;
    }
  
    p {
      font-size: 16px;
    }
  }
  
  /* Ultra-Wide Screens (1900px and up) */
  @media (min-width: 1900px) {
    .hero {
      padding: 80px 15%;
    }
  
    h1 {
      font-size: 56px;
    }
  
    p {
      font-size: 18px;
    }
  
    main {
      max-width: 1400px;
    }
  
    nav a {
      margin: 0 20px;
    }
  }
/*--------------------------------------------------------------------------------
--------------------------contact section-------------------------------------------*/
.contact-section {
    padding: 140px 50px;
    background:rgb(0, 0, 40);
    color: #000000;
    max-height: 60%;
    font-family: Cambria, sans-serif;
  }
  
  .container {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    font-family: Cambria, sans-serif;
  }
  
  .contact-cards .card {
    background: linear-gradient(135deg, #f0f0f0, #d9d9d9); /* Add gradient for 3D effect */
    color: #01342e;
    border-radius: 12px;
    padding: 15px; /* Adjust padding for smaller size */
    overflow-y: hidden;
    text-align: center;
    width: 23%;
    height: 150px; /* Set smaller height */
    font-size: 14px; /* Adjust font size for smaller cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19); /* Add 3D shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
  }
  
  .contact-cards .card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 12px 24px rgba(0, 0, 0, 0.22); /* Enhanced shadow on hover */
  }
  
  .contact-cards .card i {
    font-size: 36px; /* Increase icon size */
    color: #cb4d18; /* Icon color */
    margin-bottom: 5px; /* Add spacing below the icon */
  }
  .contact-cards .card p {
    font-size: 18px; /* Increase icon size */
    color: #077c99; /* Icon color */
  }
  .contact-cards .card a {
    font-size: 18px; /* Increase icon size */
    color: #077c99; /* Icon color */
  }
  .card h4 {
    margin-top: 10px;
    font-weight: bold;
  }
  
  .card i {
    font-size: 24px;
    color: #cb4d18;
  }

/* Background Wrapper starting halfway down the cards */
.background-wrapper {
    margin-top: -60px; /* Pulls background up behind lower half of cards */
    padding: 100px 40px 60px;
    background: linear-gradient(to bottom, rgba(247, 247, 247, 0.032) 2%, rgba(3, 118, 130, 0.273) 20%, rgba(2, 130, 128, 0.6) 40%, rgba(4, 99, 114, 0.7) 100%), 
                url('/static/images/contact-bg.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    z-index: 1;
    position: relative;
  }
  
  .contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: Cambria, sans-serif;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 16px;
  }
  
  .contact-form button {
    background-color: #fff;
    color: #cb4d18;
    padding: 12px;
    border: none;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #cb4d18;
    color: #fff;
  }
  
  .contact-text {
    flex: 1;
    min-width: 300px;
    font-family: Cambria, sans-serif;
  }
  
  .contact-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #0ee6df;
  }
  
  .contact-text p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
  }
  
  .social-icons {
    margin-top: 20px;
  }
  
  .social-icons a {
    color: #cb4d18;
    margin-right: 15px;
    font-size: 20px;
  }
  
  @media (max-width: 768px) {
    .contact-cards .card,
    .contact-content {
      width: 100%;
      flex-direction: column;
    }
  
    .contact-cards {
      gap: 20px;
    }
  }

.text-block {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align items to the left */
    gap: 5px; /* Add spacing between h3 and p */
}

.text-block h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.text-block p {
    margin: 0;
    font-size: 1rem;
    white-space: normal; /* Allow text to wrap */
    overflow: visible; /* Ensure text is fully visible */
}

/* --------------------------------------------------
   Features Section
-------------------------------------------------- */
.features {
    padding: 100px 40px;
    background: linear-gradient(180deg, #02e3dbfb, #ffffff);
    text-align: center;
    min-height: 75vh;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the content */
    gap: 30px; /* Add spacing between title and cards */
}
.features .container {
  overflow-y: hidden;
  min-height: 65vh;
}

.features h2 {
    font-size: 2.6rem;
    margin-bottom: 10px;
    font-weight: bolder;
    font-family: Cambria, sans-serif;
    color: #e66203;

    overflow-y: hidden;

}
.features p{
  font-size: 1.2rem;
    overflow-y: hidden;
    color: #114b4f;

    font-family: Cambria, sans-serif;

}

.feature-cards {
    display: flex;
    justify-content: center;
    overflow-y: hidden;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    overflow-y: hidden;
    align-items: center; /* Center align the cards */
}

.feature-cards .card {
    background: white;
    border-radius: 10px;
    overflow-y: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 320px;
    text-align: center;
    overflow-y: hidden;
    margin: 15px; /* Add margin for spacing */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for zoom effect */
}

.feature-cards .card:hover {
    transform: scale(1.05); /* Slightly zoom in on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
    overflow-y: hidden;
}

.feature-cards .card i {
  font-size: 40px;
  overflow-y: hidden;
  background: linear-gradient(180deg, #02faf2fb, #0c014b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px; /* Add spacing below the icon */
  display: inline-block;
  text-align: center; /* Center align the icon */
}

.feature-cards .card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #0a02fafb, #03e7ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow-y: hidden;
    color: transparent;
    text-align: center; /* Center align the heading */
}

.feature-cards .card p {
    font-size: 0.9rem;
    color: #666;
    text-align: center; /* Center align the text */
    overflow-y: hidden;
}

@media (max-width: 1024px) {
    .contact-section {
        margin-top: 180px; /* Adjust padding for mobile and tablet screens */
        padding-bottom: 100px; /* Ensure proper spacing at the bottom */
    }
}

/* --------------------------------------------------
   Global Styles Override
-------------------------------------------------- */
body,
input,
textarea,
button,
label,
h1, h2, h3, h4, h5, h6,
p,
a,
ul,
ol,
li,
nav,
main,
section,
footer,
header,
.content,
.hero,
.slogan,
.text-block p,
.text-block h3,
.text-block,
table,
th,
td,
span,
div,
.logo-container .company-name,
form {
    font-family: Cambria, sans-serif !important;
}

/* Exclude logo and company name from override */
.logo-container img {
    font-family: inherit !important;
}

