:root {
  --primary-color: rgb(251, 205, 65);
  --secondary-color: rgb(38, 38, 38);
  --accent-color: rgb(249, 228, 94);

  --background-color: #f9fafb;
  --white-color: rgb(240, 240, 240);

  --card-hover-color: rgba(0, 0, 0, 0.1);
  --footer-bg-color: rgb(38, 38, 38);
  --text-color: rgb(38, 38, 38);
  --link-hover-color: #ffab00;
  --testimonial-bg-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* ------------ NavBar ------------ */

nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  z-index: 1000;
}

.nav-container {
  background-color: var(--primary-color);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo span {
  color: var(--text-color);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--text-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: rgb(234, 234, 234);
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 90px;
    right: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    width: 220px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    box-shadow: -8px 8px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10000;
    position: relative;
  }

  .hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 12px;
    transition: all 0.4s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 10px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(100%);
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -10px);
  }
}

/* ------------ Hero ------------ */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  background-attachment: fixed;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  animation: fadeInUp 1.5s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 2s ease-out;
}

.cta-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #fbc800;
  color: black;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  animation: fadeInUp 2.5s ease-out;
}

.cta-button:hover {
  background-color: #e0a500;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 10px 20px;
  }
}

/* ------------ Benefits ------------ */

.info-section {
  background-color: #f7f7f7;
  padding: 6rem 2rem;
  text-align: center;
  color: #333;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.benefit-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.benefit-card {
  background-color: #fff;
  padding: 2rem;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.benefit-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.benefit-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .benefit-cards {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

/* ------------ Galeria ------------ */

.gallery {
  text-align: center;
  padding: 100px 80px;
  background-color: var(--white-color);
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.image-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-controls {
  display: flex;
  justify-content: space-between;
  width: 100px;
  margin-top: 20px;
}

.prev,
.next {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.prev:hover,
.next:hover {
  color: var(--primary-color);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--primary-color);
}

/* ------------ Testimonials ------------ */

.testimonials {
  padding: 6rem 1rem;
  background-color: var(--primary-color);
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.swiper-container {
  width: 100%;
  padding: 2rem 0;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin: 0 auto;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: #ececec;
  z-index: 0;
}

.testimonial-card p {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  z-index: 1;
  position: relative;
}

.testimonial-card h4 {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  z-index: 1;
  position: relative;
}

.swiper-pagination {
  margin-top: 1.5rem;
  display: none;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #333;
}

@media (min-width: 768px) {
  .testimonial-card {
    width: 600px;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    width: 700px;
  }
}

/* ------------ Contact ------------*/

.contact-details {
  padding: 100px 80px;
  background-color: #f8f8f8;
  text-align: center;
  margin-top: 40px;
}

.contact-details h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  max-width: 280px;
  width: 100%;
  height: auto;
  text-align: left;
  overflow: hidden;
  word-wrap: break-word;
  position: relative;
}

.contact-item i {
  font-size: 2rem;
  color: var(--link-hover-color);
  margin-right: 15px;
}

.contact-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-text span {
  display: block;
  margin-bottom: 8px;
  white-space: normal;
  word-wrap: break-word;
  text-decoration: none;
  color: #555;
}

.contact-text span a {
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.contact-item i:hover {
  color: #3b7d9f;
}

@media screen and (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-item {
    max-width: 90%;
    padding: 20px;
  }
}

@media screen and (min-width: 1024px) {
  .contact-item {
    padding: 25px;
    height: 130px;
  }

  .contact-text {
    font-size: 1.2rem;
  }
}

/* ------------ Footer ------------*/

.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
  font-family: "Arial", sans-serif;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info,
.footer-contact,
.footer-social,
.footer-nav {
  flex: 1;
  min-width: 250px;
}

.footer-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-info p {
  font-size: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact ul li {
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact i {
  margin-right: 10px;
  color: #4e9b92;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-contact a:hover {
  color: #4e9b92;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-social i {
  font-size: 1.2rem;
  color: #4e9b92;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
}

.footer-social a:hover {
  color: #4e9b92;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav ul li {
  margin: 8px 0;
}

.footer-nav i {
  margin-right: 10px;
  color: #4e9b92;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: #4e9b92;
}

.footer-bottom {
  margin-top: 40px;
  font-size: 0.9rem;
  background-color: #222;
  padding: 10px;
}

.footer-bottom p {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-info,
  .footer-contact,
  .footer-social,
  .footer-nav {
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: row;
    gap: 15px;
  }

  .footer-social ul {
    justify-content: center;
  }
}

/* ------------ Scroll Bar ------------*/

::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background-color: rgb(244, 244, 244);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

::-webkit-scrollbar-horizontal {
  height: 10px;
}

::-webkit-scrollbar-vertical {
  width: 10px;
}
