/* Global Styles */
:root {
    --black: #121212;
    --gold: #CBA135;
    --gold-hover: #b28f30;
    --white: #FFFFFF;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
  }
  
  /* Header */
  header {
    background-color: var(--white);
    color: var(--black);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .logo img {
    width: 100px;
    border-radius: 8px; /* Optional: rounded corners */
    padding: 4px; /* Optional: breathing room inside border */
    background-color: white; /* Ensures contrast if logo has transparent background */
  }
  
  .logo-frame {
    border: 1px solid #CBA135; /* Gold border */
    border-radius: 10px;
    padding: 8px; /* Space between border and image */
    background-color: white;
    display: inline-block;
    box-shadow: 0 0 20px rgba(203, 161, 53, 0.5); /* Golden glow */
  }
  
  .logo-frame img {
    display: block;
    width: 150px;
    border-radius: 6px;
  }  

  
  @keyframes glow {
    0% {
      box-shadow: 0 0 10px rgba(203, 161, 53, 0.4);
    }
    50% {
      box-shadow: 0 0 25px rgba(203, 161, 53, 0.8);
    }
    100% {
      box-shadow: 0 0 10px rgba(203, 161, 53, 0.4);
    }
  }
  
  .logo-frame.glow {
    animation: glow 2s ease-in-out infinite;
  }

  nav a {
    color: var(--black);
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease, font-weight 0.3s ease;
  }
  
  nav a:hover {
    color: var(--gold-hover);
    font-weight: 700;
  }
  
  .lang-switcher img {
    width: 24px;
    height: auto;
    margin-left: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .lang-switcher img:hover {
    transform: scale(1.1);
  }

  .lang-switcher img.active {
    outline: 2px solid var(--gold);
    border-radius: 4px;
  }
  
  /* Sections */
  section {
    padding: 4rem 2rem;
  }

  .hero {
    position: relative;
    z-index: 1;
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    height: 100vh;
    padding: 6rem 2rem 0; /* top padding increased to avoid overlap */
    display: flex;         /* changed from block to flex for vertical centering */
    overflow: hidden;
    flex-direction: column;
    justify-content:flex-start;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 1.2rem;
  }

  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
  }

  .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .services, .pricing, .contact {
    background-color: var(--white);
    color: var(--black);
  }

  .services-cards {
    display: flex;
    gap: 6rem; /* increased spacing between cards */
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .service-card {
    background-color: var(--white);
    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(203, 161, 53, 0.15);
    padding: 2rem 1.5rem;
    text-align: center;
    width: 345px; /* 15% more than original 300px */
    min-height: 500px; /* Ensures uniform height across all cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
   
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(203, 161, 53, 0.25);
  }
  
  .service-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 12px;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--black);
  }
  
  .service-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .service-card .card-cta {
    background-color: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
    display: inline-block;
  }
  
  .service-card .card-cta:hover {
    background-color: var(--white);
    color: var(--black);
    transform: scale(1.05);
    border: 2px solid var(--gold);
    text-decoration: none;
  }

  /* Pricing Cards Section */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-card {
  background: #f9f9f9;
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 350px;
  flex: 1 1 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(203, 161, 53, 0.2);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.pricing-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.pricing-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 1rem;
}

.pricing-card .card-cta {
  background-color: var(--gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pricing-card .card-cta:hover {
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--gold);
  transform: scale(1.05);
}

/* Pricing Group Styling */
.pricing-groups {
  display: flex;
  flex-direction: column;
  gap: 4rem; /* space between each group */
  margin-top: 2rem;
}

.pricing-group {
  padding: 2rem;
  border: 0px solid var(--gold);
  border-radius: 12px;
  background-color: #fdfdfd;
  box-shadow: 0 0 12px rgba(203, 161, 53, 0.15);
  transition: box-shadow 0.4s ease;
}

.pricing-group:hover {
  box-shadow: 0 0 25px rgba(203, 161, 53, 0.35);
}

.pricing-group-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-group-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}


  .card-cta {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
  }
  
  .card-cta:hover {
    background-color: var(--white);
    color: var(--black);
    transform: scale(1.05);
    border: 2px solid var(--gold);
  }
  
  .about, .references {
    background-color: var(--black);
    color: var(--white);
  }

  #about h2 {
    margin-bottom: 1.5rem;
  }  

  .about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .about-text {
    flex: 1;
    min-width: 280px;
  }
  
  .about-text p {
    margin-bottom: 1rem;
  }
  
  .about-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
    max-height: 350px;
    width: auto;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 10px rgba(203, 161, 53, 0.2);
    animation: imageGlow 4s ease-in-out infinite;
    object-fit: cover;
  }
  

  @keyframes imageGlow {
    0% {
      box-shadow: 0 0 10px rgba(203, 161, 53, 0.2);
      transform: translateY(0);
    }
    50% {
      box-shadow: 0 0 25px rgba(203, 161, 53, 0.6);
      transform: translateY(-4px);
    }
    100% {
      box-shadow: 0 0 10px rgba(203, 161, 53, 0.2);
      transform: translateY(0);
    }
  }
  
  .about-image img.glow-animated {
    animation: imageGlow 4s ease-in-out infinite;
  }
  

  /* Footer */
  footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2rem;
  }

footer a[data-key="privacyLink"] {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem; /* adds vertical gap */
  transition: color 0.3s ease;
}

footer a[data-key="privacyLink"]:hover {
  color: var(--gold);
  text-decoration: none;
}


  /* Form */
  form input, form textarea, form button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
  }

  .contact-form button {
    width: 100%; /* full-width for better touch area */
    background-color: var(--gold);
    color: var(--white);
    padding: 0.75rem 1rem;
    font-size: 1.1rem; /* increased size */
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .contact-form button:hover {
    background-color: var(--white);
    color: var(--black);
    border: 2px solid var(--gold);
    transform: scale(1.03);
  }
  

  form button .icon svg {
    vertical-align: middle;
    margin-right: 0.4rem;
  }

  /* Responsive Styles */
  .menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
  }

  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }

    #main-nav {
      display: none;
      flex-direction: column;
      width: 100%;
    }

    #main-nav.active {
      display: flex;
    }

    #main-nav a {
      margin: 0.5rem 0;
      font-size: 1.2rem;
    }

    header {
      flex-direction: column;
      align-items: flex-start;
    }

    nav {
      margin-top: 1rem;
    }

    nav a {
      margin: 0 0.5rem 0.5rem 0;
      font-size: 1rem;
    }

    .hero h1 {
      font-size: 2rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .logo img {
      width: 100px;
    }

    .lang-switcher {
      margin-top: 0.5rem;
    }

    section {
      padding: 2rem 1rem;
    }

    form input, form textarea, form button {
      font-size: 1rem;
    }
  }

  .cta-button {
    background-color: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }

  .cta-button:hover {
    background-color: var(--white);
    color: var(--black);
    transform: scale(1.05);
    border: 2px solid var(--gold);
  }

  .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }

  #backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(203, 161, 53, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease;
  }

  #backToTop:hover {
    transform: scale(1.1);
  }

  #backToTop img {
    width: 50px;
    height: auto;
    transition: transform 0.5s ease;
  }

  #backToTop:active img {
    transform: translateY(-5px) rotate(-10deg);
  }

  @keyframes driveUp {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-120vh);
    }
  }

  #backToTop.driving {
    animation: driveUp 1.5s ease-in forwards;
  }

  @keyframes pulseGlow {
    0% {
      box-shadow: 0 0 0 0 rgba(203, 161, 53, 0.3);
    }
    50% {
      box-shadow: 0 0 25px 10px rgba(203, 161, 53, 0.6);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(203, 161, 53, 0.3);
    }
  }

  #backToTop.pulsing {
    animation: pulseGlow 1.8s ease-in-out infinite;
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }

  #backToTop.bouncing {
    animation: bounce 1.2s ease-in-out infinite, pulseGlow 1.8s ease-in-out infinite;
  }

  .privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  .privacy-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    text-align: left;
    color: var(--black);
    position: relative;
  }
  .privacy-content .close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
  }
  
  /* Optional: legal info styling */
  footer .company-legal {
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.4;
  }

  .cookie-consent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85); /* ← more modern transparency */
    color: white;
    padding: 1rem 1.5rem;
    text-align: center;
    z-index: 10000;
    display: none;
    backdrop-filter: blur(4px); /* Optional: adds a slight blur effect */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  }
  
  .cookie-consent button {
    margin: 0 0.5rem;
    background: #CBA135;
    border: none;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
  }
  
  .cookie-consent button:hover {
    background: #b28f30;
  }

  @keyframes slideFadeIn {
    0% {
      transform: translateY(100%);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .cookie-consent.animate-in {
    animation: slideFadeIn 0.8s ease-out;
  }
  
  header.smart-hide {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }
  
  header.hidden-up {
    transform: translateY(-100%);
  }
  
  #formSuccess {
    display: none;
    max-width: 500px;
    margin: 1rem auto 0;
    padding: 1rem 1.5rem;
    border: 2px solid var(--gold);
    background-color: #fff;
    color: var(--black);
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(203, 161, 53, 0.3);
    animation: fadeInUp 0.6s ease-out forwards;
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(15px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  #formError {
    display: none;
    max-width: 500px;
    margin: 1rem auto 0;
    padding: 1rem 1.5rem;
    border: 2px solid #F06072;
    background-color: #fff;
    color: #F06072;
    font-weight: 600;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(240, 96, 114, 0.2);
    animation: fadeInUp 0.6s ease-out forwards;
  }
  
  /* Spinner inside submit button */
.spinner {
  border: 2px solid transparent;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

button.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Floating Button */
.consultation-btn {
  position: fixed;
  bottom: 120px; /* raised to avoid overlap */
  right: 20px;
  background-color: rgba(203, 161, 53, 0.75);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}



.consultation-btn:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

/* Modal Overlay */
.consultation-modal {
  display: none;
  position: fixed;
  z-index: 11000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.consultation-content {
  background: white;
  padding: 2rem;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 24px rgba(203, 161, 53, 0.25);
  animation: fadeInUp 0.4s ease-out;
}

.consultation-content h3 {
  font-size: 1.75rem;
  color: var(--gold); /* now gold-colored title */
  margin-bottom: 0.5rem;
}


.consultation-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

/* Close Button */
.consultation-content .close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--black);
  transition: color 0.2s;
}

.consultation-content .close:hover {
  color: #888;
}

/* Form Fields */
#consultationForm input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s;
}

#consultationForm input:focus {
  border-color: var(--gold);
  outline: none;
}

/* Submit Button */
#consultationForm button {
  width: 100%;
  background-color: var(--gold);
  color: white;
  border: none;
  padding: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
}

#consultationForm button:hover {
  background-color: var(--gold-hover);
  transform: scale(1.02);
}

/* Success / Error messages */
#consultationSuccess,
#consultationError {
  margin-top: 1rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

#consultationSuccess {
  color: var(--black);
  background-color: #eaf9ea;
  border: 1px solid #68b168;
}

#consultationError {
  color: #c0392b;
  background-color: #fceae9;
  border: 1px solid #e26a5c;
}

/* Modal animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .consultation-btn {
    bottom: 70px;
    right: 10px;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .consultation-content {
    padding: 1.5rem;
  }
}

/* Contact Section Layout */
.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-info, .contact-form {
  flex: 1 1 400px;
}

/* Contact Info List */
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 1rem;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--gold);
}

.contact-info img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.contact-info a:hover img {
  transform: scale(1.1);
}

/* Make form labels bold and neat */
.contact-form label {
  font-weight: 600;
  display: block;
  margin: 0.4rem 0 0.2rem;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info, .contact-form {
    flex: 1 1 100%;
  }

  .contact-info a {
    font-size: 1rem;
  }

  .contact-info img {
    width: 24px;
    height: 24px;
  }
}

.map-container {
  margin-top: 2rem;
  border: 1px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 60%;
  height: auto;
}

.contact-info a {
  display: inline-block;
}

.contact-info .contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--black);
  transition: color 0.3s ease;
}

.contact-info .contact-link:hover {
  color: var(--gold);
}

.contact-info .contact-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.contact-info .contact-link:hover img {
  transform: scale(1.1);
}

/* === Testimonial Carousel === */
.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  min-height: 200px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  text-align: center;
  padding: 2rem;
  background: #0C0C0C;
  color: white;
  border-radius: 12px;
  border: 1px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial strong {
  font-size: 1rem;
  color: var(--gold);
}

.carousel-controls {
  text-align: center;
  margin-top: 1rem;
}

.carousel-controls button {
  background-color: var(--gold);
  color: var(--white);
  border: none;
  padding: 0.6rem 1rem;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-controls button:hover {
  background-color: var(--gold-hover);
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .testimonial {
    flex: 0 0 50%;
    max-width: 100%;
  }
}
