/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  min-height: 100vh;
}

.container {
  min-height: 100vh;
  background-color: #ffffff;
}

/* Section Layout */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.section-flipped {
  flex-direction: column; 
}

/* Content Section */
.content-section {
  width: 100%;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
}

.content-inner {
  max-width: 40rem;
}

.content-inner-right {
  margin-left: auto;
}

.title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #1f2937;
  margin-bottom: 1.5rem;
  /* letter-spacing: -0.025em; */
  line-height: 1.1;
}

.text-content {
  color: #374151;
  line-height: 1.75;
}

.text-content p {
  font-size: 1rem;
  margin: 1.5rem 0;
}

.link {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.link:hover {
  color: #1d4ed8;
}

/* Desktop Image Section */
.image-section {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh;
}

.bg-container {
  position: absolute;
  inset: 0;
}

.bg-diagonal-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #9d3d64 0%, #453d6c 100%);
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 100%);
}

.bg-diagonal-top-flipped {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:  linear-gradient(0deg, #403463 0%, #8fc1ff 100%); 
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.bg-diagonal-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to top, #7a1132, #881337);
}

.image-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.image-offset-left {
  left: 0;
  transform: translate(-3rem, -50%);
}

.image-offset-right {
  right: 0;
  transform: translate(3rem, -50%);
}

.image-card {
  position: relative;
  background-color: #ffffff;
  /*box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);*/
 
  height: 600px;
  max-width: 715px;
}

.image {
  width: 700px;
  height: 100%;
  object-fit: cover;
}

.accent-lines {
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 0.125rem;
  padding: 0.75rem 1rem;
}

.accent-left {
  left: 0;
}

.accent-right {
  right: 0;
}

.accent-line {
  width: 0.2rem;
  height: 55px;
  background-color: #7fc242;
  transform: skewX(-12deg);
}

.accent-line-flipped {
  transform: skewX(12deg);
}

/* Mobile Image Section */
.mobile-image-section {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.mobile-bg-container {
  position: relative;
}

.mobile-bg-diagonal {
  display:none !important;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(0deg, #403463 0%, #8fc1ff 100%); 
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-bg-diagonal-flipped {
  display:none !important;
  left: 0;
  background:  linear-gradient(0deg, #403463 0%, #8fc1ff 100%); 
  clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 100%);
}

.mobile-image-wrapper {
  position: relative;
  padding: 4rem 1.5rem 2rem;
}

.mobile-image-card {
  position: relative;
  background-color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 28rem;
  margin: 0 auto;
}

.mobile-image {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.mobile-accent-lines {
  display:none !important;
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem;
}

.mobile-accent-left {
  left: 0;
}

.mobile-accent-right {
  right: 0;
}

.mobile-accent-line {
  width: 0.2rem;
  height: 45px;
  background-color: #7fc242;
  transform: skewX(-12deg);
}

.mobile-accent-line-flipped {
  transform: skewX(12deg);
}

.mobile-bg-bottom {
  background: linear-gradient(90deg, #403463 0%, #8fc1ff 100%); 
  height: 20rem;
  margin-top: -20rem;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
  .content-section {
    padding: 4rem;
  }

  .title {
    font-size: 3.75rem;
  }

  .text-content p {
    font-size: 1.125rem;
  }

  .mobile-image {
    height: 20rem;
  }
}

@media (max-width: 768px) {
  .content-section {
    padding: 4rem;
  }

  .title {
    font-size: 2.75rem !important;
    line-height: 1.25 !important;
  }

  .text-content p {
    font-size: 1.125rem;
  }

  .mobile-image {
    height: 20rem;
  }
}

@media (min-width: 1024px) {
  .section {
    flex-direction: row;
  }

  .section-flipped {
    /* flex-direction: row-reverse; */
  }

  .content-section {
    width: 60%;
    padding: 4rem 8rem;
  }

  .title {
    font-size: 5rem;
  }

  .image-section {
    display: block;
    width: 50%;
  }

  .image-left {
    order: -1;
  }

  .image-right {
    order: 1;
  }

  .mobile-image-section {
    display: none;
  }
}

@media(max-width: 1400px){
  .title{
    font-size: 4.5rem;
  }

  @media(max-width: 1280px){
  .title{
    font-size: 4.15rem;
  }
}
