@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');

html {
  scroll-behavior: smooth;
}


/* GLOBAL RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a{
  text-decoration: none;
}

:root {
  --accent: #1ea1ff;
  --overlay-start: rgba(3, 18, 42, 0.45);
  --overlay-end: rgba(3, 18, 42, 0.25);
  --text-max-width: 1100px;
  --vh: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* ===================================
   NAVBAR - With Hamburger for Mobile
=================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 10px 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  height: 100px;
  width: 100px;
}

.navbar__logo {
  font-size: 5rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  transition: all 0.3s ease;
}

.navbar__menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
}

.navbar__menu a:hover {
  background-color: #fff;
  color: #000;
  padding: 12px;
  border-radius: 6px;
  transform: translateX(8px);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 11;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__menu li {
    margin: 0;
    text-align: center;
  }

  .navbar__menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    padding: 15px 20px;
  }
}

/* ===================================
   HERO SECTION
=================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--overlay-start) 0%, rgba(3, 18, 42, 0.05) 40%, var(--overlay-end) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  top: 35%;
  width: 100%;
  max-width: var(--text-max-width);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.hero__title {
  font-size: clamp(28px, 50vw, 5rem);
  line-height: 0.5;
  text-shadow: 2px 6px 0px rgba(2, 8, 20, 0.45);
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  color: #ffffff;
}

.hero__description {
  font-size: 2rem;
  text-align: center;
  text-shadow: 2px 4px 0px rgba(2, 8, 20, 0.45);
  font-family: "Bebas Neue", sans-serif;
}

/* ===================================
   ABOUT SECTION
=================================== */
.about {
  position: relative;
  background: #5f8aff center/cover fixed;
  color: #fff;
  overflow: hidden;
  padding: 2% 10%;
  height: auto;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 0;
}

.about > * {
  position: relative;
  z-index: 1;
}

.about-head {
  text-align: center;
  max-width:100%;
  margin: 0 auto 0px;
}

.about-head h2 {
  font-size: 4rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.about-head p {
  font-size: 1.5rem;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 2%;
}

.rankings{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  border: 2px solid #fff;
  border-radius: 24px;
  margin-top: 2%;
}
.rankings img{
  height: 400px;
  width: 400px;
}

.rankings p{
  font-size: 2rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  text-align: center;
  padding: 24px;
}

/* ABOUT Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 320px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease-out;
}

.tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.6s ease;
}

.tile:hover img {
  transform: scale(1.1);
}

.tile:hover .tile__overlay {
  transform: translateY(0);
}

/* ===================================
   WHAT WE DO SECTION
=================================== */
.what-we-do {
  background: linear-gradient(180deg, #e9f6ff, #dff5ff);
  text-align: center;
  overflow: hidden;
}

.scroll-showcase {
  position: relative;
  width: 100%;
  height: 300vh;
}

.panel {
  position: sticky;
  top: 0;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.panel-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: left;
  max-width: 100%;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

.panel-details {
  width: 70%;
}

.panel-img {
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
}

.panel-content h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.panel-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #e6e9f0;
}

/* ===================================
   INITIATIVES
=================================== */
.initiatives {
  background: linear-gradient(180deg, #e9f6ff, #dff5ff);
  padding: 100px 5%;
  text-align: center;
  overflow: hidden;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.initiative-card {
  position: relative;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1), rgba(0,0,0,0.6)),
              var(--bg) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.initiative-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  transition: opacity 0.3s ease;
}

.initiative-card:hover {
  transform: perspective(800px) rotateY(10deg) rotateX(4deg) scale(1.03);
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}

.initiative-card:hover::before {
  opacity: 0.9;
}

.initiative-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
  text-align: left;
}

.initiative-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.initiative-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #e6e6e6;
}

/* ===================================
   CONTACT SECTION
=================================== */
.contact-container {
  position: relative;
  background-image: url('public_html/img/doodle1.jpg');
  background-size: cover;
  background-position: center;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 0;
}

.contact-container > * {
  position: relative;
  z-index: 1;
}

.contact-section {
  width: 80%;
  margin: 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.contact-details {
  color: #ffffff;
}

.contact-details h3 {
  font-size: 2.8rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.2rem;
}

.contact-details a,p{
  font-size: 1.6rem;
}
.section-title{
  font-size: 3rem;
}
.map {
  padding: 24px 12px;
  background-color: #ffffff;
  border-radius: 12px;
}

.footer-info {
  width: 100%;
  text-align: center;
  padding: 20px 0;
}
.footer-info p{
  font-size: 1rem;
}

/* ===================================
   ENHANCED RESPONSIVENESS
=================================== */
@media (max-width: 768px) {

  /* Navbar - Hamburger Active */
  .hamburger {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__menu li {
    margin: 0;
    text-align: center;
  }

  .navbar__menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    padding: 15px 20px;
  }

  /* Hero */
  .hero {
    height: 90vh;
  }

  .hero__content {
    top: 25%;
    padding: 24px;
    text-align: center;
  }

  .hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero__description {
    font-size: 1.1rem;
  }

  /* About */
  .about {
    padding: 60px 5%;
    height: auto;
  }

  .about-head h2 {
    font-size: 2rem;
  }

  .about-head p {
    font-size: 1rem;
  }

  .tiles {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Panels */
  .panel-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .panel-details {
    width: 100%;
  }

  .panel-img {
    margin-top: 16px;
    width: 100%;
  }

  .panel-img img {
    width: 100%;
    border-radius: 8px;
  }

  /* Initiatives */
  .initiatives {
    padding: 60px 5%;
  }

  .initiative-card {
    height: 300px;
  }

  /* Contact */
  .contact-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .contact-details {
    width: 100%;
    order: 2;
  }

  .map {
    width: 100%;
    padding: 0;
    order: 1;
  }

  .map iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
  }

  .contact-details h3 {
    font-size: 1.4rem;
  }

  .contact-details p {
    font-size: 1rem;
  }

  .footer-info p {
    font-size: 0.9rem;
  }
}

/* Tiny screens (under 480px) */
@media (max-width: 480px) {

  .logo img {
    height: 40px;
    width: 40px;
  }

  .navbar__logo {
    font-size: 1.5rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .initiative-content h3 {
    font-size: 1.2rem;
  }
}

.address-link{
  color: #fff;
}