/* ========== Base Styling ========== */
body {
  font-family: "Tenor Sans", sans-serif;
  font-weight: 400;
  font-style: normal;

  color: #2d3142;
  line-height: 1.7;
}

.section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 50px;
  color: #2d3142;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: #6b7a6e;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50px;
}

/* ========== Two Column Layout ========== */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.two-column img {
  flex: 1 1 450px;
  max-width: 100%;
  max-height: 450px;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, filter 0.3s ease;
  position: relative;
  z-index: 1;
}

.two-column img:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.two-column img::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: #f7f5f3;
  border-radius: 50%;
  z-index: -1;
}

.content-text {
  flex: 1 1 500px;
  position: relative;
  z-index: 1;
}

.content-text h3 {
  font-size: 1.8rem;
  color: #2d3142;
  margin-bottom: 15px;
  position: relative;
}

.content-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 45px;
  background-color: #a8c4a2;
  border-radius: 50px;
}
@media (max-width: 768px) {
  .content-text h3::before {
    width: 35px;
    height: 3px;
    bottom: -6px;
    left: 130px;
  }
}

.highlight-text {
  color: #a8c4a2;
  font-weight: 600;
}

/* ========== Stats Section ========== */
.stats-section {
  background: linear-gradient(135deg, #6b7a6e 0%, #a8c4a2 100%);
  padding: 70px 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  top: 0;
  left: 0;
  background: #a9b4ac;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  opacity: 0.8;
}

.stat-item:hover {
  transform: translateY(-6px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: bold;
  color: #6b7a6e;
}

.stat-label {
  font-size: 1rem;
  margin-top: 10px;
}

/* ========== Values Grid ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.value-item {
  background: linear-gradient(135deg, #6b7a6e 0%, #a8c4a2 100%);
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  color: white;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.value-item::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 100%;
  background: #a9b4ac;
  left: 0;
  top: 0;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.value-icon {
  font-size: 2.2rem;
  color: #d4a574;
  margin-bottom: 15px;
}

.value-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.value-description {
  font-size: 0.95rem;
}

/* ========== Team Section ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.team-member::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 10px;
  top: 0;
  left: 0;
  background: #a9b4ac;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  opacity: 0.8;
}
.team-member {
  background: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-member::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: 0;
  left: 0;
  background: #f7f5f3;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.member-photo {
  background: #a8c4a2;
  color: white;
  font-size: 1.6rem;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  line-height: 80px;
  margin: auto;
  margin-bottom: 15px;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.member-title {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.member-bio {
  font-size: 0.9rem;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, #6b7a6e 0%, #a8c4a2 100%);
  padding: 70px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #f7f5f3;
  z-index: 0;
  opacity: 0.4;
}

.cta-section::before {
  width: 160px;
  height: 160px;
  top: -50px;
  right: -50px;
}

.cta-section::after {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: -30px;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.1rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.cta-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffffff;
  color: #a8c4a2;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #48534a 0%, #6e7e6a 100%);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    text-align: center;
  }

  .team-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .two-column img {
    max-height: 300px;
  }
}
.about-hero {
  position: relative;
  height: 100vh;
  background: url("../images/slider/pexels-anna-nekrashevich-8058436.jpg")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 23, 23, 0.4); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: fadeUp 1.5s ease forwards;
  padding: 0 1rem;
  font-family: "Tenor Sans", sans-serif;
}

.hero-heading {
  font-size: 3rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #fff;
  font-weight: normal;
  text-shadow: 1.2px 0 0 white;
  font-family: "Garet", sans-serif;
}
.contact-hero-heading {
  margin-bottom: 30rem;
}

.hero-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #a8c4a2;
  border-radius: 4px;
  animation: glow 2s infinite;
}

.hero-tagline {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 1px;
  font-family: "PT Serif", serif;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 6px #a8c4a2;
  }
  50% {
    box-shadow: 0 0 12px #a8c4a2;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-hero {
    height: 70vh;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }
  .contact-hero-heading {
    margin-bottom: 0rem;
    /* display: none; */
  }
}
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    text-align: center;
  }

  .two-column img {
    width: 100%;
    height: auto;
    max-height: none;
    margin-top: 20px;
  }

  .content-text {
    text-align: center;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .team-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.our-story-section {
  background-color: #f8f6f4;
  padding: 80px 20px;
  font-family: "Tenor Sans", sans-serif;
}

.story-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-left {
  flex: 0 0 auto;
  position: relative;
}

/* --- Image Wrapper Styling --- */
.story-image-wrapper {
  position: relative;
  width: fit-content;
}

.green-box {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 75%;
  height: 75%;
  background-color: #e0f7e9;
  border-radius: 20px;
  z-index: 0;
}

.story-image {
  position: relative;
  z-index: 2;
}

.story-image img {
  width: 320px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- Vertical Divider with Leaves --- */
.vertical-divider {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 400px;
}

/* Gradient line */
.vertical-divider::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #a2d5ab, #959492);
  z-index: 0;
}

/* Leaf image floating above the divider */
.vertical-divider img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  width: auto;
  z-index: 2;
  opacity: 1;
  animation: moveLeafDown 6s ease-in-out infinite;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.vertical-divider img:hover {
  transform: translateX(-50%) scale(1.1) rotate(15deg);
}

/* Vertical animation from top to bottom */
@keyframes moveLeafDown {
  0% {
    top: 0;
    opacity: 0.7;
  }
  50% {
    top: 320px;
    opacity: 1;
  }
  100% {
    top: 0;
    opacity: 0.7;
  }
}

/* Oscillating horizontal animation for mobile */
@keyframes moveLeafHorizontal {
  0% {
    left: 0%;
    opacity: 0.7;
  }
  25% {
    left: 50%;
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 0;
  }
  75% {
    left: 50%;
    opacity: 1;
  }
  100% {
    left: 0%;
    opacity: 0.7;
  }
}

/* --- Content Styling --- */
.story-content {
  flex: 1 1 500px;
  color: #2d3142;
  font-family: "Tenor Sans", sans-serif;
}

.story-heading {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  line-height: 1.4;
  color: #2d3142;
}

.story-content p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.story-content .btn-primary {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  background-color: #2d3142;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.story-content .btn-primary:hover {
  background-color: #1b1d26;
}

/* --- Responsive Styling --- */
@media (max-width: 1024px) {
  .story-layout {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .vertical-divider {
    flex-direction: column;
    height: 280px;
    margin: 40px 0;
  }

  .vertical-divider::before {
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #a2d5ab, #959492);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .vertical-divider img {
    top: 0;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    animation: moveLeafDown 6s ease-in-out infinite;
  }

  .story-content {
    padding: 20px;
  }

  .story-heading {
    font-size: 2rem;
  }

  .green-box {
    top: 15px;
    left: 15px;
    width: 80%;
    height: 80%;
    border-radius: 10px;
  }
}

@media (max-width: 576px) {
  .story-image img {
    width: 90vw;
  }

  .vertical-divider {
    height: 80px;
    width: 100%;
  }

  .vertical-divider::before {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #a2d5ab, #959492);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .vertical-divider img {
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    animation: moveLeafHorizontal 6s ease-in-out infinite;
  }

  .story-content p {
    font-size: 0.95rem;
  }

  .btn-primary {
    font-size: 0.95rem;
  }
}
.about-section {
  background-color: #f7fdfc;
  padding: 100px 20px;
  position: relative;
  font-family: "Tenor Sans", sans-serif;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

.about-image {
  flex: 0 0 350px;
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
}

.leaf-overlay {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background-image: url("leaf-vine.pn-removebg-preview-removebg-preview.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  animation: floatLeaf 7s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatLeaf {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.main-content {
  font-family: "Tenor Sans", sans-serif;
}

.about-content {
  flex: 1;
  z-index: 2;
  position: relative;
  font-family: "Tenor Sans", sans-serif;
}

.about-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1d2b38;
  position: relative;
}

.about-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: #6fcf97;
  left: 0;
  bottom: -10px;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .about-title::after {
    width: 60px;
    height: 3px;
    bottom: -8px;
    left: 115px;
  }
}
.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3d3d3d;
  margin-bottom: 1rem;
}

.highlight-word {
  color: #5eb89c;
  font-weight: 600;
}

.btn-primary {
  display: inline-block;
  background-color: #ffffff;
  color: #a8c4a2;
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    max-width: 90%;
    margin-bottom: 20px;
  }

  .leaf-overlay {
    left: 0;
    top: -20px;
    width: 80px;
    height: 80px;
  }

  .about-title {
    font-size: 2rem;
  }
}

.container1010 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.magazine-section {
  background: linear-gradient(135deg, #a8c4a2 35%, #fff 75%);
  margin-bottom: 120px;
  padding: 70px 80px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  overflow: visible;
  transition: all 0.3s ease;
}

.magazine-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  padding-bottom: 25px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #a8c4a2 2%, transparent 100%);
}

.project-label {
  font-size: 20px;
  color: #000000;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
}

.section-number {
  font-size: 32px;
  font-weight: bolder;
  color: #000000;
  position: relative;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  min-height: 450px;
}

.content-left {
  z-index: 2;
  position: relative;
  padding-right: 20px;
}

.content-right {
  position: relative;
  z-index: 1;
}

.main-title {
  font-size: clamp(24px, 6vw, 64px);
  font-weight: 400;
  line-height: 0.85;
  margin-bottom: 30px;
  color: #2c2c2c;
  letter-spacing: -2px;
  position: relative;
}

.subtitle {
  font-size: clamp(14px, 4vw, 18px);
  color: #000000;
  margin-bottom: 35px;
  line-height: 1.4;
  max-width: 90%;
  font-weight: bold;
}

.author-credit {
  font-size: 16px;
  color: #000000;
  margin-bottom: 40px;
  letter-spacing: 1px;
  font-weight: bold;
}

.content-textt {
  font-size: 16px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 30px;
  font-weight: bold;
}

.content-textt p {
  margin-bottom: 20px;
  text-align: justify;
}

.image-container {
  position: relative;
  overflow: visible;
  height: 550px;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

.overlay-image {
  position: absolute;
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 8px solid gray;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  z-index: 3;
  transition: transform 0.3s ease;
}

.overlay-image:hover {
  transform: scale(1.05);
}

.overlay-top-left {
  top: -40px;
  left: -60px;
}

.overlay-bottom-right {
  bottom: -50px;
  right: -40px;
}

.vertical-line {
  position: absolute;
  width: 3px;
  height: 100px;
  background: linear-gradient(180deg, #a8c4a2 0%, #8fb087 100%);
  left: -30px;
  top: 0;
  border-radius: 2px;
}

.tips-section {
  margin-top: 50px;
}

.tip-item {
  margin-bottom: 35px;
  padding-left: 30px;
  position: relative;
  transition: transform 0.2s ease;
}

.tip-item:hover {
  transform: translateX(5px);
}

.tip-item::before {
  content: "●";
  color: #a8c4a2;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 3px;
}

.tip-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 12px;
  color: #000000;
  letter-spacing: 0.5px;
}

.tip-description {
  font-size: 15px;
  line-height: 1.7;
  color: #000000;
  font-weight: bold;
}

/* Layout variations */
.layout-reverse .content-grid {
  grid-template-columns: 1fr 1fr;
}

.layout-reverse .content-left {
  order: 2;
  padding-right: 0;
  padding-left: 20px;
}

.layout-reverse .content-right {
  order: 1;
}

.layout-stacked .content-grid {
  grid-template-columns: 1fr;
  gap: 60px;
  min-height: auto;
}

.layout-stacked .image-container {
  grid-row: 1;
  height: 400px;
}

.layout-stacked .content-left {
  grid-row: 2;
  padding-right: 0;
}

/* Accent colors */
.accent-green {
  background: linear-gradient(135deg, #a8c4a2 35%, #fff 75%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.accent-green::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-20px, -20px) rotate(5deg);
  }
}

.accent-green .main-title,
.accent-green .content-text,
.accent-green .tip-title,
.accent-green .tip-description,
.accent-green .subtitle {
  color: #fff;
}

.accent-green .section-header::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 100%
  );
}

.accent-green .project-label,
.accent-green .author-credit {
  color: rgba(0, 0, 0, 0.8);
  font-weight: bold;
}

.accent-green .section-number {
  color: #fff;
}

.accent-green .vertical-line {
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
}

.accent-green .tip-item::before {
  color: #fff;
}

/* Special typography styles */
.large-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #a8c4a2;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.accent-green .large-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Enhanced spacing and micro-interactions */
.content-left:hover .vertical-line {
  height: 120px;
  transition: height 0.3s ease;
}

.magazine-section:nth-child(even) .main-title {
  color: #2c2c2c;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container1010 {
    padding: 60px 30px;
    max-width: 1200px;
  }
  .magazine-section {
    padding: 50px 60px;
    margin-bottom: 100px;
  }
  .content-grid {
    gap: 60px;
  }
}

/* Tablet stacking */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .layout-reverse .content-left,
  .layout-reverse .content-right {
    order: unset;
    padding: 0;
  }
  .magazine-section {
    padding: 40px 30px;
    margin-bottom: 80px;
  }
  .overlay-image {
    width: 160px;
    height: 220px;
    border-width: 6px;
  }
  .image-container {
    height: 480px;
  }
  .vertical-line {
    left: -20px;
    height: 80px;
  }
}

/* Mobile column layout: Image on top, text below */
@media (max-width: 640px) {
  .container1010 {
    padding: 40px 20px;
  }
  .magazine-section {
    padding: 25px 20px;
    margin-bottom: 60px;
    border-radius: 12px;
  }
  .main-title {
    line-height: 0.9;
    letter-spacing: -0.5px;
  }
  .content-grid {
    display: flex;
    flex-direction: column; /* Force column layout */
    gap: 35px;
  }
  .content-right {
    order: 1; /* Image first */
  }
  .content-left {
    order: 2; /* Text second */
    padding-right: 0;
  }
  .overlay-image {
    width: 120px;
    height: 160px;
    border-width: 4px;
  }
  .overlay-top-left {
    top: -25px;
    left: -30px;
  }
  .overlay-bottom-right {
    bottom: -30px;
    right: -20px;
  }
  .image-container {
    height: 480px;
  }
  .section-number {
    font-size: 24px;
  }
  .vertical-line {
    left: -15px;
    height: 60px;
    width: 2px;
  }
  .tip-item {
    margin-bottom: 25px;
    padding-left: 25px;
  }
  .section-header {
    margin-bottom: 35px;
    padding-bottom: 20px;
  }
  .content-textt p {
    text-align: left;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .overlay-image {
    width: 100px;
    height: 130px;
  }
  .image-container {
    height: 480px;
  }
}

@media (max-width: 400px) {
  .overlay-image {
    display: none;
  }
}

/* Performance optimizations */
.main-image,
.overlay-image {
  will-change: transform;
}

/* Accessibility improvements */
.magazine-section:focus-within {
  outline: 2px solid #a8c4a2;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
