/* Overlapping sections and rounded corners design */

/* Overlapping section effect */
.overlapping-section {
  position: relative;
  margin-top: -80px;
  z-index: 1;
}

.overlapping-section:first-child {
  margin-top: 0;
}

/* Rounded corners for all cards and containers */
.rounded-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.rounded-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

/* Overlapping cards */
.overlapping-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.overlapping-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Staggered overlapping effect */
.staggered-overlap {
  position: relative;
}

.staggered-overlap > div:nth-child(1) {
  z-index: 10;
}

.staggered-overlap > div:nth-child(2) {
  z-index: 9;
  margin-top: -40px;
}

.staggered-overlap > div:nth-child(3) {
  z-index: 8;
  margin-top: -40px;
}

/* Floating elements */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Rounded buttons */
.rounded-btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.rounded-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Section with curved bottom */
.curved-bottom {
  border-bottom-left-radius: 50% 20%;
  border-bottom-right-radius: 50% 20%;
}

/* Section with curved top */
.curved-top {
  border-top-left-radius: 50% 20%;
  border-top-right-radius: 50% 20%;
}

/* Diagonal sections */
.diagonal-section {
  position: relative;
  overflow: hidden;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  transform: skewY(-3deg);
  transform-origin: 0;
  z-index: -1;
}

/* Soft shadows */
.soft-shadow {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Gradient borders */
.gradient-border {
  position: relative;
  border-radius: 20px;
  background: #fff;
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #74c9e3, #5bbfdd, #8dd3eb);
  border-radius: 22px;
  z-index: -1;
}

/* Floating cards */
.floating-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}