/* CSS Variables are now in main.css */

/* Container styles are now in main.css */

/* ===== Hero Editorial Section ===== */

.hero-editorial {
  position: relative;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.hero-editorial__container {
  padding: 0 20px;
}

/* Image Wrapper */
.hero-editorial__image-wrapper {
  position: relative;
  width: 100%;
  height: clamp(420px, 75vh, 780px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(225, 228, 235, 0.4);
  box-shadow:
    0px 0px 0px 6px #ffffff,
    0 12px 35px -10px rgba(58, 64, 145, 0.15);
}

.hero-editorial__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-editorial__image-wrapper:hover .hero-editorial__image {
  transform: scale(1.04);
}

.hero-editorial__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.12) 40%,
      rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Headline Overlay */
.hero-editorial__headline-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 48px 52px;
}

.hero-editorial__title {
  font-family: "Google Sans", sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-editorial__title-highlight {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #fff 30%, rgba(180, 190, 255, 0.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CTA Buttons */
.hero-editorial__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-editorial__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: "Google Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.hero-editorial__btn--primary {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1d42;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.hero-editorial__btn--primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-editorial__btn--primary svg {
  transition: transform 0.3s ease;
}

.hero-editorial__btn--primary:hover svg {
  transform: translateX(3px);
}

.hero-editorial__btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.hero-editorial__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ---- Hero Editorial Responsive ---- */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-editorial {
    padding-top: 1.5rem;
  }

  .hero-editorial__container {
    padding: 0 16px;
  }

  .hero-editorial__image-wrapper {
    height: clamp(380px, 60vh, 580px);
    border-radius: 20px;
  }

  .hero-editorial__headline-overlay {
    padding: 36px 36px;
  }

  .hero-editorial__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 22px;
  }

  .hero-editorial__btn {
    padding: 11px 24px;
    font-size: 0.85rem;
  }
}

/* Tablet portrait / large mobile */
@media (max-width: 768px) {
  .hero-editorial {
    padding-top: 1rem;
  }

  .hero-editorial__container {
    padding: 0 14px;
  }

  .hero-editorial__image-wrapper {
    height: clamp(260px, 45vh, 400px);
    border-radius: 18px;
    box-shadow:
      0 0 0 4px rgb(248, 248, 250),
      0 16px 32px -8px rgba(58, 64, 145, 0.12),
      0 8px 16px -6px rgba(0, 0, 0, 0.06);
  }

  .hero-editorial__headline-overlay {
    padding: 24px 24px;
  }

  .hero-editorial__title {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
    margin-bottom: 18px;
    line-height: 1.15;
  }

  .hero-editorial__cta {
    gap: 10px;
  }

  .hero-editorial__btn {
    padding: 10px 20px;
    font-size: 0.82rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-editorial {
    padding-top: 0.5rem;
  }

  .hero-editorial__container {
    padding: 0 10px;
  }

  .hero-editorial__image-wrapper {
    height: clamp(220px, 40vh, 340px);
    border-radius: 14px;
    box-shadow:
      0 0 0 3px rgb(248, 248, 250),
      0 10px 20px -6px rgba(58, 64, 145, 0.1),
      0 6px 12px -4px rgba(0, 0, 0, 0.05);
  }

  .hero-editorial__headline-overlay {
    padding: 18px 18px;
  }

  .hero-editorial__title {
    font-size: 1.5rem;
    margin-bottom: 14px;
    line-height: 1.18;
  }

  .hero-editorial__cta {
    gap: 8px;
  }

  .hero-editorial__btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .hero-editorial__btn--primary svg {
    width: 14px;
    height: 14px;
  }
}

/* ===== Hero Section (New Design) ===== */
.hero-new {
  position: relative;
  width: 100%;
  background: url('../assets/hero_bg.jpeg') no-repeat center center / cover;
  overflow: hidden;
  padding: 0 0 6rem;
  color: #ffffff;
}



.hero-new__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 2;
  padding-top: 5rem;
}

/* Floating Sparkles */
.hero-new__sparkle {
  position: absolute;
}

.hero-new__sparkle--green {
  top: 15%;
  left: 35%;
  width: 24px;
}

.hero-new__sparkle--blue {
  bottom: 25%;
  left: 42%;
  width: 24px;
  animation-delay: 1s;
}

.hero-new__sparkle--star {
  bottom: 10%;
  right: 15%;
  animation-delay: 2s;
}

@keyframes floatSparkle {
  0% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(-15px) rotate(10deg);
  }
}

/* Content Area */
.hero-new__content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 2;
}



.hero-new__title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--wood-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 800px;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .hero-new__title {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
}

.hero-new__title .highlight {
  color: var(--wood-primary);
}

.hero-new__desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--wood-primary);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

/* Email Form */

/* Visual / Image Area */
.hero-new__visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-new__bg-shape {
  display: none;
}

.hero-new__sparkle {
  display: none;
}

.hero-new__image-wrapper {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  transition: transform 0.5s ease;
}

.hero-new__image-wrapper:hover {
  transform: scale(1.02);
}

.hero-new__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-new__container {
    gap: 2rem;
  }

  .hero-new__bg-shape {
    right: -40%;
  }
}

@media (max-width: 768px) {
  .hero-new {
    padding: 0 0 3rem;
  }

  .hero-new__container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .hero-new__content {
    max-width: 100%;
  }

  .hero-new__desc {
    margin: 0 auto 2.5rem;
  }


  .hero-new__bg-shape {
    width: 150%;
    padding-bottom: 150%;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .hero-new__sparkle--green {
    left: 10%;
    top: 5%;
  }

  .hero-new__sparkle--blue {
    left: 80%;
    bottom: auto;
    top: 15%;
  }

  .hero-new__sparkle--star {
    display: none;
  }
}

/* Badge Styles */
.section-badge {
  display: inline-block;
  background: radial-gradient(88% 75% at 50% 50%,
      #3A4091 37.445453265765764%,
      #6469C0 83.41427364864865%);
  border-radius: 64px;
  box-shadow: rgba(58, 64, 145, 0.01) 0px 0.421531px 1.26459px -0.416667px,
    rgba(58, 64, 145, 0.01) 0px 1.60197px 4.80592px -0.833333px,
    rgba(58, 64, 145, 0.03) 0px 7px 21px -1.25px;
  opacity: 1;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .section-badge {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.8rem !important;
    margin-bottom: 0.75rem !important;
  }
}

/* Section Styles */
.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0 !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 3rem !important;
  }
}

.section-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg,
      var(--foreground) 0%,
      var(--wood-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.section-title .highlight {
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      var(--wood-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 1rem !important;
    max-width: 90% !important;
  }

  .about-description {
    font-size: 1rem !important;
    max-width: 95% !important;
    margin-bottom: 2.5rem !important;
  }
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}



/* About Content Simple */
.about-content-simple {
  position: relative;
  z-index: 2;
  margin-bottom: 2.5rem;
}

.about-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg,
      var(--wood-primary),
      var(--wood-secondary));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

/* New Three Column About Layout */
.about-three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.about-column {
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-column-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wood-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.about-column-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
  flex: 1;
}

.about-image-wrapper {
  background-color: rgb(240, 240, 240);
  border-radius: 15px;
  box-shadow: 0px 0px 0px 5px rgb(248, 248, 250),
    0px 0.421531111242075px 1.264593333726225px -0.41666666666666663px rgba(58, 64, 145, 0.01),
    0px 1.60197331227042px 4.80591993681126px -0.8333333333333333px rgba(58, 64, 145, 0.01),
    0px 7px 21px -1.25px rgba(58, 64, 145, 0.03);
  opacity: 1;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.about-column-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .about-three-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-column {
    padding: 0;
  }

  .about-image-wrapper {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 768px) {
  .about-three-column {
    gap: 1.5rem !important;
    margin-bottom: 3rem !important;
  }

  .about-column {
    padding: 0 !important;
  }

  .about-image-wrapper {
    margin-bottom: 1rem !important;
  }

  .about-column-description {
    font-size: 0.95rem !important;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.grid-cols-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(1, 1fr);
}

/* Responsive Grid Layouts */
@media (min-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid {
    gap: 1.5rem !important;
  }

  .grid-cols-3 {
    grid-template-columns: 1fr !important;
  }

  .event-card {
    border-radius: 1.25rem !important;
  }

  .event-content {
    padding: 0 !important;
    margin-top: 1rem !important;
  }

  .event-content h3 {
    font-size: 1.125rem !important;
  }

  .event-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .event-category {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .event-date-text {
    font-size: 0.8rem !important;
  }
}

/* Card Styles */
/* removed unused .card styles */

/* Product Cards */
/* removed unused .product-card and .badge styles */

/* Event Cards */
.event-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: rgb(246, 247, 249);
  border-bottom-width: 1px;
  border-color: rgb(225, 228, 235);
  border-left-width: 1px;
  border-right-width: 1px;
  border-style: solid;
  border-top-width: 1px;
  border-radius: 16px;
  box-shadow: rgba(178, 178, 178, 0.02) 0px 17px 24px 0px,
    rgb(255, 255, 255) 0px 0px 0px 4px;
  opacity: 1;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: brightness(1.05) saturate(1.1);
  object-position: bottom;
  border-radius: 1rem;
}

.event-card:hover .event-image {
  transform: scale(1.1);
  filter: brightness(1.1) saturate(1.2);
}

.event-date {
  display: none;
}

.event-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.event-year {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

.event-content {
  padding: 0;
  margin-top: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.event-category {
  background: rgba(58, 64, 145, 0.08);
  color: var(--wood-primary);
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.event-date-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.event-content h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card:hover .event-content h3 {
  color: var(--wood-primary);
}

.event-content p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card:hover .event-content p {
  color: var(--foreground);
}

/* removed unused .contact-card styles */

/* removed unused .contact-info heading/text overrides */

/* Removed duplicate footer bottom styles (canonical in main.css) */

/* removed unused .footer-bottom-links styles */

/* Animations */

/* Global smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
/* Removed duplicate nav/mobile visibility rules (canonical in main.css) */

/* Responsive styles are now in main.css */

/* removed carousel section/header/title styles */

@media (max-width: 768px) {
  .social-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .social-links {
    gap: 1rem !important;
    margin-top: 1.2rem !important;
  }

  .gallery-title {
    font-size: 1.8rem !important;
  }
}

/* Smooth scrolling for carousel */

/* Focus states for accessibility */

/* Additional modern effects */

/* Enhanced slide animations */

/* Hover effects for better interactivity */

/* Loading animation for progress bar */

/* Gallery Layout Styles */
.gallery-section {
  padding: 6rem 0;
  background: linear-gradient(135deg,
      rgba(58, 64, 145, 0.02) 0%,
      rgba(255, 255, 255, 0.95) 100%);
  overflow: hidden;
}

/* removed unused .gallery-section-2 variant */

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      var(--wood-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Grayscale effect removed - all images stay normal when hovering */

/* Responsive Gallery */

/* Certificate Styles in Footer */
.certificate-container {
  margin-top: 1rem;
}

.certificate-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  width: fit-content;
}

/* Combined Events Gallery Styles */
.gallery-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0 auto 3rem auto;
  text-align: center;
  font-weight: 400;
  opacity: 0.8;
  max-width: 600px;
  line-height: 1.6;
}

.certificate-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.certificate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}

/* Image hover effect removed */

/* removed unused certificate overlay/content/badge styles */

/* Responsive Certificate */
@media (max-width: 768px) {
  .certificate-image {
    height: 160px !important;
  }

  .certificate-img {
    object-position: center !important;
  }
}

/* Responsive Bộ Công Thương */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .footer-bottom-left {
    align-items: center !important;
  }

  .footer-bottom-right {
    justify-content: center !important;
  }
}

/* Contact Section Styles */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg,
      rgba(58, 64, 145, 0.02) 0%,
      rgba(255, 255, 255, 0.98) 100%);
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23f0f0f0"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      var(--wood-secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(58, 64, 145, 0.1);
  width: 100%;
  transition: all 0.3s ease;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: radial-gradient(88% 75% at 50% 50%, var(--wood-primary) 37.45%, var(--wood-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wood-primary);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.contact-details p {
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  /* Fixed from var(--foreground) to ensure visibility on light background */
  line-height: 1.5;
  margin: 0;
}

/* Contact Map Styles */
.contact-map {
  width: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgb(225, 228, 235);
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px;
  transition: all 0.3s ease;
}

.contact-map:hover {
  transform: translateY(-2px);
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px,
    0 8px 25px rgba(58, 64, 145, 0.1);
  border-color: rgba(58, 64, 145, 0.15);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(100, 105, 192, 0.03) 0%,
      rgba(147, 51, 234, 0.02) 100%);
  opacity: 0;
  pointer-events: none;
  border-radius: 16px;
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px,
    0 8px 25px rgba(58, 64, 145, 0.1);
  border-color: rgba(58, 64, 145, 0.15);
}

.contact-form:hover::before {
  opacity: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(58, 64, 145, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
  color: var(--foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wood-primary);
  box-shadow: 0 0 0 3px rgba(58, 64, 145, 0.1);
  background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form .btn {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      rgba(58, 64, 145, 0.85) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(58, 64, 145, 0.2);
  position: relative;
  overflow: hidden;
}

.form .btn::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: left 0.5s;
}

.form .btn:hover::before {
  left: 100%;
}

.form .btn:hover {
  background: linear-gradient(135deg,
      var(--wood-primary) 0%,
      rgba(58, 64, 145, 0.95) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(58, 64, 145, 0.4);
  border-color: transparent;
}

/* Responsive Contact */
@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-section {
    padding: 4rem 0;
  }

  .contact-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0 !important;
  }

  .contact-header {
    margin-bottom: 2.5rem !important;
  }

  .contact-title {
    font-size: 1.8rem !important;
  }

  .contact-content {
    gap: 2.5rem !important;
  }

  .contact-item {
    padding: 0.875rem !important;
    gap: 0.875rem !important;
  }

  .contact-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .contact-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .contact-details h4 {
    font-size: 1.125rem !important;
  }

  .contact-form {
    padding: 1rem !important;
  }

  .form {
    gap: 1.25rem !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.875rem 1rem !important;
    font-size: 0.95rem !important;
  }
}

/* Custom Select Styles */
.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(58, 64, 145, 0.1);
  border-radius: 0.75rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-header:hover {
  border-color: rgba(58, 64, 145, 0.2);
  background: white;
}

.select-header.active {
  border-color: var(--wood-primary);
  box-shadow: 0 0 0 3px rgba(58, 64, 145, 0.1);
  background: white;
}

.select-placeholder {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.select-placeholder.selected {
  color: var(--foreground);
}

.select-arrow {
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}

.select-header.active .select-arrow {
  transform: rotate(180deg);
  color: var(--wood-primary);
}

.select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid rgba(58, 64, 145, 0.1);
  border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 8px 25px rgba(58, 64, 145, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select.open .select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-option {
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(58, 64, 145, 0.05);
}

.select-option:last-child {
  border-bottom: none;
}

.select-option:hover {
  background: rgba(58, 64, 145, 0.05);
  color: var(--wood-primary);
}

.select-option.selected {
  background: rgba(58, 64, 145, 0.1);
  color: var(--wood-primary);
  font-weight: 600;
}

/* Scrollbar for select options */
.select-options::-webkit-scrollbar {
  width: 6px;
}

.select-options::-webkit-scrollbar-track {
  background: rgba(58, 64, 145, 0.05);
  border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb {
  background: rgba(58, 64, 145, 0.2);
  border-radius: 3px;
}

.select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(58, 64, 145, 0.3);
}

/* Responsive Styles for Product and Event Cards */
@media (max-width: 639px) {
  .event-card .event-image-wrapper {
    height: 220px;
  }

  .event-content h3 {
    font-size: 1.25rem;
  }

  .event-content p {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .event-card .event-image-wrapper {
    height: 200px;
  }

  .event-date {
    padding: 0.75rem 0.5rem;
    min-width: 65px;
  }

  .event-day {
    font-size: 1.5rem;
  }

  .event-month {
    font-size: 0.75rem;
  }

  .event-year {
    font-size: 0.625rem;
  }
}

/* Product section removed */
/* Products showcase (3 items like reference) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-showcase-item {
  position: relative;
  background-color: rgb(242, 244, 246);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid #e1e4eb;
  border-radius: 24px;
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: 0 0 0 6px #fff, 0 22px 30px #8c96a91a, 0 7px 6px #8c96a91f;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.product-showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 6px #fff, 0 32px 40px #8c96a91a, 0 12px 16px #8c96a91f;
  text-decoration: none;
  color: inherit;
}

.product-showcase-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.12) 40%,
      transparent 100%),
    radial-gradient(circle at 20% 15%,
      rgba(58, 64, 145, 0.08) 0%,
      transparent 40%),
    radial-gradient(circle at 80% 85%,
      rgba(58, 64, 145, 0.05) 0%,
      transparent 45%);
  z-index: 0;
  pointer-events: none;
}

/* Product image without wrapper - overflow/crop controlled by the card */
.product-visual {
  display: block;
  width: 100%;
  height: clamp(280px, 35vw, 380px);
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.product-showcase-item:hover .product-visual {
  transform: scale(1.02);
}

.product-title {
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  color: rgba(58, 64, 145, 0.9);
  margin: auto 0 0 0;
  position: relative;
  z-index: 2;
  text-transform: capitalize;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 1.125rem !important;
    line-height: 1.2 !important;
  }
}

/* Project CTA Section */
.project-cta-section {
  position: relative;
  padding: 5rem 0;
  background-color: transparent;
  background-image: url(https://windoo.peerduck.com/wp-content/uploads/2023/03/4tggrvrt4h.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.project-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(223, 235, 246, 0.3);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-text {
  padding: 0 2rem;
}

.cta-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 800;
  color: #3A4091;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-highlight {
  position: relative;
  display: inline-block;
}

.cta-highlight::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 6px;
  background: #3A4091;
  border-radius: 3px;
}

.cta-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design for Project CTA Section */
@media (max-width: 1024px) {
  .project-cta-section {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .project-cta-section {
    padding: 4rem 0 !important;
  }

  .cta-title {
    font-size: 1.8rem !important;
  }

  .cta-description {
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 480px) {
  .project-cta-section {
    padding: 3rem 0;
  }

  .cta-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-text {
    padding: 0 1rem;
  }
}

/* Reviews Section Styles */
.reviews-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 80% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%);
  pointer-events: none;
}

.reviews-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.reviews-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 800;
  color: var(--wood-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem 0;
}

.reviews-swiper {
  position: relative !important;
  z-index: 2 !important;
  padding-bottom: 4.5rem !important;
  overflow: hidden !important;
  padding-top: 10px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.reviews-swiper .swiper-slide {
  height: auto;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 17px 24px #b2b2b214, 0 0 0 5px #fff;
  border: 1px solid #e1e4eb;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Customer Icon Styles */
.review-customer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.customer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(58, 64, 145, 0.2);
  overflow: hidden;
  border: 2px solid rgba(58, 64, 145, 0.1);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.customer-info {
  flex: 1;
}

.customer-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wood-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.customer-source {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 24px #b2b2b214, 0 0 0 5px #fff;
  border-color: #e1e4eb;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-stars svg {
  color: var(--wood-primary);
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.review-source {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Pagination Dots Customization */
.reviews-pagination.swiper-pagination-bullets {
  bottom: 8px !important;
  z-index: 10;
}

.reviews-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(58, 64, 145, 0.2);
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 5px !important;
}

.reviews-pagination .swiper-pagination-bullet-active {
  background: var(--wood-primary);
  width: 28px;
  border-radius: 100px;
}

/* Responsive Design for Reviews Section */
@media (max-width: 1024px) {
  .reviews-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 3rem 0 !important;
  }

  .reviews-title {
    font-size: 1.8rem !important;
  }

  .review-card {
    padding: 1.5rem !important;
  }

  .review-customer {
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .customer-avatar {
    width: 45px !important;
    height: 45px !important;
  }

  .customer-name {
    font-size: 1rem !important;
  }

  .customer-source {
    font-size: 0.8rem !important;
  }

  .review-text {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .reviews-header {
    margin-bottom: 3rem;
  }

  .reviews-title {
    font-size: 1.6rem;
  }

  .review-customer {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .customer-avatar {
    width: 40px;
    height: 40px;
  }

  .customer-name {
    font-size: 0.95rem;
  }

  .customer-source {
    font-size: 0.75rem;
  }
}

/* Custom Made Section Styles */
.custom-made-section {
  position: relative;
  padding: 5rem 0;
  background-color: transparent;
  background-image: url("../assets/banner2.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.custom-made-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.custom-made-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  margin: 0;
}

.custom-made-title {
  font-size: 2.2rem;
  /* 35.2px */
  font-weight: 800;
  color: #3A4091;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.custom-made-line {
  display: block;
  margin-bottom: 0.5rem;
}

.custom-made-highlight {
  position: relative;
  display: inline-block;
}

.custom-made-highlight::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 6px;
  background: #3A4091;
  border-radius: 3px;
}

.custom-made-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.custom-made-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* removed unused .feature-item styles (not present in index.html) */

/* Removed unused .custom-made-button styles */

/* Responsive Design for Custom Made Section */
@media (max-width: 1024px) {
  .custom-made-section {
    min-height: 50vh;
  }

  .custom-made-title {
    font-size: 1.8rem;
  }

  .custom-made-features {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .custom-made-section {
    min-height: 45vh !important;
  }

  .parallax-background {
    background-attachment: scroll !important;
  }

  .custom-made-content {
    padding: 3rem 0 !important;
  }

  .custom-made-title {
    font-size: 1.8rem !important;
  }

  .custom-made-description {
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
  }

  .custom-made-features {
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }

  /* removed .custom-made-button responsive tweaks */
}

@media (max-width: 480px) {
  .custom-made-section {
    min-height: 40vh;
  }

  .custom-made-title {
    font-size: 1.6rem;
  }

  .custom-made-description {
    font-size: 1rem;
  }

  /* removed .custom-made-button responsive tweaks */
}

/* Floating Animation Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  contain: layout style paint;
}

.floating-element {
  position: absolute;
  opacity: 0.15;
  animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
  top: 15%;
  right: 20%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.floating-element:nth-child(2) {
  top: 25%;
  right: 35%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.floating-element:nth-child(3) {
  bottom: 40%;
  right: 15%;
  animation-delay: -10s;
  animation-duration: 35s;
}

.floating-element:nth-child(4) {
  top: 65%;
  right: 45%;
  animation-delay: -15s;
  animation-duration: 28s;
}

.floating-element:nth-child(5) {
  bottom: 25%;
  right: 30%;
  animation-delay: -20s;
  animation-duration: 32s;
}

.floating-element:nth-child(6) {
  top: 45%;
  right: 10%;
  animation-delay: -8s;
  animation-duration: 26s;
}

.floating-element:nth-child(7) {
  bottom: 55%;
  right: 25%;
  animation-delay: -12s;
  animation-duration: 29s;
}

.floating-element:nth-child(8) {
  top: 20%;
  right: 50%;
  animation-delay: -18s;
  animation-duration: 33s;
}

.floating-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3A4091, #4a90e2);
  animation: rotate 15s infinite linear;
}

.floating-square {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #3A4091, #6c7ce7);
  transform: rotate(45deg);
  animation: pulse 8s infinite ease-in-out;
}

.floating-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 50px solid rgba(58, 64, 145, 0.3);
  animation: wobble 12s infinite ease-in-out;
}

.floating-hexagon {
  width: 50px;
  height: 28px;
  background: linear-gradient(135deg, #3A4091, #8a9eff);
  position: relative;
  animation: floatHexagon 18s infinite linear;
}

.floating-hexagon:before,
.floating-hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
}

.floating-hexagon:before {
  bottom: 100%;
  border-bottom: 14px solid rgba(58, 64, 145, 0.2);
}

.floating-hexagon:after {
  top: 100%;
  border-top: 14px solid rgba(58, 64, 145, 0.2);
}

.floating-diamond {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #3A4091, #a8b5ff);
  transform: rotate(45deg);
  animation: diamondSpin 20s infinite linear;
}

.floating-star {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3A4091, #c4c9ff);
  clip-path: polygon(50% 0%,
      61% 35%,
      98% 35%,
      68% 57%,
      79% 91%,
      50% 70%,
      21% 91%,
      32% 57%,
      2% 35%,
      39% 35%);
  animation: starGlow 10s infinite ease-in-out;
}

/* Slide-specific color themes */
.swiper-slide:nth-child(1) .floating-circle {
  background: linear-gradient(135deg, #3A4091, #4a90e2);
}

.swiper-slide:nth-child(1) .floating-square {
  background: linear-gradient(45deg, #3A4091, #6c7ce7);
}

.swiper-slide:nth-child(1) .floating-triangle {
  border-bottom-color: rgba(58, 64, 145, 0.3);
}

.swiper-slide:nth-child(1) .floating-hexagon {
  background: linear-gradient(135deg, #3A4091, #8a9eff);
}

.swiper-slide:nth-child(1) .floating-diamond {
  background: linear-gradient(45deg, #3A4091, #a8b5ff);
}

.swiper-slide:nth-child(1) .floating-star {
  background: linear-gradient(135deg, #3A4091, #c4c9ff);
}

.swiper-slide:nth-child(2) .floating-circle {
  background: linear-gradient(135deg, #1a237e, #5c6bc0);
}

.swiper-slide:nth-child(2) .floating-square {
  background: linear-gradient(45deg, #1a237e, #7986cb);
}

.swiper-slide:nth-child(2) .floating-triangle {
  border-bottom-color: rgba(26, 35, 126, 0.3);
}

.swiper-slide:nth-child(2) .floating-hexagon {
  background: linear-gradient(135deg, #1a237e, #9fa8da);
}

.swiper-slide:nth-child(2) .floating-diamond {
  background: linear-gradient(45deg, #1a237e, #c5cae9);
}

.swiper-slide:nth-child(2) .floating-star {
  background: linear-gradient(135deg, #1a237e, #e8eaf6);
}

.swiper-slide:nth-child(3) .floating-circle {
  background: linear-gradient(135deg, #283593, #3949ab);
}

.swiper-slide:nth-child(3) .floating-square {
  background: linear-gradient(45deg, #283593, #3f51b5);
}

.swiper-slide:nth-child(3) .floating-triangle {
  border-bottom-color: rgba(40, 53, 147, 0.3);
}

.swiper-slide:nth-child(3) .floating-hexagon {
  background: linear-gradient(135deg, #283593, #5c6bc0);
}

.swiper-slide:nth-child(3) .floating-diamond {
  background: linear-gradient(45deg, #283593, #7986cb);
}

.swiper-slide:nth-child(3) .floating-star {
  background: linear-gradient(135deg, #283593, #9fa8da);
}

/* Keyframe Animations */
@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.1;
  }

  25% {
    transform: translateY(-15px) translateX(-10px) rotate(90deg);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-8px) translateX(-15px) rotate(180deg);
    opacity: 0.2;
  }

  75% {
    transform: translateY(-20px) translateX(-8px) rotate(270deg);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0px) translateX(0px) rotate(360deg);
    opacity: 0.1;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.1;
  }

  50% {
    transform: rotate(45deg) scale(1.3);
    opacity: 0.3;
  }
}

@keyframes wobble {

  0%,
  100% {
    transform: rotate(0deg) translateY(0px);
  }

  25% {
    transform: rotate(5deg) translateY(-10px);
  }

  50% {
    transform: rotate(-5deg) translateY(-5px);
  }

  75% {
    transform: rotate(3deg) translateY(-15px);
  }
}

@keyframes floatHexagon {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-25px) rotate(120deg);
  }

  66% {
    transform: translateY(-15px) rotate(240deg);
  }

  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

@keyframes diamondSpin {
  0% {
    transform: rotate(45deg) scale(1);
  }

  25% {
    transform: rotate(135deg) scale(1.1);
  }

  50% {
    transform: rotate(225deg) scale(0.9);
  }

  75% {
    transform: rotate(315deg) scale(1.05);
  }

  100% {
    transform: rotate(405deg) scale(1);
  }
}

@keyframes starGlow {

  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

/* Floating elements animation with slide transitions */
.floating-element {
  transition: all 1.2s ease-in-out;
}

.floating-element:nth-child(1) {
  transition-delay: 0.1s;
}

.floating-element:nth-child(2) {
  transition-delay: 0.2s;
}

.floating-element:nth-child(3) {
  transition-delay: 0.3s;
}

.floating-element:nth-child(4) {
  transition-delay: 0.4s;
}

.floating-element:nth-child(5) {
  transition-delay: 0.5s;
}

.floating-element:nth-child(6) {
  transition-delay: 0.6s;
}

.floating-element:nth-child(7) {
  transition-delay: 0.7s;
}

.floating-element:nth-child(8) {
  transition-delay: 0.8s;
}

/* Slide-specific floating element states */
.carousel-hero .floating-element {
  transform: scale(0.8) translateY(20px);
  opacity: 0.05;
}

.carousel-hero.swiper-slide-active .floating-element {
  transform: scale(1) translateY(0px);
  opacity: 0.15;
}

/* Ensure floating elements respond to slide changes */
.mySwiper .swiper-slide:not(.swiper-slide-active)~.floating-elements .floating-element {
  transform: scale(0.8) translateY(20px);
  opacity: 0.05;
}

.mySwiper .swiper-slide-active~.floating-elements .floating-element {
  transform: scale(1) translateY(0px);
  opacity: 0.15;
}

/* Responsive adjustments */
@media (max-width: 930px) {
  .floating-element {
    opacity: 0.05;
  }

  .floating-circle {
    width: 40px;
    height: 40px;
  }

  .floating-square {
    width: 30px;
    height: 30px;
  }

  .floating-triangle {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 40px solid rgba(58, 64, 145, 0.2);
  }

  .floating-hexagon {
    width: 35px;
    height: 20px;
  }

  .floating-diamond {
    width: 25px;
    height: 25px;
  }

  .floating-star {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 575px) {
  .floating-element {
    opacity: 0.03;
  }

  .floating-circle {
    width: 30px;
    height: 30px;
  }

  .floating-square {
    width: 25px;
    height: 25px;
  }

  .floating-triangle {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 30px solid rgba(58, 64, 145, 0.15);
  }

  .floating-hexagon {
    width: 25px;
    height: 14px;
  }

  .floating-diamond {
    width: 20px;
    height: 20px;
  }

  .floating-star {
    width: 25px;
    height: 25px;
  }
}