/* Match Contact link in footer to other footer links */
.footer-contacts .footer-contact-link {
  color: #e6f0fb !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-contacts .footer-contact-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.footer-contacts .footer-contact-link:visited {
  color: #e6f0fb !important;
}
.footer-contacts .footer-contact-link:active {
  color: #e6f0fb !important;
}
:root{
  --brand:#6ea8fe;
  --accent:#e4c35f;
}

/* ========== RESET / BASE ========== */
*{margin:0; padding:0; box-sizing:border-box}
html,body{height:100%}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background-color: transparent;                  /* turns white after hero via .scrolled */
  transition: background-color .4s ease;
  color:#fff;                                      /* hero text */
}
body.scrolled{ background-color:#ffffff; }


/* ========== HERO ========== */
.hero{
  position:relative;
  height:120vh;
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
  url('/media/photos/IMG_9322.jpeg') center/cover no-repeat;
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#fff; padding:0 1rem;
  padding-bottom: 120px;

}

/* --- enhanced hero visuals (scoped) --- */
.hero{overflow:hidden}
.hero .hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(1000px 400px at 15% 10%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(800px 320px at 85% 80%, rgba(59,130,246,.18), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.45));
  pointer-events:none;
}

.hero .hero__content{position:relative; z-index:2; max-width: 1100px}
.hero .hero__badge{margin-bottom:1.25rem}
.hero .hero__badge-text{
  display:inline-block; padding:.5rem 1.1rem; border-radius:999px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:.8rem
}

.hero .hero__title{margin:0 0 1rem}
.hero .hero__title-line{display:block; font-weight:900; letter-spacing:.01em; font-size: clamp(2.6rem, 6.2vw, 5rem)}
.hero .hero__subtitle{display:block; opacity:.9; font-weight:500; font-size: clamp(1.05rem, 2.3vw, 1.35rem)}

.hero .hero__actions{display:flex; gap:.8rem; justify-content:center; margin:1.25rem 0 0; flex-wrap:wrap}
.hero .btn{cursor:pointer; text-decoration:none}
.hero .hero__btn-primary,
.hero .hero__btn-apply,
.hero .hero__btn-ghost{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font-weight:800; padding:.78rem 1.2rem; border-radius:999px; text-decoration:none;
  background: linear-gradient(135deg, #1e3a5f, #0e234f);
  color:#ffffff;
  border:1px solid rgba(110,168,254,.35);
  box-shadow: 0 10px 26px rgba(30,58,95,.25), 0 3px 8px rgba(0,0,0,.15);
  transition: transform .25s ease, box-shadow .25s ease, background .3s ease;
  overflow:hidden;
}
/* distinct base fills */
.hero .hero__btn-apply{ background: linear-gradient(135deg, #3b82f6, #1e3a8a); }
.hero .hero__btn-ghost{ 
  background: linear-gradient(135deg, #1e3a5f, #0e234f); 
  font-weight:800; 
  padding:.78rem 1.2rem;
}

/* shared interactive layer */
.hero .hero__btn-primary::after,
.hero .hero__btn-apply::after,
.hero .hero__btn-ghost::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0));
  opacity:0; transition:opacity .35s ease;
}

.hero .hero__btn-primary:hover,
.hero .hero__btn-apply:hover,
.hero .hero__btn-ghost:hover{
  transform:translateY(-2px);
  box-shadow: 0 14px 30px rgba(30,58,95,.38), 0 6px 12px rgba(0,0,0,.22);
}

.hero .hero__btn-primary:hover{ background: linear-gradient(135deg, #2a4a7a, #1e3a5f); }
.hero .hero__btn-apply:hover{ background: linear-gradient(135deg, #60a5fa, #2563eb); }
.hero .hero__btn-ghost:hover{ background: linear-gradient(135deg, #2a4a7a, #1e3a5f); }

.hero .hero__btn-primary:hover::after,
.hero .hero__btn-apply:hover::after,
.hero .hero__btn-ghost:hover::after{ opacity:1; }

.hero .hero__btn-ghost .ig{ width:18px; height:18px }
.hero .hero__btn-ghost .ig{ width:18px; height:18px }

/* .hero__hint removed from markup */
/* .hero .hero__hint{ margin-top:1.2rem; opacity:.8; font-weight:600; letter-spacing:.08em } */

@media (max-width: 780px){
  .hero{ padding-bottom: 56px; height: 92vh; padding-top: 88px }
  .hero .hero__title-line{ font-size: clamp(2.4rem, 7vw, 3.1rem) }
}

.hero__content h1{
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing:.02em; margin-bottom:.6rem;
}
.hero__content p{font-size:1.1rem; opacity:.95}
.subtext{margin-top:1rem}
.subtext a{color:#fff; text-decoration:underline}

/* Bouncing scroll arrow */
.scroll-arrow{
  position:absolute; left:50%; bottom:20px; transform:translateX(-50%);
  display:grid; place-items:center;
  width:48px; height:48px; border-radius:999px;
  color:#fff;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  animation: arrow-bounce 1.5s ease-in-out infinite;
  transition: transform .2s ease, opacity .2s ease;
  z-index: 50;           /* was 2 — this puts it above the stats card */
  bottom: 28px; 
}
.scroll-arrow:hover{ transform:translateX(-50%) translateY(2px); }
@keyframes arrow-bounce{
  0%,100%{ transform:translateX(-50%) translateY(0) }
  50%{    transform:translateX(-50%) translateY(8px) }
}
body.scrolled .scroll-arrow{
  opacity:0; pointer-events:none;
  transform:translateX(-50%) translateY(10px);
}

/* ========== VALUES SECTION (on white page) ========== */
.values{
  background: transparent;                          /* show body white */
  padding: 3.5rem 1rem;
  color:#111;
}
.values__inner{
  max-width:1180px; margin:0 auto;
  display:grid; gap:1.75rem;
  grid-template-columns: repeat(5, minmax(0,1fr));
  align-items:stretch;
}

/* Enhanced backdrop for Values section */
.values{
  position: relative;
  isolation: isolate; /* keep pseudo element behind content */
}
.values::before{
  content:"";
  position:absolute; inset:0;
  z-index:-1;
  /* Use a calmer portion of a group photo; swap image if desired */
  background:
    linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,.95) 70%, #ffffff 100%),
    linear-gradient(to top, rgba(255,255,255,.85), rgba(255,255,255,.85)),
    url('/media/photos/IMG_6143.jpeg') center 35% / cover no-repeat;
  filter: blur(10px) brightness(.90) saturate(.9);
  transform: scale(1.04); /* avoid edge cropping when blurred */
}

/* Subtle top separator so transition from previous section feels intentional */
.values::after{
  content:"";
  position:absolute; left:0; right:0; top:0; height:64px;
  background:linear-gradient(to bottom, rgba(16,24,40,.15), rgba(16,24,40,0));
  pointer-events:none;
  z-index:-1;
}

@media (max-width: 900px){
  .values::before{ filter: blur(8px) brightness(.94); background-position:center 45%; }
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)){
  /* On modern browsers, add a gentle frosted wash for extra contrast */
  .values::before{ background-color: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); background-blend-mode: overlay, normal, normal; }
}

/*core values*/

.core-values-intro {
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
  url('/media/photos/corevaluesbackground.JPG') center/cover no-repeat;
  padding: 10rem 1rem; /* increased padding */
  min-height: 500px; /* ensures it's taller */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.core-values-intro h2{
  margin: 0 0 .6rem;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.05;
  /* bigger on all screens */
  font-size: clamp(3rem, 9vw, 6rem);
  text-shadow: 0 6px 24px rgba(0,0,0,.35);
}

.core-values-intro p{
  margin: 0;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  opacity: .95;
  max-width: 980px;
}


/* Final polished card */
.values .value{
  position: relative;
  display:flex; flex-direction:column; align-items:center; text-align:center;

  background:#fff;
  border:1px solid #e9edf4 !important;
  border-radius:28px !important;
  overflow:hidden;                                   /* clip rounded corners */
  padding:1.6rem 1.2rem 1.8rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),             /* soft top highlight */
    0 4px 8px rgba(0,0,0,.04),
    0 12px 24px rgba(16,24,40,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height:260px;
}
.values .value:hover{
  transform:translateY(-6px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 12px 24px rgba(0,0,0,.06),
    0 18px 36px rgba(16,24,40,.12);
}
/* remove any old decorative stripe */
.values .value::before{ content:none !important; }

/* Icon badge (transparent background) */
.values .value__icon{
  width:72px; height:72px; border-radius:999px;
  display:grid; place-items:center;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom:.9rem;
}
.values .value__icon img{ 
  width:48px; height:48px; object-fit:contain;
  background: transparent !important;
  border-radius: 50%;
}

.values h3{
  font-size:1.05rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#0f172a;
  margin:.2rem 0 .55rem;
}
.values p{
  color:#4b5563;
  line-height:1.55;
  font-size:.98rem;
}

/* ========== UTILITIES ========== */
.btn{
  display:inline-block; padding:.55rem 1rem; border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
}
.btn--primary{
  background:linear-gradient(135deg, var(--brand), var(--accent));
  color:#0a0f20; font-weight:700;
}

/* ========== RESPONSIVE ========== */
@media (max-width:1100px){
  .values__inner{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width:780px){
  .logo img{ width:50px }
  .nav__list{ gap:1rem }
  .values{ padding: 2.5rem 1rem; }
  .values__inner{ grid-template-columns: 1fr; }
  .values .value{ min-height:unset; }
  .hero{ 
    padding-bottom: 56px; 
    height: 92vh;
    /* Ensure hero starts below fixed mobile header */
    padding-top: 80px;
  }
  .stats-wrapper{ margin-top: -80px; }
}

/* Mobile-specific improvements for hero layout */
@media (max-width: 820px){
  .hero{
    /* Account for fixed header on mobile */
    min-height: 100vh;
    padding-top: 100px;
  }
  
  /* Ensure hero section doesn't interfere with navbar */
  .hero {
    position: relative !important;
  }
  
  .hero::before, .hero::after {
    pointer-events: none !important;
  }
  
  /* Ensure proper z-index stacking */
  .scroll-arrow{
    z-index: 50; /* Below the mobile menu */
  }
}

@media (max-width: 480px){
  .hero{
    padding-top: 80px;
  }
}
.stats-wrapper{
  position: relative;
  z-index: 5;
  margin-top: -120px;           /* pull the card up into the hero area */
  margin-bottom: 32px;          /* keep your existing spacing below */
  padding: 0 1rem;
}

.stats-card{
  position: sticky;                   /* “floats” while scrolling */
  top: 16px;                          /* distance from viewport top */
  max-width: 1180px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e9edf4;
  border-radius: 28px;
  box-shadow:
    0 8px 20px rgba(16,24,40,0.08),
    0 20px 40px rgba(16,24,40,0.10);
  padding: 2.2rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem;
}

/* stat items */
.stat{
  text-align: center;
  padding: .25rem 1rem;
  position: relative;
}

/* subtle vertical separators */
.stat:not(:last-child)::after{
  content:"";
  position:absolute; right:-.75rem; top:12%;
  width:1px; height:76%;
  background: linear-gradient(180deg, transparent, #e6ebf2, transparent);
}

/* numbers + labels */
.stat h3{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color:#0f172a;
  font-weight: 800;
  letter-spacing: .01em;
}
.stat h3 span{
  display:block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:#334155;
  margin-top: .35rem;
}

.stat p{
  color:#475569;
  line-height:1.55;
  margin-top:.65rem;
  font-size: .98rem;
}

/* responsive tweaks */
@media (max-width: 1024px){
  .stats-card{
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.6rem 1.2rem;
  }
  .stat:not(:last-child)::after{ display:none }
  .stats-wrapper{ margin-top:-48px; }
  .stats-card{ top:12px }
}


@media (max-width: 900px){ .core-values-intro{ --overlap: 140px; } }
@media (max-width: 600px){ .core-values-intro{ --overlap: 100px; } }



/* --- BIGGER "OUR CORE VALUES" --- */
.core-values-intro h1,
.core-values-intro h2,
.core-values-intro .values-title {
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.02;
  font-size: clamp(3.25rem, 10vw, 7.5rem) !important; /* bigger ceiling */
  text-shadow: 0 8px 28px rgba(0,0,0,.35);
}

/* optional: make the subtitle a touch larger too */
.core-values-intro p {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  max-width: 980px;
  margin: 0 auto;
  opacity: .96;
}


/* Bigger Core Values image section (more scroll) */
.core-values-intro{
  /* make the section tall */
  min-height: 120vh;                
  padding-top: 18vh;                
  padding-bottom: 18vh;             

  
  background-size: cover;
  background-position: center 35%;  /* tweak this (0%–100%) to shift the crop */
}

/* Mobile browsers with dynamic viewport units */
@supports (height: 100dvh){
  .core-values-intro{
    min-height: 120dvh;
    padding-top: 18dvh;
    padding-bottom: 18dvh;
  }
}
.stats-wrapper{ position: relative; z-index: 4; }
.core-values-intro{ margin-top: -140px; }  /* adjust −100 to −220px to taste */




/* hero stays full height; don't pull the next section upward */
.hero{
  margin-bottom: 0;
  padding-bottom: 32px;        
}

/* the stats section starts naturally below the hero (no lift) */
#stats.stats-wrapper{
  margin-top: 0;               
  z-index: 3;
}

/* make the stats card non-sticky so it doesn't jump up into the hero */
#stats .stats-card{
  position: static;
  top: auto;
}

/* ensure the image section below isn't pulled up either */
.core-values-intro{
  margin-top: 0;                
}

/* keep the arrow visible over the hero and out of the card's way */
.scroll-arrow{ z-index: 50; }


/* === Even spacing around the white stats card === */
:root{
  /* one knob for the gap above and below the card */
  --stats-gap: clamp(28px, 4.5vw, 64px);
}

/* hero keeps the same small breathing room below the title */
.hero{
  padding-bottom: var(--stats-gap);
}

/* stats section: no negative/extra margins; equal padding top/bottom */
#stats.stats-wrapper{
  margin: 0 !important;                 /* kill earlier lifts or margins */
  padding-block: var(--stats-gap);      /* equal space above & below */
  padding-inline: 1rem;
  z-index: 3;
}

/* the card itself just centers; no outside margins */
#stats .stats-card{
  position: static;
  top: auto;
  margin: 0 auto;
}

/* mobile tune (optional) */
@media (max-width: 780px){
  :root{ --stats-gap: clamp(20px, 6vw, 40px); }
}


/* Make the Core Values hero shorter */
.core-values-intro{
  min-height: 80vh;        /* a bit smaller on mobile */
  padding: 10vh 1rem;      /* slightly less vertical padding */
  background-position: center 35%;  /* shows a touch lower area of the photo */
  background-size: cover;
  background-repeat: no-repeat;
}
/* Tweak further on medium/small screens */
@media (max-width: 1024px){
  .core-values-intro{
    min-height: 75vh;
    padding: 10vh 1rem;
  }
}
@media (max-width: 640px){
  .core-values-intro{
  min-height: 62vh;
  padding: 8vh 1rem;
  }
}
@media (min-width: 1200px){
  .core-values-intro{ min-height: 90vh; }
}

/* ========== FOOTER SECTION ========== */
.footer{
  background: #101828; /* match navbar solid background color */
  color: #0b233d;      /* dark navy text */
  padding: 1.2rem 1rem 0.3rem; /* reduced further: was 2rem to 1.2rem */
  margin-top: 3rem;
  border-top: none;
  position: relative;
  z-index: 10;
}

.footer-box{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem 0.3rem; /* reduced from 1rem to 0.6rem */
  background: transparent;
}

.footer-content{
  display: grid;
  grid-template-columns: 280px 1fr; /* logo column smaller, center section takes remaining space */
  gap: 3rem;
  align-items: start;
  text-align: center; /* center all content by default */
  position: relative;
}

.footer-logo{ display:flex; flex-direction:column; gap:0.5rem; align-items:center; text-align:center }
.footer-logo img{ width:100px; max-width:100%; height:auto } /* reduced from 120px to 100px */
.footer-tagline{ color: #ffffff; font-size:0.9rem; margin-top: .2rem; text-align:center; line-height:1.3 } /* smaller font and margins */

/* Center section container for the three link groups */
.footer-center{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; /* reduced from 2rem */
  justify-items: center;
  align-items: start; /* align all sections to the same top line */
  padding: 1rem 0; /* reduced from 1.5rem */
}

.footer-links{ 
  text-align:center;
  min-height: 90px; /* reduced from 120px */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.footer-links h3{ 
  font-size:1rem; /* reduced from 1.1rem */
  margin-bottom:0.5rem; /* reduced from 0.8rem */
  margin-top: 0; /* remove any top margin for consistent alignment */
  font-weight:800; 
  color:#ffffff;
} 
.footer-links ul{ list-style:none; padding:0; margin:0; flex-grow: 1 }
.footer-links li{ margin:0.2rem 0 } /* reduced from 0.4rem */
.footer-links a{ color: #e6f0fb; text-decoration:none; font-weight:600; display:block; padding:0.05rem 0 } /* reduced padding */
.footer-links a:hover{ text-decoration:underline; color:#ffffff }

.footer-contacts{ 
  text-align:center;
  min-height: 90px; /* reduced from 120px */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}
.footer-contacts h3{ 
  font-size:1rem; /* reduced from 1.1rem */
  margin-bottom:0.5rem; /* reduced from 0.8rem */
  margin-top: 0; /* remove any top margin for consistent alignment */
  font-weight:800; 
  color:#ffffff;
} 
.footer-contacts p{ margin:0.2rem 0; color:#e6f0fb; line-height:1.3 } /* reduced margins and line-height */
.footer-contacts .email{ font-weight:700 }

/* Force Contact link to match footer style */
.footer-contacts p a[href^="mailto"] {
  color: #e6f0fb !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.footer-contacts p a[href^="mailto"]:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.footer-contacts p a[href^="mailto"]:visited {
  color: #e6f0fb !important;
}
.footer-contacts p a[href^="mailto"]:link {
  color: #e6f0fb !important;
}

.footer-social{ display:flex; gap:0.5rem; align-items:center; margin-top: 0.5rem; justify-content:center } /* reduced gaps and margin */
.social-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:999px;
  background:#ffffff; /* white circle for better contrast */
  overflow:hidden; text-decoration:none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-link:hover{
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.social-link img, .social-link svg{ 
  width:20px; height:20px; display:block; filter:none; color:#1e3a5f;
  transition: transform 0.2s ease;
}
.social-link:hover img, .social-link:hover svg{
  transform: scale(1.05);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 0.8rem; /* reduced from 1.2rem */
  padding: 0.7rem 0 0.8rem; /* reduced padding significantly */
  text-align: center;
  color: #e6f0fb;
  font-size:0.85rem; /* smaller font */
  position: relative; /* enable positioning for the login button */
}
.footer-bottom a{ color:#ffffff; text-decoration:underline; margin:0 0.6rem; font-weight:600 }

.footer-contacts .login-button{
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.footer-contacts .login-button:hover{
  background-color: #ffffff;
  color: #101828;
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Responsive: stack columns on small screens */
@media (max-width: 900px){
  .footer-content{ grid-template-columns: 1fr; text-align: center; gap: 2.5rem }
  .footer-contacts{ text-align:center }
  .footer-links{ order:2; text-align:center }
  .footer-bottom{ font-size:0.9rem }
  .footer-logo img{ width:120px }
  .footer-logo{ align-items:center; text-align:center }
}

/* Phone-only footer fixes */
@media (max-width: 640px){
  .footer{ 
    padding: 2rem 1rem 1rem;
    background: linear-gradient(135deg, #101828 0%, #1a2a42 100%);
  }
  
  .footer-content {
    gap: 2rem;
  }
  
  .footer-logo {
    margin-bottom: 1rem;
  }
  
  .footer-logo img {
    width: 80px;
    filter: drop-shadow(0 2px 8px rgba(255,255,255,0.1));
  }
  
  .footer-tagline {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.8rem;
    color: #e6f0fb;
    letter-spacing: 0.3px;
  }
  
  /* Improved mobile layout with better spacing */
  .footer-center { 
    display: flex; 
    flex-direction: column; 
    gap: 2rem; 
    padding: 1.5rem 0; 
    align-items: stretch;
  }
  
  .footer-center .footer-links:first-of-type { order: 1; }  /* About */
  .footer-center .footer-links:last-of-type { order: 2; }   /* Get Involved */
  .footer-center .footer-contacts { order: 3; }             /* Connect */
  
  /* Enhanced section styling - applies to all footer sections */
  .footer-links, .footer-contacts {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }
  
  .footer-links h3, .footer-contacts h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
  }
  
  .footer-links h3::after, .footer-contacts h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
    border-radius: 1px;
  }
  
  .footer-links ul, .footer-contacts ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .footer-links li a, .footer-contacts li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e6f0fb;
    padding: 0.5rem 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
  }
  
  .footer-links li a:hover, .footer-contacts li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }
  
  /* Modern login button */
  .footer-login {
    margin-top: 1.5rem;
  }
  
  .footer-contacts .login-button {
    position: static;
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #101828 !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    transform: none;
    margin: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
  }
  
  .footer-contacts .login-button:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  }
  
  /* Enhanced social media section */
  .footer-social {
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
  }
  
  .social-link img {
    width: 24px;
    height: 24px;
  }
  
  /* Enhanced footer bottom */
  .footer-bottom {
    margin-top: 2rem;
    padding: 1.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .footer-bottom p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0.5rem 0;
    color: rgba(230, 240, 251, 0.9);
  }
  
  .footer-bottom a {
    color: #d4af37;
    font-weight: 600;
    margin: 0 0.5rem;
  }
}

/* Ensure the background image spans the entire page, including the navbar and footer */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: transparent;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  background: #101828;
  margin-top: 3rem;
  padding: 1.2rem 1rem 0.3rem;
}

/* Careers page specific footer spacing */
.careers-page .footer {
  margin-top: 3rem; /* Add space below the footer */
}

.careers-page main {
  margin-bottom: 3rem; /* Add space below the main content */
}
