/*======================================================
  1. VARIABLES, FONTS & RESET
======================================================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(220, 68%, 97%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 99%);

  /*========== Typography ==========*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font Weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Z Index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: var(--body-font) !important; /* Forces constant font everywhere */
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden; 
  text-align: left; /* Forces whole site text to left */
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- GLOBAL ANIMATIONS --- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/*======================================================
  2. HEADER & NAVIGATION
======================================================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  background-color: var(--white-color);
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}

.nav__logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  display: block;
}

.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
  opacity: 0;
}

/* Mobile Menu */
@media screen and (max-width: 1117px) {
  .nav__menu {
    background-color: var(--white-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
    z-index: var(--z-fixed);
  }

  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }

  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}

.show-menu {
  opacity: 1 !important;
  top: 3.5rem !important;
  pointer-events: initial !important;
}

.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/* Dropdown */
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
}

.dropdown__container {
  background-color: var(--first-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.dropdown__content {
  row-gap: 1.75rem;
}

.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}

.dropdown__group:first-child {
  margin-top: 1.25rem;
}

.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.dropdown__list {
  row-gap: 0.25rem;
}

.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}

.dropdown__link:hover {
  color: var(--title-color);
}

.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/* Desktop Menu */
@media screen and (min-width: 1118px) {
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    height: auto;
    opacity: 1;
    pointer-events: initial;
    overflow: visible;
    padding: 0;
    background-color: transparent;
  }

  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }

  .nav li {
    display: flex;
  }

  .nav__link {
    padding: 0;
  }

  .nav__link:hover {
    background-color: initial;
  }

  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: var(--white-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }

  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }

  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }

  .dropdown__list {
    row-gap: 0.75rem;
  }

  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
  }
  
  .dropdown__group:hover .dropdown__icon {
      transform: scale(1.1); /* Subtle menu animation */
  }

  .dropdown__icon i {
    font-size: 2rem;
  }

  .dropdown__title {
    font-size: var(--normal-font-size);
  }

  .dropdown__link {
    font-size: var(--small-font-size);
  }

  .dropdown__link:hover {
    color: var(--first-color);
  }

  .dropdown__item {
    cursor: pointer;
  }

  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}

/*======================================================
  3. FOOTER
======================================================*/
.footer {
  width: 100%;
  background: hsl(220, 100%, 99%);
  padding: 40px 20px;
  border-radius: 12px 12px 0 0;
  text-align: left; 
}

.footer-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  padding: 20px 0;
  justify-items: start;
}

.footer-col h4 {
  color: var(--title-color);
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: var(--font-semi-bold);
}

.footer-col .links {
  list-style: none;
  padding: 0;
}

.footer-col .links li {
  margin-bottom: 8px;
}

.footer-col .links li a {
  color: var(--text-color);
  font-size: 0.9rem;
  word-break: break-all;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease; /* Animated links */
}

.footer-col .links li a:hover {
  color: var(--first-color);
  transform: translateX(5px); /* Slides slightly right on hover */
}

/* Fixed Footer Center Alignment */
.hrfooter {
  text-align: center; 
  padding: 20px 0;
  background: #f9fafb;
  width: 100%; 
  display: block; 
  margin-top: auto;
}

.hrfooter hr {
  height: 1px;
  border: none;
  background: #dedede;
  width: 100%; 
  margin: 10px auto; 
}

.hrfooter p {
  font-size: 0.9rem;
  color: #333;
  margin: 0 auto; 
  max-width: 800px; 
  line-height: 1.6;
}

.hrfooter a {
  color: #0b3d91;
  text-decoration: none;
}

.hrfooter a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 1118px) {
  .footer-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding: 40px 60px;
  }
  .footer-col {
    flex: 1;
  }
  .hrfooter {
    padding: 20px 60px;
  }
}

/*======================================================
  4. LOADER (PRELOADER)
======================================================*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--body-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 60px;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side, var(--text-color) 90%, #0000);
    background: 
        var(--_g) 0%   50%,
        var(--_g) 50%  50%,
        var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}

.loader-hide {
    opacity: 0;
    visibility: hidden;
}

/*======================================================
  5. GLOBAL REUSABLE CLASSES & STRUCTURE
======================================================*/
.site-main {
  padding-top: var(--header-height);
}

@media screen and (min-width: 1118px) {
  .site-main {
    padding-top: calc(var(--header-height) + 2rem);
  }
}

.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }
}

.bg-light {
    background-color: var(--first-color-lighten);
}

.text-center {
    text-align: left !important;
}

/* --- SCROLL ANIMATION HOOKS (Triggered by JS) --- */
.reveal-on-scroll {
    opacity: 1 !important; 
    transform: translateY(0) !important; 
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    will-change: opacity, transform;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= SPECIFIC CENTERING OVERRIDES ================= */
.recognitions, 
.recognitions .text-center,
.pledge, 
.pledge .text-center,
.movement, 
.movement .text-center {
    text-align: center !important;
}

.recognitions .section__label,
.recognitions .section__title,
.recognitions .section__subtitle,
.recognitions .section__description,
.pledge .section__label,
.pledge .pledge__title,
.pledge .pledge__description,
.movement .section__label,
.movement .section__title,
.movement .section__subtitle,
.movement .section__description {
    text-align: center !important;
    margin-inline: auto !important; 
    display: block;
}
/* ============================================================== */

.section {
    padding-block: 5rem 2rem;
    text-align: left; 
}

.section__label {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--first-color);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-align: left; 
}

.section__title {
    font-size: 2.25rem;
    color: var(--title-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left; 
}

.section__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: left;
}

.section__subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    text-align: left;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--first-color);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: var(--font-medium);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncier animation */
    border: 2px solid transparent;
}

.button:hover {
    background-color: hsl(220, 65%, 42%); /* <--- This is a much lighter, brighter blue */
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.15); 
}
.button--small {
    padding: 0.75rem 1.5rem;
    font-size: var(--small-font-size);
}

.button--outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.button--outline:hover {
    background-color: #fff;
    color: var(--first-color);
}

.button--white {
    background-color: #fff;
    color: var(--title-color);
}

.button--white:hover {
    background-color: var(--first-color-lighten);
}

.link-arrow {
    color: var(--first-color);
    font-weight: var(--font-semi-bold);
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
    transition: column-gap 0.3s, transform 0.3s ease;
}

.link-arrow:hover {
    column-gap: 0.5rem;
    transform: translateX(4px); /* Animated link arrow */
}

/*======================================================
  6. HOME PAGE SECTIONS
======================================================*/

/*=============== HERO SECTION ===============*/
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - var(--header-height) - 2rem);
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding-block: 4rem 2rem;
    overflow: hidden;
    background-image:  url('/assets/images/overlay-hero-section.png');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeIn 1s ease-in-out; /* Hero background fade in */
}

.hero__container {
    position: relative;
    z-index: 2; 
    width: 100%;
    padding-inline: 1.5rem; 
}

.hero__content {
    max-width: 800px;
    margin: 0 auto; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
}

/* Hero Staggered Load Animations */
.hero__subtitle {
    display: block;
    color: var(--first-color-lighten);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s; /* Animated load */
}

.hero__title {
    color: var(--white-color);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s; /* Animated load */
}

.hero__description {
    color: var(--white-color);
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s; /* Animated load */
}

.hero__small-text {
    color: var(--first-color-lighten);
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s; /* Animated load */
}

.hero__buttons {
    display: flex;
    justify-content: flex-start; 
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s; /* Animated load */
}

/*=============== RECOGNITIONS ===============*/
.recognitions__container {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.recognitions__badge {
    background-color: var(--white-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px hsla(220, 68%, 12%, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-medium);
    color: var(--title-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.recognitions__badge:hover {
    transform: translateY(-5px) scale(1.03); 
    box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.1);
}

.recognitions__badge i {
    font-size: 1.5rem;
    color: var(--first-color);
}

/*=============== GRIDS (ABOUT, EQUIPMENT, SUSTAINABILITY, CAREER) ===============*/
.about__container,
.equipment__container,
.sustainability__container,
.career__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.about__img,
.equipment__img,
.sustainability__img,
.career__img {
    border-radius: 12px;
    box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.1);
    width: 100%;
    height: 350px; /* Constrains height to keep image short */
    object-fit: cover; /* Ensures image isn't squished but perfectly cropped */
    transition: transform 0.5s ease, box-shadow 0.5s ease; /* Animated Images */
}

.about__img:hover,
.equipment__img:hover,
.sustainability__img:hover,
.career__img:hover {
    transform: translateY(-8px); /* Image Lift on hover */
    box-shadow: 0 20px 30px hsla(220, 68%, 12%, 0.15);
}

.equipment__list,
.sustainability__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.equipment__item,
.sustainability__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}

.equipment__item i,
.sustainability__list i {
    font-size: 1.25rem;
    color: var(--first-color);
    margin-top: 2px;
}

/*=============== SERVICES / CAPABILITIES ===============*/
.services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.services__card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; 
    border: 1px solid transparent;
    text-align: left; 
}

.services__card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.1);
    border-color: var(--first-color-lighten);
}

.services__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.4s ease, transform 0.4s ease; 
}

.services__card:hover .services__icon {
    background-color: var(--first-color);
    transform: scale(1.1) rotate(5deg); 
}

.services__icon i {
    font-size: 1.8rem;
    color: var(--first-color);
    transition: color 0.4s ease;
}

.services__card:hover .services__icon i {
    color: var(--white-color);
}

.services__title {
    font-size: 1.25rem;
    color: var(--title-color);
    margin-bottom: 1rem;
}

.services__description {
    font-size: var(--small-font-size);
}

/*=============== PLEDGE (LANDSCAPE) ===============*/
.pledge {
    background: url('/assets/images/pledge-landscape.jpg') center/cover no-repeat fixed;
    position: relative;
    width: 100%;
    text-align: center !important; 
}

.pledge__overlay {
    background-color: rgba(11, 36, 71, 0.85); 
    padding-block: 8rem;
    width: 100%;
    height: 100%;
}

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

.pledge__title {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.pledge__description {
    color: var(--first-color-lighten);
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.8;
}

/*=============== MOVEMENT THAT MATTERS ===============*/
.movement__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.movement__card {
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 2rem;
    border: 1px solid var(--first-color-lighten);
    border-radius: 12px;
    transition: all 0.4s ease; 
    background-color: var(--white-color);
    text-align: center !important; 
}

.movement__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.1);
    border-color: var(--first-color);
}

.movement__card i {
    font-size: 2.5rem;
    color: var(--first-color);
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}

.movement__card:hover i {
    transform: scale(1.15); 
}

.movement__card h3 {
    color: var(--title-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/*=============== CTA SECTION ===============*/
.cta {
    padding-block: 4rem; 
}

.cta__container {
    background-color: var(--first-color-lighten);
    padding: 4rem;
    border-radius: 1.5rem;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    transition: box-shadow 0.4s ease;
}

.cta__container:hover {
    box-shadow: 0 15px 30px hsla(220, 68%, 12%, 0.05); 
}

.cta__content {
    text-align: left; 
}

.cta__title {
    color: var(--title-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta__description {
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta__buttons, .cta__button {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

/*======================================================
  7. OTHER COMPONENTS (About, Contact)
======================================================*/

/* Vision & Values Grids */
.vision__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.vision__card {
    background-color: var(--white-color);
    padding: 3.5rem;
    border-radius: 1.5rem;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vision__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.vision__icon {
    width: 90px;
    height: 90px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 0 1.5rem 0; 
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.values__item {
    text-align: left;
    padding: 2.5rem 2rem;
    background-color: var(--white-color);
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.values__item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.values__icon {
    font-size: 3rem;
    color: var(--first-color);
    margin-bottom: 1rem;
    display: block;
}

/* Form Styles */
.form__container {
    max-width: 800px;
    margin: 0;
    background-color: #fff;
    padding: 3.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form__header {
    text-align: left;
    margin-bottom: 3rem;
}

.contact__form {
    display: grid;
    row-gap: 2rem;
}

.form__group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form__div {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
}

.form__label {
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.form__input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #f9f9f9;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    outline: none;
    transition: all 0.3s ease;
}

.form__input:focus {
    border-color: var(--first-color);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form__area textarea {
    height: 150px;
    resize: none;
}

/*======================================================
  8. RESPONSIVE ADJUSTMENTS
======================================================*/

/* 1. TABLET & SMALL LAPTOP (Max width 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        margin-inline: 2rem;
    }

    /* Grids remain 2 columns on Tablet */
    .about__container, 
    .sustainability__container,
    .equipment__container,
    .career__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services__container,
    .movement__container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Recognitions strictly 2 per line on Tablet & Mobile */
    .recognitions__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .recognitions__badge {
        padding: 1rem 0.5rem;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .about__img, .equipment__img, .sustainability__img, .career__img {
        height: 300px; /* Scales image down for tablets safely */
    }

    .hero__title {
        font-size: 3rem;
    }
    
    .pledge__title {
        font-size: 2.5rem;
    }

    /* Force CTA to center on tablet/mobile */
    .cta__container {
        padding: 2.5rem;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        justify-content: center;
    }
    
    .cta__content {
        text-align: center !important;
        width: 100%;
    }

    .cta__buttons, .cta__button {
        justify-content: center; 
    }
    
    /* TABLET FULL SCREEN HERO */
    .hero {
        min-height: 100vh;
        background-image: url('/assets/images/overlay-hero-section-tablet.png');
    }
}

/* 2. MOBILE & TABLET PORTRAIT (Max width 768px) */
@media screen and (max-width: 768px) {
    /* Stack components for Mobile Phones */
    .about__container, 
    .sustainability__container,
    .equipment__container,
    .career__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }

    /* Reorder images to top on mobile */
    .about__img, .equipment__img, .sustainability__img, .career__img {
        order: -1;
        margin: 0 auto;
        max-width: 500px;
        height: 250px; /* Keep banner style short on tiny screens */
    }

    /* MOBILE FULL SCREEN HERO */
    .hero {
        min-height: calc(100vh - var(--header-height)); 
        padding-top: 4rem;
        background-image:  url('/assets/images/overlay-hero-section-mobile.png');
    }
    
    .hero__content {
        padding-inline: 1rem;
        max-width: 100%;
        align-items: flex-start; 
    }

    .hero__buttons {
        justify-content: flex-start;
    }

    /* CARD GRIDS Mobile */
    .services__container,
    .movement__container,
    .vision__grid,
    .values__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form__group {
        grid-template-columns: 1fr;
    }
}

/* 3. SMALL MOBILE (Max width 360px) */
@media screen and (max-width: 360px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__small-text {
        font-size: 0.65rem;
    }
    
    .button {
        width: 100%;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .services__card {
        padding: 1.5rem;
    }

    .footer-row {
        grid-template-columns: 1fr;
    }
}

/* 4. LARGE SCREENS (Min width 1440px) */
@media screen and (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
    .hero__title {
        font-size: 4.5rem;
    }
}

/*======================================================
  ABOUT US PAGE SPECIFIC STYLES
======================================================*/

/* 1. HERO RESPONSIVE BACKGROUNDS */
.hero--about {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 3.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 4rem 2rem;
    overflow: hidden;
}
.hero--about .hero__bg-img {
    background-image: linear-gradient(rgba(11, 36, 71, 0.8), rgba(11, 36, 71, 0.8)), url('/assets/images/about-hero-bg.jpg');
}
@media screen and (max-width: 1024px) {
    .hero--about .hero__bg-img {
        background-image: linear-gradient(rgba(11, 36, 71, 0.8), rgba(11, 36, 71, 0.8)), url('/assets/images/about-hero-bg-tablet.jpg');
    }
}
@media screen and (max-width: 768px) {
    .hero--about {
        min-height: calc(100vh - var(--header-height)); 
        padding-top: 4rem;
    }
    .hero--about .hero__bg-img {
        background-image: linear-gradient(rgba(11, 36, 71, 0.8), rgba(11, 36, 71, 0.8)), url('/assets/images/about-hero-bg-mobile.jpg');
    }
}

/* 2. REUSABLE COMPONENTS & STRIPPED BLUE LINKS */
.about__img-real {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.1);
}

.address__text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.address__text a:hover {
    color: var(--first-color);
}

.about__stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap; 
}
.stat__number {
    font-size: 2.5rem;
    color: var(--first-color);
    font-weight: 700;
    line-height: 1;
}
.stat__title {
    font-size: var(--smaller-font-size);
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    display: block;
    margin-top: 0.25rem;
}

/* 3. EXPANDABLE STORY SECTIONS */
.story__preview { margin-bottom: 1.5rem; }
.story__extra-content { 
    max-height: 0; 
    overflow: hidden; 
    opacity: 0; 
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease-in-out; 
}
.story__extra-content.show { 
    max-height: 2000px; 
    opacity: 1; 
    margin-bottom: 1rem; 
}

/* 4. NEW FOUNDERS GRID (SIDE BY SIDE) */
.founders__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.founder__card {
    background-color: var(--white-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.05);
    display: flex;
    flex-direction: column;
}

/* UPDATED: Smaller Founder Images */
.founder__img {
    width: 100%;
    height: 250px; /* Reduced from 350px */
    object-fit: cover;
    object-position: top center; /* Prevents faces from getting cut off */
}

.founder__data {
    padding: 2.5rem;
    text-align: left;
}
.founder__name {
    font-size: 1.5rem;
    color: var(--title-color);
    margin-bottom: 0.25rem;
}
.founder__role {
    display: block;
    font-size: 0.9rem;
    color: var(--first-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 5. CLEAN FOUNDER QUOTE CARD */
.founder-quote { 
    background-color: var(--white-color); 
    padding: 4rem; 
    border-radius: 1.5rem; 
    text-align: left; 
    margin: 2rem 0; 
    box-shadow: 0 12px 32px hsla(220, 68%, 12%, 0.05);
    border-left: 8px solid var(--first-color);
}
.founder-quote__icon { 
    font-size: 3rem; 
    color: var(--first-color); 
    opacity: 0.5; 
    display: inline-block;
    margin-bottom: 1rem; 
}
.founder-quote__text { 
    font-size: 1.5rem; 
    font-weight: 500; 
    color: var(--title-color); 
    line-height: 1.7; 
    margin-bottom: 2.5rem; 
    max-width: 900px;
}
.founder-quote__profile { 
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}
.founder-quote__name { 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: var(--title-color); 
    display: block; 
}
.founder-quote__role {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* 6. ADDRESS & MAP */
.address__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}
.address__data {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
}
.address__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.address__item i {
    font-size: 2rem;
    color: var(--first-color);
    background-color: var(--white-color);
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 8px 20px hsla(220, 68%, 12%, 0.05);
    display: inline-flex;
}
.address__title {
    font-size: 1.25rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}
.address__text {
    color: var(--text-color);
    line-height: 1.6;
}
.address__map {
    width: 100%;
    min-height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 24px hsla(220, 68%, 12%, 0.1);
}

/* 7. GRIDS & RESPONSIVE QUERIES */
.infrastructure__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}
.infrastructure__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.infrastructure__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.infrastructure__list i {
    font-size: 1.25rem;
    color: var(--first-color);
    margin-top: 2px;
}
.values__icon {
    font-size: 3rem; 
    color: var(--first-color); 
    margin-bottom: 1rem; 
    display: block;
}

@media screen and (max-width: 1024px) {
    .infrastructure__container { grid-template-columns: 1fr; gap: 3rem; }
    .about__img-real { height: 300px; }
    .address__container { grid-template-columns: 1fr; gap: 3rem; }
    .founders__grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .founder-quote { padding: 2.5rem 1.5rem; border-left-width: 5px; }
    .founder-quote__text { font-size: 1.2rem; }
    .founder-quote__icon { font-size: 2.5rem; }
    .about__img-real { height: 250px; margin-top: 2rem; }
    .address__map { min-height: 300px; }
}

/*======================================================
  CREATIVE CONTACT & SUCCESS PAGE STYLES
======================================================*/

/* --- 1. Hero Background Pan Animation --- */
@keyframes bgPan {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.hero__bg-animated {
    animation: bgPan 20s ease-in-out infinite;
}

/* --- 2. Contact Grid Layout --- */
.contact__grid {
    display: grid;
    grid-template-columns: 5fr 7fr; 
    gap: 4rem;
    align-items: start;
}

/* --- 3. Floating Contact Icons --- */
@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}
.contact__details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.contact__item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: floatIcon 4s ease-in-out infinite;
}
.contact__item:hover {
    transform: translateX(10px) !important; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: var(--first-color-lighten);
    animation-play-state: paused;
}
.contact__icon-box {
    width: 60px;
    height: 60px;
    background: var(--first-color-lighten);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.4s, transform 0.4s;
}
.contact__icon-box i {
    font-size: 1.8rem;
    color: var(--first-color);
    transition: color 0.4s;
}
.contact__item:hover .contact__icon-box {
    background: var(--first-color);
    transform: rotate(10deg) scale(1.1);
}
.contact__item:hover .contact__icon-box i {
    color: #fff;
}
.contact__item-title {
    font-size: 1.15rem;
    color: var(--title-color);
    margin-bottom: 0.25rem;
}
.contact__item-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact__item-text a:hover {
    color: var(--first-color);
}

/* --- 4. Map Section --- */
.map__section {
    width: 100%;
    line-height: 0; /* Removes gap under iframe */
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

/* --- 5. Interactive Form Styling --- */
.contact__form-container {
    background-color: var(--white-color);
    padding: 3.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px hsla(220, 68%, 12%, 0.08);
    position: relative;
    overflow: hidden;
}
.contact__form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--first-color), #4facfe);
}
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.form__group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form__box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}
.form__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form__input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    background-color: #f4f6fa;
    color: var(--title-color);
    font-family: var(--body-font);
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}
.form__input:focus {
    background-color: var(--white-color);
    border-color: var(--first-color);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.1);
    transform: translateY(-3px); 
}
textarea.form__input {
    resize: vertical;
    min-height: 120px;
}
.select__wrapper { position: relative; }
.select__wrapper select { appearance: none; cursor: pointer; }
.select__icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--first-color);
    pointer-events: none;
}
.form__submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    padding: 1.25rem;
    font-size: 1rem;
    letter-spacing: 1px;
}
.form__submit-btn i { transition: transform 0.4s ease; }
.form__submit-btn:hover i { transform: translateX(5px) translateY(-5px); }

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.form__stagger-1 { animation: slideUpFade 0.6s ease forwards 0.2s; opacity: 0; }
.form__stagger-2 { animation: slideUpFade 0.6s ease forwards 0.4s; opacity: 0; }
.form__stagger-3 { animation: slideUpFade 0.6s ease forwards 0.6s; opacity: 0; }
.form__stagger-4 { animation: slideUpFade 0.6s ease forwards 0.8s; opacity: 0; }
.form__stagger-5 { animation: slideUpFade 0.6s ease forwards 1.0s; opacity: 0; }

/* --- 6. Success Page Animations & Blueprint --- */

.success__card {
    background-color: var(--white-color);
    padding: 5rem 3rem 4rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 10;
    transition: transform 0.4s ease;
}
.success__card:hover {
    transform: translateY(-5px);
}
.success__badge {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--first-color-lighten);
    color: var(--first-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success__icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 1.5rem auto 2rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.success__icon {
    font-size: 5rem;
    color: var(--first-color);
    position: relative;
    z-index: 2;
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.success__pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--first-color);
    opacity: 0.2;
    animation: pulsingRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulsingRing {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2; /* Put above blueprint, behind card */
    opacity: 0.4;
}
.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--first-color);
    top: 10%;
    left: 20%;
    animation: floatIcon 6s ease-in-out infinite alternate;
}
.glow-orb-2 {
    width: 250px;
    height: 250px;
    background: #4facfe;
    bottom: 10%;
    right: 20%;
    animation: floatIcon 8s ease-in-out infinite alternate-reverse;
}

/* --- 7. Responsive Fixes --- */
@media screen and (max-width: 968px) {
    .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact__item { animation: none; }
}
@media screen and (max-width: 576px) {
    .form__group { grid-template-columns: 1fr; }
    .contact__form-container { padding: 2.5rem 1.5rem; }
    .success__card { padding: 4rem 1.5rem 3rem; }
    
}