/* Popup Overlay - Full Page Dark Background */
.about-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92); /* Darker overlay */
  display: none; /* Hidden initially */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(8px); /* More blur */
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show overlay with fade-in effect */
.about-popup-overlay.active {
  display: flex;
  opacity: 1;
}

/* Popup Card Container */
.about-card-popup {
  position: relative;
  width: 100%;
  max-width: 310px; /* Slightly larger */
  margin: 20px;
  animation: popupFadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform: scale(0.9);
  opacity: 0;
}

/* Popup Content */
.about-popup-overlay .about {
  width: 100%;
  height: auto;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
}

/* Close Button */
.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #cc0000;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-close-btn:hover {
  background: #ff0000;
  transform: rotate(90deg) scale(1.1);
}

/* Image in Popup */
.about-popup-overlay .about-image-wrapper {
  padding: 0;
}

.about-popup-overlay .about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* Content in Popup */
.about-popup-overlay .heading-attoi {
  padding: 20px;
  font-size: 18px;
  text-align: center;
  color: #333;
  font-weight: 600;
  margin: 0;
}

/* Register Button in Popup */
.about-popup-overlay .link-2 {
  margin: 20px auto;
  width: 180px;
  height: 45px;
  background: linear-gradient(135deg, #ff9d00, #ff6b00);
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(255, 157, 0, 0.3);
  transition: all 0.3s ease;
}

.about-popup-overlay .link-2:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 157, 0, 0.4);
}

/* Animations */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .about-popup-overlay .about-image {
    height: 400px;
  }
  
  .about-card-popup {
    max-width: 90%;
    margin: 10px;
  }
  
  .popup-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
 /*navbar */


  :root {
      --primary: #ffbb00;
      --secondary: #ffbb00;
      --light: #F5F5F5;
      --dark: #14141F;
    }

    body {
      font-family: 'Nunito', sans-serif;
      margin: 0;
      padding: 0;
    }

    /* Navbar */
    .navbar-light {
      background: #FFFFFF;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      z-index: 999;
    }

    .navbar-light .navbar-brand img {
      max-height: 100px; /* Increased logo size */
      transition: 0.3s;
    }

    .navbar-toggler {
      border: none;
    }

    .navbar-toggler:focus {
      box-shadow: none;
    }

    .navbar-light .navbar-nav .nav-link {
      font-size: 18px;
      font-weight: 600;
      margin-right: 25px;
      padding: 40px 0; /* Adjusted for taller logo */
      color: var(--dark) !important;
      position: relative;
      transition: color 0.3s ease;
    }

    /* Yellow underline at bottom of header */
    .navbar-light .navbar-nav .nav-link::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background-color: var(--primary);
      transition: width 0.3s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
      width: 100%;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
    color: #ffbb00 !important;
    }

    .nav-item.dropdown {
  position: relative;
}

.dropdown-item {
  padding: 12px 18px; /* Increase vertical padding */
  font-size: 17px; /* Optional: Increase text size */
  cursor: pointer;
  display: block;
  width: 100%;
  color: #000; /* Default color */
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-item:hover {
  background-color: #ffbb00;
  color: #fff !important;
}


.nav-item.dropdown:hover > .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
  display: block;
}

    @media (max-width: 991.98px) {
      .navbar-light .navbar-nav .nav-link {
        padding: 15px 0;
        margin-right: 0;
      }

      .navbar-light .navbar-brand img {
        max-height: 80px; /* Smaller logo on mobile */
      }

      .navbar-light .navbar-collapse {
        margin-top: 10px;
        border-top: 1px solid  #ffbb00 !important;
      }

      .navbar-light .navbar-nav .nav-link::before {
        bottom: -2px;
      }
    }



/* Main section container */
.section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 100px; /* Adjust gap between text and image */
  position: relative;
  flex-wrap: wrap; /* For responsiveness */
  margin-bottom: 10px;
  margin-top: 10px;
}

/* Heading section */
.section1 {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}


.section1 .heading-the {
  font-family: 'Montserrat', sans-serif;

  font-weight: 900;
  color: #dd0000;
  font-size: 42px;
  margin: 0 auto 10px;
  line-height: 4;
  max-width: 1016px;
  
}
.section1 .heading-the::first-line {
  font-weight: 800; /* ExtraBold for "Malabar" */
  color: #dd0000;
}
.malabar {
  font-weight: 900;
  color: #dd0000;
  font-size: 50px;
}

.tourism-council {
 font-weight: 700; /* SemiBold for "Tourism Council" */
  color: #686767; 
  font-size: 45px;
}

.section1 .heading-the {
  font-weight: 600; /* SemiBold for "Tourism Council" */
  color: #797979;
}

/* Text content */
.section .container {
  width: 660px;
  padding: 10px;
}

.section .established-in,
.section .governed-by-an {
  font-family: "Roboto-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16.9px;
  line-height: 28px;
  margin-bottom: 30px;
}

/* Button styles */
.section .link {
  display: inline-block;
  width: 218px;
  height: 60px;
  background-color: #ff9d00;
  border-radius: 5px;
  text-align: center;
  line-height: 60px;
  margin-top: 20px;
}

.section .more-about-us {
  font-family: "Roboto-Bold", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
}

/* Image and overlay block */
.section .image-container {
  width: 416px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #eeeeee;           /* Light gray border */
  box-shadow: 0px 0px 45px #0000000d;  /* Soft outer shadow */
  padding: 0;
  overflow: hidden;                   /* Ensure image and content stay within rounded border */
  display: flex;
  flex-direction: column;
  align-items: center;
}


.section .image {
 
  /* Remove top: -271px; if you want margin-top to control vertical spacing from the top */
  margin-top: 11px; /* Add your desired top spacing here */
  margin-left: 11px; /* Assuming you're using this for left/right spacing */
  margin-right: 11px; /* Assuming you're using this for left/right spacing */

  background-size: cover;
  background-position: 50% 50%;
  width: 100%;
      height: 550px; /* Increased image height */
      object-fit: cover;
      display: block;
 
}
.about {
  width: 400px;
  height: 700px;
  background-color: white;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

/* Wrapper adds padding around image */
.about-image-wrapper {
  padding: 10px 10px 0 10px; /* top: 10px, right: 10px, bottom: 0, left: 10px */
  box-sizing: border-box;
}

.about-image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
  border-radius: 8px; /* optional for smoother look */
}


.section .overlay-border {
 
  width: 400px;
      height: 700px;
overflow: hidden;
 display: flex;
      flex-direction: column;
border-radius: 10px;
  border: 1px solid;
  border-color: #eeeeee;
  background-color: #ffffff01;
 
}
.section .heading-attoi {
  font-family: "Roboto-Regular", Helvetica;
  font-weight: 200;
  color: #000000;
  font-size: 15px;
  text-align: center;
  margin-top: 20px;
}

.about .link-2 { 
  width: 149px;
  height: 35px;
  background-color: #ff9d00;
  border-radius: 5px;
  box-shadow: 2px 2px 5px #00000033;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto; /* center the button */
  cursor: pointer;
  transition: background-color 0.3s;
}

.about .link-2:hover {
  background-color: #e68a00;
}

.about .symbol {
  font-family: "Font Awesome 5 Free", Helvetica;
  font-weight: 900; /* Make icon bold */
  color: #ffffff;
  font-size: 15px;
  margin-right: 8px;
}

.about .text-wrapper {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}




.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
      font-family: 'Montserrat', sans-serif;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 10px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

 .events-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
      gap: 30px;
      justify-content: center;
        margin: 0 auto 10px;
        margin-bottom: 10px;
    }

    .event-card {
      width: 400px;
      height: 700px; /* Increased height */
      background-color: white;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      display: flex;
      flex-direction: column;
    }

    .event-image {
      width: 100%;
      height: 550px; /* Increased image height */
      object-fit: cover;
      display: block;
    }

    .event-content {
      padding: 20px;
      flex: 1;
    }

    .event-date {
      color: #ff9d00;
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }

    .event-title {
      font-size: 22px;
      font-weight: 700;
      color: #cc0000;
      margin-bottom: 10px;
        font-family: 'Montserrat', sans-serif;
    }

    .event-description {
      font-size: 15px;
      color: #000;
      line-height: 1.4;
        font-family: 'Montserrat', sans-serif;
    }
/* Minimal Pop Animation */
@keyframes frontPop {
  0% {
    transform: scale(1);
    box-shadow: none;
    z-index: 1;
  }
  50% {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
  }
  100% {
    transform: scale(1);
    box-shadow: none;
    z-index: 1;
  }
}

/* Event Card Animation */
.event-card {
  animation: frontPop 4s ease-in-out infinite;
  transform-origin: center bottom;
}

/* Optional: staggered delays for each card */
.event-card:nth-child(1) {
  animation-delay: 0s;
}
.event-card:nth-child(2) {
  animation-delay: 2s;
}
.event-card:nth-child(3) {
  animation-delay: 4s;
}


/* Image Grid Styles */
.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 40px 0;
}

.image-grid img {
  width: 100%;
  height: 180px; /* bigger height */
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
  border: none;
  padding: 0;
  margin: 0;
}

/* Hover zoom */
.image-grid img:hover {
  transform: scale(1.1);
  z-index: 10;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.footer {
  background-color:#006bb3;
  color: #fff;
  padding: 60px 20px 0;
  font-family: "Roboto", sans-serif;
}

.footer-section {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-logo {
  width: 200px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.5;
}

.footer-contact i {
  font-size: 16px;
  color: #fff;
  margin-top: 4px;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #015288;
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--primary);
}



@media (max-width: 576px) {
  .section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 10px;
  }

  .section .container {
    width: 100%;
    text-align: center;
    padding: 0;
  }
.section .image {
  width: 100%;         /* Full width inside container */
  height: auto;        /* Let it scale naturally */
  margin: 0;           /* Remove manual offsets */
  background-size: cover;
  background-position: center;
}
@media (max-width: 576px) {
  .section-title {
    margin-bottom: 30px; /* Space below heading */
  }
}


  .section1 .heading-the {
  font-size: 24px;
  line-height: 1.2;
  white-space: nowrap; /* Prevent line break */
  overflow: hidden;
  text-overflow: ellipsis; /* Optional: handle overflow gracefully */
  margin-top: 20px;
}

.malabar,
.tourism-council {
  font-size: inherit;
  display: inline;
}

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    width: 100%;
    height: auto;
    margin-top: 30px;
  }

  .event-image {
    height: 500px;
  }
 .about {
    width: 100%;
    height: auto;
  }

  .about-image {
    height: 500px;
  }
 .image-grid {
  display: grid;
  grid-template-columns: 1fr; /* one column */
 
}

  .footer-section {
    flex-direction: column;
    gap: 10px;
  }
}
/* Hero Slider Styles */
/* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 100px;
  flex: 1 1 auto; /* Adjust for fixed navbar */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  flex: 1 1 auto;
}

.hero-slide.active {
  opacity: 1;
}
.hero-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
  background-color: #ffbb00; /* Yellow for active */
  transform: scale(1.3);
}


/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  border-radius: 50%;
}

.hero-arrow.left {
  left: 20px;
}

.hero-arrow.right {
  right: 20px;
}





/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .hero-slider {
    height: 33vh !important;
    min-height: 200px;
  }

  .hero-arrow {
    font-size: 1.5rem;
    padding: 6px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 33vh !important;
    min-height: 200px;
  }


  