/* 
 * Main stylesheet for Diatoms webpage
 * Inspired by the Smithsonian's "Enter the Sea Dragon" webpage
 */

/* Base styles and reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #e6f7ff;
  background: linear-gradient(180deg, #053047 0%, #07456c 20%, #0a5d7f 40%, #0d7590 60%, #108aa1 80%, #13a0b1 100%);
  background-attachment: fixed;
  background-size: 100% 400%;
  background-position: 0% 0%;
  animation: depthChange 120s ease infinite alternate;
  overflow-x: hidden;
  position: relative;
}

/* Create underwater light effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIiB2aWV3Qm94PSIwIDAgMzAwIDMwMCI+PHJlY3Qgd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMCwwIEwzMDAsMCBMMzAwLDMwMCBMMCwzMDAgWiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1vcGFjaXR5PSIwLjAzIi8+PGNpcmNsZSBjeD0iMTUwIiBjeT0iMTUwIiByPSIxMDAiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjxjaXJjbGUgY3g9IjE1MCIgY3k9IjE1MCIgcj0iNTAiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPjwvc3ZnPg==');
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

/* Create bubbles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 1px, transparent 4px),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 1px, transparent 4px),
    radial-gradient(circle at 40% 30%, rgba(255,255,255,0.12) 1px, transparent 3px),
    radial-gradient(circle at 60% 70%, rgba(255,255,255,0.12) 1px, transparent 3px),
    radial-gradient(circle at 90% 90%, rgba(255,255,255,0.12) 1px, transparent 2px);
  background-size: 20% 20%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
  animation: bubbleFloat 60s linear infinite;
}

/* Animation for depth change */
@keyframes depthChange {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

/* Animation for bubbles */
@keyframes bubbleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Original Surfer', 'Quicksand', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #7cd9ff;
  text-shadow: 0 0 15px rgba(124, 217, 255, 0.5);
  letter-spacing: 1px;
}

/* Container for all content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: rgba(5, 48, 71, 0.6); /* Semi-transparent ocean blue */
  color: white;
  padding: 12px 0;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 217, 255, 0.3);
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15), 0 0 8px rgba(124, 217, 255, 0.3);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Original Surfer', 'Quicksand', Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #7cd9ff;
  text-shadow: 0 0 10px rgba(124, 217, 255, 0.7);
  position: relative;
  display: inline-block;
}

.logo::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjN2NkOWZmIiBkPSJNMjU2IDU2YzExMC41MzIgMCAyMDAgODkuNDUxIDIwMCAyMDAgMCAxMTAuNTMyLTg5LjQ1MSAyMDAtMjAwIDIwMC0xMTAuNTMyIDAtMjAwLTg5LjQ1MS0yMDAtMjAwIDAtMTEwLjUzMiA4OS40NTEtMjAwIDIwMC0yMDBtMC00OEMxMTkuMDMzIDggOCAxMTkuMDMzIDggMjU2czExMS4wMzMgMjQ4IDI0OCAyNDggMjQ4LTExMS4wMzMgMjQ4LTI0OFMzOTIuOTY3IDggMjU2IDh6bTAgMTY4Yy00NC4xODMgMC04MCAzNS44MTctODAgODBzMzUuODE3IDgwIDgwIDgwIDgwLTM1LjgxNyA4MC04MC0zNS44MTctODAtODAtODB6Ii8+PC9zdmc+');
  background-size: contain;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #7cd9ff;
  box-shadow: 0 0 8px #7cd9ff, 0 0 12px #7cd9ff;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #7cd9ff;
  text-shadow: 0 0 10px rgba(124, 217, 255, 0.8);
}

nav ul li a:hover::after {
  width: 100%;
}

/* AI notice banner */
.ai-notice-container {
  position: fixed;
  top: 61px; /* Position just below the header (adjusted to avoid text overlap) */
  left: 0;
  right: 0;
  z-index: 999; /* Below the header but above other content */
  width: 100%;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-notice {
  background-color: rgba(15, 30, 60, 0.8);
  border-top: 1px solid rgba(124, 217, 255, 0.3);
  border-bottom: 1px solid rgba(124, 217, 255, 0.3);
  color: #d9e6ff;
  padding: 3px 0;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 3px 10px rgba(124, 217, 255, 0.2);
  width: 100%;
  min-height: 28px; /* Further reduced to match padding reduction */
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ai-notice .phone {
  font-weight: bold;
  color: #7cd9ff;
  text-shadow: 0 0 8px rgba(124, 217, 255, 0.8);
  letter-spacing: 0.5px;
}

.ai-notice p {
  margin: 0;
  line-height: 1.4;
  font-family: 'Open Sans', Arial, sans-serif;
}

.ai-notice-inner {
  padding: 0 15px;
}

/* Hero section */
.hero {
  height: 70vh;
  min-height: 500px;
  margin-top: 50px; /* Reduced by 14px to move the background up */
  background: url('../../images/image2.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 48, 71, 0.85) 0%, rgba(7, 69, 108, 0.9) 100%);
  z-index: 1;
  animation: underwaterLight 10s ease-in-out infinite alternate;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIiB2aWV3Qm94PSIwIDAgMzAwIDMwMCI+PHJlY3Qgd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMCwxNTAgQzUwLDEyMCAxNTAsMTgwIDMwMCwxMjAiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLW9wYWNpdHk9IjAuMSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIi8+PHBhdGggZD0iTTAsMTgwIEM4MCwxNTAgMjAwLDIxMCAzMDAsMTUwIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS1vcGFjaXR5PSIwLjEiIGZpbGw9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIvPjwvc3ZnPg==');
  background-size: cover;
  opacity: 0.6;
  animation: underwaterWaves 20s linear infinite;
}

@keyframes underwaterLight {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.7; }
}

@keyframes underwaterWaves {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.hero-content {
  z-index: 2;
  padding: 20px;
  max-width: 900px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #f0f8ff; /* Light color for better contrast */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.7rem;
  max-width: 800px;
  margin: 0 auto;
  color: #e6f2ff; /* Light color for better contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: 300;
}

/* Main content sections */
.section {
  padding: 80px 0;
  overflow: hidden;
  background-color: rgba(13, 117, 144, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin: 60px 0;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Custom section dividers */
.section {
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDEyMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHBhdGggZD0iTTk4NS42Niw5Mi44M0M5MDYuNjcsNzIsODIzLjc4LDMxLDc0My44NCwxNC4xOWMtODIuMjYtMTcuMzQtMTY4LjA2LTE2LjMzLTI1MC40NSwwLjM5LTU3Ljg0LDExLjczLTExNCwzMS4wNy0xNzIsNDEuODZBNjAwLjIxLDYwMC4yMSwwLDAsMSwwLDI3LjM1VjEyMEgxMjAwVjk1LjhDMTEzMi4xOSwxMTguOTIsMTA1NS43MSwxMTEuMzEsOTg1LjY2LDkyLjgzWiIgZmlsbD0iIzRlY2RjNCIgb3BhY2l0eT0iMC4yIj48L3BhdGg+PC9zdmc+');
  background-size: cover;
  background-position: center top;
  z-index: 2;
  pointer-events: none;
}

.section:nth-child(even)::after {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDEyMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHBhdGggZD0iTTAsMFY0Ni4yOWM0Ny43OSwyMi4yLDEwMy41OSwzMi4xNywxNTgsMjgsNzAuMzYtNS4zNywxMzYuMzMtMzMuMzEsMjA2LjgtMzcuNUM0MzguNjQsMzIuNDMsNTEyLjM0LDUzLjY3LDU4Myw3Mi4wNWM2OS4yNywxOCwxMzguMywyNC44OCwyMDkuNCwxMy4wOCwzNi4xNS02LDY5Ljg1LTE3Ljg0LDEwNC40NS0yOS4zNEM5ODkuNDksMjUsMTExMywtMTQuMjksMTIwMCw1Mi40N1YwWiIgZmlsbD0iIzA3NDU2YyIgb3BhY2l0eT0iMC4yNSI+PC9wYXRoPjwvc3ZnPg==');
  top: -50px;
  bottom: auto;
  transform: rotate(180deg);
}

.section:nth-child(odd) {
  background-color: rgba(10, 93, 127, 0.4);
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #7cd9ff;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 0 0 15px rgba(124, 217, 255, 0.5);
  letter-spacing: 2px;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, rgba(124, 217, 255, 0.2), rgba(124, 217, 255, 0.8), rgba(124, 217, 255, 0.2));
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(124, 217, 255, 0.8);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; box-shadow: 0 0 10px rgba(124, 217, 255, 0.5); }
  50% { opacity: 1; box-shadow: 0 0 20px rgba(124, 217, 255, 0.8); }
}

.section-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 40px;
}

.text-block {
  flex: 1;
  padding: 20px;
  min-width: 300px;
}

.text-block p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d9e6ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.image-block {
  flex: 1;
  padding: 20px;
  min-width: 300px;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(78, 205, 196, 0.3), 0 0 15px rgba(124, 217, 255, 0.2);
  transition: all 0.4s ease;
  filter: brightness(1.05) contrast(1.05);
  border: 1px solid rgba(124, 217, 255, 0.2);
}

.image-block img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(78, 205, 196, 0.6), 0 0 20px rgba(124, 217, 255, 0.4);
  filter: brightness(1.1) contrast(1.1);
  border: 1px solid rgba(124, 217, 255, 0.6);
}

/* Alternating layout for sections */
.section:nth-child(even) .section-content {
  flex-direction: row-reverse;
}

/* Special styling for highlighting important information */
.highlight-box {
  background-color: rgba(15, 25, 50, 0.6);
  border-left: 5px solid rgba(78, 205, 196, 0.7);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 5px 15px rgba(78, 205, 196, 0.15), inset 0 0 30px rgba(10, 20, 40, 0.5);
  position: relative;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.highlight-box p {
  font-style: italic;
  color: #d9e6ff;
  line-height: 1.8;
  position: relative;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.highlight-box p::before {
  content: '"';
  font-size: 50px;
  color: rgba(78, 205, 196, 0.25);
  position: absolute;
  top: -20px;
  left: -15px;
  font-family: Georgia, serif;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

.highlight-box p em {
  font-weight: 500;
  color: #7cd9ff;
  display: block;
  text-align: right;
  margin-top: 10px;
  font-style: normal;
  text-shadow: 0 0 8px rgba(124, 217, 255, 0.6);
}

/* Call to action section */
.cta {
  background: linear-gradient(135deg, #053047 0%, #07456c 100%);
  color: white;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 60px 0 40px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(124, 217, 255, 0.15);
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../images/image2.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 1;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 25px;
  font-size: 2.5rem;
  color: #f0f8ff; /* Light color for better contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
  color: #e6f2ff; /* Light color for better contrast */
}

/* VR box styles */
.vr-box {
  background-color: rgba(124, 217, 255, 0.1);
  padding: 20px;
  margin: 25px auto;
  max-width: 700px;
  border-radius: 8px;
  border: 1px solid rgba(124, 217, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), inset 0 0 30px rgba(124, 217, 255, 0.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cta-button {
  display: inline-block;
  background-color: #4ecdc4;
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(78, 205, 196, 0.4);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
  background-color: #3dbeb5;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(78, 205, 196, 0.6);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Footer */
footer {
  background-color: #053047;
  color: #fff;
  padding: 50px 0 30px;
  text-align: center;
  position: relative;
  border-radius: 20px 20px 0 0;
  margin-top: 20px;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4ecdc4, #07456c, #053047);
  box-shadow: 0 0 15px rgba(78, 205, 196, 0.4);
}

footer p {
  margin-bottom: 15px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.qr-code {
  margin: 20px auto;
  text-align: center;
}

footer small {
  opacity: 0.7;
  font-size: 0.85rem;
}

footer a {
  color: #a0d3e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* Scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 0.15s;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.4s ease forwards;
  animation-delay: 0.15s;
}

.delay-1 {
  animation-delay: 0.25s;
}

.delay-2 {
  animation-delay: 0.35s;
}

/* Bubble animations and styles */
.bubbles-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  opacity: 0.6;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(255, 255, 255, 0.5);
  z-index: 0;
  pointer-events: none;
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Water ripple effect for hover */
.water-ripple {
  position: relative;
  overflow: hidden;
}

.water-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(124, 217, 255, 0.2);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: width 0.8s, height 0.8s;
  pointer-events: none;
}

.water-ripple:hover::after {
  width: 200%;
  height: 200%;
}

/* Ocean icon styles */
.ocean-icon {
  color: #4ecdc4;
  margin-right: 10px;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.8);
  animation: glow 2s infinite ease-in-out;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(78, 205, 196, 0.8), 0 0 20px rgba(78, 205, 196, 0.5);
  }
}

.highlight-box .ocean-icon {
  font-size: 1.2rem;
  opacity: 0.9;
  vertical-align: middle;
  margin-right: 8px;
}

/* Responsive design */
@media (max-width: 992px) {
  .section-content {
    gap: 30px;
  }
  
  .text-block, .image-block {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .section-content {
    flex-direction: column !important;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 15px;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 10px;
    margin-bottom: 5px;
  }
  
  .cta h2 {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 12px 28px;
  }
  
  /* Make AI notice more responsive */
  .ai-notice-container {
    top: 125px; /* Further increased to ensure first line is fully visible */
  }
  
  .hero {
    margin-top: 65px; /* Adjusted to accommodate the repositioned banner */
  }
  
  .ai-notice {
    padding: 6px 0;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .text-block, .image-block {
    padding: 10px;
  }
  
  .highlight-box {
    padding: 20px;
    margin: 20px 0;
  }
  
  .cta {
    padding: 50px 0;
  }
  
  /* Fix for AI notice on mobile */
  .ai-notice-container {
    height: auto;
    position: fixed; /* Keep it fixed to match navigation bar behavior */
  }
  
  .ai-notice {
    min-height: auto;
    padding: 10px 0;
  }
  
  .ai-notice p {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 5px;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .ai-notice-container {
    top: 135px; /* Further increased to ensure first line is fully visible */
  }
  
  .ai-notice-inner {
    padding: 0 10px;
  }
  
  .ai-notice p {
    font-size: 0.85rem;
    line-height: 1.3;
  }
  
  .hero {
    margin-top: 75px;
  }
}

/* Gallery Section styles */
.section:nth-child(8) img {
  transition: all 0.5s ease;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(78, 205, 196, 0.3), 0 0 15px rgba(124, 217, 255, 0.3);
  border-radius: 12px;
  margin: 5px;
}

.section:nth-child(8) img:hover {
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 0 3px rgba(78, 205, 196, 0.6), 0 0 20px rgba(124, 217, 255, 0.5);
}