/* Features Glassmorphism Section Styles */

.background-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 500px;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .background-wrapper {
  min-height: 600px;
  }
}

@media (max-width: 767px) {
  .background-wrapper {
    min-height: auto;
  }
}

/* Background Image */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: var(--space-3xl) var(--space-2xl);
  min-height: 500px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .content-wrapper {
    padding: var(--space-2xl) var(--space-xl);
  min-height: 600px;
  }
}

@media (max-width: 767px) {
  .content-wrapper {
    padding: var(--space-xl) var(--space-lg);
    min-height: auto;
  }
}

/* Top Content Wrapper */
.top-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  width: 100%;
}

@media (max-width: 767px) {
  .top-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
}

/* Top Content */
.top-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 700px;
  flex: 1;
}

@media (max-width: 767px) {
  .top-content {
    gap: var(--space-md);
  }
}

/* Button Top Right */
.features-glass-button-top {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .features-glass-button-top {
    width: 100%;
  }
  
  .features-glass-button-top .btn {
    width: 100%;
    text-align: center;
  }
}

.intro-text-wrapper p {
  line-height: 1.34;
}

.heading-wrapper h2 {
  line-height: 1.13;
  letter-spacing: -0.02em;
}

/* Glass Container */
.glass-container {
  margin-top: auto;
  background: rgba(252, 252, 247, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl);
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .glass-container {
    padding: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .glass-container {
    padding: var(--space-lg);
    margin-top: var(--space-xl);
  }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 4rem;
  row-gap: 3rem;
  width: 100%;
}

@media (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Button wrapper in glass section */
.features-glass-button {
  margin-top: var(--space-xl);
}

@media (max-width: 767px) {
  .features-glass-button {
    margin-top: var(--space-lg);
  }
}

/* Button item inside glass container */
.feature-button-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .feature-button-item {
    width: 100%;
  }
  
  .feature-button-item .btn {
    width: 100%;
  }
}

/* Feature Item */
.feature-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.feature-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .feature-icon {
    width: 48px;
    height: 48px;
  }
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-title {
  margin: 0;
}

.feature-title h3 {
  line-height: 1.3;
  text-align: left;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature-description {
  margin: 0;
}

.feature-description ul li {
  color: inherit;
}

.feature-description p {
  line-height: 1.55;
  text-align: left;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: inherit;
}

.feature-description.text-white,
.feature-description.text-white p,
.feature-description.text-white span {
  color: var(--clr-white) !important;
}

