:root {
    --primary-blue: #251874;
    --dark-blue: #100457;
    --light-bg: #f8f9fa;
    --text-dark: #000000;
    --bg-dark: #1a1a2e;
}

/* Bubbles Animation */
.bubble {
    position: fixed; /* Changed from absolute to fixed */
    bottom: -50px;   /* Start further down so they don't 'pop' into existence */
    /* background-color: rgba(255, 255, 255, 0.3); */
    background-color: rgba(255, 255, 255, 0.15); /* Lowered from 0.3 */
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
    z-index: 0;
    pointer-events: none; /* This ensures bubbles don't block clicks on buttons */
}

/* Add this to prevent the horizontal scroll issue */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden; /* Prevents bubbles from making the page wider */
}

@keyframes rise {
    0% { 
        bottom: -50px; 
        transform: translateX(0); 
        opacity: 1; 
    }
    100% { 
        bottom: 110vh; /* Rise slightly past the top */
        transform: translateX(100px); 
        opacity: 0; 
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.social-icons i {
    margin-left: 15px;
    cursor: pointer;
}

/* Navbar Customization */
.navbar {
    padding: 1rem 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
}

.dropdown-menu {
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-green);
}

.btn-primary-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary-green:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white;
}


.gallery-card {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 119, 190, 0.15);
}

.img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: zoom-in;
}

/* Video Play Overlay */
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.3s ease;
}
.gallery-card:hover .video-overlay { background: rgba(0,0,0,0.4); }
.play-icon { font-size: 3rem; color: white; opacity: 0.9; }

.gallery-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img { transform: scale(1.1); }

.category-badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--primary-green);
    color: white; padding: 5px 15px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    z-index: 2;
}

/* Hero Section */
/* Hero Section - Updated for Clarity */
/* Hero Section - Updated for better contrast */
.hero-section {
    height: 70vh;
    /* CHANGE THESE VALUES: 0.4 is the opacity. Lower it to 0.2, or use black (0,0,0) */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://images.unsplash.com/photo-1524704654690-b56c05c78a00?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}
/* Ensure text is readable against the clearer image */
/* If you use a dark overlay, add this so your text isn't hidden */
.hero-section h1, 
.hero-section p {
    color: white !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Animations */
.fade-in {
    animation: fadeInUp 1s ease-out;
}

/* Water Animation Styles */
.hero-section {
    position: relative; /* Ensure waves stay at the bottom */
}

.waves-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh; /* Adjust height of the waves */
    min-height: 100px;
    max-height: 150px;
}

/* Parallax animation for different wave layers */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}




@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

/* Shrink waves on mobile */
@media (max-width: 768px) {
    .waves {
        height: 40px;
        min-height: 40px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tweaks */
/* Responsive Tweaks */
/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .hero-section {
        /* Reduce height on small screens */
        height: 45vh !important;
        min-height: 320px; /* Prevents text crowding on tiny screens */

        /* Tighten up padding to keep it compact */
        padding: 40px 0 60px 0;

        /* Ensures the background image remains centered and fills the container nicely */
        background-size: cover;
        background-position: center center;

        /* Center content beautifully vertically if everything drops to a single column */
        display: flex;
        align-items: center;
    }
    .hero-section h1 {
        font-size: 1.8rem; /* Scaled down slightly more so it doesn't wrap to 5 lines */
    }
    .hero-section .lead {
        font-size: 0.95rem; /* Slightly smaller text body for mobile breathing room */
    }
}

/* ── Gallery equal spacing  ── */
.gallery-media .gallery-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.gallery-media .gallery-section:first-of-type {
  padding-top: 3rem;
}

.gallery-media .gallery-section:last-of-type {
  padding-bottom: 3rem;
}


/* ── Gallery Video Upload Section ── */
.video-upload-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.video-upload-section .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-item {
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
}

.video-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Navigation ── */
.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar .container {
  min-height: 70px;
}

/* Equal spacing between nav links */
.navbar-nav {
  gap: 0.25rem;
}

.navbar-nav .nav-item .nav-link {
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: color 0.2s ease;
}

/* Active / hover underline indicator */
.navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.75rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background-color: #251874;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.navbar-nav .nav-item .nav-link:hover::after,
.navbar-nav .nav-item .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
  color: #251874;
}

/* Dropdown toggle — hide default underline indicator */
.navbar-nav .nav-item.dropdown .nav-link::after {
  display: none;
}

/* ── Dropdown Menu ── */
.dropdown-menu {
  padding: 0.5rem 0;
  min-width: 220px;
  border-radius: 8px;
  margin-top: 0;
}

.dropdown-menu .dropdown-item {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f0faf4;
  color: #251874;
}

/* Divider equal breathing room */
.dropdown-menu .dropdown-divider {
  margin: 0.4rem 1rem;
  border-color: #dee2e6;
}

/* ── CTA Button ── */
.btn-primary-green {
  background-color: #251874;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary-green:hover {
  background-color: #157347;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Mobile ── */
@media (max-width: 991px) {
  .navbar .container {
    min-height: 60px;
  }

  .navbar-nav {
    gap: 0;
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-item .nav-link {
    padding: 0.75rem 1rem;
  }

  .navbar-nav .nav-item .nav-link::after {
    display: none;
  }

  .dropdown-menu {
    box-shadow: none !important;
    border: none;
    padding-left: 1rem;
  }
}

/* Responsive Navigation Logo CSS */

:root {
    --nav-logo-font-size: 1.5rem;
    --nav-logo-img-width: 45px;
    --nav-logo-img-height: 45px;
    --nav-logo-icon-size: 1.2rem;
    --nav-logo-padding: 0.5rem 1rem;
    --nav-logo-gap: 0.5rem;
}

/* Mobile (< 576px) */
@media (max-width: 575.98px) {
    :root {
        --nav-logo-font-size: 1rem;
        --nav-logo-img-width: 32px;
        --nav-logo-img-height: 32px;
        --nav-logo-icon-size: 0.9rem;
        --nav-logo-padding: 0.35rem 0.75rem;
        --nav-logo-gap: 0.4rem;
    }
}

/* Tablet (576px - 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    :root {
        --nav-logo-font-size: 1.25rem;
        --nav-logo-img-width: 40px;
        --nav-logo-img-height: 40px;
        --nav-logo-icon-size: 1rem;
        --nav-logo-padding: 0.4rem 0.9rem;
        --nav-logo-gap: 0.45rem;
    }
}

/* Desktop (≥ 768px) */
@media (min-width: 768px) {
    :root {
        --nav-logo-font-size: 1.5rem;
        --nav-logo-img-width: 45px;
        --nav-logo-img-height: 45px;
        --nav-logo-icon-size: 1.2rem;
        --nav-logo-padding: 0.5rem 1rem;
        --nav-logo-gap: 0.5rem;
    }
}

/* Nav Logo Base Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--nav-logo-gap);
    padding: var(--nav-logo-padding);
    font-size: var(--nav-logo-font-size);
    font-weight: 700;
    color: #251874;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #157347;
    transform: scale(1.05);
}

/* Logo Image */
.nav-logo img {
    width: var(--nav-logo-img-width);
    height: var(--nav-logo-img-height);
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: rotate(5deg) scale(1.1);
}

/* Logo Icon */
.nav-logo i {
    font-size: var(--nav-logo-icon-size);
    color: #251874;
}

.nav-logo i.me-2 {
    margin-right: 0.3rem;
}

.primary-blue {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #ffffff;
}

.primary-blue:hover {
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    color: #ffffff;
}

.primary-blue:focus,
.primary-blue:active {
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(37, 24, 116, 0.25) !important;
}

.secondary-blue {
    background-color: var(--dark-blue) !important;
    border-color: var(--dark-blue) !important;
    color: #ffffff;
}

.secondary-blue:hover {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #ffffff;
}

.secondary-blue:focus,
.secondary-blue:active {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(16, 4, 87, 0.25) !important;
}

.dk-white {
    background-color: #ffffff !important;
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
}

.dk-white:hover {
    background-color: #f8f9fa !important;
    border-color: var(--dark-blue) !important;
    color: var(--dark-blue) !important;
}

.dk-white:focus,
.dk-white:active {
    background-color: #ffffff !important;
    border-color: var(--dark-blue) !important;
    color: var(--dark-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(37, 24, 116, 0.25) !important;
}

.blue {
  color: #251874 !important;
}

.bg-darks {
    background-color: var(--bg-dark) !important;
}

/* Footer Logo Specific Styles */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.footer-brand:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Footer Logo Image - White with Opacity */
.footer-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-brand:hover img {
    opacity: 1;
    transform: rotate(5deg) scale(1.1);
}

/* Footer Logo Text - White */
.footer-brand .footer-text {
    color: #ffffff !important;
}

.footer-brand:hover .footer-text {
    color: #ffffff;
}