* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f9f9f9;
}

/* INDEX ONLY NAVBAR */
.index-navbar {
  background: rgba(255, 255, 255, 0); /* transparent at start */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 35px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  transition: background 0.3s ease;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

.index-navbar.scrolled .menu-toggle {
  color: #01103a;
}

.index-navbar.scrolled {
  background: #ffffff; /* solid white when scrolled */
  box-shadow: 0 4px 10px rgba(3, 0, 34, 0.295);
}

.index-navbar.scrolled a {
  color: #01103a;
}

.index-navbar a {
  color: rgb(255, 255, 255);
  margin-left: 20px;
  text-decoration: none;
}

.index-navbar a.active {
  font-weight: bold;
  border-bottom: 2px solid #fc780c;
}

/* INDEX LOGO RULES */
.index-navbar .logo-dark {
  display: none;
}

.index-navbar.scrolled .logo-light {
  display: none;
}

.index-navbar.scrolled .logo-dark {
  display: block;
}

@media (max-width: 768px) {

  .index-navbar {
    padding: 10px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .index-navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .index-navbar nav a {
    color: #01103a;
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .index-navbar nav.show {
    display: flex;
  }
}

/* DEFAULT NAVBAR (for other pages) */
.navbar {
  background: #ffffff;
  color: #01103a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 35px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  background: #ffffff;
  color: #01103a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 35px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: #01103a;
  margin-left: 20px;
  text-decoration: none;
}

.navbar a.active {
  font-weight: bold;
  border-bottom: 2px solid #fc780c;
}

/* DEFAULT LOGO RULES (DARK ONLY) */
.navbar .logo-light {
  display: none;
}

.navbar .logo-dark {
  display: block;
}

.logo img {
  height: 45px;
  width: auto;
}

.index-navbar .logo-dark {
  display: none;
}

.index-navbar.scrolled .logo-light {
  display: none;
}

.index-navbar.scrolled .logo-dark {
  display: block;
}

@media (max-width: 768px) {

  .navbar {
    padding: 10px 20px;
  }

  .default-toggle {
    display: block;
    font-size: 26px;
    cursor: pointer;
    color: #01103a;
  }

  .navbar nav {
    display: none;            /* IMPORTANT: hide links */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 998;
  }

  .navbar nav a {
    color: #01103a;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    margin: 0;
  }

  .navbar nav.show {
    display: flex;
  }
}

/* HOME */
.home {
  position: relative;
  height: 75vh;
  background: url("images/home.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 60px;
  color: white;
}

.home-overlay {
  position: absolute;
  inset: 0;
    background: linear-gradient(
    to bottom,
    rgba(2, 39, 87, 0.452) 0%,
    rgba(3, 49, 92, 0.507) 60%,
    rgba(249, 249, 249, 1) 90%,
    #f9f9f9 100%
  );
}


.home-content {
  position: relative;
  max-width: 600px;
}

.home-content h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.home-content p {
  font-size: 18px;
}

.home-content button {
  margin-top: 15px;
  padding: 12px 25px;
  background: #04b44d;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* SHADOW ADDED */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-content button:hover {
  opacity: 0.9;
  transform: translateY(-2px); /* lift effect */
}


.services {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

/* Make link behave like a block */
.service-link {
  text-decoration: none;
  color: inherit;
}

/* Hover rise effect */
.service-box {
  background: white;
  text-align: center;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;

  min-width: 20px;
  height: 120px;

  display: flex;              /* enables flex */
  flex-direction: column;     /* vertical layout */
  justify-content: center;    /* centers vertically */
  align-items: center;        /* centers horizontally */
}


.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.2);
}

.service-box i {
  font-size: 32px;
  color: #fc780c;
  margin-bottom: 12px;
}

/* WHY */
.why {
  padding: 50px;
  background: #f9f9f9;
}

.why h2 span {
  color: #fc780c;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
}

.card p {
  padding: 0 15px 20px;
}

/* VIDEO SECTION */
.video-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 50px;
  align-items: center;
  max-width: 1400px;
  margin: auto;
}

.video-container video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.video-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.video-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.video-text .small {
  font-size: 14px;
  color: #777;
}

/* Responsive */
@media (max-width: 900px) {
  .home {
    height: auto;
    padding: 60px 20px;      /* equal padding left/right */
    text-align: left;
    justify-content: flex-start;
  }

   .services {
    padding: 25px 20px;
    margin-top: -40px;
  }

  .service-box {
    padding: 10px;
    min-height: 120px;       /* same height for all boxes */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service-box i {
    font-size: 30px;
  }

   /* ===== WHY ===== */
  .why {
    padding: 35px 20px;
  }

  .cards {
    gap: 15px;
  }

  .card img {
    height: 160px;
  }

  /* ===== VIDEO SECTION ===== */
  .video-section {
    padding: 35px 20px;
    grid-template-columns: 1fr;
  }

  .video-text h2 {
    font-size: 26px;
  }

  .video-text p {
    font-size: 15px;
  }

   .video-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .video-btn {
    width: 100%;
    padding: 12px 20px;
  }
}

.video-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.video-btn {
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  border: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* SHADOW ADDED */
  transition: transform 0.2s ease;
}

.video-btn.orange {
  background: #fc780c;
  color: white;
}

.video-btn.white {
  background: white;
  color: #01071b;
  border: 1px solid #ddd;
}

.video-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px); /* small lift effect */
}

/* FOOTER */
.footer {
  background: #1f2933;
  color: white;
  text-align: center;
  padding: 20px 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  font-size: 14px;
}

/* SERVICES PAGE LAYOUT */
.services-section {
  max-width: 1250px;
  margin: 90px auto 60px; /* leaves space for fixed navbar */
  padding: 20px;
  display: grid;
  gap: 40px;
}

.service-layer {
  display: grid;
  grid-template-columns: 1fr 1.8fr; /* image | text */
  gap: 30px;
  align-items: center;
}

.service-layer.reverse {
  direction: rtl; /* flips image and text */
}

.service-layer.reverse .service-text {
  direction: ltr;
}

.service-img img {
  width: 95%;
  height: 200px;   /* <-- change this value to make it thinner or taller */
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #000000;
}

.service-text-box {
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  height: 200px; 
}

/* SERVICE 1 – Supply */
.service-supply {
  background: #01103a;
}

.service-supply h2 {
  color: #ffffff;
}

.service-supply p {
  color: #dbe6ff;
}

/* SERVICE 2 – Maintenance */
.service-maintenance {
  background: #ffffff;
}

.service-maintenance h2 {
  color: #000d29;
}

.service-maintenance p {
  color: #000d29;
}

/* SERVICE 3 – Repair */
.service-repair {
  background: #cf7a35;
}

.service-repair h2 {
  color: #ffffff;
}

.service-repair p {
  color: #eafff1;
}

/* SERVICES PAGE HEADER */
.services-header {
  margin-bottom: 0px;
}

.services-header h1 {
  font-size: 38px;
  font-weight: bold;
  color: #01103a;
  text-align: left;
  margin-bottom: 10px;
}

.services-divider {
  width: 100%;
  height: 2px;
  background: #ddd;
}

/* =========================
   SERVICES PAGE MOBILE FIX
========================= */
@media (max-width: 768px) {

  .services-section {
    margin: 70px auto 40px; /* reduce top space for mobile */
    padding: 15px;
    gap: 25px;
  }

  .service-layer {
    grid-template-columns: 1fr; /* stack image + text vertically */
    gap: 20px;
  }

  .service-layer.reverse {
    direction: ltr; /* remove flipping */
  }

  .service-img img {
    width: 100%;
    height: 290px; /* mobile-friendly height */
  }

  .service-text-box {
    padding: 20px;
    height: auto;
  }

  .service-text h2 {
    font-size: 20px;
    text-align: center;
  }

  .service-text p {
    font-size: 16px;
    text-align: center;
  }

  .services-header h1 {
    font-size: 30px;
    text-align: center;
  }

  .services-divider {
    margin-top: 10px;
    margin-bottom: 15px;
  }
}

/* =========================
   SERVICES PAGE TABLET FIX
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .services-section {
    margin: 80px auto 50px;
    padding: 20px;
    gap: 0px;
    min-height: 100vh;
  }

  .service-layer {
    grid-template-columns: 1.5fr 1fr; /* image bigger */
    gap: 20px;
  }

  .service-img img {
    width: 100%;
    height: 300px; /* bigger but not too big */
    object-fit: cover;
  }

  .service-text-box {
    padding: 25px;
    height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: center; /* centers vertically */
  }

  .service-text h2 {
    font-size: 28px;
    text-align: left;
  }

  .service-text p {
    font-size: 17px;
    text-align: left;
  }

  .services-header h1 {
    font-size: 34px;
    text-align: center;
  }

  .services-divider {
    margin-top: 15px;
    margin-bottom: 20px;
  }
}


/*PRODUCTS SECTION*/
.products-carousel-section {
  max-width: 1300px;
  margin: 100px auto 0px;
  padding: 0 20px;
  height: 100vh;
}

.products-title {
  font-size: 38px;
  color: #01103a;
  margin-bottom: 10px;
}

.products-divider {
  height: 2px;
  background: #ddd;
  margin-bottom: 40px;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  gap: 30px;
  overflow: hidden;
  width: 100%;
  justify-content: center;
}

.carousel-card {
  background: white;
  width: 320px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  text-align: center;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

.carousel-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.carousel-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.carousel-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.carousel-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

.brand-used {
  margin-top: 14px;
  text-align: center;
}

.brand-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-used img {
  max-width: 150px;
  max-height: 40px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-3d-card.active .brand-used img {
  opacity: 1;
  transform: scale(1.05);
}

.carousel-btn {
  background: #01103a;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* ===== 3D CIRCULAR CAROUSEL ===== */
.carousel-3d {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.carousel-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-3d-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 490px;
  padding: 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  text-align: center;
  transform-style: preserve-3d;
  transition: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.carousel-3d.ready .carousel-3d-card {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-3d-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.carousel-3d-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  height: 50px; /* fixed title height */
}

.carousel-3d-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 0;
  flex: 1; /* grows to fill space */
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-3d-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  max-height: 70px;   /* limit height */
  overflow-y: auto;   /* scroll if content is longer */
}

/* =========================
   MOBILE RESPONSIVE FIX
========================= */
@media (max-width: 768px) {

   .products-carousel-section {
    margin: 60px auto 0px;
    padding: 25px 15px;
  }

  .products-title {
    font-size: 28px;
    text-align: center;
  }

  .products-divider {
    margin-bottom: 25px;
  }

  .carousel-3d {
    height: auto;
    padding: 0px 0;
    perspective: 900px;
    overflow: hidden;
  }

  .carousel-3d-track {
    position: relative;
    height: 75vh;         /* FIXED height so cards show */
    max-height: 700px;    /* prevents it from being too tall */
  }

  .carousel-3d-card {
    width: 250px;
    height: 460px;
    padding: 15px;
  }

  .carousel-3d-card img {
    height: 170px;
  }

  .carousel-3d-card h3 {
    font-size: 18px;
  }

  .carousel-3d-card p {
    font-size: 14px;
    max-height: 70px;
  }

  /* Buttons */
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
    opacity: 1;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .carousel-3d-card {
    transform: translate(-50%, -50%) rotateY(0deg);
  }
}

/* =========================
   TABLET RESPONSIVE FIX
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  .products-carousel-section {
    margin: 70px auto 50px;
    padding: 25px 20px;
  }

  .products-title {
    font-size: 32px;
    text-align: center;
  }

  .products-divider {
    margin-bottom: 30px;
  }

  .carousel-3d {
    height: auto;
    padding: 35px 0;
    perspective: 1000px;
     overflow: hidden;
  }

  .carousel-3d-track {
    height: 100vh;
    max-height: 1000px;
  }

  .carousel-3d-card {
    width: 280px;
    height: 480px;
    padding: 18px;
  }

  .carousel-3d-card img {
    height: 180px;
  }

  .carousel-3d-card h3 {
    font-size: 19px;
  }

  .carousel-3d-card p {
    font-size: 15px;
    max-height: 80px;
  }

  /* Buttons */
  .carousel-btn {
    width: 42px;
    height: 42px;
    font-size: 21px;
  }

  .carousel-btn.prev {
    left: 15px;
  }

  .carousel-btn.next {
    right: 15px;
  }
}

/*PROJECTS PAGE LAYOUT*/
.carousel-project {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-project-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 7, 39, 0) 0%, rgba(0, 10, 44, 0.932) 60%, rgba(0, 10, 44, 0.932) 70%, rgba(0, 13, 56, 0.952) 100%, rgba(0, 13, 56, 0.952) 100%,);
}

.content {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  width: 45%;
}

.content h2 {
  font-size: 48px;
  font-weight: bold;
}

.content h2 span {
  color: white;
}

.content h2 {
  color: #ff7700;
}

.content p {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 15px;
}

.caption {
  position: relative; /* IMPORTANT */
  bottom: auto;
  left: auto;
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px; /* space between caption and content */
  margin-top: 20px;
}

.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  height: 8px;
  width: 8px;
  margin: 0 6px;
  display: inline-block;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 
    transform 0.3s ease,
    background-color 0.3s ease;

  /* shadow for visibility */
  box-shadow: 0 2px 6px rgb(0, 0, 0);
}


.dot.active {
  background-color: rgb(255, 255, 255);
  transform: scale(1.8);
}

@media (max-width: 768px) {

  /* full screen height on mobile */
  .carousel-project {
    height: 100vh;
  }

  .slide {
    height: 100%;
  }

  /* Center content and make it readable */
  .content {
    width: 90%;
    right: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .content h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .content p {
    font-size: 16px;
  }

  .caption {
    font-size: 18px;
  }

  .dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    bottom: 12px;
  }

  .dot {
    width: 6px;
    height: 6px;
    margin: 0 4px;
  }
}

/* =========================
   TABLET RESPONSIVE FIX
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* full screen height on tablet */
  .carousel-project {
    height: 100vh;
  }

  .slide {
    height: 100%;
  }

  /* Only show 3 dots on tablet */
  .dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    bottom: 12px;
  }

  .dot {
    width: 6px;
    height: 6px;
    margin: 0 4px;
  }
}


/* ABOUT SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 38px;
  color: #01103a;
  margin-bottom: 25px;
  margin-top: 30px;
  font-weight: 700;
}

.section-title.light {
  color: #fff;
}

/* ABOUT */
.about {
  padding: 60px 10%;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h3 {
  margin-bottom: 15px;
  color: #0b2a4a;
  font-size: 25px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(-8px);
}

/* PURPOSE */
.purpose {
  background: #0b2a4a;
  padding: 40px 10%;
}

.purpose-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.purpose-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
}

.purpose-card i {
  font-size: 50px;
  color: #b25a0f;
  margin-bottom: 10px;
}

.purpose-card h4 {
  margin-bottom: 10px;
  color: #0b2a4a;
}

.purpose-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* MISSION */
.mission {
  padding: 60px 10%;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mission-text h2 {
  margin-bottom: 15px;
  color: #0b2a4a;
  font-weight: 700;
}

.mission-text p {
  line-height: 1.6;
}

.mission-image img {
  width: 100%;
  height: 240px;       /* change this to your desired height */
  object-fit: cover;   /* keeps image from stretching */
  border-radius: 6px;
}

/* VISION */
.vision {
  background: #b25a0f;
  padding: 60px 10%;
  color: #fff;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.vision-text h2 {
  margin-bottom: 15px;
  font-weight: 700;
}

.vision-text p {
  line-height: 1.6;
}

.vision-image img {
  width: 100%;
  height: 240px;       /* change this to your desired height */
  object-fit: cover;   /* keeps image from stretching */
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  /* SECTION TITLES */
  .section-title {
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 60px;
  }

  .light{
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  /* GLOBAL SECTION PADDING */
  .about,
  .purpose,
  .mission,
  .vision {
    padding: 40px 6%;
  }

  /* ABOUT */
  .about-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .about-text h3 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 15px;
    text-align: justify;
  }

  .about-image img {
    transform: none;
  }

  /* PURPOSE */
  .purpose-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .purpose-card i {
    font-size: 42px;
  }

  /* MISSION */
  .mission-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .mission-image img {
    height: 200px;
  }

  /* VISION */
  .vision-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .vision-image img {
    height: 200px;
  }

  .purpose-card {
    padding: 30px 20px;
    border-radius: 12px;
  }
}

/* =========================
   TABLET RESPONSIVE FIX
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* SECTION TITLES */
  .section-title {
    font-size: 34px;
    margin-bottom: 25px;
    margin-top: 50px;
  }

  .light {
    font-size: 34px;
    margin-bottom: 25px;
    margin-top: 25px;
  }

  /* GLOBAL SECTION PADDING */
  .about,
  .purpose,
  .mission,
  .vision {
    padding: 50px 8%;
  }

  /* ABOUT */
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    text-align: left;
  }

  .about-text h3 {
    font-size: 26px;
  }

  .about-text p {
    font-size: 16px;
    text-align: justify;
  }

  /* PURPOSE */
  .purpose-cards {
    grid-template-columns: repeat(3, 1fr); /* KEEP 3 columns */
    gap: 25px;
    margin-bottom: 50px;
  }

  .purpose-card i {
    font-size: 45px;
  }

  .purpose-card {
    padding: 30px 25px;
    border-radius: 12px;
  }

  /* MISSION */
  .mission-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    text-align: left;
  }

  .mission-image img {
    height: 260px;
  }

  .mission-text h2 {
    font-size: 26px;
  }

  .mission-text p {
    font-size: 16px;
  }

  /* VISION */
  .vision-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    text-align: left;
  }

  .vision-image img {
    height: 260px;
  }

  .vision-text h2 {
    font-size: 26px;
  }

  .vision-text p {
    font-size: 16px;
  }
}

/* CONTACT SECTION */
.contact-section {
  padding: 0;
   overflow-x: hidden;
}

/* LEFT SIDE */
.contact-left {
  background: #ffffff;
  padding: 80px 10%;
}

.contact-left-content {
  max-width: 420px;
}

.contact-title {
  font-size: 48px;
  font-weight: 800;
  color: #0b2a4a;
}

.contact-title span {
  color: #c95e12;
}

.contact-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.contact-link {
  color: #0b2a4a;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
  color: #1877f2; /* Facebook blue */
}

.info-item i.bi-facebook {
  color: #1877f2;
}

/* INFO LIST */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.info-item i {
  font-size: 25px;
  color: #8b4513;
  line-height: 1;      /* IMPORTANT */
  flex-shrink: 0;      /* prevents resizing */
  margin-top: 3px;    /* fine-tune vertical alignment */
}

.info-item p {
  margin: 0;           /* remove default <p> spacing */
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* RIGHT SIDE */
.contact-right {
  background: linear-gradient(180deg, #041c36, #0b2a4a);
  padding: 60px;
}

.contact-form-wrapper {
  width: 100%;
  max-width: 450px;
}

/* LOGO */
.form-logo img {
  width: 130px;
}

/* FORM */
.form-control {
  border-radius: 6px;
  padding: 5px;
}

.form-control:focus {
  box-shadow: none;
  border-color: #04b44d;
}

/* BUTTON */
.btn-success {
  background: #04b44d;
  border: none;
}

.btn-success:hover {
  background: #039b42;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  /* CONTACT SECTION */
  .contact-section {
    padding: 0;
    overflow-x: hidden;
  }

  /* LEFT SIDE */
  .contact-left {
    padding: 50px 6%;
  }

  .contact-left-content {
    max-width: 100%;
    text-align: center;
    margin-top: 60px;
  }

  .contact-title {
    font-size: 32px;
  }

  .contact-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .info-item {
    align-items: center;
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
  }

  .info-item i {
    font-size: 20px;
    margin-top: 0;
  }

  .info-item p {
    font-size: 12px;
  }

  /* RIGHT SIDE */
  .contact-right {
    padding: 40px 6%;
  }

  .contact-form-wrapper {
    max-width: 85%;
  }

  /* LOGO */
  .form-logo img {
    width: 110px;
    margin: 0 auto 20px;
    display: block;
  }

  /* FORM */
  .form-control {
    font-size: 15px;
    padding: 5px;
  }

  /* BUTTON */
  .btn-success {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}

/* =========================
   TABLET RESPONSIVE FIX
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* CONTACT SECTION */
  .contact-section {
    padding: 0;
    overflow-x: hidden;
  }

  /* LEFT SIDE */
  .contact-left {
    padding: 60px 8%;
  }

  .contact-left-content {
    max-width: 100%;
    text-align: left;
    margin-top: 40px;
  }

  .contact-title {
    font-size: 40px;
  }

  .contact-subtitle {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .info-item {
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }

  .info-item i {
    font-size: 22px;
    margin-top: 2px;
  }

  .info-item p {
    font-size: 14px;
  }

  /* RIGHT SIDE */
  .contact-right {
    padding: 50px 8%;
  }

  .contact-form-wrapper {
    max-width: 95%;
  }

  /* LOGO */
  .form-logo img {
    width: 120px;
    margin: 0 auto 25px;
    display: block;
  }

  /* FORM */
  .form-control {
    font-size: 16px;
    padding: 10px;
  }

  /* BUTTON */
  .btn-success {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
}
