body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #fef0d5;
  color: black;
  overflow-x: hidden;
}

.side-bar {
  position: fixed;
  top: 0;
  width: 35px; /* oder mehr/weniger je nach Wunsch */
  height: 100vh;
  background-color: white; /* gleiche Farbe wie der Hintergrund */
  z-index: -1;
}

.left-bar {
  left: 0;
}

.right-bar {
  right: 0;
}

/* ----------------------------------------------  HEADER  -----------------------------------------------------------*/
/* === HEADER WRAPPER === */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  z-index: 1000;
  height: 150px; /* Keep your original height on desktop */
}

/* === HEADER OUTER WRAPPER === */
.header-inner {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* === LOGO + NAV GROUP === */
.header-content {
  width: 100%;
  padding-inline: clamp(16px, 5vw, 370px); /* Responsive side padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.header-center {
  display: none;
}

p {
  text-align: justify;
}

/* === LOGO === */
.logo {
  height: 70px;
  object-fit: contain;
}

/* === NAVIGATION BAR === */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Base style for all nav links */
.main-nav a {
  font-weight: bold;
  text-decoration: none;
}

/* Primary nav links (e.g. HOME) */
.main-nav a:not(.nav-secondary) {
  color: rgb(128, 0, 0);
}

.main-nav a:not(.nav-secondary):hover {
  color: rgb(178, 0, 0);
}

/* Secondary links (e.g. KONTAKT, EN) */
.nav-secondary {
  color: #989898ff;
}

.nav-secondary:hover {
  color: #b9b9b9ff;
}

nav .divider {
  color: #989898ff;
  margin: 0 5px;
  font-weight: normal;
  font-size: 1.2rem;
  transform: translateY(-1px); /* optional: leichte vertikale Anpassung */
}

/* ===============================
   Responsive: Tablets (≤ 1024px)
================================== */
@media (max-width: 1280px) {
  .header-content {
    width: 100%;
    margin: 0;
    padding-left: 10vw;
    padding-right: 10vw;
    justify-content: space-between;
  }
}

/* ===============================
   Responsive: Phones (≤ 800px) - 800px threshold due to logo size and reference links
================================== */
@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 20px 0;
  }

  .header-content {
    flex-direction: column;
    align-items: center;
    padding-inline: 20px;
    text-align: center;
    width: 100%;
    gap: 12px;
  }

  .main-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
  }

  .main-nav a {
    margin: 0 10px;
  }

  .logo {
    height: 60px;
  }
}

/* ===============================
   Responsive: Small Phones (≤ 480px)
================================== */
@media (max-width: 480px) {
  .header-content {
    display: none;
  }
  .header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    gap: 20px;
  }
  
  .logo {
    height: 50px;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.8rem;
  }

  .divider {
    font-size: 0.8rem;
  }
}


/* ---------------------------------  Decorative Thin Line (Gray) Below Header -------------------------------------- */
.top-line {
  position: fixed;
  top: 155px;
  left: 50px;   /* horizontal inset */
  right: 50px;
  height: 0.5px;
  background-color: rgb(227, 227, 227);
  z-index: 1100;
}

/* === Thicker White Line Below Header === */
.top-line-2 {
  position: fixed;
  top: 150px;
  left: 35px;
  right: 35px;
  height: 5px;
  background-color: white;
  z-index: 1100;
}

/* === Fixed Left Arch Image === */
.fixed-image-left {
  position: fixed;
  top: 150px;
  left: 30px;
  width: 20px;
  z-index: 1000;
}

/* === Fixed Right Arch Image === */
.fixed-image-right {
  position: fixed;
  top: 150px;
  right: 30px;
  width: 20px;
  z-index: 1000;
}

/* ===============================
   Responsive: Tablets (≤ 1024px)
================================== */
@media (max-width: 1024px) {
  /* === Adjust top lines === */
  .top-line {
    left: 26px;
    right: 26px;
  }

  .top-line-2 {
    left: 26px;
    right: 26px;
  }

  /* === Adjust arch images === */
  .fixed-image-left {
    left: 16px;
    top: 150px;
    width: 16px;
  }

  .fixed-image-right {
    right: 16px;
    top: 150px;
    width: 16px;
  }
}

/* ===============================
   Responsive: Small Phones (≤ 480px)
================================== */
@media (max-width: 480px) {
  .top-line,
  .top-line-2,
  .fixed-image-left,
  .fixed-image-right {
    display: none;
  }
}

/* -------------------------------------------  Swiper Carousel Layout ---------------------------------------------- */
/* -------------------------------------------
   Swiper Carousel Layout
   Handles full-width carousel with navigation,
   borders, and responsive behavior.
---------------------------------------------- */

/* === Outer Wrapper: Adds spacing around the Swiper === */
.carousel-wrapper {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  padding: 155px 0 60px; /* top space for fixed header, bottom for spacing */
}

/* === Swiper Container === */
.swiper {
  width: calc(100% - 70px);   /* Keeps a margin of ~35px on each side */
  max-width: 1880px;          /* Prevents it from getting too wide */
  min-height: 600px;          /* Ensures enough vertical space for centering buttons */
  height: auto !important;    /* Overrides Swiper's default height behavior */
  transition: height 0.4s ease;
  box-sizing: border-box;
  position: relative;         /* Required for button positioning */
  border: 0.5px solid rgb(227, 227, 227); /* subtle border */
  border-radius: 15px;        /* soft rounded corners */
}

/* === Each Slide === */
.swiper-slide {
  width: 100% !important;
  height: auto;
  box-sizing: border-box;
  background-color: white; /* was 'whi' (typo) */
}

/* === Swiper Navigation Buttons === */
.swiper-button-next,
.swiper-button-prev {
  position: fixed;                  /* stay in place regardless of scroll */
  top: 50vh;                        /* vertically centered */
  transform: translateY(-42%);     /* slight correction for actual center */
  z-index: 1000;
  background: none;
  color: transparent;              /* hides default Swiper icons */
  width: 64px;
  height: 64px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  pointer-events: all;             /* ensures clicks work */
}

/* === Button Positions (Desktop) === */
.swiper-button-prev {
  left: 14.5px; /* position from left edge */
}

.swiper-button-next {
  right: -8px; /* slightly overlaps border */
}

/* === Swiper Arrow Images === */
.swiper-button-next img,
.swiper-button-prev img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===============================
   Responsive: Tablets (≤ 1024px)
================================== */
@media (max-width: 1024px) {
  .carousel-wrapper {
    padding: 120px 0 40px; /* tighter vertical spacing */
  }

  .swiper {
    width: calc(100% - 40px); /* narrower margin */
    max-width: 100%;          /* allow full scaling */
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
  }

  .swiper-button-prev {
    left: 8px;
  }

  .swiper-button-next {
    right: -15px;
  }
}


/* ===============================
   Responsive: Small Phones (≤ 480px)
================================== */
@media (max-width: 480px) {
  .carousel-wrapper {
    padding: 100px 0 30px;
  }

  .swiper {
    width: 100%;
    border-radius: 10px;
    min-height: auto; /* allow height to shrink */
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: none; /* reset vertical centering */
  }

  /* === Mobile-specific arrow images === */
  .swiper-button-prev img {
    content: url('Website_Carousel_arrow_left.png'); /* mobile-optimized image */
  }

  .swiper-button-next img {
    content: url('Website_Carousel_arrow_right.png'); /* mobile-optimized image */
  }

  .swiper-button-prev {
    left: 10px;
  }

  .swiper-button-next {
    right: -10px;
  }
}


/* -------------------------------------------  LAYOUT - SLIDE CONTENCT  -------------------------------------------- */

/* ----------------------------------------------
   📦 SLIDE CONTENT CONTAINER
   Holds both text (left) and image (right) blocks
------------------------------------------------ */
.slide-content {
  display: flex;
  flex-wrap: wrap;
  background-color: #fef0d5;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  min-height: 670px;
  box-sizing: border-box;
  padding: 15px 12vw 0 12vw; /*90px = padding top */
}

/* ----------------------------------------------
   📄 TEXT BLOCK (left side)
   Contains city name, sight name, and description
------------------------------------------------ */
.text-blocks {
  flex: 1 1 25%;
  font-size: 1.2rem;
  line-height: 1.6;
  padding-top: 90px;
  box-sizing: border-box;
}

.city-name {
  font-weight: 600;
  font-size: 5rem;
  margin-top: 60px;
  margin-bottom: -30px;
}

.city-sight {
  font-weight: 600;
  font-size: 3rem;
  margin-top: 5px;
  margin-bottom: 40px;
}

/* ----------------------------------------------
   🖼️ IMAGE BLOCK (right side)
   Holds the main model photo
------------------------------------------------ */
.image-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 52%;
  padding-top: 30px;
  height: 600px;
  text-align: left;
  box-sizing: border-box;

  /* Gradient masks for soft edges */
  -webkit-mask-image: 
    linear-gradient(to top, black 80%, transparent 100%),
    linear-gradient(to left, black 80%, transparent 100%),
    linear-gradient(to right, black 90%, transparent 100%);
  -webkit-mask-composite: destination-in;

  mask-image: 
    linear-gradient(to top, black 80%, transparent 100%),
    linear-gradient(to left, black 80%, transparent 100%),
    linear-gradient(to right, black 90%, transparent 100%);
  mask-composite: intersect;
}

.image-block img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-right: 1px solid rgba(243, 228, 195, 0.7);
  border-bottom: 1px solid rgba(243, 228, 195, 0.7);
  border-bottom-right-radius: 12px;
  box-sizing: border-box;
}

/* ----------------------------------------------
   🎌 SLIDE MIDDLE (Flag or Branding)
------------------------------------------------ */
.slide-middle {
  width: 100%;
  background-color: #fef9eeff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.middle-box-image {
  flex: 1 1 40%;
  padding: 30px 0;
  text-align: center;
}

.middle-box-image img {
  width: 100%;
  max-width: 140px;
  height: auto;
}

/* ----------------------------------------------
   ℹ️ SLIDE INFO SECTION
   Image and text area beneath each model slide
------------------------------------------------ */
.slide-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 12vw 0 12vw;  /* 🔁 Replaces 330px fixed padding */
  gap: 40px;
  background-color: white;
}

.info-image {
  flex: 1 1 40%;
  padding-top: 30px;
}

.info-image img {
  width: 120%;                      /* Slight oversize for visual impact */
  max-width: 650px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.info-text {
  flex: 1 1 44%;
  font-size: 1.0rem;
  line-height: 2.0;
  padding-left: 30px; /* ✅ new spacing from the image */
  box-sizing: border-box;
}

.info-text h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ----------------------------------------------
   🏙️ STADTGRAFIK DIVIDER
   City illustration between sections
------------------------------------------------ */
.stadtgrafik-divider {
  position: relative;
  z-index: 0;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  margin-top: -10px;
}

.stadtgrafik-divider img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  opacity: 0.08;                    /* Transparent look for background art */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 0;
}

/* ----------------------------------------------
   📸 MODEL PHOTO GALLERY
   Grid of four model detail images
------------------------------------------------ */
.model-details-section {
  position: relative;
  z-index: 1;
  padding: 10px 19vw; /* 🔁 Replaces 330px */
  background-color: transparent;
  text-align: center;
}

.section-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #000;
}

.model-photo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.model-photo-grid img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.model-photo-grid img:hover {
  transform: scale(1.03);          /* Zoom on hover */
}

/* ----------------------------------------------
   📐 TECHNICAL SKETCH SECTION
   Includes sketch image + descriptive text
------------------------------------------------ */
.model-sketch-section {
  padding: 80px 12vw;  /* 🔁 Replaces 330px */
  text-align: center;
}

.section-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #000;
}

.sketch-wrapper img {
  max-width: 85%;
  height: auto;
  box-shadow: 0 6px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.sketch-text {
  font-size: 1rem;
  line-height: 2.0;
  color: #333;
  margin: 0 auto;
  text-align: left;
  max-width: 1100px;
  padding-bottom: 10px;
}

/* -------------------------------------------------
   Responsive: Medium Screens (≤1700px)
--------------------------------------------------- */
@media (max-width: 1700px) {
  .info-image img {
    width: 100%;       /* Scale back from 120% */
    max-width: 480px;  /* Keep a soft limit */
    margin: 0 auto;    /* Center if needed */
    display: block;
  }

  .slide-info {
    align-items: center;
    gap: 40px;
  }

  .info-text {
    padding-left: 0;   /* Remove gap when stacked tighter */
  }
}

/* -------------------------------------------------
   Responsive: Medium Screens (≤1280px)
--------------------------------------------------- */
@media (max-width: 1280px) {
  .slide-content {
    padding-left: 100px;
    padding-right: 100px;
  }

  .text-blocks {
    padding-left: 0;
    padding-top: 60px;
  }

  .image-block {
    padding-right: 0;
    padding-top: 20px;
  }

  .slide-info {
    padding: 60px 100px;
  }

  .model-details-section,
  .model-sketch-section {
    padding-left: 100px;
    padding-right: 100px;
  }
}

/* ===============================
   Responsive: Tablets (≤ 1024px)
================================== */
@media (max-width: 1024px) {
  .slide-content {
    flex-direction: column;
    align-items: center;
    padding-left: 60px;
    padding-right: 60px;
    gap: 30px;
  }

  .text-blocks {
    padding-left: 0;
    padding-top: 40px;
    text-align: center;
  }

  .city-name {
    font-size: 4rem;
    margin-top: 40px;
  }

  .city-sight {
    font-size: 2.5rem;
  }

  .image-block {
    padding-right: 0;
    padding-top: 20px;
    height: auto;
  }

  .slide-info {
    flex-direction: column;
    padding: 60px 60px;
    align-items: center;
    text-align: center;
  }

  .info-image img {
    width: 100%;
    max-width: 450px;
  }

  .info-text {
    max-width: 750px;
  }

  .model-details-section {
    padding: 40px 60px;
  }

  .model-sketch-section {
    padding: 60px 60px;
  }

  .sketch-text {
    text-align: center;
  }
}

/* ===============================
   Responsive: Phones (≤ 768px)
================================== */
@media (max-width: 768px) {
  .slide-content {
    flex-direction: column;
    gap: 20px;
  }

  .text-blocks,
  .slide-info,
  .model-details-section,
  .model-sketch-section {
    padding-left: 30px;
    padding-right: 30px;
  }

  .text-blocks {
    padding-top: 30px;
  }

  .image-block {
    padding-right: 30px;
    height: auto;
  }

  .info-image img {
    width: 100%;
    max-width: 100%;
  }

  .city-name {
    font-size: 3rem;
  }

  .city-sight {
    font-size: 2rem;
  }

  .section-heading,
  .section-subtitle,
  .info-text h3 {
    font-size: 1.2rem;
  }
}

/* ===============================
   Responsive: Small Phones (≤ 480px)
================================== */
@media (max-width: 480px) {
  .slide-content {
    flex-direction: column;
    align-items: center;
    padding-top: 70px !important;
    padding-left: 20px;
    padding-right: 20px;
    gap: 0 !important; /* This removes the gap between blocks */
  }
  
  .text-blocks {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    font-size: 1rem;
  }

  .text-blocks p {
    margin: 0 !important;
  }

  .city-name {
    font-size: 3rem;
    margin: 20px 0 -10px 0;
  }

  .city-sight {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .image-block {
    padding-top: 0 !important;
    margin-top: -10px !important;  /* Pull image upward */
    height: auto;
    justify-content: center;
  }

  .image-block img {
    max-width: 140%;
    height: auto;
  }

  .slide-info,
  .model-details-section,
  .model-sketch-section {
    padding: 20px;
    text-align: center;
  }

  .slide-info .info-text {
    font-size: 0.9rem;
    padding: 0;
  }

  .info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .section-heading,
  .section-subtitle {
    font-size: 1.1rem;
  }

  .sketch-text {
    font-size: 0.9rem;
    padding: 0 20px;
    text-align: center;
  }

  .model-photo-grid {
    gap: 15px;
    justify-content: center;
  }

  .model-photo-grid img,
  .sketch-wrapper img {
    max-width: 100%;
    height: auto;
  }
}


/* -----------------------------------------------  FOOTER  --------------------------------------------------------- */
/* -------------------------------------------
   Fußleiste (Footer)
   Desktop-first layout with mobile responsiveness
---------------------------------------------- */

.site-footer {
  background-color: #fef0d5;
  padding: 20px 80px; /* Top/bottom, left/right spacing */
  border-top: 1px solid rgba(131, 52, 52, 0.81); /* Subtle top line */
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #551f1b;
}

/* === Inner container: 3-column layout on desktop === */
.footer-inner {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* allows columns to wrap on smaller screens */
}

/* === Left block: Copyright / Brand === */
.footer-left {
  font-weight: bold;
}

/* === Center block: Links like Impressum, Datenschutz === */
.footer-center a {
  color: #551f1b;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 600;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-center .divider {
  margin: 0 5px;
  color: #551f1b;
}

/* === Right block: Logo / Image === */

.footer-right {
  display: flex;          /* Bilder nebeneinander */
  align-items: center;    /* vertikal zentriert */
  gap: 20px;              /* Abstand zwischen den beiden */
}

.footer-right img {
  height: 60px;
  object-fit: contain;
}

/* ===============================
   Responsive: Phones (≤ 800px)
================================== */
@media (max-width: 800px) {
  .site-footer {
    padding: 20px; /* Less side padding on smaller screens */
    text-align: center;
  }

  .footer-inner {
    flex-direction: column; /* Stack items vertically */
    align-items: center;
    gap: 10px; /* space between stacked elements */
  }

  .footer-left,
  .footer-center,
  .footer-right {
    margin: 5px 0; /* Spacing between rows */
  }

  .footer-right img {
    height: 40px; /* Slightly smaller logo on mobile */
  }
}


/* ----------------------------------------  LAYOUT - Impressum/Datenschutz  ---------------------------------------- */
/* ===============================
   Page Wrapper for Static Pages
   (e.g. Datenschutz, Impressum)
================================== */

.page-wrapper {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* Main content container – Desktop layout */
.container {
  padding-top: 250px;       /* Leave space for fixed header */
  padding-left: 14vw;
  padding-right: 14vw;
  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

/* ===============================
   Responsive: Tablets (≤ 1024px)
================================== */
@media (max-width: 1024px) {
  .container {
    padding-left: 80px;
    padding-right: 40px;
  }
}

/* ===============================
   Responsive: Phones (≤ 768px)
================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 180px;
    font-size: 0.95rem;
  }
}

/* ===============================
   Responsive: Small Phones (≤ 480px)
================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 160px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .container h1 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  .container h2 {
    font-size: 1.0rem;
    margin-top: 24px;
    margin-bottom: 10px;
  }

  .container p {
    font-size: 0.9rem;
  }
}


/* ---------------------------------------------  LAYOUT - KONTAKT  ------------------------------------------------- */
/* =============================================
   About / Kontakt Page Styles
   ============================================= */

/* Wrapper for the whole content block */
.about-wrapper {
  padding-top: 180px;               /* leaves space for the fixed header */
  padding-left: 14vw;
  padding-right: 14vw;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Each text section block */
.about-section {
  padding: 18px 80px;
}

.about-section.light {
  background-color: #fff7eb;
}

/* Headings */
.about-section h1 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 2rem;
}

.about-section h2 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Paragraphs */
.about-section p {
  font-size: 1rem;
  line-height: 1.6;
}

/* =============== Team Grid =============== */
.team-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.team-member {
  flex: 1 1 45%;
  text-align: center;
}

.team-member img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 300px;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.team-member h3 {
  margin: 0;
  font-weight: 600;
}

.team-member p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #3b2a28;
}

/* ===============================
   Responsive: Tablets (≤ 1024px)
================================== */
@media (max-width: 1024px) {
  .about-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .team-member img {
    width: 240px;
    height: 240px;
  }
}

/* ===============================
   Responsive: Phones (≤ 768px)
================================== */
@media (max-width: 768px) {
  .about-wrapper {
    padding-top: 160px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-section {
    padding: 10px 0;
  }

  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    flex: 1 1 100%;
    max-width: 300px;
  }

  .team-member img {
    width: 200px;
    height: 200px;
  }

  .about-section h1 {
    font-size: 1.6rem;
  }

  .about-section h2 {
    font-size: 1.2rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }
}

/* ===============================
   Responsive: Small Phones (≤ 480px)
================================== */
@media (max-width: 480px) {
  .about-wrapper {
    padding-top: 140px; /* reduce top space on very small screens */
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-section {
    padding: 10px 0;
  }

  .about-section h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .about-section h2 {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 8px;
    text-align: center;
  }

  .about-section p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .team-grid {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .team-member {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .team-member img {
    width: 180px;
    height: 180px;
    border-radius: 180px;
  }

  .team-member h3 {
    font-size: 1rem;
    margin-top: 10px;
  }

  .team-member p {
    font-size: 0.88rem;
    line-height: 1.4;
  }
}

