/* Reset basic margins to avoid white gap at top */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

html {
  height: 100%;
  overscroll-behavior: none;

}
body {
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: none;
}

#main-scroll {
  position: relative;
  overscroll-behavior: none;
  margin: 0;
  padding: 0;
}
/* CSS variables for header backgrounds */
:root{
  --header-dark-bg: rgba(8,12,18,0.55);
  --header-light-bg: rgba(255,255,255,0.95);
}
/* header helper classes used by your HTML */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateZ(0);
  will-change: transform;
}
.header--dark { 
  background: var(--header-dark-bg); 
  color: white; 
}
.header--light {
   background: var(--header-light-bg);
  color: #2b2b2b; 
  }
/* Default (desktop / large screens) */
/* Make sure there is no default body margin */
body {
  margin: 0;
}

/* ================= HERO LAYOUT ================= */

/* Base: desktop / large screens */
.hero-viewport {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 103vh;
  width: 102vw;    

}

/* ================= MOBILE HERO FIX (REFINED) ================= */
@media (max-width: 1024px) {

  /* Hero section height control */
  .hero-viewport {
    height: 100svh;           /* reduced from 100svh */
    min-height: 100svh;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin: 0 auto;      /* centers it */
  }

  /* Video behaviour */
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;       /* keep full coverage */
    z-index: 0;
  }

  /* Overlay stays above video */
  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  /* Center text properly */
  #hero > div {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;   /* move content up a bit */
    justify-content: center;
    padding-bottom: 3rem;    /* space from bottom */
    z-index: 2;
  }

  /* Text scaling for mobile */
  #hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  #hero p {
    font-size: 0.85rem;
  }
}
/* Cards, general */
.card { 
  position: relative;
  border-radius: 20px; 
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(10,10,10,0.08); 
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center;
  z-index: 0; 
}
.card:hover,
.card:focus-within {
  transform: translateY(-18px) scale(1.05);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  z-index: 10;
}
.card img { 
  display:block; 
  width:100%; 
  height:100%; 
  object-fit:cover; 
}

/* Horizontal marquee row */
.hrow { 
  display:flex; 
  gap:20px; 
  align-items:stretch; 
  padding: 12px 4px; 
  transform: translateZ(0); 
}

/* Navigation links + flip effect */
.header--dark nav a {
  color: white;
  position: relative;
  cursor: pointer;
}
.header--light nav a {
  color: #1a1a1a;
  position: relative;
  cursor: pointer;
}
/* Navigation link wrapper */
.magnetic-link {
  display: inline-block;
  position: relative;
  cursor: pointer;
}
/* Text wrapper - fixed height with overflow hidden */
.flip-text {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
}
/* Inner container that moves - contains both texts stacked */
.flip-text-inner {
  display: block;
  transform: translateY(0);
}
/* Front text - visible by default */
.flip-text .front {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
}
/* Back text - positioned directly below front text */
.flip-text .back {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
}
/* Dot below text - slides up from bottom on hover */
.magnetic-link::after {
  content: '•';
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translate(-50%, 10px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  font-size: 1.2em;
}

/* Keyframe animation for flip */
@keyframes flipUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1.2em);
  }
}

/* Vertical flip-swap - entire inner container slides up */
.flip-text-inner.flipped {
  animation: flipUp 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* Dot slides up and appears on hover */
.magnetic-link:hover::after {
  transform: translate(-50%, 0);
  opacity: 1;
}
/* ============ MOBILE HEADER / MENU ============ */

/* Panel is hidden by default, slides from top */
.mobile-menu-panel {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

/* When JS adds this class → panel is visible */
.mobile-menu-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu links style */
.mobile-menu-link {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

.mobile-menu-link:hover {
  color: #f5f5f5;
}

/* Make sure header layout works nicely on small screens */
@media (max-width: 768px) {
  #siteHeader .logo-image {
    width: 64px;
    height: 64px;
  }

  #siteHeader {
    border-bottom-width: 0; /* looks cleaner over hero */
  }
}
/* =========================
   Loader styles
   ========================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1),
              border-radius 1s ease,
              opacity 0.6s ease;

  transform-origin: top center;
}

/* Curtain semicircle pull-up */
.loader--hidden {
  transform: translateY(-100%);
  border-radius: 0 0 20% 20%;
  opacity: 0;
  pointer-events: none;
}

/* Inner pill */
.loader__text {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}
/* =========================
   Projects (parent section)
   ========================= */
#projects {
  display: flex;
  width: 100%;
  max-width: 100%;

  /* gap from sections above/below */
  margin: 4rem 0;

  /* inner padding */
  padding: 2rem;

  gap: 2rem;
  overflow-x: hidden;
  align-items: stretch;

  /*  parent height is fixed, not based on children */
  height: 700px;
  box-sizing: border-box;
}

/* =========================
   LEFT PROJECT CARD
   ========================= */

/* Column wrapper on the left */
.project-left {
  flex: 0 0 50%;
  height: 100%;
  display: flex;
}

/* The actual card fills the left column */
.project-left-card {
  width: 100%;
  height: 100%;               
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: #ffffff;
}

/* TOP: image ≈ 60% of card */
.project-left-card-image-wrapper {
  flex: 4;                    /* 3 parts out of 5 ≈ 60% */
  overflow: hidden;
}

.project-left-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BOTTOM: text + button ≈ 40% */
.project-left-card-body {
  flex: 1;                    /* 2 parts out of 5 ≈ 40% */
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

/* Text styles */
.project-left-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #111827;
}

.project-left-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4b5563;
  margin-bottom: 0.85rem;
}

/* Button styles */
.project-left-card-btn {
  align-self: flex-start;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  border: none;
  background: #5d4b36;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.project-left-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  background: #4b3b29;
}

/* =========================
   RIGHT SECTION + CARDS
   ========================= */

/* Right column is a fixed-height window */
.project-right {
  flex: 0 0 50%;
  height: 100%;               /* same as parent (700px) */
  padding-right: 10px;

  /* 🔑 hide extra cards; ScrollTrigger will move the grid inside */
  overflow: hidden;
  position: relative;
}

/* The grid that moves inside the window */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  position: relative;
}

/* Card */
.Projectcard {
  border-radius: 12px;
  overflow: hidden;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 2px solid transparent;
  transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.Projectcard:hover {
  border: 4px solid #3b2f22;
  box-shadow: 0 0 0 2px rgba(93, 75, 54, 0.3);
  transform: translateY(-2px);
}

.Projectcard img {
  width: 100%;
  height: 260px;              
  object-fit: cover;
}

.Projectcard h3 {
  font-size: 1rem;
  margin: 0.6rem 0.75rem 0.2rem;
  color: black;
}

.Projectcard p {
  font-size: 0.85rem;
  margin: 0 0.75rem 0.6rem;
  opacity: 0.75;
  color: #1a1a1a;
}
/* =========================
   PROJECTS – MOBILE / TABLET
   ========================= */
@media (max-width: 768px) {

  /* Parent: stack vertically, no fixed height */
  #projects {
    display: block;           /* stack children */
    padding: 1.5rem 1.25rem;
    margin: 3rem 0;
    height: auto;             /* no fixed 700px */
    overflow: visible;
  }

  /* Reset left/right columns */
  .project-left,
  .project-right {
    flex: none;
    width: 100%;
    height: auto;
    display: block;           /* 🔑 no flex container here */
  }

  /* TOP featured card – fully block layout, no flex height tricks */
  .project-left-card {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;           /* 🔑 reset flex from desktop */
  }

  /* Image wrapper controls visible height of the photo */
  .project-left-card-image-wrapper {
    display: block;           /* 🔑 ensure it actually renders */
    height: 360px;            /* tweak this for how tall you want */
    overflow: hidden;
  }

  .project-left-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-left-card-body {
    padding: 1rem 1.25rem;
  }

  .project-left-card-title {
    font-size: 1.05rem;
  }

  .project-left-card-text {
    font-size: 0.9rem;
  }

  .project-left-card-btn {
    font-size: 0.8rem;
    padding: 0.55rem 1.3rem;
  }

  /* Bottom cards: two per row */
  .project-right {
    margin-top: 1.5rem;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .Projectcard img {
    width: 100%;
    height: 160px;            /* mobile card image height */
    object-fit: cover;
  }
}
/* =========================
   Testimonials Section
   ========================= */
#testimonials {
  width: 100%;
  padding: 4rem 2rem;
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  color: #000000;
  margin-bottom: 3rem;
}

/* Wrapper holding both rows */
.testimonial-marquee {
  display: flex;
  flex-direction: column;
  gap: 3rem;                 
  overflow: hidden;
}

/* Each row of cards */
.testimonial-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  align-items: center;
}

/*  Cards: fixed width + fixed height, text wraps */
.testimonial-card {
  width: 300px;              
  height: 220px;             
  flex-shrink: 0;

  padding: 1.2rem 1.4rem;
  background: #ffffff;
  color: #000000;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);

  white-space: normal;       
  word-break: break-word;
  overflow: hidden;          
}

/* First row: LEFT ➜ RIGHT */
.row-left {
  animation: scrollRight 25s linear infinite;
}

/* Second row: RIGHT ➜ LEFT */
.row-right {
  animation: scrollLeft 25s linear infinite;
}

/* Animations */
@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.testimonial-track:hover {
  animation-play-state: paused;
}
/* ================================
   Enquiry + Newsletter Wrapper
   (new single parent section)
   ================================ */

#enquiry-newsletter-section {
  position: relative;
  width: 100%;
  min-height: 120vh;         
  background: #ffffff;       
  padding: 8rem 0;            
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;           
}

/* Both inner sections overlap in the same space inside wrapper */
#enquiry-section,
#newsletter-section {
  position: absolute;
  inset: 0;                   
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Enquiry is below, Newsletter is above */
#enquiry-section {
  z-index: 2;                
}

#newsletter-section {
  z-index: 5;                 
}

/* ================================
   Enquiry Section – Updated layout
   ================================ */

/* Card: wider, shorter */
.enquiry-card {
  width: 99%;                
  max-width: 1400px;
  height: 420px;            
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform-origin: center center;
}

/* Background image */
.enquiry-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Optional dark gradient on top of image for better text contrast */
.enquiry-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.45)
  );
  z-index: 0;
}

/* Overlay content */
.enquiry-overlay {
  position: relative;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

/* Heading styling */
.enquiry-title {
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Button styling */
.enquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.7rem;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #ffffff;       
  color: #111827;           
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

/* Hover effect */
.enquiry-btn:hover {
  background: transparent;   
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  transform: translateY(-2px) scale(1.02);
}

/* Small-screen tweaks */
@media (max-width: 768px) {
  .enquiry-card {
    height: 360px;
  }

  .enquiry-overlay {
    padding: 2.5rem 1.5rem;
  }

  .enquiry-title {
    font-size: 1.6rem;
    margin-bottom: 1.1rem;
  }

  .enquiry-btn {
    padding: 0.8rem 2.1rem;
    font-size: 0.85rem;
  }
}

/* ================================
   Newsletter Section – same size as Enquiry
   ================================ */

/* #newsletter-section is just the inner wrapper; layout via parent */

.newsletter-card {
  width: 92%;                 
  max-width: 1400px;
  height: 420px;              
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

/* Background image */
.newsletter-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Dark gradient for contrast */
.newsletter-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.45)
  );
  z-index: 0;
}

/* Overlay content */
.newsletter-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.newsletter-title {
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.newsletter-text {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Form layout */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  max-width: 820px;
}

/* Inputs + select */
.newsletter-input {
  flex: 1 1 210px;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(17, 24, 39, 0.35);
  color: #f9fafb;
  font-size: 0.9rem;
  outline: none;
  backdrop-filter: blur(6px);
}

.newsletter-input::placeholder {
  color: rgba(249, 250, 251, 0.7);
}

/* select inherits .newsletter-input, just tweak cursor */
.newsletter-select {
  cursor: pointer;
}

/* Focus state */
.newsletter-input:focus {
  border-color: #ffffff;
  background: rgba(17, 24, 39, 0.7);
}

/* Subscribe button */
.newsletter-btn {
  padding: 0.9rem 2.7rem;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

/* Hover effect */
.newsletter-btn:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  transform: translateY(-2px) scale(1.02);
}

/* Newsletter message text (success / error) */
.newsletter-message {
  margin-top: 1rem;
  min-height: 1.2rem;
}

/* Small-screen tweaks */
@media (max-width: 768px) {
  .newsletter-card {
    height: 360px;
  }

  .newsletter-overlay {
    padding: 2.5rem 1.5rem;
  }

  .newsletter-title {
    font-size: 1.7rem;
  }

  .newsletter-form {
    gap: 0.75rem;
  }

  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================
   FOOTER BASE
   ========================= */

#footer-section {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* OUTER FRAME (Animated by GSAP) */
.footer-outer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: scale(0.85); 
  background-color: #5d4b36;
}

/* INNER FOOTER BOX */
.footer-inner {
  width: 85%;
  max-width: 1200px;
  border-radius: 24px;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  background-color: #5d4b36;
  color:#fff;

}

/* =========================
   TOP ROW
   ========================= */

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-top-left {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-address p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* CTA */
.footer-top-right {
  text-align: right;
}

.footer-cta-heading {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-cta-btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* Divider */
.footer-divider {
  width: 100%;
  border: none;
  height: 1px;
  opacity: 0.25;
 background-color: currentColor;

}

/* =========================
   MIDDLE COLUMNS
   ========================= */

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 0.45rem;
}

.footer-links-list a {
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-links-list a:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* =========================
   CONTACT COLUMN
   ========================= */

.footer-contact-line {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* =========================
   BOTTOM ROW
   ========================= */

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 1.5rem;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top-right {
    text-align: left;
  }
}

@media (max-width: 600px) {
  #footer-section {
    height: 50vh;
  }

  .footer-inner {
    padding: 2rem 1.5rem;
  }

  .footer-logo img {
    max-width: 120px;
  }
}
.carousel-section {
  padding: 6rem 0;
  background: #fff;
  overflow: hidden;
}

.carousel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: 600;
}

.carousel-btn {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: #5a4a3c;
  color: white;
  border: none;
  cursor: pointer;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
}

.carousel-card {
  width: 320px;
  height: 220px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  transform: perspective(800px) rotateY(12deg);
  transition: transform 0.3s ease;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Center card straight style (added via JS) */
.carousel-card.is-center {
  transform: perspective(800px) rotateY(0deg) scale(1.05);
}

/* Fog Edge Effects */
.carousel-fog {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 5;
  pointer-events: none;
}

.fog-left {
  left: 0;
  background: linear-gradient(to right, white 20%, transparent 100%);
}

.fog-right {
  right: 0;
  background: linear-gradient(to left, white 20%, transparent 100%);
}
/* ============================
   MOBILE FIX – DO NOT TOUCH DESKTOP
   ============================ */
@media (max-width: 1024px) {

  html, body {
    height: auto !important;
    position: static !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  #main-scroll {
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
  }
}