/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:wght@500;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue-color: 130;
   /* HSL color mode */
   --first-color: hsl(var(--hue-color), 64%, 22%);
   --first-color-second: hsl(var(--hue-color), 64%, 22%);
   --first-color-alt: hsl(var(--hue-color), 64%, 15%);
   --title-color: hsl(var(--hue-color), 64%, 18%);
   --text-color: hsl(var(--hue-color), 24%, 35%);
   --text-color-light: hsl(var(--hue-color), 8%, 60%);
   --input-color: hsl(var(--hue-color), 24%, 97%);
   --body-color: hsl(var(--hue-color), 100%, 99%);
   --white-color: #FFF;
   --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
   --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);

  /*========== Font and typography ==========*/
  --body-font: 'Open Sans', sans-serif;
  --title-font: 'Raleway', sans-serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  /*========== Hover overlay ==========*/
  --img-transition: .3s;
  --img-hidden: hidden;
  --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --body-color: #000; /* Black background */
  --title-color: #FFD700; /* Gold for titles */
  --text-color: #FFF; /* White text */
  --input-color: #333; /* Darker input fields */
  --scroll-bar-color: #222; /* Dark scrollbar */
  --scroll-thumb-color: #555; /* Slightly lighter scrollbar thumb */
}

/*========== Button Dark/Light ==========*/
.nav__dark {
  display: flex;
  align-items: center;
  column-gap: 2rem;
  position: absolute;
  left: 3rem;
  bottom: 4rem;
}
h1{
  text-align: center;
}
.change-theme, .change-theme-name {
  color: var(--text-color);
}

.change-theme {
  cursor: pointer;
  font-size: 1rem;
}

.change-theme-name {
  font-size: var(--small-font-size);
}
.nav__item:hover{
  color: #ffcc00;
}
/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input {
  border: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
}

input {
  outline: none;
}

.main {
  overflow-x: hidden;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 2.5rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  text-transform: capitalize;
  margin-bottom: var(--mb-2);
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1);
  margin-right: var(--mb-1);
}

.grid {
  display: grid;
  gap: 1.5rem;
}
h1{
  margin:10px;
  align-items: center;
}
/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--white-color);
}

.nav__logo {
  font-weight: var(--font-semi-bold);
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__menu {
  position: relative;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    transition: .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
}

.nav__link:hover {
  color: var(--text-color);
}
.nav__item:hover,.nav__logo:hover,.nav__dark:hover{
  scale: 1.2;
}
.nav__close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

/* Active link */
.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}

.main{
  margin-top: 100px;
}
section .container{
  margin-top: 100px;
}
/*************************************  Card   ********************************************/
.card__image {
  position: relative;
  display: flex;
  justify-content: center;
  max-height: 500px;
  align-items: center;
}

.card__img {
  max-width: 100%;
  max-height: 400px;
  object-fit: cover; /* Ensures the image fills the container while preserving aspect ratio */
  display: block;
  margin: auto; /* Centers the image horizontally if it doesn't take the full width */
}
.card__image:hover .card__img {
  transform: scale(1.1); /* Slight zoom effect */
  transition: transform 0.3s ease-in-out; /* Smooth animation */
}

.section__title:hover,h1:hover{
  color: white;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}
/*=============== FOOTER ===============*/
.footer__container {
  row-gap: 5rem;
}

.footer__content {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__title, 
.footer__subtitle {
  font-size: var(--h3-font-size);
}

.footer__title {
  margin-bottom: var(--mb-0-5);
}

.footer__description {
  margin-bottom: var(--mb-2);
}

.footer__social {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1-25);
}

.footer__subtitle {
  margin-bottom: var(--mb-1);
}

.footer__item {
  margin-bottom: var(--mb-0-75);
}

.footer__link {
  color: var(--text-color);
}

.footer__link:hover {
  color: var(--title-color);
}

.footer__rights {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  text-align: center;
}

.footer__copy, .footer__terms-link {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer__terms {
  display: flex;
  column-gap: 1.5rem;
  justify-content: center;
}

.footer__terms-link:hover {
  color: var(--text-color);
}
.footer__data{
  font-weight: bolder;
}

/*========== SCROLL UP ==========*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  padding: .5rem;
  display: flex;
  opacity: .9;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  opacity: 1;
}

.scrollup__icon {
  color: var(--white-color);
  font-size: 1.2rem;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .place__container {
    grid-template-columns: max-content;
    justify-content: center;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .video__container {
    display: grid;
    grid-template-columns: .6fr;
    justify-content: center;
  }
  .place__container {
    grid-template-columns: repeat(3, max-content);
  }
  
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--white-color);
  }
  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .change-theme-name {
    display: none;
  }
  .change-theme {
    color: var(--white-color);
  }
  .active-link::before {
    background-color: var(--white-color);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .scroll-header .change-theme {
    color: var(--text-color);
  }
  .section {
    padding: 3rem 0 0rem;
  }
  
  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer__content {
    justify-items: center;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}

/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }
  .home__container, .home__img {
    height: 640px;
  }
}


/*============================= CONTACT US PAGE ====================================*/
.section32 {
  margin-top: 20px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/assets/images/section-1.png') no-repeat center center/cover;
}
#Canvas-2 {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place canvas in the background */
}
.contact-container {
  margin-top: 25px;
  display: grid;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.contact-item {
  text-align: center;
}
.contact-item a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: color 0.3s ease;
  display: inline-block;
}

.contact-item a:hover {
  color: #ffcc00;
}
.contact-item:hover,.section__title:hover {
  transform: scale(1.1);
}
#whatsapp{
  color: green;

}
#instagram{
  color: rgb(114, 25, 186);

}
#youtube{
  color: rgb(235, 19, 11);

}
#mailus{
  color: #ffcc00;
}
#whatsapp:hover{
  color: rgb(255, 255, 255);

}
#instagram:hover{
  color: rgb(255, 255, 255);

}
#youtube:hover{
  color: rgb(255, 255, 255);

}
#mailus:hover{
  color: #ffffff;
}

.section__title {
  font-size: 18px;
  margin-top: 10px;
  color: white;
}

/* Media Queries for responsiveness */
@media screen and (max-width: 340px) {
  .contact-container {
      grid-template-columns: max-content;
  }
}

@media screen and (min-width: 568px) {
  .contact-container {
      grid-template-columns: repeat(2, max-content);
  }
}

@media screen and (min-width: 768px) {
  .contact-container {
      grid-template-columns: repeat(4, max-content);
  }
}

@media screen and (min-width: 1200px) {
  .contact-container {
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
  }
}

/*===========Firework=======================*/
.section-2 {
  height: 100vh;
  position: relative;
  overflow: hidden;
}


/*===========Contact US FORM ====================*/
/* Contact Form Container */
.contact-form-container {
  position: relative;
  background-color: rgba(203, 193, 6, 0.867); /* Slightly transparent white background */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(91, 93, 90, 0.2);
  backdrop-filter: blur(10px); /* Blur effect */
  width: 90%;
  max-width: 600px;
  margin: 0 auto; /* Center horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  align-self: center;
  font-size: 16px;
  width: 150%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #45a049;
}

.contact-form h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}
label{
  text-align: center;
}
/*=============== Media Queries for Responsiveness ===============*/

/* For small devices (Mobile) */
@media screen and (max-width: 340px) {
  .contact-form-container {
    width: 90%;
    padding: 15px; /* Reduce padding on small screens */
    margin-top: 20px; /* Adjust top margin to reduce space */
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 14px; /* Adjust font size */
  }
}

/* For medium devices (Tablets) */
@media screen and (min-width: 568px) {
  .contact-form-container {
    width: 80%;
    padding: 20px;
    margin-top: 40px;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 16px;
  }
}

/* For large devices (Laptops) */
@media screen and (min-width: 768px) {
  .contact-form-container {
    width: 60%;
    padding: 25px;
    margin-top: 50px; /* Adjust top margin */
  }
}

/* For extra-large devices (Desktops) */
@media screen and (min-width: 1024px) {
  .contact-form-container {
    width: 50%;
    padding: 30px;
    margin-top: 60px;
  }
}

/* For very large screens (1200px and above) */
@media screen and (min-width: 1200px) {
  .contact-form-container {
    width: 45%;
    padding: 35px;
    margin-top: 70px;
  }
}
