
  * {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }

body {
  background: url('../assets/whale-shark.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  scroll-behavior: smooth;
  font-family: sans-serif;
}

  /* Header Style------------------------------- */
  header {
    background: rgba(255, 255, 255, 0.034); 
     backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 20px 0 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); 
  }
  
  /* Base style for floating buttons */
.floating-contact,
.floating-faq {
  position: fixed;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: #007bff; /* Blue for Contact */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  z-index: 999;
}

.floating-contact:hover,
.floating-faq:hover {
  transform: scale(1.1);
  background-color: #0056b3; /* Darker on hover */
}

/* Position Contact Button above FAQ */
.floating-contact {
  bottom: 90px; /* Higher than FAQ button */
  background-color: #28a745; /* Green for Contact */
}

.floating-faq {
  bottom: 20px;
  background-color: #ffc107; /* Yellow for FAQ */
}



  /* Floating FAQ Button */
.floating-faq {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0088cc; /* Blue accent */
  color: white;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: background 0.3s ease;
}

.floating-faq:hover {
  background: #005c99;
}

.floating-faq span {
  font-size: 28px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 48;
}


.faq-panel {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 320px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  color: #1a1a1a;
  font-family: 'Segoe UI', sans-serif;
}

.faq-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.faq-panel h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #006064;
  border-bottom: 2px solid #00bcd4;
  padding-bottom: 4px;
}

.faq-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-panel li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  border-left: 4px solid #00acc1;
  padding-left: 10px;
  background: rgba(0, 188, 212, 0.05);
  border-radius: 4px;
}

  /* Title  Style------------------------------- */

  .site-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    gap: 12px; /* spacing between icon and title text */
    margin-bottom: 0; /* reduces spacing before subtitle */
    letter-spacing: 1rem; 
  }


/* Logo Style---------------------------------- */
.site-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 5px; 
  height: 60px; 
  width: 30%; 
  margin: 0px auto 5px ; 
 
}


.site-title .logo {
  height: 70px; 
  width: auto;
  display: block; 
  transition: transform 0.3s ease, filter 0.3s ease;

  /* Add a soft shadow for visibility */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)); 
}

/* Optional: Enhance the shadow on hover */
.site-title .logo:hover {
  transform: scale(1.05); 
  filter: drop-shadow(0 0 12px rgba(5, 5, 5, 0.7));
}





/* Navigation  Button Style------------------------ */

  .subtitle {
    text-align: center;
    font-size: 1rem;
    color: #b2ebf2;
    margin-top: 0px;   /* reduced spacing after title */
    margin-bottom: 0px;
  }

  .nav-divider {
    width: min(90%, 880px); 
    height: 2px;
    margin: 10px auto 10px;
      background: linear-gradient(
    to right,
    transparent 0%,
    #009688 20%,
    #009688 80%,
    transparent 100%
  );
    border: none;
    border-radius: 2px;
  }


  nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 10px;
  }

nav a {
  padding: 10px 20px;
  min-width: 140px;
  text-align: center;
  font-weight: bold;
  border-radius: 6px;
  color: white;
  background: rgba(255, 255, 255, 0.05); /* barely visible fill */
  border: 1px solid rgba(255, 255, 255, 0.3); /* soft border */
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(6px); /* optional glass blur */
  -webkit-backdrop-filter: blur(6px); /* Safari support */
}



nav a:hover,
nav a.active-link {
  background-image:
    linear-gradient(135deg, #002c4e, #00695c), /* fill */
    linear-gradient(135deg, #00acc1, #006064); /* border */
  color: white;
}

nav a:active {
  background: linear-gradient(135deg, #26c6da, #00acc1);
  transform: scale(0.98);
}



  main {
  background: rgba(255, 255, 255, 0.1); /* light transparent white */
  padding: 30px 20px;
  max-width: 1100px;
  margin: 30px auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
}

section {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

section.active {
  display: block;
  opacity: 1;
  visibility: visible;
}


  @keyframes fade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
  }

section p {
    margin-top: auto;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 80px;
    color: #ccc;
  }


form label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
  }

  input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #000000;
    border-radius: 6px;
    font-size: 1rem;
  }

section button {
    margin-top: 20px;
    padding: 12px 24px;
    background: #00796b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
  }

section button:hover {
    background: #004d40;
  }



    /* map Style------------------------------- */

  #map {
    height: 300px;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin-top: 15px;
  }


    /* card Style------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  flex: 2;
  min-width: 0; 
  width: 100%;
}


.card-dark {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 220px;
  background: linear-gradient(to bottom right, rgba(48, 111, 228, 0.3), rgba(54, 191, 255, 0.3));
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-dark:hover {
  animation: glow-border 2s ease-in-out infinite alternate;
}



@keyframes glow-border {
  0% {
    border-color: rgba(77, 208, 225, 0.4);
    box-shadow: 0 0 6px rgba(77, 208, 225, 0.3);
  }
  50% {
    border-color: rgba(77, 208, 225, 0.8);
    box-shadow: 0 0 14px rgba(77, 208, 225, 0.5);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  }
}



.card-dark .material-symbols-rounded {
  font-size: 28px;
  margin-bottom: 6px;
}

.card-dark .label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.card-dark .value {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 2px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  flex: 2;
  min-width: 0;
  width: 100%;
}

.overview-heading {
  margin-top: 45px;
  text-align: center;
  font-size: 2rem;
  color: #ffeb3b;

  
}

.active p {
  margin-top: auto;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 80px;
    color: #ccc;
    
}


.activity-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  align-items: flex-start;
  justify-content: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  flex: 2;
  min-width: 300px;
  
}



  /* Advisory Style------------------------------- */

.tourism-advisory {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 10px solid #00e5ff;
  border-radius: 5px;
  padding: 20px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(1, 121, 151, 0.2);
  max-height: 260px; 
  overflow-y: auto; 
}

.tourism-advisory h3 {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid #00e5ff;
  color: #ffeb3b;
  font-size: 1.2rem;
  padding: 10px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: 0 10px 16px rgba(204, 204, 204, 0.2);
}

.new-indicator {
  background: #ff0000;
  color: #fff;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 4px;
  margin-right: 6px; /* space after badge */
  vertical-align: middle;
}


.tourism-advisory ul {
  list-style: none;
  padding: 0;
}

.tourism-advisory li {
  margin-bottom: 8px;
  font-size: 0.85rem;
  position: relative;
  padding-left: 10px;
  font-style: italic;
}

.tourism-advisory a {
  color: #00e5ff;
  text-decoration: underline;
}

.tourism-advisory a:hover {
  color: #00bcd4;
}



  /* Butanding Style------------------------------- */

.butanding-info {
  background: rgba(255, 255, 255, 0.07);
  padding: 24px;
  margin-top: 40px; /*  reduced from 90px */
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  font-size: 1rem;
}

.butanding-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #4dd0e1;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
  
}

.butanding-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #e0f7fa;
}

.butanding-info ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}

.butanding-info li {
  margin-bottom: 8px;
  color: #ccefff;
}

.butanding-info a {
  color: #00e5ff;
  text-decoration: underline;
}

.butanding-info a:hover {
  color: #00bcd4;
}

  /* Monitor Style------------------------------- */

.monitor-section {
  margin-top: 60px;
  text-align: center;
  color: #ffffff;
}

.monitor-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #80deea;
}

.monitor-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: #cfd8dc;
  text-align: start;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 0 20px;
}

.monitor-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.monitor-card:hover {
  transform: translateY(-6px);
}

.monitor-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: inline-block;
  border-radius: 50%;
  padding: 10px;
  color: white;
}

.icon-green { background: #2ecc71; }
.icon-blue { background: #3498db; }
.icon-purple { background: #9b59b6; }
.icon-pink { background: #e91e63; }
.icon-orange { background: #ff7043; }
.icon-cyan { background: #00bcd4; }

.monitor-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #ffffff;
}

.monitor-card p {
  color: #dcefefff;
  font-size: 0.95rem;
  line-height: 1.5;
}



  /* Forcast Style------------------------------- */

.forecast-form {
  margin-bottom: 30px; /*  Adjust as needed */
}


.forecast-wrapper {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 30px;
  color: #e0f7fa;
}

.forecast-title {
  margin-top: 15px;
  text-align: center;
  font-size: 2rem;
  color: #ffeb3b;
  
}

.forecast-subtitle {
  text-align: center;
  color: #b0bec5;
  margin-bottom: 30px;
}

.forecast-form .form-row input:focus {
  border-color: #2196f3;
  outline: none;
  box-shadow: 0 0 4px rgba(33, 150, 243, 0.3);
 }

.forecast-form {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 10px;
  margin-top: 70px;
  margin-bottom: 70px;
}

.form-group {
  display: flex;
  flex-direction: column;
  
}

.forecast-form label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
  
}

.forecast-form input {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #4dd0e1;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: medium;
  text-transform: capitalize;
}

.forecast-btn {
  padding: 10px 20px;
  background: #2196f3;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.forecast-btn:hover {
  background: #1e88e5;
}

.forecast-result {
  margin-top: 70px;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.result-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.sighting-chance {
  text-align: center;
}

  /* Circle Style--------------------------------- */

.clean-circle {
  --value: 0;
  --size: 200px;
  --thickness: 10;
  --color: #3ca7e6; /* You can change this to green/orange/red dynamically */

  width: var(--size);
  height: var(--size);
  position: relative;
}

.clean-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.clean-circle .track {
  fill: none;
  stroke-width: var(--thickness);
}

.clean-circle .progress {
  fill: none;
  stroke: var(--color);
  stroke-width: var(--thickness);
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dasharray: calc(var(--value) * 2.83), 283;
  transition: stroke-dashoffset 0.6s ease;
  
}

.circle-labels {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.circle-labels .percent {
  font-size: 3rem;
  font-weight: 800;
  color:#ffeb3b;
}

.circle-labels .label {
  font-size: 1rem;
  color: #ffeb3b;
  font-weight: 700;
}

.vertical-line {
  width: 1px;
  height: 220px;
  background-color: #4dd0e1; /* Or any color */
  margin-left: 50px;
  margin-right: 50px;
}

  /* Prediction Style --------------------------------*/

.prediction-summary {
  margin-top: -35px;
}

.prediction-summary li {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid #4dd0e1;
  color: #e0f7fa;
  gap: 10px;
}

.prediction-summary p {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #b2ebf2;
  font-weight: 600;
  margin-left: -30px;

}

.prediction-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prediction-summary li {
  font-size: 1rem;
  border-left: 3px solid #4dd0e1;
  color: #e0f7fa;
  background-color: rgba(77, 208, 225, 0.05); /* subtle glow */
  border-radius: 1px;
  padding: 12px 20px;
  margin: 5px auto;
  max-width: 700px;
  transition: background 0.3s ease, transform 0.2s ease;
}



.prediction-summary strong {
  color: #ffeb3b;
  font-weight: 600;
}


  ul li {
    margin-bottom: 8px;
  }

/*Information Style------------------------------- */

.information {
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  font-family: 'Georgia', serif;
  color: #222;
}

.information h2 {
  font-size: 1rem;
  color:  #fff;
  margin-bottom: 45px;
    font-size: 2rem;
  color: #ffeb3b;
  margin-top: 45px;
}

.information .whale-summary {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 45px;
  margin-top: -30px;
}


.information .whale-summary div {
  margin-bottom: 4px;
}

.whale-summary strong {
  color: #0099ff;
}

.whale-summary .status {
  color: #c62828;
  font-weight: bold;
}



/* image slider Style */

.butanding-slider::-webkit-scrollbar {
  height: 6px;
}
.butanding-slider::-webkit-scrollbar-thumb {
  display: none;
}

.butanding-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  flex: 0 0 335px;
  overflow: hidden;
  border-radius: 16px 0 16px 0;
  transition: transform 0.3s ease;
}

.butanding-card:hover {
  transform: translateY(-5px);
}

.butanding-image img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;

}

.butanding-name {
  position: absolute;
  bottom: 267px;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.6); /* transparent dark background */

  text-align: left;
  color: #ffeb3b; /* white text */
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  mask-image: linear-gradient(to right, black 10%, transparent 80%);
  -webkit-mask-image: linear-gradient(to right, black 10%, transparent 80%);
}

.butanding-card .butanding-desc {
  font-size: .90rem;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
  margin-bottom: 18px;
  padding: 12px 14px;

}

.view-more-btn {
  display: inline-block;
  margin: 12px 16px 16px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.view-more-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* arrow slider Style */

.butanding-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
}

.butanding-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.arrow {
  position: absolute;
  top: 13%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);         /* slight transparent circle */
  backdrop-filter: blur(4px);                   /* frosted glass effect */
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow:hover {
  background: transparent;  /* Keep background transparent */
}

.arrow.left {
  left: 10px;
}
.arrow.right {
  right: 10px;
}

.material-symbols-outlined {
  font-size: 32px;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Optional for visibility */
}

/* whale infor */
.whale-info {
  background: #fdfdfd;
  padding: 40px 25px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Georgia', serif;
  color: #222;
  line-height: 1.6em;
}

.whale-info h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whale-info h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #005b96;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whale-info p {
  font-size: 1rem;
  margin-bottom: 18px;
  text-align: justify;
}

.whale-info ul {
  margin-left: 20px;
  padding-left: 10px;
  margin-bottom: 20px;
}

.whale-info li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.whale-info li strong {
  color: #003366;
}

.whale-info em {
  font-style: italic;
  color: #444;
}


/* Layout Container */
.main-container {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 5%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Georgia', serif;
  box-sizing: border-box;
}

/*  Main Content Area */
.main-content {
  text-align: justify;
  border: 1px solid #ccc;
  padding: 24px;

  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.main-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #ffeb3b;
  margin-top: -10px;
}

.main-content p {
  font-size: 0.90rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: left;
}

.main-content p strong {
  color: #ffeb3b;
}

.main-content h4 {
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #ffeb3b;
}



/*  Side Notes Panel */
.side-notes {
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  padding: 20px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.side-notes h3 {
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 5px;
  color: #005b96;
}

.side-notes p {
  text-align: left;  /* Same for sidebar */
  font-size: 0.90rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #444;
  margin: 0 0 1rem 0;
  text-align: justify;
  font-style: italic;
}

.side-notes p {
  margin: 0;
}

.side-notes hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 16px 0;
}


.bottom-image {
  grid-column: span 2;
  margin-top: 30px;
}

.bottom-image img {
  width: 100%;
  max-width: 800px; /* Adjust this as needed */
  height: auto;
  display: block;
  margin: 20px auto; /* Center the image */
  border-radius: 5px;
}

.page-number {
  position: absolute;
  bottom: 10px;
  right: 30px;
  font-size: 0.8em;
  color: #555;
}

/* === Shared Layout Base === */
.main-container,
.info-container {
  display: grid;
  grid-template-columns: 65% 30%;
  gap: 5%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Georgia', serif;
  color: #222;
}

/* === Main Text Columns === */
.main-content,
.main-column {
  text-align: justify;
}

.main-content h2,
.main-column h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.4em;
  font-weight: bold;
}

.info-container .main-column p {
  font-size: 0.90rem;
  line-height: 1.75;         /* More breathing room */
  margin-bottom: 18px;       /* Space between paragraphs */
  color: #fff;             /* Dark gray for better readability */
  text-align: justify;       /* Academic-style alignment */
  text-indent: 1.5em;        /* Optional: indents the first line */
  line-height: 1.6;    /* Improves readability */
  text-align: justify; /* Makes text edges align neatly *//
  
}

.info-container .main-column p a {
  font-style: italic;
  color: #81c784; /* Lighter blue for links */
  text-decoration: underline;
}


/* === Side Columns / Notes === */
.side-notes,
.side-column {
  font-size: 0.90rem;
  color: #fff;
}

.side-notes h3,
.side-column h3,
.side-notes h4 {
  font-size: 1rem;
  margin-top: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

.side-notes p,
.side-column p {
  margin-top: 6px;
  line-height: 1.4em;
  text-align: left;
}

.side-column ul {
  padding-left: 20px;
  list-style: disc;
  list-style: none;
  text-align: left;
}

.aside-line {
  top: 0;
  opacity: 0.5;
  margin-left: 15px;
  margin-right: 15px;
}

/* === Shared Image and Footer === */
.bottom-image {
  grid-column: span 2;
  margin-top: 30px;
}

.bottom-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-number {
  grid-column: span 2;
  text-align: right;
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
}


    /* About Style------------------------------- */

.about-section {
  padding: 20px 10px;
  font-family: 'Segoe UI', sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

.about-container h2 {
  font-size: 2rem;       /* Adjusted for better general display */
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  color: #ffeb3b;
  word-break: break-word;  /* Prevents text overflow */
  margin-top: 30px;
}

.about-container .text p {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-top: 10px; /* Adjust spacing below the h2 */
  margin-bottom: 20px;
}

.about-section .intro {
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.about-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  margin-bottom: 20px;
}

.about-block.reverse {
  flex-direction: row-reverse;
}


.about-block .text {
  flex: 1 1 50%;
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.about-block.reverse {
  flex-direction: row-reverse;
}

.about-block img {
   flex: 1 1 45%;
  max-width: 450px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  object-fit: cover;
}

.about-block .text h3 {
  font-size: 1.6rem;
  color: #a3cbff;
  margin-bottom: 10px;
  align-items: start;
  margin-top: -160px;
}

.about-block .text p {
  color: #ffff;
  line-height: 1.2;
  align-items: start;
}

.stats-section {
  margin-top: 40px;
  text-align: center;
}

.stats-section h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #f8f8f8;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  width: 280px;
}

.stat-card h4 {
  font-size: 1.5rem;
  color: #00796b;
  margin-bottom: 10px;
}

.stat-card p {
  color: #111111;
  font-size: 0.95rem;
}

/* Pop Up contacts Design */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.popup-container {
  background: #fff;
  border-radius: 12px;
  max-width: 1080px;
  width: 100%;
  height: auto;
  display: flex;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.15);
  position: relative;
  flex-direction: row;
}

/* Left: Form Panel */
.form-left {
  flex: 1;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-left img.popup-logo {
  width: 80px;
  margin-bottom: 15px;
}

.form-left h2 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 10px;
}

.form-left p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.form-left form {
  display: flex;
  flex-direction: column;
}

.form-left label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #333;
}

input, textarea {
  margin-top: 5px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

form button {
  margin-top: 18px;
  padding: 10px;
  background-color: #008c6c;
  color: white;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 2rem;
  background: transparent;     /* No background */
  color: #ffffff;              /* White X symbol */
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.close-btn:hover {
  transform: scale(1.2);       /* Slight zoom effect */
  opacity: 0.8;                /* Subtle fade on hover */
}

.form-left h2 {
  color: #00796b;
  margin-top: 15px;
  margin-bottom: 15px;
}

.form-left p {
  font-size: 0.95rem;

}

.form-left .contact-info {
  margin-top: 16px;
  text-align: center;
}

.form-left .contact-info p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.form-left .contact-info a {
  color: #008c6c;
  text-decoration: none;
}

.form-left .popup-note {
    text-align: center;
    margin-bottom: 20px ;
  }

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  list-style: none;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* Right: Image Panel */
.form-right {
  flex: 1;
  background-color: #f4f4f4;
  overflow: hidden;
}


.form-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

.social-icons {
    justify-content: center;
}

.social-icons a {
  font-size: 18px;
  color: #333;
  background: #f4f4f4;
  border-radius: 50%;
  padding: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  transition: 0.3s;
}
.social-icons a:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.popup-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #888;
}

.popup-note a {
  color: #008c6c;
  text-decoration: underline;
}


/* pop Web Dev --*/
/* === Overlay === */
.popup-overlay2 {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* === Popup Container === */
.close-btn2 {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 2rem;
  background: transparent;     /* No background */
  color: #363636;              /* White X symbol */
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.close-btn2:hover {
  transform: scale(1.2);       /* Slight zoom effect */
  opacity: 0.8;                /* Subtle fade on hover */
}

/* === Popup Container === */
.about-popup-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}

/* === Logo === */
.popup-logo {
  width: 80px;
  display: block;
  margin: 0 auto 5px;
}

/* === Title & Description === */
.about-popup-content h2 {
  text-align: center;
  font-size: 1.3rem;
  color: #009688;
  margin-bottom: 10px;
}

/* School title style */
.school-title {
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
}

/* h2 inside school-title */
.school-title h2 {
  margin-top: -15px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.90rem;
  color: #0071bd; /* Light blue for the school name */
  text-decoration: underline;
  
}

/* Highlight the word School */
.school-title strong {
  color: #000000; /* Yellow for 'School:' */
  margin-right: 4px;
}



.popup-description {
  text-align: center;
  font-size: 0.90rem;
  max-width: 650px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  color: #444;
}

/* === Credits Section === */
.credits-section .credits-title {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #00796b;
}

.credits-container {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.aboutpath {
  border: 1px solid #ddd;
  margin: 15px auto;
  max-width: 400px;
}


  .about-popup-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #009688 20%,
    #009688 80%,
    transparent 100%
  );
  width: 60%;
  margin: 16px auto;
  border-radius: 2px;
}

.credits-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}

.credit-card {
  margin-top: 5px;
  text-align: center;
  width: 150px;
}

.credit-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eeeeee; /* Add white border */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.credits-title {
  font-size: 1.0rem;
  color: #00796b;
  margin-bottom: 10px;
  margin-bottom: -15px;
}

.credit-photo:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.credit-name {
  margin-top: 5px;
  font-weight: 500;
  color: #333;
  font-size: 0.7rem;
  text-transform: capitalize;
  line-height: 1.2;
  text-align: center; /* ensures name is centered under photo */
  line-height: 1.2;
  font-weight: 700;

}

.credit-card .credit-name-webdev {
  margin-top: 0px;
  font-weight: 500;
  color: #333;
  font-size: 0.90rem;
  text-transform: capitalize;
  line-height: 1.2;
  text-align: center; /* ensures name is centered under photo */
  line-height: 1.2;
  color: #555;
}

.credit-card .credit-name-logo {
  margin-top: 0px;
  font-weight: 500;
  color: #333;
  font-size: 0.90rem;
  text-transform: capitalize;
  line-height: 1.2;
  text-align: center; /* ensures name is centered under photo */
  color: #555;
  display: inline-block;
}

.single-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  text-align: center;

}

.single-card .credit-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

/* === Footer === */
.popup-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin-top: 20px;
}


  /* Footer Style */

  footer {
    background: #002c4e;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: auto;
  }


  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /*  Center items horizontally */
    align-items: flex-start;   /* Align items from the top */
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    text-align: center;        /*  Center text inside each column */
    cursor: pointer;
  }

  .footer-grid div {
    flex: 1 1 240px;
  }

  .footer-grid h4 {
    margin-bottom: 5px;
    font-size: 1.2em;
    border-bottom: 1px solid #4dd0e1;
    display: inline-block;
    padding-bottom: 5px;
    color: #ffeb3b; /* Yellow color for headings */
    text-transform: uppercase; /* Make headings uppercase */
  }

  .footer-grid .tag-line {
    font-style: italic;
    font-size: 0.9rem;
  }

  .footer-grid p,
  .footer-grid a,
  .footer-grid li {
    color: #e0f7fa;
    font-size: 0.95em;
    list-style: none;
    margin-bottom: 6px;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.85em;
    color: #cfd8dc;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Thin separator line */
    padding-top: 15px;
    max-width: 1200px;        /* Control the width of the line */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -90px;
  }

  .footer-bottom  p {
    margin-top: auto;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 80px;
    color: #ccc;
  }



@keyframes smoothBounce {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.12) translateY(-4px); }
  50%  { transform: scale(0.98) translateY(1px); }
  75%  { transform: scale(1.04) translateY(-1px); }
  100% { transform: scale(1); }
}

.jump {
  animation: smoothBounce 0.45s ease-out;
}


  /* Tablet Size   */

  /* Mobile Phone Size  */

  @media (max-width: 768px) {

      #faqButton {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
      }

      #faqButton .material-symbols-outlined {
        font-size: 24px;
      }

       .floating-contact,
        .floating-faq {
          right: 20px;
          width: 50px;
          height: 50px;
          font-size: 22px;
        }

        .floating-contact {
          bottom: 80px; /* Adjust spacing for mobile */
        }

        .floating-faq {
          bottom: 15px;
        }


    nav {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }

    nav a {
      padding: 10px 14px;
      font-size: 0.70rem;
      min-width: 50px;
      text-align: center;
    }

    main {
      margin: 15px;
      padding: 20px;

    }

    /* home title */
    .overview-heading {
      text-align: center;
      font-size: 1.2rem;
      color: #ffeb3b;

      
    }

    .active p {
      text-align: center;
      margin-bottom: 10px;
      font-size: 0.70rem;
      color: #cccc;
      align-items: center;
    }

    .site-title {
      font-size: 1.8rem;         /* Smaller title for mobile */
      letter-spacing: 0.50rem;   /* Reduce spacing slightly */
      flex-direction: row;       /* Still row with icon */
      gap: 8px;                  /* Tighter gap on small screens */
      padding: 0 10px;
    }

    .site-title {
      height: 50px;  /* Reduce height for mobile */
      width: 60%;    /* Make it wider on small screens */
    }
 
    .site-title .logo {
      height: 50px; /* Scale down the logo */
      filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)); /* Adjust shadow */
    }

    .subtitle {
      font-size: 0.70rem;         /* Reduce subtitle text size */
      text-align: center;
      margin-top: 2px;
      margin-bottom: 2px;
      padding: 0 10px;
    }


    .tourism-advisory {
      max-width: 100%;
      margin-top: 50px;
      border-left: 5px solid #00e5ff;
    }

    .tourism-advisory h3 {
      background: rgba(0, 229, 255, 0.1);
      border: 1px solid #00e5ff;
      color: #ffeb3b;
      font-size: 1.2rem;
      padding: 10px 16px;
      border-radius: 5px;
      margin-bottom: 16px;
      text-align: center;
    }



    main p {
    margin-bottom: 70px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
      gap: 12px;
    }

    .card-dark {
      width: 100%;
      min-width: 0;
      padding: 14px 12px;
      text-align: center;
      align-items: start;
      font-size: 0.95rem; /* Slightly smaller font for mobile */
    }

    /* Optional: slightly scale down last 2 cards */
    .card-grid .card-dark:nth-child(5),
    .card-grid .card-dark:nth-child(6) {
      font-size: 0.85rem;
      padding: 12px 10px;
    }

    .monitor-section h2 {
      font-size: 1.2rem;
    }

    .monitor-section p {
      text-align: center;
      font-size: 0.90rem;
    }

    /* forcast */

    .forecast-form .form-row {
      margin-bottom: -25px; /*  Controls space between input fields */
    }

    .forecast-result {
      margin-top: 70px;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 0px;
    }
    
    .activity-wrapper {
      flex-direction: column;
      align-items: stretch;
      display: flex;
      gap: 10px; /* Reduce this to control spacing */
      
    }

    .forecast-form {
      margin-top: 0px;
    }

    .forecast-form .form-row label {
      font-size: 0.70rem;
      margin-bottom: 6px;
      color: #ccc;
    }

    .forecast-form .form-row input {
      padding: 10px 14px;
      font-size: 1rem;
      transition: border 0.3s ease;
    }

    .forecast-form .form-row input:focus {
      border-color: #2196f3;
      outline: none;
      box-shadow: 0 0 4px rgba(33, 150, 243, 0.3);
    }

    .forecast-title {
      margin-top: 15px;
      text-align: center;
      font-size: 1.2rem;
      color: #ffeb3b;
      margin-bottom: 10px;
    }

    .forecast-form {
      display: flex;
      justify-content: center;
      align-items: end;
      flex-wrap: wrap;
      padding: 0px;
      border-radius: 10px;
      margin-bottom: 70px;
    }

    .forecast-subtitle {
        color: #b0bec5;
        text-align: center;
        margin-bottom: 10px;
        font-size: 0.70rem;
      }


    /* information */
    .information {
    padding: 20px 15px;
    text-align: center;
  }

  .information h2 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 30px;
  }

  .information .whale-summary {
    font-size: 0.70rem;
    margin-bottom: 30px;
    margin-top: -20px;
  }

  .information .whale-summary div {
    font-size: 0.70rem;
    margin-bottom: 6px;
  }

  /* Shrink and center cards in the slider */
  .butanding-slider {

    scroll-padding: 10px;
  }

  .butanding-card {
    flex: 0 0 340px; /* smaller card width on mobile */
    border-radius: 12px 0 12px 0;
  }

  .butanding-card:hover {
    transform: none; /* Disable hover lift on touch screens */
  }

  .butanding-image img {
    height: auto;
    border-bottom: 1px solid #ddd;
  }

  .butanding-name {
    bottom: 265px; /* Adjust position higher for smaller image */
    font-size: 0.9rem;
    padding: 10px 14px;
    mask-image: linear-gradient(to right, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
  }

  .butanding-desc {
    font-size: 0.85rem;
    padding: 10px 12px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

   .arrow {
    width: 36px;
    height: 36px;
    background: rgba(121, 121, 121, 0.15);
  }

  .arrow.left {
      position: absolute;
      top: 6%;             /* vertically center */
      left: 10px;           /* distance from the left */
      transform: translateY(-50%);
  }

  .arrow.right {
      position: absolute;
      top: 6%;
      right: 10px;          /* distance from the right */
      transform: translateY(-50%);
  }

  .arrow span {
    font-size: 20px; /* Slightly smaller icons on mobile */
  }

  /*-- Popup --*/
  .popup-container {
    flex-direction: column;
    max-width: 95%;
    justify-content: center;
  }

  .form-left .popup-note {
    text-align: center;
    margin-bottom: 20px ;
  }

  .form-left h2 {
    font-size: 1.5rem;
    text-align: start;
  }


  .form-left .contact-info {
    text-align: center;
    margin-bottom: 5px;
  }


  .form-right {
    display: none; /* Hide image on mobile for compact view */
  }

  .form-left button {
    font-size: 0.95rem;
    padding: 12px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icons a {
     text-decoration: underline;
  }

.close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 2rem;           /* Large enough for touch */
  background: transparent;   /* Transparent background */
  color: #494949;            /* White X symbol for dark backgrounds */
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}


.close-btn:hover {
  background: rgba(0, 0, 0, 0.1); /* Subtle hover effect */
  transform: scale(1.1);
}


/* === Pop up Web Dev === */
  .about-popup-container {
    padding: 16px;
  }

  .about-popup-content h2 {
    font-size: 1.4rem;
  }

  .credits-section h3 {
    font-size: 1.1rem;
  }




  /* side notes */
  .side-notes {
    border-radius: 12px 12px 0px 0 ;
    padding: 20px;
    margin-top: 120px;
  }

  .side-notes p {
    color: #002c4e;
    margin: 0 0 1rem 0;
  }


    /* aside */

  .side-column {
    margin-top: 10px;      /* no negative margins on mobile */
    margin-bottom: 25px;
    padding: 14px;
  }

  .side-column h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    text-decoration: underline;
  }

  .side-column ul li {
    font-size: 0.95rem;
    line-height: 1.4;
    font-style: italic;
  }

  .side-column p {
    font-size: 0.80rem;
    
  }



    /* about styles */

    .about-container {
        padding: 0 12px;
        margin-top: -20px;
      }

      .about-container .intro {
      font-size: 0.90rem;
      color: #ccc;
      }

      .about-container h2 {
        font-size: 1.4rem; /* Slightly bigger heading */
        text-align: center; /* Center align heading */
        margin-bottom: 20px;
      }

      .about-block {
        flex-direction: column;
        text-align: center;
      }

      .about-block.reverse {
        flex-direction: column;
      }

      .about-block .text {
        padding: 0;
        align-items: center;
      }

      .about-block img {
        max-width: 100%;
        margin-bottom: 70px;
        gap: 50px;
      }

      .about-section h2 {
        font-size: 1.2rem;
        margin-top: 45px;
      }

      .about-block .text h3 {
        font-size: 1.2rem;
      }

      .about-block .text p {
        font-size: 0.90rem;
        line-height: 1.6;
        color: #ccc; /* Softer text color for readability */
        margin-bottom: -60px;
 
      }

      /* whale info */
      .whale-info {
          padding: 25px 15px;
          
        }

        .whale-info h2 {
          font-size: 1.4rem;
        }

        .whale-info h3 {
          font-size: 1.15rem;
        }

      /* info */
      .main-container {
        display: block; /* Stack vertically on mobile */
        padding: 0 15px;
        margin: 20px auto;
      }

      .main-content {
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
      }

      .main-content h3 {
        font-size: 1.25rem;
        margin-top: 10px;
        margin-bottom: 15px;
        text-align: center;
      }

      .main-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
        color: #e0e0e0;
        text-align: left;
      }


      .main-container,
      .info-container {
        grid-template-columns: 1fr;
      }

      .bottom-image {
        grid-column: span 1;
      }

      .page-number {
        text-align: center;
      }

      /* Stack and pad columns */
  .main-content,
  .main-column {
    text-align: left;
    margin-bottom: -100px;
  }

  /* Headings: Slightly smaller for mobile */
  .main-content h2,
  .main-column h2 {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.3em;
    text-align: center;
  }

  /* Paragraphs: Shrink size and improve readability */
  .info-container .main-column p {
    font-size: 0.80rem;
    line-height: 1.6;
    text-indent: 1em;
    text-align: left;
    padding-left: 2px;
    padding-right: 2px;
  }


  /* pop path */
    .about-popup-container {
        padding: 16px;
      }

      .about-popup-content h2 {
        font-size: 1.4rem;
      }

      .credits-section h3 {
        font-size: 1.1rem;
      }
      

    /* slider image card */

    .footer-grid {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 1px;
    }

    .footer-grid div {
      flex: 1 1 100%;
      max-width: 100%;
    }

    .footer-grid h4 {
      text-align: center;
    }

    .footer-grid ul {
      padding-left: 0px;
    }

    .footer-grid p,
    .footer-grid li,
    .footer-grid a {
      font-size: 0.90rem;
      margin-bottom: 8px;
    }

    .footer-bottom {
      margin-top: 30px;
      text-align: center;
    }

    .footer-bottom p {
      font-size:0.90rem;
    }

    .circular-progress {
        --size: 100px;
        --thickness: 10px;
    }

    .progress-text {
        font-size: 0.9rem;
    }

    .vertical-line {
      display: none;
    }

    .prediction-summary li {
        display: flex;                 
        align-items: center;           
        font-size: 0.85rem;            
        border-left: 3px solid #4dd0e1;
        border-radius: 2px;
        padding: 8px 12px;
        gap: 10px;                     
        color: #e0f7fa;
        margin-bottom: 16px;
        margin: 3px auto;
      }


    .prediction-summary .icon {
        display: none;            /* Hide icons on mobile */
    }

    .prediction-summary strong {
        display: inline;          /* Keep value inline */
        margin-left: 6px;
        color: #ffeb3b;
    }


    /* Pop Up Credits Section */
    .school-title h2 {
      font-size: 0.70rem; /* Slightly smaller on small screens */
      margin-top: -10px; /* Less negative margin on mobile */
      margin-bottom: 25px; /* Slightly reduced bottom space */
    }

    .about-popup-content .section-title {
      font-size: 1rem; /* Slightly smaller for mobile */
      margin-bottom: 5px;
    }

    .popup-description {
      font-size: 0.75rem; /* Adjust font size for smaller screens */
      padding: 0 10px; /* Tighter horizontal padding */
      line-height: 1.5;
    }

      /* about path */
      .credits-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 columns */
      gap: 12px; /* spacing between items */
      justify-items: center;
    }

    .credit-card {
      margin-top: 5px;
       width: 120px; /* fixed width keeps alignment neat */
      text-align: center;
    }

    .credit-photo {
      width: 70px;
      height: 70px;
    }

    .credit-name {
      font-size: 0.7rem;
      text-align: center;
      margin-top: 5px;
      text-align: center; /* ensures name is centered under photo */
      line-height: 1.2;
    }




    .credits-section h3 {
      font-size: 0.90rem; /* Smaller title for mobile */
      text-align: center; /* Center align title */
      margin-top: 40px; /* More space above the title */
      color: #00796b; /* Darker color for better contrast */
    }

     .about-popup-content hr {
      width: 70%;        /* Make the line slightly shorter */
      margin: 12px auto; /* Less vertical space on mobile */
      margin-top: 15px;
    }
  }



