/* Base Reset */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
}

main {
  flex: 1;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #5f965f;
  color: white;
  flex-wrap: wrap;
  text-align: center;
}

.left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 250px;
  height: auto;
  display: block;
}

.title {
  font-size: 1.5rem;
}

.right {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 1.4rem;
  font-weight: 700;
}

.right a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s ease;
}

.right a:hover {
  transform: scale(1.05);
  color: #ffffff;
}

.icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}


/* Services */
.services {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  z-index: 1;
  color: #fff;
  overflow: visible;
}

.services::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  right: 0;
  background-image: url('images/bg-top.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  z-index: -1;
  opacity: 0.95;
  pointer-events: none;
}

.services h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

/* Card Layout */
.cards-wrapper {
  overflow: hidden; 
  padding: 40px 0;
  margin-top: 30px;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
  transition: transform 0.4s ease;
  will-change: transform;
  overflow: visible;
}

.card-wrapper {
  overflow: visible;
  flex-shrink: 0;
  width: 300px; 
  height: 180px; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  color: white;
  transition: transform 0.3s ease;
  transform-origin: center center;
  will-change: transform;
}

.card-wrapper:hover .card {
  transform: scale(1.05);
  z-index: 2;
}

.card-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.4);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: none;
  transform: none;
}

/* Slider Buttons */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  overflow: visible;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.slider-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.slider-btn.prev {
  left: 20px;
  top: 60%;
}

.slider-btn.next {
  right: 20px;
  top: 60%;
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* CTA Section */
.cta {
  background: #5f965f;
  padding: 60px 20px;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #ffffff;
}

.cta-btn {
  background: #000;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* Info Section */
.info-section {
  position: relative;
  padding: 60px 20px;
  color: white;
  z-index: 1;
  overflow: visible;
}

.info-section::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  bottom: -2px;
  background-image: url('images/bg-bottom.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
}

.info-section > * {
  position: relative;
  z-index: 1;
}

.info-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 240px 40px;
}

.info-row.reverse {
  flex-direction: row-reverse;
}

.info-row img {
  width: 300px;
  border-radius: 12px;
  object-fit: cover;
}

.info-text {
  background: rgba(255, 255, 255, 0.4);
  padding: 30px;
  border-radius: 12px;
  color: #000;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-text h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.info-text {
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.info-text:hover {
  transform: scale(1.02);
  z-index: 2; 
}

.info-row img {
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.info-row img:hover {
  transform: scale(1.05);
  z-index: 2;
  position: relative;
}

/* Footer */
.footer {
  background: #070707;
  color: #fff;
  padding: 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer .logo {
  width: 240px;
  height: auto;
  display: block;
}

.location {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
  font-size: 0.9rem;
}

.live-datetime {
  font-size: 1rem;
  color: white;
  font-weight: 400;
  padding: 5px 10px;
  background-color: rgba(49, 49, 49, 0.8);
  border-radius: 6px;
  user-select: none;
  min-width: 220px;
  text-align: center;
}

.ig {
  color: #070707;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
  }

  .right {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
  }

  .footer-top {
    flex-direction: column;
    gap: 15px;
  }

  .info-row,
  .info-row.reverse {
    flex-direction: column;
    text-align: center;
    margin: 0 10px 40px;
  }

  .info-row img {
    width: 100%;
    max-width: 90%;
  }

  .info-text {
    width: 100%;
  }

  .cards-wrapper {
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 12px;
    max-height: calc(3 * 200px + 2 * 20px);
  }

  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: none !important;
    transition: none !important;
  }

  .card {
    min-width: 100%;
    margin: 0 8px;
    border-radius: 12px;
  }

  .slider-btn {
    display: none;
  }

  .services {
    padding: 40px 10px;
  }
}

.contact-info {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  padding: 40px 30px;
  border-radius: 12px;
  width: 400px; /* Reduced from wide value */
  height: 200px; /* Increased height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px; /* More vertical spacing between rows */
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  gap: 10px;
}

.contact-info i {
  font-size: 1.8rem; /* Make icons slightly bigger */
  margin-right: 10px;
}

.contact-info .contact-row {
  display: flex;
  align-items: center;
}

.info-detail button {
  all: unset; /* removes default button styles */
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.info-detail button:hover {
  transform: scale(1.08);
}

.contact-info .info-detail a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.contact-info .info-detail a:hover {
  transform: scale(1.05);
}

.contact-info {
  font-size: 1.1rem; /* slightly larger text */
}

.contact-info .icon {
  width: 24px;  /* slightly larger icon */
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.contact-info button {
  font-size: 1.1rem;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

.contact-info .icon {
  width: 32px !important;
  height: 32px !important;
  margin-right: 8px;
  vertical-align: middle;
}

.info-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-detail img {
  max-height: 32px;
  width: auto;
}

.contact-icons {
  margin-top: 60px;
  text-align: center;
}

.icons-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.icons-row img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.icons-row img:hover {
  transform: scale(1.1);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/*contact*/

.contact-main {
  position: relative;
  padding: 60px 20px;
  min-height: 75vh;
  color: white;
  overflow: visible;
}

.contact-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/bg-original.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.contact-main > * {
  position: relative;
  z-index: 1; 
}

.extra-section {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  padding: 40px 30px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #000;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

.extra-section h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.extra-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.extra-images img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.extra-images img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .extra-images img {
    width: 100%;
    max-width: 90%;
    height: auto;
  }
}

.contact-box {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  padding: 40px 30px;
  border-radius: 12px;
  width: 320px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-box a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-box a:hover {
  opacity: 0.8;
}

.contact-box .icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .extra-section {
    position: static; /* normal document flow */
    transform: none;  /* reset any transform */
    top: auto;        /* remove fixed top offset */
    left: auto;
    margin: 20px auto; /* center using margin */
    width: 90%;       /* fit better on small screens */
  }
}

@media (max-width: 768px) {
  .extra-section {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    margin: 20px auto;
    width: 90%;
  }

  footer {
    position: static;
    margin-top: 40px;
  }

  html, body {
    height: auto;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .top-bar .right {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .top-bar .right a {
    font-size: 18px;
    white-space: normal; /* Allow wrapping */
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .top-bar .icon {
    width: 20px;
    height: 20px;
  }
}
