/* Force page content to start below the sticky navbar + top bar */
    body { padding-top: 130px; }           /* 60px top bar + ~70px navbar */
    
    @media (max-width: 991.98px) {
        body { padding-top: 140px; }       /* a little more on mobile */
    }
    
    /* Make sure banner never goes under navbar */
    .banner {
        margin-top: 0 !important;
    }
	
/* 1. Make hamburger work on xs, sm, md (collapse below 992px) */
    .navbar-expand-lg > .container-fluid > .collapse {
        display: none;
    }
    .navbar-expand-lg.navbar-toggler[aria-expanded="false"] + .collapse {
        display: none;
    }
    .navbar-expand-lg.navbar-toggler[aria-expanded="true"] + .collapse {
        display: block;
    }

    /* 2. Force page content below fixed top bar + navbar */
    body {
        padding-top: 138px !important;   /* top bar 50px + navbar ~88px */
    }

    /* 3. Mobile – a tiny bit more space */
    @media (max-width: 991.98px) {
        body { padding-top: 148px !important; }
    }

    /* 4. Make sure banner never climbs over nothing */
    .banner {
        margin-top: 0 !important;
        position: relative;
        z-index: 1;
    }

/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Headings */
h2 {
    margin: 2rem 0;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
}

p + p {
    margin-top: 0;
}



/* Mobile + sm: Sticky navbar (max-width: 768px) */
@media (max-width: 768px) {
  
  
  body {
    padding-top: 0;
  }
  
  
  


/* Desktop: Full horizontal menu (min-width: 769px) */
@media (min-width: 769px) {
  
  
  body {
    padding-top: 0px;
  }
  
 
}

/* Header adjustments */
header {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  width: 100%;
  z-index: 999;
  margin-bottom: 128px;
}

@media (max-width: 768px) {
  header {
    margin-bottom: 0;
  }
}
/* General Content */
header {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    width: 100%;
    z-index: 999;
}

header h1 {
    font-size: 2.5rem;
}

.intro {
    text-align: center;
    padding: 2rem 0;
    background-color: #dfe7f1;
    width: 100%;
}

.intro h2 {
    font-size: 1.8rem;
    color: #1a5276;
}

main {
    width: 100%;
    padding: 2rem 0;
}

/* Section Spacing */
main .container section {
    margin-bottom: 3rem;
    padding: 1.5rem;
}

main .container section:last-child {
    margin-bottom: 0;
}

main .container section:nth-child(odd),
.top-story:nth-child(odd),
main .container .stories-container:nth-child(odd) {
    background-color: #f4f4f4;
}

main .container section:nth-child(even),
.top-story:nth-child(even),
main .container .stories-container:nth-child(even) {
    background-color: #fafafa;
}

/* Stories Container */
.stories-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 3rem;
    padding: 1.5rem;
}

.story-column {
    flex: 1;
}

.story-column img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    margin-bottom: 1rem;
    border: 2px solid #2c3e50;
    border-radius: 5px;
}

.story-column ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.story-column li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Lists on Index Page */
main .container section ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

main .container section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Blog/Reports Pages */
.blog-container {
    display: flex;
    gap: 2rem;
}

.blog-sidebar {
    flex: 3;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-sidebar h2 {
    font-size: 1.5rem;
    margin-top: 0;
    color: #1a5276;
}

.sidebar-toggle {
    display: none;
    background-color: #1a5276;
    color: #fff;
    border: none;
    padding: 0.8rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: #0e3858;
}

.blog-sidebar .news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.news-item {
    display: block;
    padding: 0.8rem;
    color: #1a5276;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #f4f4f4;
}

.news-item.active {
    background-color: #dfe7f1;
    font-weight: bold;
}

.blog-content {
    flex: 9;
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.story {
    display: none;
    overflow-wrap: break-word;
}

.story.active {
    display: block;
}

.story:nth-child(odd) {
    background-color: #fff;
}

.story:nth-child(even) {
    background-color: #f9f9f9;
}

.story-date {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

/* Photo */
.photo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border: 2px solid #2c3e50;
    border-radius: 5px;
}

@media (min-width: 601px) {
    .photo {
        max-width: 50%;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #1a5276;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 1rem 0;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0e3858;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
}

footer p {
    margin: 0;
}

footer .disclaimer-banner {
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Links */
footer a {
    color: #dfe7f1; /* Light color for contrast, matches .nav-link:hover */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0e3858; /* Matches .cta-button:hover for consistency */
    text-decoration: underline;
}

/* Links (fix typo from 'shade' to 'color') */
a {
    color: #1a5276;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* Existing responsive footer styles */
@media (max-width: 600px) {
    footer p {
        font-size: 0.9rem;
    }
    
}


/* Responsive Design - Mobile */
@media (max-width: 600px) {
  .container {
    padding: 0 0.5rem;
  }
  
  html, body {
    overflow: visible !important;
  }
  
  
  
  header h1 {
    font-size: 1.8rem;
  }
  
  .intro h2 {
    font-size: 2rem;
  }
  
  main {
    padding: 1rem 0;
  }
  
  .stories-container {
    flex-direction: column;
  }
  
  .story-column img {
    max-width: 250px;
    height: 250px;
  }
  
  .blog-container {
    flex-direction: column;
  }
  
  .blog-sidebar {
    flex: none;
  }
  
  .blog-sidebar .news-list {
    display: none;
  }
  
  .blog-sidebar .news-list.active {
    display: block;
  }
  
  .sidebar-toggle {
    display: block;
  }
  
  .blog-content {
    flex: none;
    padding: 1rem;
  }
  
  .photo {
    max-width: 100%;
    height: auto;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }
  
  footer p {
    font-size: 0.9rem;
  }
}
/* Top Links Bar - Static on mobile/sm, fixed on desktop */
.top-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: #3D8AD8;
  border-bottom: 1px solid #dee2e6;
  height: 60px;
  box-sizing: border-box;
  width: 100%;
  position: static; /* Default: Normal flow for mobile */
}

.social-icon,
.email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover,
.email-icon:hover {
  background-color: #18439F;
  color: white;
  transform: scale(1.1);
}

/* Desktop: Fixed at top */
@media (min-width: 769px) {
  .top-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important; /* Above navbar */
    justify-content: flex-end;
  }
}

/* Mobile/sm: Static, centered */
@media (max-width: 768px) {
  .top-links {
    position: static !important;
    justify-content: center;
    padding: 8px 15px;
    gap: 15px;
    height: auto;
  }
  
  .social-icon,
  .email-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .top-links {
    gap: 10px;
    padding: 5px 10px;
  }
  
  .social-icon,
  .email-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
/* Zooming Banner - Hero Image Under Navbar */
.banner {
  position: relative;
  width: 100%;
  height: 400px; /* Reduced depth */
  margin-top: 0;
  color: #fff;
  border-bottom: 2px solid #2c3e50;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), /* Overlay */
    url('/images/water.jpg') no-repeat center;
  background-size: cover;
  background-attachment: fixed; /* Subtle parallax during zoom */
  transform-origin: center;
  transform: scale(1.4); /* Starting scale */
  will-change: transform;
  backface-visibility: hidden;
  animation: zoom-in-zoom-out 27.5s ease-in-out infinite;
}

.banner > .container { /* Inner content: No scale, centered */
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

/* Keyframe Animation */
@keyframes zoom-in-zoom-out {
  0% { transform: scale(1.4); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1.4); }
}

/* Jumbo Text */
.jumbo-text {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  transform: none;
}

/* Desktop: Offset for Fixed Elements */
@media (min-width: 769px) {
  .banner {
    margin-top: 70px; /* Below top-links + navbar */
    height: 400px;
  }
  
  .jumbo-text {
    font-size: 3rem;
  }
}

/* Mobile/sm: Responsive */
@media (max-width: 768px) {
  .banner {
    height: 40vh;
    margin-top: 0; /* Flush under sticky nav */
    background-attachment: scroll; /* Perf on mobile */
  }
  
  .jumbo-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 35vh;
  }
  
  .jumbo-text {
    font-size: 1.5rem;
  }
}
/* Timetable */
.current-session { background:#d4edda; border-left:8px solid #28a745; }
.session-card   { transition:all 0.3s; }
.session-card:hover { transform:translateY(-5px); box-shadow:0 10px 20px rgba(0,0,0,0.1); }
.day-header     { background:#f8f9fa; font-weight:bold; }
