/* Base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #0b1320;
  background: #fff;
  /* Added padding-top so content isn't hidden behind the fixed top navbar */
  padding-top: 85px; 
}

/* Containers */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* App Bar - STICKY TO TOP */
.appbar {
  position: fixed; /* Fixed ensures it stays at the top while scrolling */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  backdrop-filter: saturate(1.1) blur(12px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px dashed #cdd6e1;
}
.appbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 2px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand__img {
    width: 260px;
    height: 35px;
    object-fit: contain;
    border-radius: 0;
}

.nav {
  display: none;
  gap: 24px;
}
/* Mobile Menu - Opens DOWNWARDS */
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%; /* Opens below the navbar */
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px;
  border-bottom: 1px dashed #cdd6e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
@media (min-width: 880px) {
  .nav {
    display: inline-flex;
    position: static;
    flex-direction: row;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
  }
}
.nav__link {
  text-decoration: none;
  color: #273043;
  font-weight: 520;
  opacity: 0.85;
  padding: 8px 0;
}
.nav__link:hover {
  opacity: 1;
}
.nav__link.is-active {
  color: #0b1320;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #0b1320;
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.cta__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3cf47a;
  box-shadow: 0 0 0 3px rgba(60, 244, 122, 0.25);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0b1320;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 879px) {
  .menu-toggle {
    display: flex;
  }
}

/* Hero */
.page {
  padding: 26px 0 60px;
  background: #fff;
}
.hero__card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: clamp(520px, 62vw, 680px);
  background: #0b0f18;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05) blur(1px);
  transform: scale(1.02);
  transition: background-image 0.3s ease-in-out;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 25% 35%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45)),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 85%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 4.5vw, 40px) clamp(18px, 4.2vw, 40px);
  color: #fff;
  max-width: 760px;
}
.hero__title {
    margin: 102px 0 68px;
    line-height: 1.05;
    letter-spacing: 1.5px;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 48px);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero__subtitle {
  margin: 14px 0 22px;
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.6;
  color: #e9eef8;
}

/* Carousel controls */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.banner-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display: inline-flex;
  gap: 8px;
  z-index: 10;
}
.banner-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
}
.banner-dots button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
}

/* EVENTS SECTION */
.events {
  padding: 40px 0 80px;
  text-align: center;
}
.events-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: #273043;
}
.events-header p {
  color: #6b7486;
  margin: 8px auto 24px;
  max-width: 720px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* --- UPDATED EVENT CARD STYLES FOR SQUARE LOOK --- */
.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* Make it square */
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.event-image {
  width: 100%;
  height: 80%; /* Takes up 80% of the card height */
  object-fit: cover;
}
.event-details {
  height: 20%; /* Takes up 20% of the card height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}
.event-details h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #273043;
}
/* ------------------------------------------------ */

.event-result-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 16px;
  background-color: #0b1320;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}
.is-hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: #e0f8e7;
  padding: 60px 0;
}
.why-choose-us .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.why-choose-us-header {
  margin-bottom: 40px;
}
.why-choose-us-chip {
  display: inline-block;
  background-color: #a4e4b5;
  color: #2d663b;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.why-choose-us .section-title {
  font-size: 38px;
  font-weight: 700;
  color: #0b1320;
  margin: 0;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 12px 30px rgba(0, 0, 0, 0.12);
}
.service-icon img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #273043;
  margin-bottom: 8px;
}

/* Featured Products Section */
.featured-products {
  background-color: #f7f9fd;
  padding: 80px 0;
  text-align: center;
}
.featured-products-chip {
  display: inline-block;
  background-color: #e0e6ef;
  color: #4b5567;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.featured-products h2 {
  font-size: 38px;
  font-weight: 700;
  color: #0b1320;
  margin-bottom: 50px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}
.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.product-item-image {
    width: 100%;
    aspect-ratio: 3 / 3;
    object-fit: cover;
    margin-bottom: 29px;
}
.product-item-title {
  font-size: 20px;
  font-weight: 600;
  color: #273043;
}

/* Global Presence Section */
.global-presence {
  padding: 80px 0;
}
.global-presence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .global-presence-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
  }
}
.global-presence-chip {
  display: inline-block;
  background-color: #f7f9fd;
  color: #6b7486;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.global-presence-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.global-presence-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.trusted-partner-card {
  background-color: #e0f8e7;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

/* Contact Section */
.contact-section {
  background-color: #0b1320;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}
.contact-chip {
  display: inline-block;
  background-color: #fff;
  color: #0b1320;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 40px auto 0;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
}
.contact-btn {
  padding: 16px 24px;
  background-color: #3cf47a;
  color: #0b1320;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}
.contact-btn:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: #0b1320;
  color: #cdd6e1;
  padding: 40px 0;
}
.footer-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.footer-social img {
  width: 24px;
  height: 24px;
}
.footer-copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}
.contact-icon {
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
}


/* =========================================
   TIMELINE SECTION STYLES
   ========================================= */

.timeline-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column; /* Allows Title to be above timeline */
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  background-color: #111;
  font-family: "Montserrat", sans-serif;
}

.timeline-title {
  color: white;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 32px;
}

/* Scroll Wrapper for the timeline */
.timeline-scroll-wrapper {
  width: 100%;
  max-width: 1000px;
  max-height: 700px; /* Fixed height for scrolling */
  overflow-y: auto;  /* Enable vertical scroll */
  padding: 20px;
  /* Scrollbar Styling (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: #3cf47a #222;
}

/* Scrollbar Styling (Webkit/Chrome/Safari) */
.timeline-scroll-wrapper::-webkit-scrollbar {
  width: 8px;
}
.timeline-scroll-wrapper::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}
.timeline-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #3cf47a; /* Green thumb */
  border-radius: 10px;
}

.timeline {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline ul li {
  padding: 20px;
  background-color: #1e1f22;
  color: white;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Card Hover Effect */
.timeline ul li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.timeline ul li:last-child {
  margin-bottom: 0;
}
.timeline-content h1 {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 8px;
  margin-top: 0;
  color: #fff;
}
.timeline-content p {
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
  margin: 0;
  color: #ccc;
}
.timeline-content .date {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3cf47a; /* Green Date */
}

@media only screen and (min-width: 768px) {
  /* THE CENTRAL LINE */
  .timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0; /* Ensures it stretches fully top to bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #555; /* Visible Gray Line */
  }
  
  .timeline ul li {
    width: 50%;
    position: relative;
    margin-bottom: 50px;
  }
  .timeline ul li:nth-child(odd) {
    float: left;
    clear: right;
    transform: translateX(-30px);
    border-radius: 20px 0px 20px 20px;
    text-align: right; /* Align text to spine */
  }
  .timeline ul li:nth-child(even) {
    float: right;
    clear: left;
    transform: translateX(30px);
    border-radius: 0px 20px 20px 20px;
    text-align: left;
  }
  
  /* THE DOTS */
  .timeline ul li::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #555; /* Default Gray Dot */
    top: 0px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 3px solid #111; /* Add border to separate from background */
  }
  .timeline ul li:nth-child(odd)::before {
    right: -42px; /* Adjusted to sit exactly on the line */
    /* Remove transform translate to simplify positioning */
  }
  .timeline ul li:nth-child(even)::before {
    left: -42px; /* Adjusted to sit exactly on the line */
  }
  
  .timeline-content .date {
    position: absolute;
    top: -30px;
  }
  .timeline ul li:nth-child(odd) .date {
    right: 0;
  }
  .timeline ul li:nth-child(even) .date {
    left: 0;
  }

  /* Hover Effect on DOT */
  .timeline ul li:hover::before {
    background-color: #3cf47a; /* Green on Hover */
    transform: scale(1.2);      /* Grow slightly */
  }
}

/* Clearfix for floated timeline items */
.timeline:after {
  content: "";
  display: table;
  clear: both;
}