/* Front Page Styles */

/* Global Utilities */

section{
  border-top: 2px solid #d49d05;
}
.section-padding {
  padding: 120px 0;
}

.bg-light {
  background-color: #ced4d9;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.section-description {
  font-family: var(--font-main);
  font-size: 18px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.section-cta {
  text-align: center;
  margin-top: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 119, 204, 0.3);
}

.btn-primary:hover {
  background: #005599;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 119, 204, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-light {
  background: white;
  color: var(--color-primary);
}

.btn-light:hover {
  background: var(--color-secondary);
  color: white;
}

/* Hero */

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  color: white;
}

.hero-text {
  max-width: 800px;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: var(--color-secondary);
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-text p {
  font-family: var(--font-main);
  font-size: 20px;
  margin: 0 0 40px 0;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 64px;
  margin-top: 80px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-secondary);
}

.stat-number::after {
  content: '+';
}

.stat-label {
  font-family: var(--font-main);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.9;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: white;
  opacity: 0.5;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 5px solid #0077cc;
  border-radius: 16px;
  transform: translate(-20px, -20px); /* offset */
  z-index: 0;
  opacity: 0.6;
}

.image-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: var(--color-secondary);
  color: white;
  padding: 24px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 4px;
}

.badge-text {
  display: block;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  font-family: var(--font-main);
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), #005599);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 119, 204, 0.2);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #1a1a1a;
}

.feature-item p {
  font-size: 14px;
  margin: 0;
  color: #666;
}

/* Destinations */

/* Carousel Wrapper */
.destinations-carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0; /* Remove padding here, buttons will cover sides */
}

.carousel-container {
  overflow: hidden;
  position: relative;
  border-radius: 16px; /* Match destination card radius */
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  /* background-color: #f8f9fa;  */
  padding: 0; /* Remove padding inside the carousel viewport, items have their own */
}

.destinations-grid.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 32px; /* Match destination card gap */
  padding: 30px 0; /* Add vertical padding for top/bottom shadow of cards */
}

.carousel-item {
  flex: 0 0 auto;
  width: 380px; /* Match destination card width from destinations.css minmax */
  height: auto; /* Allow height to adjust based on content, similar to destination cards */
  border-radius: 16px; /* Match destination card radius */
  overflow: hidden;
  background: white;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); /* Match destination card shadow */
  transition: all 0.4s ease; /* Use all for hover transitions */
  display: flex;
  flex-direction: column;
  border: 2px solid #c5c5c5; /* Match destination card border */
}

.carousel-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--color-primary); /* Match destination card hover border */
}

.carousel-item .destination-image {
  position: relative;
  height: 280px; /* Match destination card image height */
  width: 100%;
  overflow: hidden;
  /* border-radius: 10px 10px 0 0; Removed as destination card image is nested */
}

.carousel-item .destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 1;
  /* border-radius: 10px 10px 0 0; Removed */
}

.carousel-item:hover .destination-image img { /* Add hover effect from destinations page */
  transform: scale(1.1);
}

.carousel-item .destination-overlay {
  position: absolute; /* Add back positioning for overlay */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* Match destination card overlay */
  transition: background 0.4s ease;
}

.carousel-item:hover .destination-overlay { /* Add hover effect from destinations page */
  background: linear-gradient(to bottom, rgba(0, 119, 204, 0.3) 0%, rgba(0, 119, 204, 0.6) 100%);
}

.carousel-item .destination-content {
  padding: 28px; /* Match destination card padding */
  color: #1a1a1a;
  flex: 1; /* Allow content to grow */
  display: flex;
  flex-direction: column;
}

.carousel-item .destination-content h3 {
  font-family: var(--font-heading);
  font-size: 28px; /* Match destination card h3 */
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.carousel-item .destination-content p {
  font-family: var(--font-main);
  font-size: 15px; /* Match destination card p */
  color: #666;
  line-height: 1.7;
  margin: 0 0 24px 0;
  flex: 1; /* Allow paragraph to grow */
}

.destination-tag { /* Keep as is */
  color: #1a1a1a;
}

/* Carousel Buttons - New Styling */
.carousel-button {
  position: absolute;
  top: 0; /* Position at top of carousel-wrapper */
  bottom: 0; /* Extend to bottom */
  width: 40px; /* Long horizontal width */
  height: 100%; /* Full height of wrapper */
  border-radius: 12px; /* Rectangular shape */
  background: rgba(207, 218, 226, 0.7); /* Semi-transparent primary color */
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15; /* Above carousel container */
  box-shadow: none; /* No shadow */
  transition: background 0.3s ease;
  opacity: 0; /* Start hidden */
}

.destinations-carousel-wrapper:hover .carousel-button { /* Show on hover of wrapper */
  opacity: 1;
}

.carousel-button:hover {
  background: rgba(218, 180, 12, 0.801); /* More opaque on hover */
  transform: none; /* No scale on hover */
  border-radius: 12px;
}

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}

.carousel-button svg {
  width: 32px; /* Larger icon */
  height: 32px;
}

/* Carousel Pagination */
.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  z-index: 5;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 2px solid transparent;
}

.pagination-dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination-dot:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments for carousel */
@media (max-width: 1024px) {
  .carousel-item {
    width: 320px; /* Keep consistent with desktop default or adjust as needed */
  }
}

@media (max-width: 768px) {
  .destinations-carousel-wrapper {
    padding: 0 0px; /* Remove side padding, buttons will cover */
  }
  .carousel-button {
    width: 40px; /* Smaller button width */
    height: 80px; /* Smaller button height */
  }
  .carousel-button svg {
    width: 24px;
    height: 24px;
  }
  .carousel-item {
    width: 100%; /* Full width for mobile for single item display */
    height: 400px;
  }
  .destinations-grid.carousel-track {
    gap: 20px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .carousel-button {
    width: 30px; /* Even smaller button width */
    height: 60px; /* Even smaller button height */
  }
  .carousel-button svg {
    width: 18px;
    height: 18px;
  }
  .carousel-item {
    width: 100%;
    height: 380px;
  }
}


/* Trusts Partners */

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
  align-items: center;
  justify-items: center;
}

.accreditation-item {
  width: 100%;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: transform 0.3s ease;
}

.accreditation-item:hover {
  transform: scale(1.1);
}

.accreditation-item img {
  width: 100%;
  height: auto;
  /* filter: grayscale(100%); */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.accreditation-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Social */

/* .facebook-feed {
  display: flex;
	flex-direction:column;
  justify-content: center;
  margin-bottom: 48px;
} */

/* .fb-feed-wrapper {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
} */

.facebook-feed.a{
	color:blue;
}

.social-links-cta {
  text-align: center;
}

.social-links-cta p {
  font-family: var(--font-main);
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
}

.social-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn.facebook:hover {
  background: #145dbf;
  transform: translateY(-2px);
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(188, 24, 136, 0.4);
}

/* CTA */

.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/cta-bg.jpg') center/cover no-repeat;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.95) 0%, rgba(0, 102, 179, 0.85) 100%);
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.cta-content p {
  font-family: var(--font-main);
  font-size: 20px;
  margin: 0 0 32px 0;
  opacity: 0.95;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 0; top: 8px; }
  50% { opacity: 1; top: 16px; }
}

/* rESPONSIVE */

@media (max-width: 1024px) {
  .section-padding {
    padding: 80px 0;
  }

  .section-title {
    font-size: 40px;
  }

  .hero-text h1 {
    font-size: 56px;
  }

  .about-grid {
    gap: 48px;
  }

  .about-image img {
    height: 500px;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination-card.large {
    grid-column: span 1;
    height: 400px;
  }

  .accreditation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-section {
    min-height: 600px;
    
  }
  .hero-subtitle{
    top:500px;
  }
  .hero-text h1 {
    font-size: 40px;
    top:250px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-stats {
    gap: 32px;
    visibility: hidden;
  }

  .stat-number {
    font-size: 36px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image img {
    height: 400px;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    height: 350px;
  }

  .cta-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-text{
    margin-top: 200px;
  }
  
  .hero-text h1 {
    font-size: 32px;
    top: 200px;
  }
s
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .accreditation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 360px) {
  .hero-content{
    padding-top: 200px;
  }
}