@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #2c3e50;
  --secondary: #8e6c88;
  --accent: #d4b483;
  --light: #f5f1ed;
  --dark: #1a1a1a;
  --text: #333333;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background-color: var(--light);
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

.form-contact-btn {
  background-color: #dbe8ec;
  border: 0.1rem solid #dbe8ec;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--primary);
}

.glass-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover::after {
  width: 100%;
}

.product-cover {
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}


.accent-border {
  position: relative;
}

.accent-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--secondary),
      var(--accent),
      var(--secondary));
}

.btn-primary {
  background: #3f3968;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  color: white;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(142, 108, 136, 0.4);
}

.btn-secondary {
  border: 2px solid var(--secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-3px);
}

.testimonial-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.floating {
  animation: floating 2s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

#menu {
  transition: transform 0.5s ease-in-out;
}

.input-field {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid var(--secondary);
}

.input-field:focus {
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid var(--secondary);
}

.social-icon {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  color: var(--secondary);
}

.menu-open {
  transform: translateX(0);
}

.menu-closed {
  transform: translateX(100%);
}

.divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg,
      var(--secondary),
      var(--accent),
      var(--secondary));
  margin: 20px auto;
}

.text-accent {
  color: var(--accent);
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* height: 100px;  Remove or adjust if present */
}

.marquee {
  display: flex;
  gap: 2rem;
  animation: scroll 60s linear infinite;
  min-width: max-content;
}

.marquee-image {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.container1 {
  background-color: #ffffffad !important;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
}

/* Modal content box */
.modal-content {
  background: white;
  width: 80%;
  max-width: 900px;
  height: 90vh;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f44336;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
}

/* iframe fills modal */
.modal-iframe {
  flex-grow: 1;
  border: none;
  border-radius: 0 0 8px 8px;
  width: 100%;
}

/* Why Choose Us */
.feature-item {
  text-align: left;
  padding: 25px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {

  width: 100%;
  height: 30%;
}


.feature-item h5 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a2533;
}

.feature-item p {
  font-size: 0.9rem;
  color: #6c757d;
}

html {
  scroll-behavior: smooth;
}

/* Required for tooltip positioning inside the container */
.group.relative {
  position: relative;
  display: inline-block;
}

/* Tooltip container */
.group .tooltip {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
  background-color: black;
  color: white;
  font-size: 0.75rem;
  /* text-xs */
  border-radius: 0.375rem;
  /* rounded-md */
  padding: 0.5rem 0.75rem;
  /* px-3 py-2 */
  width: 150px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  /* shadow-lg */
  white-space: normal;
  text-align: center;
  z-index: 9000000000000000000000000000 !important;
  transition: opacity 0.3s ease-in-out;
}

/* Show tooltip on hover */
.group:hover .tooltip {
  opacity: 1;
}

.square-container {
  /* Set a relative position for the container */
  position: relative;
  /* Make the width 100% of its parent */
  width: 100%;
  /* This creates a 1:1 aspect ratio by using padding-bottom */
  padding-bottom: 100%;
}

.square-container img {
  /* Position the image absolutely within the container */
  position: absolute;
  top: 0;
  left: 0;
  /* Make the image fill the entire container */
  width: 100%;
  height: 100%;
  /* Ensure the image scales without distortion */
  object-fit: cover;
}

/* For the circular shape and blue border */
.round-image-square {
  border-radius: 50%;
  border: 3px solid #241e5d;
  width: 65px;
  height: 65px;
}