* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  background: #f0f7fb;
  color: #0f172a;
  line-height: 1.6;
}

/* Define ocean theme variables */
:root {
  --ocean-dark: #02243b;
  --ocean-mid: #055f83;
  --ocean-light: #d9f4ff;
  --ocean-hover: #ffffff;
}

/* Fix background image references */
body.stories-page {
  background: url('https://raw.githubusercontent.com/emmasukerta/For-Website/refs/heads/main/STORIES%20BACKGROUND.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
}

body.opportunities-page {
  background: url('https://raw.githubusercontent.com/emmasukerta/For-Website/refs/heads/main/dc2e2fd2d6a486abb130a3fd12e5bfea.jpg') repeat;
  background-attachment: scroll;
}

/* NAVBAR */
.ocean-nav {
  background: var(--ocean-dark);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ocean-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--ocean-light);
  white-space: nowrap;
}

.ocean-logo .emoji {
  font-size: 1.3rem;
}

/* LINKS */
.nav-links {
  margin-left: auto;
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--ocean-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding: 0.35rem 0.1rem;
}

/* Wave underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: radial-gradient(circle at 0 50%, #fff, transparent 70%),
              radial-gradient(circle at 50% 50%, #b9eeff, transparent 70%),
              radial-gradient(circle at 100% 50%, #fff, transparent 70%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease-out;
  opacity: 0.9;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a:hover {
  color: var(--ocean-hover);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.opportunities-page .container {
  padding: 3rem 1rem;
}

.section-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding: 2rem 0;
}

.section-title::before,
.section-title::after {
  content: "✦";
  display: inline-block;
  margin: 0 1rem;
  font-size: 1.5rem;
  opacity: 0.8;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #02243a;
  margin-bottom: 2rem;
  text-shadow: none;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid #0ea5e9;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.section-subtitle mark {
  background: linear-gradient(120deg, #0ea5e9, #1d4ed8);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 600;
}

/* Hero Image Section */
.hero-image {
  position: relative;
  z-index: 2;
  background-image: url("https://raw.githubusercontent.com/emmasukerta/For-Website/refs/heads/main/Dark%20Modern%20Mood%20Board%20Collage%20Desktop%20Wallpaper.jpg");
  background-size: cover;
  background-repeat: repeat-y;
  background-position: center 0;
  animation: scroll-bg 30s linear infinite;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
}

@keyframes scroll-bg {
  0%   { background-position: center 0; }
  100% { background-position: center 100vh; }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.65));
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 40px;
  text-align: left;
  width: fit-content;
  animation: fadeUp 1.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  color: #ffffff;
}

.hero-text h1 {
  font-size: 9rem;
  font-weight: 800;
  letter-spacing: -2px;
  text-shadow: 0px 6px 30px rgba(0,0,0,0.6);
}

.hero-text p {
  font-size: 3.2rem;
  opacity: 0.95;
  font-weight: 300;
  color: #ffffff;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.hero-slogan-bg {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  color: black;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  display: inline-block;
  max-width: 90%;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.divehers-logo {
  width: 350px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 5px auto;
}

.hero-slogan-bg p {
  margin-top: 5px;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: black !important;
  opacity: 1 !important;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  color: #e0f2fe;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.hero p {
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(15, 23, 42, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero-badge span {
  margin-left: 0.35rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #f97316;
  color: #111827;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(226,232,240,0.6);
  color: #e5e7eb;
}

.hero-highlight {
  background: rgba(15,23,42,0.25);
  border-radius: 1.25rem;
  padding: 1.25rem;
  font-size: 0.85rem;
}

.hero-highlight h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
  color: #bae6fd;
}

.hero-highlight p {
  margin-bottom: 0.5rem;
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.story-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-card:hover {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(-8px);
}

.story-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.story-card-body {
  padding: 1.25rem 1.3rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.story-card h3 {
  font-size: 1.1rem;
  color: #02243a;
  font-weight: 700;
}

.story-card .tagline {
  font-size: 0.85rem;
  color: #4b5563;
  font-weight: 500;
}

.story-card a.more-link {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: #2563eb;
}

/* Profile layout */
.profile-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.profile-media img {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-top: 1rem;
  border-radius: 1.1rem;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.profile-meta {
  font-size: 0.88rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.profile-meta span {
  display: inline-block;
  margin-right: 0.6rem;
}

.profile-body h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.profile-body h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.profile-body p + p {
  margin-top: 0.7rem;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.about-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(15,23,42,0.06);
  font-size: 0.95rem;
}

.about-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

/* Opportunities Page */
.opportunities-section-title {
  text-align: center;
  color: white;
  margin: 3rem 0 2rem 0;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.opportunities-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
}

/* Make the main page section title white on the opportunities page */
.opportunities-page .section-title {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.opportunity {
  flex: 0 1 320px;
  min-width: 260px;
  max-width: 360px;
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.opportunity:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.opportunity::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #ef4444;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.opportunity h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #ffffff;
}

.opportunity a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.opportunity a:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.location,
.opens {
  font-style: italic;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.opportunity p {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.75rem;
  line-height: 1.5;
  font-weight: 400;
}

.rotate-left {
  transform: rotate(-2deg);
}

.rotate-right {
  transform: rotate(2deg);
}

/* Large Dark Footer */
.site-footer-large {
  background: linear-gradient(135deg, #02243b, #055f83);
  color: #ffffff;
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-section:last-child ul {
  column-count: 2;
  column-gap: 30px;
}

.footer-section:last-child ul li {
  break-inside: avoid;
  margin-bottom: 0.75rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #d9f4ff;
  font-weight: 700;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0f2fe;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #e0f2fe;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #64e0ff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: #e0f2fe;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #64e0ff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #d9f4ff;
}

.site-footer {
  background-color: #0077b6;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.video-section-hero {
  background-image: url("https://raw.githubusercontent.com/emmasukerta/For-Website/refs/heads/main/sunset.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.overlay-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 16px;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.overlay-box .text {
  flex: 1;
  min-width: 250px;
}

.overlay-box .text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #02243a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.overlay-box .text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  color: #333;
}

.overlay-box .text p span.highlight {
  color: #0088aa;
  font-weight: 600;
}

.overlay-box .text p:nth-child(2) { animation-delay: 0.3s; }
.overlay-box .text p:nth-child(3) { animation-delay: 0.6s; }
.overlay-box .text p:nth-child(4) { animation-delay: 0.9s; }

.overlay-box .video {
  flex: 1;
  min-width: 300px;
  aspect-ratio: 16 / 9;
}

.overlay-box .video iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.site-footer {
  background-color: #0077b6;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Small screens */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .profile-header,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .ocean-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 0.8rem;
  }
}


