:root {
    --blue: #003264;
    --black: #202124;
    --white: #f8f9fa;
    --red: #8B0000;
  }
  
  /* Reset & Base Styling */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Comic Neue', cursive;
    background-color: #f4f4f4;
    padding-top: 80px;
  }
  
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 12px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 80px;
    transition: all 0.3s ease;
  }
  
  .header-container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }
  
  .logo {
    height: 100%;
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 55px;
    width: auto;
  }
  
  /* Hamburger menu - hidden by default on desktop */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
  }
  
  .hamburger span {
    height: 3px;
    background-color: var(--blue);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* NAV MENU - Desktop version */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
  }
  
  .nav-menu a {
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 5px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-menu a:hover {
    background-color: rgba(0, 50, 100, 0.1);
  }
  
  .nav-menu a.active {
    background-color: var(--red);
    color: white;
  }
  
  /* DROPDOWN MENU - For both desktop and mobile */
  .dropdown {
    position: relative;
  }
  
  .dropdown > a::after {
    content: ' ▼';
    font-size: 0.6em;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--red);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  
  .dropdown-content a {
    color: white;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
  }
  
  .dropdown-content a:hover {
    background-color: var(--blue);
    /* background-color: rgba(255, 255, 255, 0.1); */
  }
  
  /* Show dropdown when active class is added */
  .dropdown-content.show {
    display: block;
  }
  
  /* Mobile styles */
  @media (max-width: 992px) {
    .hamburger {
      display: flex;
    }
    
    .nav-menu {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 280px;
      height: calc(100vh - 80px);
      background-color: var(--blue);
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
      gap: 10px;
      transition: left 0.3s ease;
      overflow-y: auto;
    }
    
    .nav-menu.show {
      left: 0;
    }
    
    .nav-menu a {
      color: white;
      width: 100%;
    }
    
    .dropdown {
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
    }
    
    .dropdown-content {
      position: static;
      width: 100%;
      box-shadow: none;
      border-radius: 10px;
      margin-top: 5px;
    }
    
    /* Animate hamburger to X when menu is open */
    .hamburger.active span:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  }
  
  /* Activities Hero Section */
  .hero-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: slideBackground 24s infinite ease-in-out;
  }
  
  /* Overlay remains same */
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 50, 100, 0.1); */
    z-index: 1;
  }
  
  @keyframes slideBackground {
    0%, 16% {
      background-image: url('../images/scuba.jpg');
    }
    17%, 33% {
      background-image: url('../images/sea_walk.jpg');
    }
    34%, 50% {
      background-image: url('../images/kayaking.jpg');
    }
    51%, 67% {
      background-image: url('../images/jetsky.jpg');
    }
    68%, 84% {
      background-image: url('../images/parasailing.jpg');
    }
    85%, 100% {
      background-image: url('../images/dolphin.jpg');
    }
  }
  


  .activities-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }
  
  .video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 100, 0.5);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
  }

  .hero-content-bg {
    background-color: rgba(255, 255, 255, 0.2); 
    padding: 30px 40px;
    border-radius: 20px;
    display: inline-block;
  }
  
  
  .hero-content h1 {
    color: var(--red);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
  }
  
  .hero-content h1 span {
    color:var(--blue);
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s both;
  }
  
  .hero-btn {
    margin-top: 30px;
  }
  
  .animated-border-btn {
    position: relative;
    display: inline-block;
    padding: 14px 30px;
    font-size: 1.1rem;
    color: white;
    background-color: var(--red);
    border: 2px solid transparent;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.4s ease;
  }
  
  .animated-border-btn:hover {
    background-color: var(--blue);
  }
  
  .animated-border-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--red), var(--blue), var(--red));
    z-index: -1;
    animation: border-rotate 4s linear infinite;
    background-size: 300% 300%;
  }
  
  .animated-border-btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--red);
    border-radius: 50px;
    z-index: -1;
    transition: background-color 0.4s ease;
  }
  
  .animated-border-btn:hover::after {
    background-color: var(--blue);
  }
  
  @keyframes border-rotate {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  
  
  /* Activities Section */
  .activities-section {
    padding: 80px 20px;
    background-color: var(--white);
  }
  
  .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 15px;
  }
  
  .section-header h2 span {
    color: var(--red);
  }
  
  .section-header p {
    font-size: 1.2rem;
    color: #555;
  }
  
  .activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  .activity-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    border: 2px solid transparent;
    animation: borderPulse 4s infinite linear;
    animation-play-state: paused;
  }
  
  .activity-card.animate {
    opacity: 1;
    transform: translateY(0);
    animation: cardAppear 0.6s ease forwards;
  }
  
  @keyframes cardAppear {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .activity-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 
      0 15px 35px rgba(0, 0, 0, 0.15),
      0 0 0 3px var(--blue),
      0 0 15px 5px rgba(0, 50, 100, 0.2);
    animation-play-state: running;
  }
  @keyframes borderPulse {
    0% {
      border-color: transparent;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    25% {
      border-color: var(--red);
      box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
    }
    50% {
      border-color: transparent;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    75% {
      border-color: var(--blue);
      box-shadow: 0 10px 30px rgba(0, 50, 100, 0.2);
    }
    100% {
      border-color: transparent;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
  }



  .activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
    transform-origin: center center;
    animation: imageFloat 8s infinite ease-in-out;
    animation-play-state: paused;
  }
  
  .activity-card:hover .activity-image img {
    animation: imageFloat 3s infinite ease-in-out, imageZoom 3s infinite alternate;
    animation-play-state: running;
  }
  
  @keyframes imageFloat {
    0%, 100% {
      transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
      transform: translateY(-5px) scale(1.02) rotate(0.5deg);
    }
    50% {
      transform: translateY(0) scale(1) rotate(0deg);
    }
    75% {
      transform: translateY(5px) scale(1.02) rotate(-0.5deg);
    }
  }
  
  @keyframes imageZoom {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.1);
    }
  }
  
  .price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: priceBounce 2s infinite;
  }

  @keyframes priceBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  
  .activity-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
  }
  
  .activity-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--blue);
  }
  
  .activity-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
  }

  .image-price-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.image-price-tag .original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
}

.image-price-tag .discounted-price {
  color: var(--red);
  font-weight: bold;
  font-size: 1rem;
}

.image-price-tag .prince-label {
  background-color: var(--blue);
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

  
  .activity-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  
  .detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
  }
  
  .detail-icon {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .btn-container {
    margin-top: auto;
    text-align: center;
  }
  
  .book-now-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--red);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: 150px;
  }
  
  .book-now-btn:hover {
    background-color: var(--blue);
  }
  

/* Activity Enquiry Form Styles */
.activity-enquiry-form {
  padding: 80px 20px;
  background-color: #f9f9f9;
  position: relative;
}

.activity-enquiry-form .section-header {
  margin-bottom: 40px;
  text-align: center;
}

.activity-enquiry-form .section-header h2 {
  color: var(--blue);
}

.activity-enquiry-form .section-header h2 span {
  color: var(--red);
}

/* New Flex Layout for Form + Barcode */
.form-flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}

.form-section {
  flex: 1 1 500px;
  border: 3px solid var(--red); /* bold red border */
  border-radius: 15px;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.1);
}

.barcode-section {
  flex: 1 1 300px;
  border: 3px solid var(--blue); /* bold blue border */
  border-radius: 15px;
  padding: 20px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 50, 100, 0.1);
}
.barcode-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 15px;
}

.barcode-instruction {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
}

.calculated-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--red);
  border-top: 2px dashed #ccc;
  padding-top: 15px;
}

/* Form Fields */
.form-container {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--blue);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: 'Comic Neue', cursive;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 50, 100, 0.2);
}

/* Checkbox Section */
.activities-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.checkbox-label:hover {
  background-color: rgba(0, 50, 100, 0.1);
}

.checkbox-label input {
  width: auto;
  margin-right: 8px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Submit Button */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background-color: var(--red);
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.submit-btn:hover {
  background-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 50, 100, 0.3);
}

/* Scroll highlight effect */
@keyframes highlightForm {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 50, 100, 0);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0, 50, 100, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 50, 100, 0);
  }
}

.highlight-form {
  animation: highlightForm 1.5s ease;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .form-flex-container {
    flex-direction: column;
    align-items: center;
  }

  .barcode-section {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .activities-checkboxes {
    grid-template-columns: 1fr 1fr;
  }

  .form-section,
  .barcode-section {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .activities-checkboxes {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    width: 100%;
  }

  .calculated-price {
    font-size: 1.6rem;
  }
}





  
/* Footer Styling */
.main-footer {
  background-color: #003264;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-family: 'Comic Neue', cursive;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1 1 300px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 1rem;
  color: #ffffff;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ffffff;
}

/* Hover Underline Animation */
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #8B0000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Social Media Icons */
.social-media-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.social-media {
  display: flex;
  gap: 20px;
}

.social-media a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #8B0000;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    flex: 1 1 100%;
  }

  .social-media {
    flex-wrap: wrap;
    justify-content: center;
  }
}
  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2.5rem;
    }
    
    .hero-content p {
      font-size: 1.2rem;
    }
    
    .activities-grid {
      grid-template-columns: 1fr;
    }
    
    .activity-card {
      max-width: 400px;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 2rem;
    }
    
    .hero-content p {
      font-size: 1rem;
    }
    
    .section-header h2 {
      font-size: 2rem;
    }
    
    .section-header p {
      font-size: 1rem;
    }
    
    .activity-content h3 {
      font-size: 1.3rem;
    }
    
    .activity-content p {
      font-size: 0.9rem;
    }
    
    .book-now-btn {
      padding: 10px 20px;
      min-width: 120px;
    }
  }