/* ========================================================= */
/* --- NAV BAR, LINKS, ICONS, & DROPDOWNS --- */
/* ========================================================= */

.navbar-brand img {
  height: 50px;
  margin-left: 60px;
  animation: logoJiggle 0.5s ease-in-out 0.5s 1 forwards;
}

.nav-link {
  color: black !important;
  margin-right: 15px;
  font-weight: 500;
  opacity: 0;
  animation: navSlideDown 0.5s ease-out forwards;
}

/* Nav link staggered delays */
.nav-link:nth-child(1) {
  animation-delay: 0.8s;
}

.nav-link:nth-child(2) {
  animation-delay: 0.9s;
}

.nav-link:nth-child(3) {
  animation-delay: 1.0s;
}

.nav-link:nth-child(4) {
  animation-delay: 1.1s;
}

.nav-link:nth-child(5) {
  animation-delay: 1.2s;
}

.nav-link:nth-child(6) {
  animation-delay: 1.3s;
}

.nav-link:nth-child(7) {
  animation-delay: 1.4s;
}

.nav-link:hover {
  color: #0056b3 !important;
}

/* Icon Buttons (Search, Translate) */
.icon-btn {
  background: none;
  border: none;
  margin-left: 10px;
  font-size: 1.2rem;
  color: black;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.icon-btn:hover {
  transform: scale(1.1);
}

.icon-btn:hover i {
  color: #0056b3;
}

/* Google Translate Widget Container Styles */
#google_translate_element {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 9999;
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
}

.goog-te-spinner-pos {
  display: none !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

/* --- Dropdown Fixes & Mega-Menu Specific Styles --- */
.nav-item.dropdown-hover {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Animation Keyframes (Nav links) */
@keyframes navSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation delays (Re-declared for completeness) */
.nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.nav-link:nth-child(2) {
  animation-delay: 0.2s;
}

.nav-link:nth-child(3) {
  animation-delay: 0.3s;
}

.nav-link:nth-child(4) {
  animation-delay: 0.4s;
}

.nav-link:nth-child(5) {
  animation-delay: 0.5s;
}

.nav-link:nth-child(6) {
  animation-delay: 0.6s;
}

.nav-link:nth-child(7) {
  animation-delay: 0.7s;
}

/* Re-declared .nav-link styles */
.nav-link {
  color: black !important;
  margin-right: 15px;

  opacity: 1;
  /* make visible */
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0056b3 !important;
}

/* Small Desktop Adjustments (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-brand img {
    margin-left: 20px;
    height: 45px;
  }

  .nav-link {
    margin-right: 10px;
    font-size: 0.95rem;
  }

  .icon-btn {
    margin-left: 5px;
    font-size: 1.1rem;
  }

  /* 👇 ADJUSTMENT: Reduced minimum width for a more compact look on smaller desktops */
  .dropdown-menu {
    min-width: 350px;
    max-width: 70vw;
    /* Added a max width to be responsive */
    min-height: 300px;
  }
}

/* Desktop Hover Functionality (min-width: 992px) */
@media (min-width: 992px) {
  .dropdown-hover:hover>.dropdown-menu {
    display: block;
  }

  .nav-item.dropdown-hover>.dropdown-menu:not(.show) {
    display: none;
  }

  /* 👇 ADJUSTMENT: Reduced minimum width and added a maximum width */
  .dropdown-menu {
    min-width: 500px;
    /* More compact width for standard desktops */
    max-width: 650px;
    /* Prevent it from getting too wide on huge screens */
    min-height: 350px;
    padding: 20px 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .dropdown-menu .row .dropdown-section:not(:first-child) {
    border-left: 1px solid #eee;
  }

  .dropdown-menu-custom-3 {
    min-width: 450px;
    padding: 20px;
    left: unset;
    transform: unset;
  }

  /* ... (rest of the desktop styles remain the same) ... */
  /*
    ... (The rest of the styles in this block continue below this point) ...
    */
}


/* ========================================================= */
/* --- SCROLL BUTTON STYLES --- */
/* ========================================================= */

#scroll-toggle-btn {
  /* Base styles for all screens */
  position: fixed;
  z-index: 1000;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: rgb(19, 17, 17);
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Controlled by JS, but set as default */
  opacity: 0;
  visibility: hidden;
}

#scroll-toggle-btn:hover {
  background-color: #7e99d3;
  transform: scale(1.1);
}

/* ========================================================= */
/* --- FOOTER STYLES --- */
/* ========================================================= */

:root {
  --footer-bg: #000000;
  --text-light: #ffffff;
}

.site-footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

/* Custom Padding Classes for Edge-to-Edge Layout */
.logo-padding-left {
  padding-left: 2rem;
}

.footer-padding-right {
  padding-right: 2rem;
}

/* Headings Style */
.footer-heading {
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

/* TIGHT LIST ITEM SPACING */
.list-unstyled li {
  margin-bottom: 0.2rem;
  padding: 0;
}

.contact-list {
  margin-bottom: 0.5rem;
}

/* Column 1: Logo Elements */
.logo-circle {
  width: 30px;
  height: 30px;
  background-color: var(--text-light);
  border-radius: 50%;
  margin-right: 8px;
}

.logo-line {
  width: 2px;
  height: 30px;
  background-color: var(--text-light);
}

.mission-text {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: -10px;
  text-align: left;
}

/* Button Style */
.book-meeting-btn {
  color: var(--text-light);
  border-color: var(--text-light);
  background-color: transparent;
  padding: 8px 15px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  border-width: 1px;
  margin-top: 0.5rem;
  transition: background-color 0.3s, color 0.3s;
}

.book-meeting-btn:hover {
  color: var(--footer-bg);
  background-color: var(--text-light);
}

/* Footer Submenu Toggle Styles */
.footer-link-toggle {
  font-weight: 600;
  cursor: pointer;
  display: block;
}

.footer-submenu {
  margin-left: 15px;
  margin-top: 5px;
  list-style: none;
  padding-left: 0;
}

.footer-submenu a {
  font-size: 0.95rem;
  text-decoration: none;
}


/* ========================================================= */
/* --- RESPONSIVE STYLES (NAVBAR, FOOTER, SCROLL) --- */
/* ========================================================= */

/* Small Desktop Adjustments (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-brand img {
    margin-left: 20px;
    height: 45px;
  }

  .nav-link {
    margin-right: 10px;
    font-size: 0.95rem;
  }

  .icon-btn {
    margin-left: 5px;
    font-size: 1.1rem;
  }

  .dropdown-menu {
    min-width: 600px;
    min-height: 300px;
  }
}

/* Desktop Hover Functionality (min-width: 992px) */
@media (min-width: 992px) {
  .dropdown-hover:hover>.dropdown-menu {
    display: block;
  }

  .nav-item.dropdown-hover>.dropdown-menu:not(.show) {
    display: none;
  }

  .dropdown-menu {
    min-width: 750px;
    min-height: 350px;
    padding: 20px 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .dropdown-menu .row .dropdown-section:not(:first-child) {
    border-left: 1px solid #eee;
  }

  .dropdown-menu-custom-3 {
    min-width: 450px;
    padding: 20px;
    left: unset;
    transform: unset;
  }

  .dropdown-menu.about-us-menu {
    min-width: 420px;
  }

  .dropdown-menu-custom-3 {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #cce0ff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    padding: 25px;
    min-width: 450px;
    transition: all 0.3s ease-in-out;
  }

  .dropdown-hover:hover .dropdown-menu-custom-3 {
    transform: translateY(5px);
    opacity: 1;
  }

  .dropdown-menu-custom-3 .dropdown-section {
    padding: 10px 20px;
    text-align: left;
  }

  .dropdown-menu-custom-3 h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    text-transform: capitalize;
    margin-bottom: 10px;
    position: relative;
  }

  .dropdown-menu-custom-3 h6::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #000;
    margin-top: 6px;
    border-radius: 2px;
  }

  .dropdown-menu-custom-3 a {
    display: inline-block;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease-in-out;
  }

  .dropdown-menu-custom-3 a:hover {
    color: #0056b3;
    transform: translateX(3px);
  }

  .dropdown-menu-custom-3 p {
    color: #222;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
  }

  .dropdown-menu .dropdown-section {
    padding: 0 35px;
    text-align: center;
  }

  .dropdown-menu h6 {
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: capitalize;
    font-size: 1.1rem;
    color: #333;
  }

  .dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
  }

  .dropdown-menu ul li {
    margin-bottom: 2px;
  }

  .dropdown-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    display: block;
    padding: 2px 0;
    line-height: 1.2;
    text-transform: capitalize;
    transition: all 0.3s ease;
  }

  .dropdown-menu ul li a:hover {
    color: #0056b3;
    background-color: #f8f9fa;
    text-decoration: none;
  }

  .dropdown-menu-custom-3 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .dropdown-menu-custom-3 a:hover {
    color: #0056b3;
    transform: translateX(3px);
  }
}


/* Mobile Styling (max-width: 991.98px) - Navbar & Menu */
@media (max-width: 991.98px) {

  /* Navbar */
  .navbar-brand img {
    margin-left: 10px;
    height: 40px;
  }

  #google_translate_element {
    top: 60px;
    right: 10px;
  }

  .icon-btn {
    display: inline-block;
    margin: 5px 15px 5px 0;
    font-size: 1.3rem;
  }

  /* Collapse Fix */
  .navbar-collapse:not(.show) {
    display: none !important;
  }

  .navbar-collapse.show {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
  }

  /* Nav Links */
  .nav-link {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    padding-left: 20px;
  }

  .navbar-nav {
    margin-top: 5px;
  }

  /* Dropdown/Menu */
  .dropdown-menu {
    position: static !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 10px 10px 25px !important;
    min-width: auto !important;
    transform: none !important;
    display: none;
  }

  .dropdown-menu.show {
    display: block !important;
  }

  .dropdown-menu .row .dropdown-section:not(:first-child) {
    border-left: none;
    margin-top: 15px;
  }

  .dropdown-menu .dropdown-section {
    padding: 0 10px;
    width: 100%;
    text-align: left;
  }

  .dropdown-menu .row,
  .dropdown-menu-custom-3 .row {
    display: block;
  }

  .dropdown-menu-custom-3 {
    min-width: auto;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #ffffff;
  }

  .dropdown-menu-custom-3 .dropdown-section {
    padding: 8px 0;
  }

  .dropdown-menu a,
  .dropdown-menu-custom-3 a {
    padding: 5px 0;
  }
}

/* Footer Responsive Refinements */
@media (max-width: 768px) {

  .logo-padding-left,
  .footer-padding-right {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer .row>div {
    margin-bottom: 30px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .site-footer .row>div {
    margin-bottom: 25px;
  }
}

/* Scroll Button Responsive Styles */
@media (min-width: 577px) {
  #scroll-toggle-btn {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background-color: hsl(180, 9%, 98%);
  }
}

@media (max-width: 576px) {
  #scroll-toggle-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background-color: hsl(180, 9%, 98%);
    color: #000;
  }
}


.icon-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  margin-left: 12px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease, transform 0.2s ease;
}

.icon-btn:hover {
  color: #007bff;
  transform: scale(1.1);
}

.dropdown-hover:hover>.dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar .nav-link {
  font-weight: 500;
  color: #222 !important;
  padding: 10px 15px;
  transition: color 0.3s;
}

.navbar .nav-link:hover {
  color: #007bff !important;
}

/* Gallery dropdown links */
.dropdown-menu a {
  text-decoration: none;
  color: #000 !important;
  transition: color 0.3s ease;
}

/* Optional hover effect */
.dropdown-menu a:hover {
  color: #007bff !important;
  text-decoration: none;
}


/* --- Footer Height Adjustment --- */
.site-footer {
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 350px;
  /* optional */
}

.site-footer .row>div {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Mobile submenu hidden by default */
@media (max-width: 991.98px) {
  .dropdown-hover .dropdown-menu {
    display: none !important;
  }

  /* Show submenu when JS toggles 'show' class */
  .dropdown-hover .dropdown-menu.show {
    display: block !important;
  }
}

/* nav bar gallery dropdown */
/* Small Desktop Adjustments (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-brand img {
    margin-left: 20px;
    height: 45px;
  }

  .nav-link {
    margin-right: 10px;
    font-size: 0.95rem;
  }

  .icon-btn {
    margin-left: 5px;
    font-size: 1.1rem;
  }

  /* 👇 ADJUSTMENT: Reduced minimum width for a more compact look on smaller desktops */
  .dropdown-menu {
    min-width: 350px;
    max-width: 70vw;
    /* Added a max width to be responsive */
    min-height: 300px;
  }
}

/* Desktop Hover Functionality (min-width: 992px) */
@media (min-width: 992px) {
  .dropdown-hover:hover>.dropdown-menu {
    display: block;
  }

  .nav-item.dropdown-hover>.dropdown-menu:not(.show) {
    display: none;
  }

  /* 👇 ADJUSTMENT: Reduced minimum width and added a maximum width */
  .dropdown-menu {
    min-width: 500px;
    /* More compact width for standard desktops */
    max-width: 650px;
    /* Prevent it from getting too wide on huge screens */
    min-height: 150px;
    padding: 20px 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .dropdown-menu .row .dropdown-section:not(:first-child) {
    border-left: 1px solid #eee;
  }

  .dropdown-menu-custom-3 {
    min-width: 450px;
    padding: 20px;
    left: unset;
    transform: unset;
  }

  /* ... (rest of the desktop styles remain the same) ... */
  /*
    ... (The rest of the styles in this block continue below this point) ...
    */
}


.search-suggestions {
  list-style: none;
  margin-top: 10px;
  padding: 0;
  background: #fff;
  border-radius: 6px;
  max-width: 600px;
}

.search-suggestions li {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-suggestions li:hover {
  background: #f1f1f1;
}

/* Highlighted text */
mark {
  background: yellow;
  padding: 2px;
}




















.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* --- Slider Images --- */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active image visible */
.slide.active {
  opacity: 1;
}

/* --- Overlay Content --- */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  top: 45%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: capitalize;
}

/* Optional Play Button */
.play-button {
  width: 60px;
  height: 60px;
  margin: 20px auto;
  border-radius: 50%;
  border: 2px solid white;
  position: relative;
  cursor: pointer;
}

.play-button::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 24px;
  border-left: 12px solid white;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.section-separator-top {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, #00000088, transparent);
  z-index: 1;
}







/* --- Global Reset & Variables --- */
:root {
  --color-dark-blue: #1b263b;
  /* Primary dark color for Team section */
  --color-gold: #c39d6e;
  /* Accent color for lines/text */
  --color-white: #ffffff;
  --font-primary: 'Montserrat', sans-serif;
  --section-padding: 80px 5%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--color-white);
  color: #333;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  text-transform: uppercase;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 1. Hero Section (Header) --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  /* You must replace this image path */
  background-image: url('images/header-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  color: var(--color-white);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 50px;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4);
}



.hero-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 4em;
  margin-bottom: 30px;
}

.play-button {
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Diagonal Separator for Hero Section */
.section-separator-top {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--color-white);
  z-index: 5;
  /* Key for the geometric shape: clip-path */
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}


/* --- 2. Story Section --- */
.story-section {
  background-color: var(--color-white);
  padding: var(--section-padding);
  padding-top: 0;
  position: relative;
  z-index: 6;
}

.story-header {
  text-align: center;
  position: relative;
  margin-bottom: 50px;
}

.logo-ghost {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5em;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.story-header h2 {
  font-size: 3em;
  position: relative;
  padding-top: 20px;
  color: #444;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
  padding: 50px 0;
}

/* Timeline vertical line */
.story-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--color-gold) 0%, rgba(195, 157, 110, 0) 100%);
  z-index: 1;
}

.text-block,
.image-block {
  position: relative;
  z-index: 2;
}

.text-block p {
  font-size: 0.9em;
  padding: 10px;
}

.text-left {
  grid-column: 1 / 2;
  text-align: right;
}

.image-right {
  grid-column: 2 / 3;
}

.image-left {
  grid-column: 1 / 2;
}

.text-right {
  grid-column: 2 / 3;
}

.image-block img {
  border-radius: 5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Timeline dots (for the visual timeline effect) */
.text-left::after,
.image-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: -25px;
  /* Position next to the line */
  width: 10px;
  height: 10px;
  background-color: var(--color-gold);
  border-radius: 50%;
  transform: translateY(50%);
  border: 2px solid var(--color-white);
}

.text-right::after,
.image-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: -25px;
  /* Position next to the line */
  width: 10px;
  height: 10px;
  background-color: var(--color-gold);
  border-radius: 50%;
  transform: translateY(50%);
  border: 2px solid var(--color-white);
}


/* --- 3. Team Section --- */
.team-section {
  /* You must replace this image path */
  background-image: url('images/team-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--color-white);
  padding: var(--section-padding);
  padding-top: 150px;
  padding-bottom: 150px;
  text-align: center;
  box-shadow: inset 0 0 0 1000px rgba(27, 38, 59, 0.7);
  z-index: 1;
}

/* Diagonal Separator for Team Section Top */
.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: var(--color-white);
  z-index: 2;
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

/* Diagonal Separator for Team Section Bottom */
.section-separator-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #48abee88, transparent);
  z-index: 2;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}


.team-section h2 {
  font-size: 3em;
  margin-bottom: 60px;
}

.team-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
}

.team-member {
  flex: 0 1 200px;
  text-align: center;
}

.member-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-white);
  transition: transform 0.3s ease;
}

.member-photo:hover {
  transform: scale(1.05);
  border-color: var(--color-gold);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 1px;
}

.carousel-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  color: #f3eeee;
}

.carousel-arrow:hover {
  opacity: 1;
}




.story-section {
  padding: 80px 10%;
  background-color: #f9f9f9;
  color: #333;
}

.story-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.story-header .logo-ghost {
  display: block;
  font-size: 4rem;
  color: #eaeaea;
  font-weight: 700;
  letter-spacing: 3px;
}

.story-header h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  font-size: 2.5rem;
  color: #222;
}

/* --- GRID LAYOUT --- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
  padding: auto;
}

/* --- TEXT BLOCK --- */
.text-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
}

/* --- IMAGE BLOCK --- */
.image-block {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.image-block img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.6s ease, filter 0.4s ease;
}

/* ✅ Hover effect (zoom + brightness) */
.image-block:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* --- ANIMATION (fade-in on scroll) --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .text-left,
  .text-right {
    text-align: left;
  }

  .story-header .logo-ghost {
    font-size: 3rem;
  }

  .story-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .story-section {
    padding: 60px 5%;
  }

  .text-block p {
    font-size: 1rem;
  }
}






/* --- 4. Gallery Section --- */
.gallery-section {
  background-color: var(--color-white);
  padding: var(--section-padding);
  padding-top: 100px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.gallery-section h2 {
  font-size: 3em;
  margin-bottom: 60px;
}

.gallery-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.gallery-item {
  flex: 0 1 300px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  border-radius: 3px;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item h4 {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  font-size: 0.9em;
  border-radius: 2px;
}

.btn-more {
  background: none;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-more:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}

/* --- 5. Footer --- */
.site-footer {
  background-color: #333;
  color: var(--color-white);
  padding: 30px 5%;
  font-size: 0.9em;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-footer {
  font-size: 1.2em;
  font-weight: 700;
}

.footer-nav a {
  color: var(--color-white);
  text-decoration: none;
  margin-left: 20px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.social-links .social {
  margin-left: 10px;
  cursor: pointer;
  font-size: 1.1em;
  opacity: 0.8;
}

/* --- Keyframe Animations --- */
@keyframes logoJiggle {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes navSlideDown {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}



/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .team-carousel {
    flex-wrap: wrap;
  }

  .carousel-arrow {
    display: none;
  }

  .team-member {
    flex-basis: 40%;
    margin-bottom: 20px;
  }

  .gallery-carousel {
    flex-wrap: wrap;
  }

  .gallery-item {
    flex-basis: 45%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    margin: 15px 0;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3em;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-grid::before {
    left: 20px;
    /* Move timeline line to the left edge */
  }

  .text-left,
  .image-left,
  .text-right,
  .image-right {
    grid-column: 1 / 2;
    text-align: left;
  }

  /* Adjust dots for stacked layout */
  .text-left::after,
  .image-left::after {
    right: auto;
    left: 15px;
  }

  .text-right::after,
  .image-right::after {
    left: 15px;
  }

  .team-member {
    flex-basis: 90%;
  }

  .gallery-item {
    flex-basis: 90%;
  }
}








/* ✅ UNIVERSAL RESPONSIVE FIXES — KEEP ALL ORIGINAL DESIGN & EFFECTS */

/* For very large screens (4K / ultrawide) */
@media (min-width: 1600px) {
  .hero-content h1 {
    font-size: 5rem;
  }

  .story-grid {
    gap: 80px;
  }

  .team-member {
    flex: 0 1 250px;
  }
}

/* For standard desktops & laptops */
@media (max-width: 1200px) {
  .navbar-brand img {
    margin-left: 30px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .story-grid {
    gap: 40px;
  }

  .gallery-item {
    flex: 0 1 260px;
  }
}

/* Tablets landscape */
@media (max-width: 992px) {
  .navbar-brand img {
    height: 45px;
  }

  .nav-link {
    margin-right: 10px;
  }

  .hero-section {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .text-left,
  .text-right {
    text-align: left;
  }

  .image-block img {
    width: 100%;
    height: auto;
  }

  .team-carousel {
    flex-wrap: wrap;
  }

  .team-member {
    flex: 1 1 45%;
    margin-bottom: 25px;
  }

  .gallery-carousel {
    flex-wrap: wrap;
  }

  .gallery-item {
    flex: 1 1 45%;
    margin-bottom: 25px;
  }
}

/* Tablets portrait / large phones */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .story-section {
    padding: 50px 6%;
  }

  .story-header h2 {
    font-size: 2rem;
  }

  .story-header .logo-ghost {
    font-size: 3rem;
  }

  .team-section h2,
  .gallery-section h2 {
    font-size: 2.2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    margin: 10px 0;
  }
}

/* Mobile devices (below 600px) */
@media (max-width: 600px) {
  .navbar-brand img {
    height: 40px;
    margin-left: 10px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero-section {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .story-section {
    padding: 40px 5%;
  }

  .text-block p {
    font-size: 0.95rem;
  }

  .team-member {
    flex: 1 1 100%;
  }

  .gallery-item {
    flex: 1 1 100%;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }

  .site-footer {
    padding: 20px 5%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-nav a {
    margin: 8px;
    display: inline-block;
  }
}

/* Small mobile (below 400px) */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .play-button {
    width: 45px;
    height: 45px;
  }

  .text-block p {
    font-size: 0.9rem;
  }
}




/* --- Default Mobile Layout (Stacked) --- */
.story-grid {
  display: grid;
  /* On mobile, use a single column, stacking all elements */
  grid-template-columns: 1fr;
  gap: 30px;
  /* Space between rows */
}

.text-block,
.image-block {
  /* Ensure elements take up the full width on mobile */
  width: 100%;
  /* Remove any floating or fixed widths that conflict */
  margin: 0;
  padding: 0;
}

.image-block img {
  /* Ensure images scale down cleanly */
  max-width: 100%;
  height: auto;
  display: block;
}


/* --- Desktop Layout (Zig-Zag / Two-Column) --- */
@media (min-width: 768px) {

  .story-grid {
    /* On desktop/tablet, create two equal columns */
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /* Gaps handled by padding/margins of blocks */
    max-width: 1200px;
    /* Adjust based on your content wrapper */
    margin: 0 auto;
  }

  /* 1. First Row: Text on the left, Image on the right */
  /* text-left (1st item in HTML) goes to column 1, row 1 */
  .text-block:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    padding-right: 50px;
    /* Space between text and image */
    text-align: left;
  }

  /* image-right (2nd item in HTML) goes to column 2, row 1 */
  .image-block:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    padding-left: 20px;
  }

  /* 2. Second Row: Image on the left, Text on the right */
  /* image-left (3rd item in HTML) goes to column 1, row 2 */
  .image-block:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    padding-right: 20px;
    /* Add margin to separate from the first row */
    margin-top: 50px;
  }

  /* text-right (4th item in HTML) goes to column 2, row 2 */
  .text-block:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    padding-left: 50px;
    text-align: right;
    /* Add margin to separate from the first row */
    margin-top: 50px;
  }
}

/* --- 1. Default Mobile Layout (Stacked and Clean) --- */
.story-grid {
  display: grid;
  /* On mobile, stack all four elements vertically */
  grid-template-columns: 1fr;
  gap: 30px;
  /* Vertical space between the four blocks */
  padding: 0 15px;
  /* Add horizontal padding to prevent content touch screen edges */
}

.text-block,
.image-block {
  /* Ensure blocks don't overflow and have standard width */
  width: 100%;
  box-sizing: border-box;
  /* CRITICAL: Remove any conflicting yellow background/border styles here if the issue persists */
  /* Example: background-color: transparent !important; */
  padding: 0;
  /* Reset any padding that might cause overflow */
  margin: 0;
  /* Reset margins */
}

.image-block img {
  max-width: 100%;
  /* Image never exceeds container width */
  height: auto;
  /* Maintains aspect ratio */
  display: block;
}

/* --- 2. Desktop Layout (Zig-Zag Grid) --- */
@media (min-width: 768px) {

  .story-grid {
    /* Switch to two columns on desktop */
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1100px;
    /* Adjust to match your overall page width */
    margin: 0 auto;
    padding: 0;
  }

  /* Row 1: Text on Left, Image on Right */
  .text-block:nth-child(1) {
    grid-column: 1;
    /* First column */
    grid-row: 1;
    /* First row */
    padding-right: 60px;
    /* Space from the image */
  }

  .image-block:nth-child(2) {
    grid-column: 2;
    /* Second column */
    grid-row: 1;
    padding-left: 20px;
  }

  /* Row 2: Image on Left, Text on Right (Zig-Zag) */
  .image-block:nth-child(3) {
    grid-column: 1;
    /* First column */
    grid-row: 2;
    /* Second row */
    padding-right: 20px;
    margin-top: 80px;
    /* Vertical spacing between rows */
  }

  .text-block:nth-child(4) {
    grid-column: 2;
    /* Second column */
    grid-row: 2;
    padding-left: 60px;
    margin-top: 80px;
    /* Vertical spacing between rows */
  }
}

/* --- 3. Animation Base Styles (for fade-in class) --- */
/* CRITICAL: This ensures the elements start hidden, allowing the JS animation to work on all screens */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: none;
  /* Let GSAP handle the transition */
}

/* --- CRITICAL FIX: Reduce space above the story section to move it up --- */

.story-section {
  /* If the section has margin/padding on top, reduce it here. 
       Assuming it has 80px or 100px padding by default: */
  padding-top: 50px;
  /* Reduced padding for mobile screens */
}

@media (min-width: 768px) {
  .story-section {
    /* Reduced padding for desktop screens */
    padding-top: 70px;
  }
}


/* --- Secondary Fix: Ensure the logo-ghost element isn't pushing it down --- */

.story-header .logo-ghost {
  /* Set margin-top to zero or negative to ensure the ghost text doesn't add extra space */
  margin-top: 0;
}








/* --- Strategic Planning Section --- */

.strategic-planning-section {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding: 50px 20px;
}

/* ------------------------- */
/* Content Column (Left) */
/* ------------------------- */
.content-column {
  flex: 1;
  z-index: 10;
  padding-right: 40px;
}

/* Strategic List Styling */
.strategic-list {
  padding-top: 30px;
}

.strategic-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.strategic-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.icon-box {
  font-size: 2rem;
  padding: 15px;
  margin-right: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  color: #007bff;
  line-height: 1;
  min-width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
}

.strategic-item:nth-child(1) .icon-box {
  border-color: #007bff;
  color: #007bff;
}

.strategic-item:nth-child(2) .icon-box {
  border-color: #6c757d;
  color: #6c757d;
}

.strategic-item:nth-child(3) .icon-box {
  border-color: #17a2b8;
  color: #17a2b8;
}

.text-content {
  flex-grow: 1;
}

.text-content p {
  color: #555;
  margin-bottom: 0;
}

/* ------------------------- */
/* Image Column (Right) */
/* ------------------------- */
.image-column {
  flex: 1;
  min-height: 750px;
  position: relative;
}

/* Angled Visual Container */
.angled-visual-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

/* Angled Shapes */
.angled-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background-size: cover;
  background-position: center;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid white;
  filter: grayscale(100%);
  opacity: 0.8;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

.angled-shape:hover {
  transform: scale(1.05) rotate(0deg);
  filter: grayscale(0%);
  opacity: 1;
}

/* Individual Shape Positioning */
.shape-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  z-index: 5;
}

.shape-2 {
  top: 250px;
  right: 0;
  width: 350px;
  height: 350px;
  z-index: 6;
}

.shape-3 {
  top: 400px;
  left: 20px;
  width: 280px;
  height: 280px;
  z-index: 4;
}

/* Central Image */
.main-focus-image {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 300px;
  height: 300px;
  overflow: hidden;
  z-index: 7;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.main-focus-image img {
  transform: rotate(-45deg) scale(1.4);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Diagonal Separator */
.diagonal-separator {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: white;
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 30% 100%);
  opacity: 0.2;
  z-index: 1;
}

/* --- Responsive Design --- */
@media (max-width: 991.98px) {
  .strategic-planning-section {
    flex-direction: column;
    min-height: auto;
    padding: 30px 15px;
  }

  .content-column {
    width: 100%;
    padding: 0;
  }

  .image-column {
    display: none;
    /* Hide right column completely */
  }

  .angled-shape,
  .diagonal-separator,
  .main-focus-image {
    display: none;
    /* Ensure shapes do not appear */
  }
}















:root {
  --primary-blue: #003358;
  --accent-blue: #3d8dbd;
  --text-gray: #666;
  --white: #ffffff;
}

/* Screen Wrapper */
.al-viewport {
  width: 100%;
  min-height: 80vh;
  padding: 50px 5%;
  background-color: #3d8dbd;
  /* Matches the dark blue outer background in your image */
  display: flex;
  align-items: center;
  justify-content: center;

}

/* The White Card */
.al-container {
  background: var(--white);
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  min-height: 600px;
}

/* Left Content */
.al-content {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.al-logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-blue);
  letter-spacing: 2px;
}

.al-pre {
  color: var(--accent-blue);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.al-headline {
  font-size: 2.5rem;
  color: #333;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 30px;
}

.al-headline strong {
  font-weight: 800;
}

.al-desc {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 50px;
}

.al-link {
  display: block;
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  transition: 0.3s ease;
}

.al-link:hover {
  color: var(--accent-blue);
  padding-left: 10px;
}

/* THE TRIANGLE IMAGE EFFECT */
.al-image-section {
  position: relative;
  height: 100%;
}

.al-mask {
  height: 100%;
  width: 120%;
  /* Pushes image left to create the overlap */
  margin-left: -20%;
  /* This creates the exact same double-angle shape from the image */
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 20% 100%, 45% 50%);
  overflow: hidden;
}

.al-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.al-container:hover .al-mask img {
  transform: scale(1.1);
}

/* Right Side Nav */
.al-right-nav {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  border-right: 1px solid #ddd;
  padding-right: 20px;
}

.al-right-nav a {
  display: block;
  text-decoration: none;
  color: #999;
  font-size: 0.7rem;
  font-weight: 700;
  margin: 15px 0;
  transition: 0.3s;
}

.al-right-nav a:hover {
  color: var(--primary-blue);
}

.al-copyright {
  position: absolute;
  bottom: 20px;
  right: 40px;
  font-size: 0.65rem;
  color: #bbb;
}

/* -------------------------------------------
   RESPONSIVENESS (Apple, Mobile, Monitor)
------------------------------------------- */

/* Large Monitors */
@media (min-width: 1800px) {
  .al-headline {
    font-size: 3.5rem;
  }
}

/* Tablets & iPads */
@media (max-width: 1024px) {
  .al-container {
    grid-template-columns: 1fr;
  }

  .al-mask {
    margin-left: 0;
    width: 100%;
    height: 400px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  }

  .al-content {
    padding: 40px;
  }

  .al-right-nav {
    position: static;
    transform: none;
    padding: 20px 40px;
    border: none;
    text-align: left;
  }
}

/* Mobile Screens (iPhone/Android) */
@media (max-width: 600px) {
  .al-headline {
    font-size: 1.8rem;
  }

  .al-content {
    padding: 30px 20px;
  }

  .al-mask {
    height: 250px;
  }

  .al-viewport {
    padding: 0;
  }
}

/* Apple Retina Smoothness */
@media (-webkit-min-device-pixel-ratio: 2) {
  body {
    -webkit-font-smoothing: antialiased;
  }
}


.al-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of visible lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.al-desc.expanded {
  -webkit-line-clamp: unset;
}

.al-read-more {
  background: none;
  border: none;
  color: #0077cc;
  cursor: pointer;
  padding: 0;
  margin-top: 10px;
  font-weight: 600;
}

.al-read-more:hover {
  text-decoration: underline;
}