/* main.css */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f8ff;
}

.navbar-custom {
  background-color: #0056b3;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: #ffffff;
}

.navbar-custom .nav-link:hover {
  color: #cce4ff;
}

.hero-img {
  width: 100%;
  height: auto;
}

.section-title {
  color: #0056b3;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.footer {
  background-color: #003366;
  color: #ffffff;
  padding: 30px 0;
  margin-top: 0px;  /* change from 40px to 0 */
}

.footer a {
  color: #cce4ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .social-icons a {
  font-size: 1.3rem;
  margin-right: 10px;
}

.paragraph-block {
  margin-bottom: 25px;
}



/* Active menu item color */
.navbar-custom .nav-link.active,
.navbar-custom .nav-link.show {
  color: #00aa00 !important; /* green */
}


.navbar-custom .nav-link.active,
.navbar-custom .nav-link.show,
.navbar-custom .nav-link.active:hover {
  color: #00aa00 !important;
}
/* Originatl End */



/* Start Addition for menu */


/* Highlight Home link in yellow */
.navbar-custom .nav-link.home-link {
  color: yellow !important;
}

/* If you want it yellow on hover and when active as well */
.navbar-custom .nav-link.home-link:hover,
.navbar-custom .nav-link.home-link.active {
  color: yellow !important;
}

/* Increase menu font size by 4px */
.navbar-custom .nav-link {
  font-size: 20px; /* 16px + 4px */
}


/* End Addition for menu */



/* start Central Text middle of the image */
/* About hero wrapper */
.about-hero-wrapper {
  position: relative;
  width: 100%;
}

/* Reuse hero-img sizing */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered white text on about hero image for aboutus page */
.about-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  padding: 5px 15px;
}

.about-hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
}

/* Optional: smaller on mobile */
@media (max-width: 768px) {
  .about-hero-text h1 {
    font-size: 24px;
  }
}

/* Resposive for map */
.map-responsive iframe {
  width: 100%;
  border: 0;
}

/* End Central Text middle of the image */



/* Start Video hero wrapper: full width, ~500px height */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  height: 500px;         /* approximate 1366x500 ratio height */
  overflow: hidden;
}

/* Video fills container */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* crop to fill 1366x500 area */
  display: block;
}

/* Reuse your overlay center text */
.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
}

/* Optional: responsive height on small screens */
@media (max-width: 768px) {
  .hero-video-wrapper {
    height: 300px;
  }
  .hero-overlay-text h1 {
    font-size: 22px;
  }
  .hero-overlay-text p {
    font-size: 14px;
  }
}

/* End Video hero wrapper: full width, ~500px height */


/* Start Medium rounded blue button for 'READ MORE ABOUT US' */
.btn-read-more-about {
  display: inline-block;
  background-color: #0056b3;   /* blue */
  color: #ffffff !important;   /* white text */
  padding: 8px 18px;           /* smaller padding */
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;             /* smaller text */
  border: none;
  letter-spacing: 1px;
  min-width: 140px;            /* narrower button */
  text-align: center;
  white-space: nowrap;
  overflow: visible;
}

/* Hover */
.btn-read-more-about:hover {
  background-color: #1f6fd1;
  color: #ffffff !important;
  text-decoration: none;
}
/* End Medium rounded blue button for 'READ MORE ABOUT US' */



/* Start Dark background for 3-column block */
.three-col-dark {
  background-color: #2B547E;
  color: #ffffff;
  padding: 20px 10px; /* optional inner spacing */
}

/* Ensure text and links stay white inside */
.three-col-dark p,
.three-col-dark h3,
.three-col-dark h4,
.three-col-dark h5,
.three-col-dark h6,
.three-col-dark li,
.three-col-dark a {
  color: #ffffff;
}

/* If you want links to change slightly on hover */
.three-col-dark a:hover {
  color: #cce4ff;
}
/* End Dark background for 3-column block */




/* Start Latest news moving strip */
.latest-news-strip {
  overflow: hidden;
  width: 100%;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-top: 20px;
}

/* Track with all images in a row */
.latest-news-track {
  display: flex;
  gap: 10px;
  animation: latestNewsScroll 6s linear infinite; /* speed */
}

/* Each image item: 4 visible at a time on desktop */
.news-item {
  flex: 0 0 calc(25% - 10px); /* 4 items per row width */
  display: block;
}

.news-item img {
  width: 100%;
  height: 120px;          /* adjust height as you like */
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* Pause on hover so user can click comfortably */
.latest-news-strip:hover .latest-news-track {
  animation-play-state: paused;
}

/* Keyframes: move left continuously */
@keyframes latestNewsScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* because we duplicated the set */
  }
}

/* Responsive: fewer visible on small screens */
@media (max-width: 768px) {
  .news-item {
    flex: 0 0 calc(50% - 10px);  /* 2 at a time on mobile */
  }
  .news-item img {
    height: 100px;
  }
}
/* End Latest news moving strip */



/* Start Handle text under photo news moving strip */
.news-item {
  flex: 0 0 calc(25% - 10px); /* 4 visible at a time on desktop */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.news-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* Caption text under each photo */
.news-caption {
  font-size: 13px;
  margin-top: 5px;
  text-align: center;
  color: #333333;
}

/* Start When hovering a news item */
.news-item:hover .news-caption {
  text-decoration: underline;
}
/* End Handle text under photo news moving strip */


/* Global image hover: slight zoom on all photos */
img {
  transition: transform 0.3s ease;
}

/* When mouse over any image, zoom in a bit */
img:hover {
  transform: scale(1.05); /* 5% zoom in */
}
/* End hovering a news item */


/* Start Photo Gallery */
/* Gallery grid spacing */
.gallery-grid img {
  cursor: pointer;
  border-radius: 4px;
}

/* Lightbox overlay */
.gallery-lightbox {
  display: none;               /* hidden by default */
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

/* Show when active */
.gallery-lightbox.show {
  display: flex;
}

/* Lightbox image */
.gallery-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
}

/* Close X (top-left) */
.gallery-close {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}

/* Next / Prev arrows */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.2);
  border: none;
  color: #ffffff;
  font-size: 30px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(255,255,255,0.4);
}

/* End Photo Gallery */



/* Start Video Gallery */

/* Video gallery thumbnails */
.video-gallery img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
    object-fit: cover;
}

.video-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

/* Lightbox video styling */
#lightbox {
    z-index: 9999 !important;
}

/* End Video Gallery */


/* Start Project list Toggle */
/* Project list spacing */
.list-group-item {
  cursor: pointer;
}

/* Ensure some padding in detail rows */
.card.card-body .row {
  align-items: flex-start;
}

.card.card-body p {
  margin-bottom: 0.75rem;
}
/* End Project list Toggle */



/* Start Management team layout */
.management-team {
  margin-top: 20px;
}

/* Circular passport-style photo */
.team-photo-wrapper {
  width: 120px;             /* passport size container */
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #0056b3, 0 4px 10px rgba(0,0,0,0.25);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* crop nicely to face */
  object-position: top;      /* focus on head */
  display: block;
}

/* Name and role styling */
.team-name {
  font-size: 16px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 2px;
  color: #003366;
}

.team-role {
  font-size: 13px;
  margin: 0;
  color: #555555;
}

/* Subtle hover effect */
.team-photo-wrapper:hover .team-photo {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
/* End Management team layout */


/* Start Accreditations section about page */

/* ========================================
   PROFESSIONAL LIGHTBOX PHOTO GALLERY
   8 Photos + Gallery Navigation
======================================== */

/* Gallery Thumbnails Row */
.photo-gallery-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin: 30px auto;
  padding: 20px 15px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.photo-thumbnail {
  flex: 0 0 70px !important;
  height: 70px !important;
  width: 70px !important;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid transparent;
  flex-shrink: 0;
}

.photo-thumbnail:hover,
.photo-thumbnail.active {
  transform: scale(1.1) translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,86,179,0.5) !important;
  border-color: #0056b3 !important;
}

/* PROFESSIONAL LIGHTBOX */
.photo-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.photo-lightbox.show {
  display: flex !important;
}

/* Main lightbox image */
.photo-lightbox-img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.9);
  object-fit: contain;
}

/* Navigation arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  user-select: none;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 50px; }
.lightbox-next { right: 50px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }
}

/* Close button */
.photo-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.5);
}

.photo-close:hover {
  background: rgba(220,53,69,0.9);
  transform: scale(1.1);
}

/* Counter */
.lightbox-counter {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  font-weight: 500;
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

/* Scrollbar */
.photo-gallery-row::-webkit-scrollbar {
  height: 6px;
}
.photo-gallery-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #0056b3, #1f6fd1);
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .photo-thumbnail { flex: 0 0 60px !important; height: 60px !important; width: 60px !important; }
}
@media (max-width: 576px) {
  .photo-thumbnail { flex: 0 0 55px !important; height: 55px !important; width: 55px !important; }
}


/* End Accreditations section about page */



/* Stat Full-width certificates band above footer */

/* ========================================
   HORIZONTAL: 8 Certificate Icons (1 Row)
   Copy-paste ready for css/main.css
======================================== */

/* Certificates band - Horizontal 8 icons */
.certificates-band {
  background: linear-gradient(135deg, #003366 0%, #004494 100%);
  color: #ffffff;
  padding: 45px 0;
}

/* Container */
.certificates-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Title styling */
.certificates-title {
  font-size: 24px;
  font-weight: 700;
  color: #cce4ff;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

/* HORIZONTAL Icons Container - 8 icons in 1 row */
.cert-icons-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 10px;
}

/* SMALL Horizontal Icons */
.cert-band-icon {
  flex: 0 0 auto;               /* Fixed size, no growing */
  max-height: 48px;             /* Perfect horizontal size */
  max-width: 100px;
  height: auto;
  object-fit: contain;
  background-color: rgba(255,255,255,0.95);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

/* Enhanced hover effect */
.cert-band-icon:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 40px rgba(0,86,179,0.5);
  background-color: #ffffff;
  border-color: #cce4ff;
}

/* Smooth horizontal scroll on mobile */
.cert-icons-row {
  scrollbar-width: thin;
  scrollbar-color: #cce4ff #003366;
}

.cert-icons-row::-webkit-scrollbar {
  height: 6px;
}

.cert-icons-row::-webkit-scrollbar-track {
  background: #003366;
}

.cert-icons-row::-webkit-scrollbar-thumb {
  background: #cce4ff;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 1200px) {
  .cert-icons-row {
    gap: 15px;
  }
  .cert-band-icon {
    max-height: 42px;
    max-width: 85px;
  }
}

@media (max-width: 768px) {
  .certificates-band {
    padding: 35px 0;
  }
  .certificates-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .cert-icons-row {
    gap: 12px;
    padding: 0 5px;
  }
  .cert-band-icon {
    max-height: 38px;
    max-width: 75px;
    padding: 6px;
  }
}

@media (max-width: 576px) {
  .cert-icons-row {
    gap: 10px;
  }
  .cert-band-icon {
    max-height: 35px;
    max-width: 70px;
    padding: 5px;
  }
}

/* End Full-width certificates band above footer */



/* Start Small round YELLOW icon with BLUE arrow */
.circle-arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #D3AF37;   /* Yellow circle */
  color: #FFFFFF !important;   /* Blue arrow - !important */
  text-decoration: none;
  font-size: 25px;             /* Slightly larger */
  font-weight: 1000;            /* Bolder */
  border: 2px solid #FFD700;
  transition: all 0.2s ease;
}

.circle-arrow-link:hover {
  background-color: #FFFFE0;
  transform: translateY(-2px);
  color: #0056b3 !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}


/* End Small round blue icon with white arrow */



/* Start Our Clients band */
.clients-band {
  background-color: #f5f8ff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* Clients row – flexbox */
.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px; /* spacing between logos */
}

/* Logo container – square box adjusted height */
.client-logo-wrapper {
  background-color: #ffffff;
  border-radius: 8px;
  width: calc((100% - 6 * 12px) / 7); /* 7 logos per row on large screens */
  height: calc((100% - 6 * 12px) / 7 * 0.85); /* reduce height by 15% */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: auto; /* remove fixed square to allow custom height */
}


/* Logo image */
.client-logo {
  width: 90%;               /* adjust to fill box nicely */
  height: auto;
  object-fit: contain;
  transition: none;         /* prevent hover shrink */
}

/* Hover effect – lifts box */
.client-logo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .client-logo-wrapper {
    width: calc((100% - 5 * 12px) / 6); /* 6 logos per row */
  }
}

@media (max-width: 992px) {
  .client-logo-wrapper {
    width: calc((100% - 4 * 12px) / 5); /* 5 logos per row */
  }
}

@media (max-width: 768px) {
  .client-logo-wrapper {
    width: calc((100% - 3 * 12px) / 4); /* 4 logos per row */
  }
}

@media (max-width: 576px) {
  .client-logo-wrapper {
    width: calc((100% - 2 * 12px) / 3); /* 3 logos per row */
  }
}

@media (max-width: 400px) {
  .client-logo-wrapper {
    width: calc((100% - 1 * 12px) / 2); /* 2 logos per row */
  }
}
/* End Our Clients band */







/* Start Navbar styling blue drop down background */
/* Navbar styling */
.navbar-custom {
  background-color: #0056b3;
  box-shadow: 0 2px 8px rgba(0,86,179,0.3);
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: #ffffff !important;
}

.navbar-custom .nav-link:hover {
  color: #cce4ff !important;
}

/* All dropdowns - blue background, white text */
.navbar-custom .dropdown-menu {
  background-color: #0056b3;
  border: 1px solid #cce4ff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,86,179,0.4);
  min-width: 180px;
}

.navbar-custom .dropdown-item {
  color: #ffffff !important;
  padding: 10px 20px;
  white-space: nowrap;
}

.navbar-custom .dropdown-item:hover {
  background-color: #1f6fd1;
  color: #ffffff !important;
}

/* Dropdown toggle arrow */
.navbar-custom .dropdown-toggle::after {
  border-top-color: #ffffff;
  margin-left: 8px;
}

/* Nested dropdown (Photos submenu) - positioned LEFT */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: -100%;
  margin-top: -1px;
  margin-left: 10px;
  border-radius: 8px 0 8px 8px;
  min-width: 220px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/* End Navbar styling blue drop down background */



/* Start Updated News Section*/

.object-fit-cover {
  object-fit: cover;
}

@media (max-width: 576px) {
  .news-summary p {
    font-size: 0.95rem;
  }
}

/* End Updated News Section*/



/* ========================================
   START MANUAL ALIGNMENT UTILITY CLASSES
======================================== */

/* 1. Paragraph Justify */
.p-justify {
    text-align: justify !important;
    line-height: 1.7;
}

/* 2. Paragraph Center */
.p-center {
    text-align: center !important;
    line-height: 1.6;
}

/* 3. Photo/Video Center */
.media-center {
    display: block !important;
    margin: 1rem auto !important;
    max-width: 100% !important;
    height: auto !important;
}


/* ========================================
   END MANUAL ALIGNMENT UTILITY CLASSES
======================================== */



/* Start 7 per row, 3 rows gallery */
.photo-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important; /* 7 PER ROW */
  gap: 12px !important;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
}

.photo-thumb {
  width: 100% !important;
  aspect-ratio: 1 !important; /* Square */
  object-fit: cover !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  transition: all 0.3s ease !important;
  border: 3px solid transparent !important;
}

.photo-thumb:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 12px 32px rgba(0,86,179,0.4) !important;
  border-color: #0056b3 !important;
}

/* Navigation Arrows */
.lightbox-nav {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
  font-size: 30px !important;
  font-weight: bold !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
}

.lightbox-prev { left: 40px !important; }
.lightbox-next { right: 40px !important; }

.lightbox-nav:hover {
  background: rgba(255,255,255,0.4) !important;
  transform: translateY(-50%) scale(1.2) !important;
}

/* Mobile arrow positioning */
@media (max-width: 768px) {
  .lightbox-prev { left: 20px !important; }
  .lightbox-next { right: 20px !important; }
}


/* End 7 per row, 3 rows gallery */



/* ========================================
   START VIDEO GALLERY: 4 per row, 3 rows + Lightbox
======================================== */

/* Video Gallery Grid - 4 per row */
.video-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.video-card-wrapper {
  text-align: center !important;
}

.video-thumb {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 4px solid transparent !important;
}

.video-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.video-thumb:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 32px 64px rgba(0,86,179,0.4) !important;
  border-color: #0056b3 !important;
}

.video-thumb:hover img {
  transform: scale(1.08) !important;
}

.play-overlay {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;

  background: #0d6efd !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  transition: all 0.35s ease !important;
}

/* PURE CSS PLAY ARROW */
.play-overlay::before {
  content: "";
  display: block;
  width: 0;
  height: 0;

  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid #ffffff;

  margin-left: 3px; /* center like YouTube */
}


.video-thumb:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.08) !important;
  box-shadow: 0 10px 28px rgba(13,110,253,0.6) !important;
}



.video-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-top: 16px !important;
  line-height: 1.4 !important;
  transition: color 0.3s ease !important;
}

.video-card-wrapper:hover .video-title {
  color: #0056b3 !important;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .video-gallery-grid { 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .video-gallery-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 18px !important;
  }
}

@media (max-width: 576px) {
  .video-gallery-grid { 
    grid-template-columns: 1fr !important; 
    gap: 24px !important;
  }
  
  .play-overlay {
    width: 70px !important;
    height: 70px !important;
    font-size: 28px !important;
  }
}



/* ========================================
   END VIDEO GALLERY: 4 per row, 3 rows + Lightbox
======================================== */



/* Start All images: rounded corners */
img {
  border-radius: 12px;          /* adjust radius if you want more/less round */
}

/* If you ever need a square image, add class="no-radius" */
img.no-radius {
  border-radius: 0 !important;
}

/* End All images: rounded corners */




/* ========================================
   Start FIXED NAVBAR + CONTACT BLUE BAR
======================================== */

/* FIXED NAVBAR - Never moves on scroll */
.navbar-custom {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: #0056b3 !important;
  box-shadow: 0 2px 12px rgba(0,86,179,0.4) !important;
}

/* Contact Menu - Blue Rounded Rectangle */
.navbar-nav .nav-link[href*="contact"],
.navbar-nav .nav-item:last-child .nav-link {
  position: relative !important;
}

/* Blue rectangle UNDER Contact */
.navbar-nav .nav-link[href*="contact"]::after,
.navbar-nav .nav-item:last-child .nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 60% !important;
  height: 4px !important;
  background: linear-gradient(90deg, #cce4ff, #ffffff, #cce4ff) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 4px 12px rgba(204,228,255,0.6) !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Show blue bar on Contact hover/focus */
.navbar-nav .nav-link[href*="contact"]:hover::after,
.navbar-nav .nav-item:last-child .nav-link:hover::after,
.navbar-nav .nav-link[href*="contact"]:focus::after,
.navbar-nav .nav-item:last-child .nav-link:focus::after {
  opacity: 1 !important;
}

/* Active Contact menu - Always show blue bar */
.navbar-nav .nav-link.active[href*="contact"]::after,
.navbar-nav .nav-item:last-child .nav-link.active::after {
  opacity: 1 !important;
}

/* Navbar padding adjustment */
body {
  padding-top: 0 !important; /* No extra padding needed with sticky */
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Mobile navbar adjustments */
@media (max-width: 991px) {
  .navbar-custom {
    position: relative !important; /* Mobile menu behaves normally */
  }
  
  .navbar-nav .nav-link::after {
    display: none !important; /* Hide blue bar in mobile menu */
  }
}

/* ========================================
   End FIXED NAVBAR + CONTACT BLUE BAR
======================================== */



/* ========================================
   START YELLOW HIGHLIGHT BELOW CONTACT MENU
======================================== */

/* Target Contact menu specifically */
.navbar-nav .nav-item:last-child .nav-link[href="contact.html"] {
  position: relative;
}

/* Yellow rounded rectangle UNDER Contact */
.navbar-nav .nav-item:last-child .nav-link[href="contact.html"]::after {
  content: '' !important;
  position: absolute !important;
  bottom: -10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 70% !important;
  height: 6px !important;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700) !important;
  border-radius: 0 0 20px 20px !important; /* Rounded bottom corners */
  box-shadow: 0 4px 16px rgba(255,215,0,0.6) !important;
  opacity: 1 !important;
  z-index: 10 !important;
}

/* Hover effect - brighter yellow */
.navbar-nav .nav-item:last-child .nav-link[href="contact.html"]:hover::after {
  background: linear-gradient(90deg, #ffed4e, #fff176, #ffed4e) !important;
  box-shadow: 0 6px 20px rgba(255,215,0,0.8) !important;
  transform: translateX(-50%) scale(1.05) !important;
}

/* Active state */
.navbar-nav .nav-item:last-child .nav-link[href="contact.html"].active::after {
  background: linear-gradient(90deg, #ffed4e, #fff176, #ffed4e) !important;
  height: 8px !important;
}

/* Ensure proper positioning */
.navbar-custom .navbar-nav {
  position: relative;
}


/* ========================================
   END YELLOW HIGHLIGHT BELOW CONTACT MENU
======================================== */


/* Start Projects and countries */

/* Stats Section */
.stats-section {
  padding: 32px 20px;
  background: #f5f8ff;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.stat-box {
  min-width: 200px;
}

.stat-number {
  display: block;
  font-size: 56px;
  font-weight: 800;
  color: #0056b3;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.5px;
}

/* Mobile */
@media (max-width: 768px) {
  .stats-grid {
    gap: 40px;
  }

  .stat-number {
    font-size: 46px;
  }
}

/* End Projects and countries */



/* ===============================
   Start CSP-safe scroll animations
   =============================== */

.scroll-text,
.scroll-image {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

/* Visible state */
.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent Bootstrap clipping */
.card,
.card-body {
  overflow: visible;
}


/* ===============================
   End CSP-safe scroll animations
   =============================== */

/* ===============================
   START MAP MOUSEOVER (FINAL)
   =============================== */

/* Stat container */
.stat-box {
  position: relative;
}

/* Country stat wrapper */
.stat-country {
  position: relative;
  display: inline-block;
}

/* Hover container — hidden by default */
.country-hover-img {
  position: absolute;
  top: 110%;                /* appear below text */
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  width: 320px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.25);

  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

/* Show map ONLY on hover */
.stat-country:hover .country-hover-img {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* World map wrapper */
.world-map {
  position: relative;
}

.world-map img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Country pins */
.map-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #0d6efd;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(13,110,253,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

/* ===============================
   END MAP MOUSEOVER
   =============================== */



/* ===============================
   Start Map Mouseover
   =============================== */



/* ===============================
   Start Map Mouseover
   =============================== */


