/* Hero Section */
.hero {
  background: linear-gradient(to right, #6ee7f9 10%, #ffffff 70%);
}
/* Text */
.hero-text {
  color: #0b4b75;
  padding-left: 10px;
}

.hero-text h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 3rem;
  font-style: italic;
  line-height: 1.2;
}

.hero-text p {
  margin: 20px 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.hero-text .btn {
  display: inline-block;
  background-color: #0b4b75;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-text .btn:hover {
  background-color: #083854;
}

/* Image */
.hero-image img {
  width: 80%;   /* force bigger than column */
  height: auto;
  margin-top: -7%;
}

.hero-image p {
  margin-top: 15px;
  font-style: italic;
  color: #0b4b75;
  margin-top: -5%;
}

@media (max-width: 576px) {
  .hero-text {
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-image img {
    width: 80%;   /* force bigger than column */
    max-width: none;  /* override Bootstrap img-fluid cap */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  
  .hero-text {
    padding-left: 2rem;
          
  }
  .hero-text h1 {
    font-size: 2.8rem;      
  }
  .hero-image img {
    width: 90%;              
    margin-top: 0;           
  }
}

/* Info Section */
.info-section {
  background: linear-gradient(to right, #ffffff 35%, #6ee7f9 70%);
}

/* Image */
.info-image img {
  width: 90%; /* keep limit */
  height: auto;
  margin-left: -20%;
}

/* Text */
.info-text {
  color: #0b4b75;
}

.info-text h2 {
  font-size: 1.75rem; /* responsive Bootstrap scale */
  font-weight: bold;
  margin-bottom: 15px;
}

.info-text p {
  font-size: 1.25rem;
  color: #264653;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Custom button (keep your palette) */
.custom-btn {
  background-color: #0b4b75;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.custom-btn:hover {
  background-color: #083854;
}



@media (max-width: 576px) {
  .info-text {
    padding-left: 10px;

  }
  .info-image img {
    width: 80%;   /* force bigger than column */
    max-width: none;  /* override Bootstrap img-fluid cap */
    margin-left: 0
  }

  .info-section {
    height: 135vh;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .info-text {
    padding-left: 10px;

  }
  .info-image img {
    width: 80%;   /* force bigger than column */
    max-width: none;  /* override Bootstrap img-fluid cap */
    margin-left: 0
  }

  .info-section {
    height: 42vh;
  }
}


/* Reserve Section */
.reserve-section {
  background: #ffffff;
  margin-top: -160px;   /* keeps overlap effect */
}

/* Text */
.reserve-text h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #0b4b75;
  margin-bottom: 20px;
}

.reserve-text p {
  font-size: 1.4rem;
  color: #0b4b75;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Custom Button */
.custom-btn {
  display: inline-block;
  padding: 10px 25px;
  background: #004080;
  color: #fff !important;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
  text-decoration: none;
}

.custom-btn:hover {
  background: #083854;
}

/* Image */
.reserve-image img {
  max-width: 600px;  
  border-radius: 10px;
  transform: translateX(40px); 
}

/* Responsiveness */
@media (max-width: 576px) {
  .reserve-image img {
    max-width: 100%;
    transform: none;  /* remove offset on smaller screens */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .reserve-image img {
    max-width: 100%;
    transform: none;  /* remove offset on smaller screens */
  }
}

/*Fish Net*/
.fish_net{ margin-top: -75px;
  max-width: 320px; 
  height: auto; 
  transform: rotate(45deg); 
}


/* Mobile */
@media (max-width: 576px) {
  .fish_net {
    max-width: 90px;     /* scale down for phones */
    margin-top: -290px;
    transform: rotate(45deg); /* less rotation on tiny screens */
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .fish_net {
    max-width: 170px;     
    margin-top: -290px;
    transform: rotate(45deg);
  }
}

/*Fish Hook*/
.fish_hook{
  margin-top: -400px; 
  margin-left: 64%;
  max-width: 480px; 
  height: auto; 
  transform: rotate(-9deg);
}

@media (max-width: 576px) {

  .fish_hook{
    margin-top: -170px; 
    margin-left: 42%;
    max-width: 190px; 
    height: auto; 
    transform: rotate(-9deg);

  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .fish_hook{
    margin-top: -270px; 
    margin-left: 62%;
    max-width: 350px; 
    height: auto; 
    transform: rotate(-9deg);
  }
}

/*CATCH SECTION*/
.catch-section {
  padding: 50px 6%;
  background: #ffffff;
  color: #0b4b75;
  overflow-x: hidden;
  overflow-y: visible;
  margin-top: -350px;
}

.catch-header {
  text-align: center;
  margin-bottom: 30px;
}

.catch-header h2 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.catch-header .sub {
  color: #2d8aa7;
}

.cards-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  padding-bottom: 40px; /* space so button does not hit page bottom */
}

.cards-track {
  display: flex;
  gap: 80px;
  width: max-content;
  will-change: transform;
}

.card {
  background: #e9fbff;
  border: 1px solid rgba(11,75,117,0.06);
  border-radius: 6px;
  overflow: visible ; /* allow button to stick out */
  text-align: center;
  flex: 0 0 250px;
  position: relative;
}

.card .img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .label {
  background: rgb(110, 231, 249);
  padding: 18px 12px;
  font-weight: 700;
  color: #0b4b75;
}

.card-btn {
  position: absolute;
  bottom: -18px;       /* moves it outside the card */
  left: 50%;
  transform: translateX(-50%);
  background: #0b4b75;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transform: translateX(-50%);
  z-index: 5;
}

@media (max-width: 576px) {

  .catch-section{
    margin-top: -160px; 
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .catch-section{
    margin-top: -210px; 
  }
}


.team-section {
  background: linear-gradient(rgba(255, 255, 255, 0.5)), url('../images/snsu_gate.png') no-repeat center center/cover ;
  color: rgb(11, 75, 117);
  font-weight: bold;
  padding: 50px 20px;   
  text-align: center;
  overflow: hidden;
}  

.quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 40px;
  
}

.person {
  display: flex;
  align-items: center;
  margin:0;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(to right, rgba(110, 231, 249,0.9) 0%, rgba(255,255,255,0) 100%);
  color: #003366; /* Dark text for contrast */
  margin-left: -27px;
  margin-right: 20%;
 
}

.person1 {
  display: flex;
  align-items: center;
  margin:0;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(to left, rgba(110, 231, 249,0.9) 0%, rgba(255,255,255,0) 100%);
  color: #003366; /* Dark text for contrast */
  margin-left: 20%;
  margin-right: -27px;
}


.person.left {
  justify-content: flex-start;
  text-align: left;
}


.person1.right {
  justify-content: flex-end;
  text-align: right;

}

.person img {
  width: 200px;
  border-radius: 10px;
  margin: 0 20px;
}

.person1 img {
  width: 200px;
  border-radius: 10px;
  margin: 0 20px;
}

.person .info {
  max-width: 400px;
}

.person1 .info {
  max-width: 400px;
}

.divider {
  background-color: #0b4b75; /* Dark blue bar */
  padding: 20px;
  margin-left: -27px;
  margin-right: -27px;
}

.divider h2 {
  margin: 0;
  font-size: 24px;
  color: #6ee7f9;
  font-weight: bold;
}

@media (max-width: 576px) {
  .person.left{
    margin-left: -7%;
    text-align: center;
  }
  .person1.right{
    margin-right: -7%;
    text-align: center;
  }
  .person,
  .person1 {
    flex-direction: column;   /* stack image and text vertically */
    text-align: center;       /* center text for better readability */
    margin-left: 0;
    margin-right: 0;
  }

  .person img,
  .person1 img {
    margin: 0 0 15px 0; /* space between image and text */
  }
}

.footer {
  background-color: #6ee7f9;
  color: #003366;
  font-family: Arial, sans-serif;
}

.footer h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #003366;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
  margin: 5px 0;
}

.footer i {
  margin-right: 8px;
  color: #003366;
}

.footer-bottom {
  background-color: #6ee7f9;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: bold;
  color: #0b4b75;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .footer .footer-col {
    text-align: center;
  }
}
/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: #0b4b75;
  color: white;
  border: none;
  border-radius: 50%;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop i {
  font-size: 18px;
}

#backToTop:hover {
  background-color: #083854;
  transform: scale(1.1);
}
