*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* Ensure nothing causes horizontal scroll */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family:  'Poppins', sans-serif;

  background: #fff;
  max-width: 100%;
  overflow-x: hidden; /* ✅ Prevent horizontal scroll on small screens */
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, #0a2e4e, #52977e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(-45deg, #ffffff, #cceeff, #b0d9e8, #dceff4, #ffffff);
  background-size: 200% 200%;
  animation: gradientMotion 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1a1a1a;
  overflow: hidden;
  flex-direction: column;
}

@keyframes gradientMotion {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



/* ✅ Responsive height for smaller screens */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }
}

.hero-content {
  z-index: 2;
 
  padding: 40px 20px;
  max-width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.6s ease forwards;
  animation-delay: 1.4s;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-layer {
  position: absolute;
  top: 0;
  width: 25%;
  height: 100%;
  z-index: 1;
  animation: slideOut 1s ease forwards;
}


.layer-1 { left: 0%; background: gray; animation-delay: 0.1s; }
.layer-2 { left: 25%; background: gray; animation-delay: 0.2s; }
.layer-3 { left: 50%; background: gray; animation-delay: 0.3s; }
.layer-4 { left: 75%; background: gray; animation-delay: 0.4s; }

@keyframes slideOut {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-100%); opacity: 0; }
}

/* Floating Background Animation */
.floating-anim {
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 1;
  opacity: 0.9;
}

/* Adjust animation position */
.anim-14 { bottom: 75%; left: 45%; }

/* Inline Lottie Icons Row */
.lottie-inline {
  width: 120px;
  height: 120px;
  max-width: 160px;
  max-height: 160px;
  overflow: hidden;
}

/* Responsive Scaling for Lottie Icons */
@media (max-width: 768px) {
  .lottie-inline {
    width: 80px;
    height: 80px;
  }
}

/* Section Padding */
section {
  padding: 80px 0;
}

/* Cards and Images */
.card, .img-fluid {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Navbar Styling */
nav.navbar {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: #1a1f36 !important;
}

.nav-item {
  font-size: 1.2rem;
}

.nav-link:hover {
  text-decoration: underline;
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .nav-item {
    text-align: center;
  }
}

    .gradient-heading {
      background: linear-gradient(to right, #0a2e4e, #52977e);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .about-hero {
      background: linear-gradient(135deg, #e6f7f1, #f5faff);
      padding: 100px 0 60px 0;
      text-align: center;
    }

    .about-hero h1 {
      font-size: 3rem;
      font-weight: bold;
    }

    .about-hero p {
      font-size: 1.25rem;
      color: #555;
      max-width: 800px;
      margin: 0 auto;
    }

    .section-title {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .highlight-box {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    }

    .icon-circle {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #e6f7f1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      color: #0a2e4e;
      margin-bottom: 15px;
    }

    .team-member img {
      border-radius: 50%;
      width: 120px;
      height: 120px;
      object-fit: cover;
    }
    .text-gradient {
  background: linear-gradient(to right, #0a2e4e, #2e7664);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hover-scale {
  transition: transform 0.4s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
}
 
         .vision-mission-section .vision-box {
  background: linear-gradient(to bottom right, #0a2e4e, #1d3d31);
  color: white;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.vision-mission-section .mission-box {
  background: linear-gradient(to bottom left, #1d3d31, #0a2e4e);
  color: white;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

@media (max-width: 768px) {
  .vision-mission-section .vision-box,
  .vision-mission-section .mission-box {
    clip-path: none;
    padding: 2rem 1rem;
  }

  .vision-mission-section h2 {
    font-size: 1.8rem;
  }

  .vision-mission-section p {
    font-size: 1rem;
  }
}
.service-card-custom {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.service-card-custom:hover {
  transform: translateY(-5px);
}

.service-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  padding: 20px;
  transition: height 0.4s ease;
  height: 60px;
  overflow: hidden;
}

.service-card-custom:hover .service-overlay {
  height: 100%;
}

.service-overlay h5 {
  margin: 0 0 10px;
}

.service-text {
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-custom:hover .service-text {
  opacity: 1;
}
#sectorChart {
  width: 100% !important;
  max-width: 500px;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
.short-gradient-line {
  height: 3px;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(to right, #0a2e4e, #52977e);
  border-radius: 2px;
  
}


  .short-gradient-line2 {
    width: 200px;                /* Adjust width as needed */
    height: 4px;                 /* Line thickness */
    border-radius: 2px;
    background: linear-gradient(270deg, #0a2e4e, #52977e);
    background-size: 400% 100%;
    animation: moveGradient 3s linear infinite;
  }

  @keyframes moveGradient {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }







.border-frame {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border-left: 8px solid #c0773c;
  border-top: 8px solid #c0773c;
  z-index: 1;
  border-radius: 10px;
}

.team-img {
  position: relative;
  z-index: 2;
  border-radius: 10px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: 40px;
  width: 180px;
  background: #1f1f1f;
  color: white;
  text-align: center;
  padding: 20px 10px;
  border-radius: 10px;
  z-index: 3;
}

@media (max-width: 768px) {
  .experience-badge {
    left: 20px;
    width: 160px;
    padding: 15px 8px;
  }

  .border-frame {
    top: -8px;
    left: -8px;
    border-left: 6px solid #c0773c;
    border-top: 6px solid #c0773c;
  }
}
.navbar .nav-link {
  font-weight: bold;
  background: linear-gradient(to right, #0a2e4e, #52977e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Optional: Add bottom margin if needed */
.map-section {
  margin-bottom: 30px;
}
@media (max-width: 480px), (max-height: 600px), (max-width: 768px) and (max-aspect-ratio: 3/4) {
  .hero {
    min-height: auto;
    height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 20px 15px;
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .lottie-inline {
    width: 60px;
    height: 60px;
    margin: 6px;
  }

  .btn {
    font-size: 0.95rem;
    padding: 8px 16px;
  }

  #anim-graph {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    right: auto;
  }
}
