@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/lemonmilk');

* {
    margin: 0;
    padding: 0;
    /* scroll-behavior: smooth; */
}

body {
    background-color: #202129;
    font-family: "Montserrat", sans-serif;
    position: relative;      /* Ensure positioning is set */
    max-width: 100vw;        /* Prevent any content from going beyond viewport width */
    overflow-x: hidden;      /* Disable horizontal scrolling */
    margin: 0;  
}

/* Keyframes for animations */
@keyframes easeInFromLeft {
  from {
    transform: translate(-40px);
    opacity: 0.2;
  }
  to {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes easeInFromBottom {
  from {
    transform: translateY(40px);
    opacity: 0.2;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Navbar filler to create space */
.filler-container {
  height: 102px;
  width: 100vw;
  border-bottom: 2px solid white;
}

/* Main Container (with logo and button) */
.main-container {
  display: flex;
  flex-direction: column; /* Align items in a row */
  align-items: center;
  justify-content: center; /* Center both items horizontally */
  height: 60%;
  gap: 30px; /* Space between logo and button */
  margin: auto;
  padding: 20px;
  z-index: 1;
}

.container-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 60%; /* Take up 60% of the width on desktop */
}

model-viewer {
  width: 100%; /* Ensure full width */
  height: 25rem; /* Ensure full height */
  max-width: none; /* Remove any max width that could be limiting it */
  max-height: none; /* Remove any max height */
  object-fit: contain; /* Ensure it scales within the container */
  touch-action: none; /* Prevent touch interactions */
}

/* Adjust button alignment */
.container-right {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 20px; /* Ensure space between logo and button */
}

.main-container .container-left .logo {
  animation: easeInFromLeft 1.2s;
}

/* Lower Container Styling */
.lower-container {
  width: 100vw;
  height: fit-content;
}

/* Card Container */
.card-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  border-top: 2px solid white;
}

/* Cards */
.lower-container .card {
  width: 13rem; /* Fixed width for consistency */
  min-height: 12rem; /* Adjust min-height for consistent sizing */
  background-color: #becfd6;
  border-radius: 25px;
  box-shadow: -8px -7px 13px -4px rgba(181, 132, 181, 0.43);
  box-shadow: inset 21px 16px 13px -4px rgba(47, 122, 149, 0.29);
  transition: 0.2s;
  text-align: center;
  user-select: none;
  padding: 20px;
  margin-bottom: 2em;
  margin-top: -2em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content at the top */
  align-items: center; /* Center content horizontally */
}

.lower-container .card i {
  font-size: 2em;
  margin-bottom: 5px; /* Reduced space between the icon and title */
}

.lower-container .card .title {
  font-weight: bold;
  margin-bottom: 5px; /* Reduced margin for tighter spacing */
}

.lower-container .card .description {
  margin-top: 5px; /* Reduced space between title and paragraph */
  line-height: 1.4; /* Control line height for tighter text */
  margin-bottom: 0; /* Ensure no unnecessary space below the description */
}

/* Hover Effect for Cards */
.lower-container .card:hover {
  transform: scale(1.02);
}


/* White background container */
.white-background-container {
  background-color: #cccccc;
  margin-top: 40px;
}

/* Horizontal line */
.line {
  width: 100vw;
  height: 2px;
  background-color: white;
  border-radius: 2px;
}

/* Package Section Styling */
.packages-section {
  background-color: #cccccc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100vw;
}

.section-title {
  font-size: 3em;
  margin-bottom: 40px;
  color: #2c3e50;
  position: relative;
}

.section-title::before,
.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #3EA1C4;
  position: absolute;
  border-radius: 2px;
}

.section-title::before {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.packages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.package-card {
  background-color: #424455;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 2;
  font-family: "Montserrat", sans-serif;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.package-header h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #cccccc;
  text-transform: uppercase;
}

.package-header .price {
  font-size: 2em;
  color: #3EA1C4;
  margin-bottom: 20px;
}

.package-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.package-features li {
  font-size: 1em;
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  align-items: center;
}

.package-features li i {
  color: #2ecc71;
  margin-right: 10px;
  font-size: 1.2em;
}

.order-button {
  background-color: #3EA1C4;
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 1em;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.order-button:hover {
  background-color: #2980b9;
}

/* Tooltip container */
.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  z-index: 9999;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none; /* Make sure the tooltip itself doesn't interfere with mouse events */
}

/* Position for the tooltip to follow cursor */
.tooltip.visible {
  opacity: 1;
}


/* About Section Styling */
.about-section {
  padding: 60px 20px;
  background-color: #202129;
  color: #ffffff;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.about-container h1 {
  font-size: 3em;
  margin-bottom: 20px;
  animation: fadeIn 1.2s ease-in-out;
}

.about-container p {
  font-size: 1.2em;
  margin: auto;
  width: 80%;
  max-width: 800px;
  animation: fadeIn 1.5s ease-in-out;
}

/* Timeline Styling */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto;
  padding: 0;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.timeline-item.left {
  left: 0;
  transform: translateX(-50px);
}

.timeline-item.right {
  left: 50%;
  transform: translateX(50px);
}

.timeline-item.left::after,
.timeline-item.right::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: #3EA1C4;
  top: 0;
}

.timeline-item.left::after {
  right: -22px;
}

.timeline-item.right::after {
  left: -22px;
}

.timeline-content {
  text-align: left;
  padding: 20px;
  color: #ffffff;
}

.timeline-content h2 {
  font-size: 1.8em;
  color: #3EA1C4;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 1.2em;
  color: #ffffff;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #3EA1C4;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Mobile-first adjustments for Timeline */
@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    transform: translateX(-50px); /* All items come from left */
  }

  .timeline-item.right {
    left: 0;
    transform: translateX(-50px); /* No more alternating */
  }

  .timeline::before {
    left: 5px; /* Central line closer to the left */
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 10px; /* Adjust for both sides */
  }
}

/* Contact Us Section */
.contact-us {
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #3EA1C4;
}

.contact-us h2 {
  font-size: 2.5rem;
  color: #3EA1C4;
  margin-bottom: 20px;
}

.contact-us p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Ensure it's centered vertically */
  align-items: center;
  width: 100%; /* Make sure the container takes full width */
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  max-width: 500px;
  width: 90%; /* Ensure it scales within the container */
  margin: 0 auto; /* Center it horizontally */
  box-sizing: border-box; /* Ensure padding is included within the width */
  overflow: hidden;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-item i {
  font-size: 1.8rem;
  color: #3498db;
}

.contact-item p {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.contact-item a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #2c3e50;
}

/* Footer Section */
.footer-section {
  background-color: #303241;
  color: white;
  padding: 40px 20px;
  font-size: 1em;
  text-align: left;
  font-family: "Montserrat", sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left, .footer-center, .footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-left h4, .footer-center h4, .footer-right h4 {
  font-size: 1.5em;
  color: #3EA1C4;
  margin-bottom: 15px;
}

.footer-left p {
  margin: 5px 0;
  line-height: 1.6;
}

.footer-center ul {
  list-style-type: none;
  padding: 0;
}

.footer-nav li, .footer-legal li {
  margin-bottom: 10px;
}

.footer-nav a, .footer-legal a {
  color: #ffffff;
  text-decoration: none;
}

.footer-nav a:hover, .footer-legal a:hover {
  color: #3EA1C4;
}

.footer-right p {
  margin-bottom: 10px;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.footer-legal li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #4d4f61;
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.9em;
}

.footer-contact a {
  color: #3EA1C4;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffffff;
}

/* Button Hover Effect */
.button {
  height: 50px;
  width: 150px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.button:hover {
  box-shadow: .5px .5px 150px #252525;
}

.type1::after {
  content: "Thanks";
  height: 50px;
  width: 150px;
  background-color: #008080;
  color: #fff;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translateY(50px);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.type1::before {
  content: "Hover Me";
  height: 50px;
  width: 150px;
  background-color: #fff;
  color: #008080;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translateY(0px) scale(1.2);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.type1:hover::after {
  transform: translateY(0) scale(1.2);
}

.type1:hover::before {
  transform: translateY(-50px) scale(0) rotate(120deg);
}

#cookieConsent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(32, 33, 41, 0.95); /* Dark background */
  padding: 15px;
  z-index: 1000;
  display: block;
  font-size: 0.9rem;
  border-radius: 10px 10px 0 0; /* Rounded top corners */
  box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.5); /* Box shadow for visual appeal */
}

/* Button Group for Accept and Reject */
.button-group {
  display: flex;
  gap: 10px; /* Space between the buttons */
}

/* Styling for both buttons */
.accept-btn, .reject-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

/* Accept Button Styling */
.accept-btn {
  background-color: #3EA1C4;
  color: #ffffff;
}

.accept-btn:hover {
  background-color: #2980b9; /* Darker blue on hover */
}

/* Reject Button Styling */
.reject-btn {
  background-color: #ffffff;
  color: #3EA1C4;
  border: 1px solid #3EA1C4;
}

.reject-btn:hover {
  background-color: #f1f1f1; /* Light gray on hover */
}

/* Text styling in the cookie container */
.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  color: #ffffff;
  position: relative;
}

.cookie-container p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-right: 10px;
  color: #ffffff;
  flex: 1;
}

.cookie-container a {
  color: #3EA1C4;
  text-decoration: underline;
}

.cookie-container a:hover {
  color: #ffffff;
}



/* Responsive Styling */

/* General layout adjustments for tablets */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .container-left {
    width: 100%;
  }

  .container-right {
    display: flex;
    width: 100%; /* Full width for button on mobile */
    margin: 10px 0 0 0;
  }

  model-viewer {
    width: 100%;
    height: 200px; /* Smaller height on mobile */
  }

  .card-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 90%;
    margin: 10px auto;
  }

  .timeline {
    padding: 20px;
  }

  .timeline-item {
    width: 100%;
  }

  .timeline::before {
    left: 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-left, .footer-center, .footer-right {
    margin-bottom: 20px;
  }

  .package-card {
    width: 90%; /* Restrict the width */
    margin: 0 auto 20px auto; /* Center the cards */
    padding: 20px;
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  #cookieConsent {
    font-size: 0.85rem;
  }

  .cookie-container {
    flex-direction: column;
    padding: 10px;
  }

  #acceptCookies {
    width: 100%;
    margin-top: 10px;
  }

  .cookie-container p {
    margin-right: 0;
    margin-bottom: 10px;
    text-align: left;
    font-size: 0.85rem;
  }
}

/* Mobile-first adjustments */
@media (max-width: 480px) {
  .main-container {
    padding: 15px;
  }

  model-viewer {
    height: 18rem;
  }

  .section-title {
    font-size: 2em;
  }

  .timeline-content h2 {
    font-size: 1.4em;
  }

  .timeline-content p {
    font-size: 1em;
  }

  .about-container h1 {
    font-size: 2em;
  }

  .about-container p {
    font-size: 1em;
  }

  .contact-item {
    padding: 15px;
    max-width: 90%; /* Make sure it fits within the viewport */
    width: calc(100% - 20px); /* Adds some margin from the sides */
    margin: 0 auto; /* Center the contact items */
  }

  .footer-section {
    font-size: 0.9em;
  }

  .package-card {
    padding: 15px;
    width: 90%; /* Reduce width to make cards smaller */
    margin: 0 auto 20px auto; /* Center the card */
  }

  .order-button {
    font-size: 0.9em;
    padding: 12px;
  }

  .timeline::before {
    left: 5px; /* Adjust central line further on smaller screens */
  }
}
