/* --- 1. RESET & VARIABLES --- */
:root {
  /* Colors */
  --color-primary: #171d2a;
  --color-accent: #dcb9a3;
  --color-accent-hover: #c9a68f;
  --color-bg-light: rgba(255, 192, 163, 0.5);
  --color-white: #ffffff;
  --color-text-muted: #58637c;
  --color-heading: #c5a086;
  --color-text-dark: #222222;
  --color-text-body: #4d4c4c;

  /* Fonts */
  --font-main: "IBM Plex Sans", sans-serif;
  --font-heading: "Libre Baskerville", serif;
  --font-body: "Nunito Sans", sans-serif;

  /* Spacing & Layout */
  --container-width: 1440px;
  --spacing-md: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-primary);
  background-color: var(--color-white);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* --- 2. GLOBAL UTILITIES --- */
.container {
  max-width: var(--container-width);
  margin: 0 0;
  padding: 0 var(--spacing-md);
}

/* --- Hero Section  --- */
/* Move these here so they work for EVERY section, not just the Hero */
.btn {
  height: 45px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  text-transform: capitalize;
  letter-spacing: 0.36px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 30px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  min-width: 200px;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  opacity: 1;
  /* Override global link hover */
}

.btn-secondary {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background-color: transparent;
  min-width: 233px;
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  opacity: 1;
}

/* --- 4. COMPONENT: HEADER --- */
.top-bar {
  background-color: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 6px 0;
  font-size: 14px;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  height: 80px;
}

.header-left,
.header-right {
  display: flex;
  gap: 25px;
  align-items: center;
}

.icon-link,
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  gap: 5px;
}

.header-logo {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  background-color: var(--color-bg-light);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 40px;
}

/* Search Form Styles */
/* Search Bar Toggling */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
}

.header-search-form {
  position: absolute;
  right: 0;
  top: 100%;
  /* Below the icon */
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: none;
  /* Hidden by default */
  flex-direction: row;
  align-items: center;
  gap: 5px;
  z-index: 1000;
  margin-top: 10px;
}

.header-search-form.active {
  display: flex;
  animation: fadeIn 0.2s ease-in-out;
}

.header-search-input {
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
  width: 180px;
  outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.header-search-input::placeholder {
  color: #999;
}

.header-search-input:focus {
  border-color: var(--color-accent);
}

.search-submit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section {
  width: 100%;
  min-height: 500px;
  background-image: url("./assets/images/hero-banner.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.content-wrapper {
  width: 100%;
  max-width: 722px;
  padding-left: 8%;
  padding-right: 5%;
}

.headline {
  color: var(--color-accent);
  /* Uses Variable */
  font-size: 40px;
  font-family: var(--font-heading);
  /* Uses Variable */
  font-weight: 800;
  margin-bottom: 8px;
  /* line-height: 1.2; */
}

.description {
  color: var(--color-text-muted);
  /* Uses Variable */
  font-size: 16px;
  font-family: var(--font-body);
  /* Uses Variable */
  /* line-height: 36px; */
  margin-bottom: 24px;
}

.button-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 18px;
}

/* --- 6. RESPONSIVE BREAKPOINTS --- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #000000;
}

@media (max-width: 1024px) {
  .nav-list {
    gap: 20px;
  }

  .header-logo {
    font-size: 20px;
  }
}

@media (max-width: 768px) {

  /* Header Mobile */
  .main-header {
    height: auto;
    gap: 15px;
    flex-wrap: wrap;
    /* Allow wrapping */
  }

  .header-left {
    order: 2;
    /* Move below logo on very small screens if needed, or keep as is */
    width: 100%;
    justify-content: space-between;
    display: none;
    /* Often header info is hidden on mobile, or move to top bar */
  }

  /* Or if you want to keep header-left visible but rearranged: */
  /*
  .header-left {
     width: 100%;
     justify-content: center;
     margin-bottom: 10px;
  }
  */

  .header-logo {
    flex: 1;
    /* Takes available space */
  }

  .header-right {
    gap: 15px;
  }

  .icon-link span,
  .icon-item span {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Mobile Navigation Styles */
  .main-nav {
    display: none;
    /* Hidden by default */
    background-color: var(--color-white);
    position: absolute;
    top: 100%;
    /* Position below header */
    left: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* Class to show menu */
  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  /* Ensure header container is relative for absolute nav positioning */
  .site-header {
    position: relative;
  }

  /* Hero Mobile */
  .hero-section {
    min-height: auto;
    padding: 80px 0 60px;
    /* Increased top padding for header space */
    background-position: 65% center;
    /* Adjust focus of bg image */
  }

  .content-wrapper {
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
  }

  .headline {
    font-size: 36px;
  }

  .description {
    font-size: 16px;
    line-height: 28px;
  }

  .button-group {
    justify-content: center;
  }
}

/* ============== Our story and About us Section ============== */

/* --- GLOBAL UTILITIES --- */
.section-padding {
  padding: 40px 100px;
}

@media (max-width: 1024px) {
  .section-padding {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 20px;
  }
}

/* --- COMPONENT: SPLIT SECTION --- */
.split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 60px; */
  margin-bottom: 30px;
  /* Space between the two sections */
}

/* The magic class that flips the layout */
.split-row.reverse {
  flex-direction: row-reverse;
  padding-right: 50px;
}

.split-content {
  flex: 1;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.split-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.split-image img {
  width: 55%;
  height: 60%;
  max-width: 530px;
  border-radius: 30px;
  /* Matches your Figma border-radius */
  object-fit: cover;
}

/* Typography for these sections */
.display-heading {
  font-family: var(--font-heading);
  color: var(--color-accent);

  border-bottom: 2px solid var(--color-accent);

  font-size: 40px;
  /* Matches Figma */
  font-weight: 400;
  line-height: 1.1;
}

.split-description {
  font-family: var(--font-body);
  color: var(--color-text-body);
  font-size: 15px;
  /* line-height: 1.6; */
}

/* Read More Link with Custom Arrow */
.read-more {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  font-size: 14px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.arrow-icon img {
  width: 8px;
  height: 14px;
  margin-top: 7px;
}

.read-more:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .display-heading {
    font-size: 32px;
    /* Corrected from 48px */
  }

  .split-row {
    gap: 30px;
  }
}

@media (max-width: 768px) {

  .split-row,
  .split-row.reverse {
    flex-direction: column;
    /* Stack vertically on mobile */
    text-align: center;
    margin-bottom: 40px;
    /* Reduced from 60px */
    gap: 20px;
    /* Reduced from 30px */
  }

  .split-image {
    order: -1;
    /* Image always on top on mobile */
    width: 100%;
    margin-bottom: 0;
    /* Removed extra margin, gap handles it */
  }

  .split-image img {
    width: 100%;
    /* Full width on mobile */
    height: auto;
    /* Allow natural height or keep fixed if preferred, auto is better for responsiveness */
    aspect-ratio: 4/3;
    /* Enforce a reasonable aspect ratio */
    max-width: 100%;
  }

  .display-heading {
    font-size: 30px;
    margin-bottom: 15px;
    /* Ensure heading has space from text */
  }
}

/* ========= Banner Section =============== */

/* --- SECTION: FEATURES --- */
.features-section {
  background-color: #fdeee6;
  /* Specific background from your code */
  padding: 40px;
  width: 100%;
}

.feature-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  /* Allows wrapping on smaller tablets */
}

.feature-item {
  flex: 1;
  min-width: 200px;
  /* Ensures items don't get too squeezed */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  /* Space between icon and text */
}

.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.feature-text {
  font-family: var(--font-body);
  /* Reusing Nunito Sans variable */
  color: #000000;
  font-size: 18px;
  /* Scaled down slightly from 28px for better fit */
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

/* --- FEATURES RESPONSIVE --- */
@media (max-width: 1024px) {
  .feature-text {
    font-size: 16px;
  }

  .feature-grid {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .features-section {
    padding: 40px 0;
  }

  .feature-grid {
    justify-content: center;
    gap: 30px;
  }

  .feature-item {
    flex: 0 0 45%;
    /* Show 2 items per row on mobile */
    min-width: 150px;
  }

  .feature-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .feature-item {
    flex: 0 0 100%;
    /* Show 1 item per row on very small phones */
  }
}

/* ===================== Product section ==================== */

/* --- SECTION: PRODUCT GRID --- */
.product-grid {
  display: grid;
  /* Creates a 5-column layout on wide screens, dropping to 3, 2, or 1 on smaller screens */
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
  /* Matches Figma */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.product-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  line-height: 1.4;
  min-height: 42px;
  /* Ensures alignment if titles differ in length */
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.price-old {
  font-size: 15px;
  font-weight: 600;
  color: #838383;
  text-decoration: line-through;
}

.price-off {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent);
}

/* Icon Action Buttons */
.card-actions {
  display: flex;
  gap: 10px;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #222222;
  padding: 0;
  transition: color 0.2s;
}

.icon-btn:hover {
  color: var(--color-accent);
}

/* View More Section Button */
.section-action {
  display: flex;
  justify-content: center;
  padding-bottom: 0px;
  margin-bottom: 0px;
  margin-top: 0px;
}

.btn-view-more {
  width: 115px;
  height: 35px;
  background-color: var(--color-accent);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 0.6;
  /* Matches Figma opacity */
  box-shadow: 0px 4px 6.5px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s;
}

.btn-view-more:hover {
  opacity: 1;
}

/* --- PRODUCT RESPONSIVE --- */
@media (max-width: 1440px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .price-current {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* =============== Banner - 2 ====================== */

/* --- UPDATE GLOBAL COMPONENTS: BUTTONS --- */
/* Adding this to your existing button section for reuse elsewhere */
.btn-outline-black {
  background-color: transparent;
  border: 1px solid #000000;
  color: #000000;
  min-width: 200px;
  font-size: 18px;
  /* Specific size from this section */
}

.btn-outline-black:hover {
  background-color: #000000;
  color: var(--color-white);
}

/* --- SECTION: SUB-BANNERS (Reusable for any full-width banner) --- */
.sub-banner {
  width: 100%;
  height: 480px;
}

/* Specific background for this section */
.engagement-banner {
  background-image: url("./assets/images/engagement-rings-banner.jpg");
}

.banner-content {
  /* Using 8% padding to match the alignment of your Hero section */
  padding-left: 5%;
  padding-top: 14%;
}

.banner-title {
  font-family: var(--font-heading);
  color: #000000;
  font-size: 40px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 26px;
}

/* --- SUB-BANNER RESPONSIVE --- */
@media (max-width: 1024px) {
  .sub-banner {
    height: 500px;
  }

  .banner-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .sub-banner {
    height: 400px;
    text-align: center;
    /* Use flexbox for vertical alignment on mobile */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner-content {
    padding-left: 0;
    padding-top: 0;
    /* Reset top padding */
    margin: 0 auto;
    width: 100%;
  }

  .banner-title {
    font-size: 32px;
  }

  .btn-outline-black {
    font-size: 18px;
    /* Slightly smaller for mobile */
    min-width: 180px;
  }
}

/* ============================ SECTION: FEATURED CATEGORIES ============================ */
.section-main-title {
  text-align: center;
  color: var(--color-accent);
  font-size: 36px;
  font-family: var(--font-body);
  /* Nunito Sans */
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

/* Decorative line under title from your Figma */
.section-main-title::after {
  content: "";
  display: block;
  width: 137px;
  height: 2px;
  background-color: #ffc1a4;
  margin: 10px auto 0;
}

.category-grid {
  display: grid;
  /* 6 columns for 1920px design */
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-image img {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1/1;
  border-radius: 30px;
  /* Matches Figma */
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-name {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.explore-link {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body);
  /* #4D4C4C */
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-link:hover {
  opacity: 0.8;
  transform: translateX(5px);
}

/* --- CATEGORY RESPONSIVE --- */
@media (max-width: 1440px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 4 per row on smaller laptops */
  }
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 per row on tablets */
  }
}

@media (max-width: 768px) {
  .section-main-title {
    font-size: 30px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row on mobile */
    gap: 20px;
  }

  .category-name {
    font-size: 18px;
  }
}

/* =================== shop  By Collcection ==================== */

/* --- SECTION: SHOP BY COLLECTION --- */
.shop-by-collection {
  /* Uses the same background color as the rest of the site by default */
  background-color: var(--color-white);
}

/* NOTE: All other styles like .category-grid, .category-card, 
   .section-main-title, and .btn-view-more are already in your 
   centralized CSS from the "Featured Categories" section!
*/

/* ================== Banner - 3 ==================== */

/* --- SECTION: PROMOTIONAL BANNER --- */

/* Reuses the .sub-banner height (624px) and flex logic */
.promo-banner {
  background-image: url("./assets/images/custom-jewellary-banner.jpg");
  /* Replace with your actual banner image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Optional: If this banner is a clickable ad */
  cursor: pointer;
}

/* --- SECTION: CUSTOM JEWELRY CTA --- */
.custom-jewelry-cta {
  background-color: var(--color-white);
  text-align: center;
}

.cta-content-box {
  max-width: 480px;
  /* Matches Figma width */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  /* Space between title and button */
  padding-top: 8%;
  padding-left: 65%;
}

.cta-display-title {
  font-family: var(--font-heading);
  /* Libre Baskerville */
  font-size: 36px;
  /* Exact Figma size */
  font-weight: 700;
  color: #000000;
  text-transform: capitalize;
  margin: 0;
}

/* Specific Extra Large Button for this Section */
.btn-large {
  /* Matches Figma width */
  height: 44px;
  /* Matches Figma height */
  font-size: 20px;
  /* Matches Figma font size */
  font-weight: 700;
  border: 1.41px solid #000000;
  /* Exact border weight */
  letter-spacing: 0.62px;
}

/* --- CTA RESPONSIVE --- */
@media (max-width: 1200px) {
  .cta-content-box {
    padding-left: 50%;
    /* Adjusted padding for smaller desktops */
  }
}

@media (max-width: 992px) {
  .cta-display-title {
    font-size: 36px;
    /* Corrected to match mobile or stay smaller */
  }

  .btn-extra-large {
    font-size: 24px;
    min-width: 240px;
    height: 55px;
  }

  .cta-content-box {
    padding-left: 5%;
    /* Center or near center on tablet */
    align-items: flex-start;
    /* Or center depending on bg image */
    text-align: left;
  }
}

@media (max-width: 768px) {
  .cta-display-title {
    font-size: 32px;
  }

  .btn-extra-large {
    font-size: 20px;
    min-width: 200px;
    height: 50px;
  }

  .cta-content-box {
    gap: 30px;
    padding-left: 0;
    /* Reset desktop padding */
    padding-top: 0;
    /* Reset desktop padding */
    align-items: center;
    text-align: center;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .promo-banner {
    height: 350px;
    /* Adjusting height for mobile so it doesn't take too much vertical space */
  }
}

/* ======================= Trending Now =========================== */

/* --- SECTION: TRENDING NOW --- */
.trending-section {
  background-color: var(--color-white);
}

/* Adjusting the bottom title spacing */
.bottom-heading-wrap {
  margin-top: 0px;
  /* Space after the 'View More' button */
}

/* Reusing your existing .section-main-title, .category-grid, 
   .category-card, and .btn-view-more styles here! 
*/

/* --- COMPONENT: FILTER BAR --- */
.filter-section {
  padding: 30px;
  padding-top: 0px;
  display: flex;
  justify-content: center;
}

.filter-bar {
  display: flex;
  align-items: center;

  justify-content: center;
  background: rgba(255, 193, 164, 0.3);
  /* Matches your Figma rgba exactly */
  border-radius: 5px;
  height: 49px;
  width: 100%;
  /* max-width: 708px; Restricts width on desktop */
  padding: 20px 20px;
}

.filter-link {
  flex: 1;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
}

/* Vertical Separators */
.filter-link:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -2px;
  color: #000000;
  font-weight: 400;
}

/* Active State */
.filter-link.active {
  color: var(--color-accent);
  font-weight: 700;
}

.filter-link:hover {
  color: var(--color-accent);
  opacity: 1;
  /* Overrides global link hover */
}

/* --- FILTER RESPONSIVE --- */
@media (max-width: 768px) {
  .filter-bar {
    height: auto;
    flex-wrap: wrap;
    /* Allows items to wrap on small screens */
    padding: 10px;
    max-width: 90%;
  }

  .filter-link {
    flex: unset;
    padding: 10px 15px;
  }

  .filter-link:not(:last-child)::after {
    display: none;
    /* Hide separators on mobile for a cleaner look */
  }
}

/* ======================= Our Gallery ======================== */

/* --- SECTION: OUR GALLERY --- */
.gallery-section {
  background-color: var(--color-white);
  padding: 0px 100px;
  padding-bottom: 40px;
}

.gallery-grid {
  display: grid;
  /* Creating a flexible 4-column grid */
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  /* Added slight rounding for a modern look */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  /* Reusing the hover logic you like for web design */
}

/* Grid Positioning Logic */
.item-tall {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  /* Spans two rows high */
}

.item-wide-1 {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.item-wide-2 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

/* --- GALLERY RESPONSIVE --- */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }

  /* Adjusting tall image for 3 columns */
  .item-tall {
    grid-column: 2 / 3;
  }

  .item-wide-1,
  .item-wide-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 15px;
  }

  .item-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .item-wide-1,
  .item-wide-2 {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    /* Stacked on mobile */
    grid-auto-rows: auto;
  }

  .item-tall {
    grid-row: auto;
  }
}

/* ======================= Banner - 4 ======================== */

/* --- SECTION: SERVICE BENEFITS --- */

.service-benefits {
  background-color: #fdeee6;
  /* Specific background from your code */
  padding: 40px 80px;
  width: 100%;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columns for desktop */
  gap: 40px;
  text-align: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.service-icon {
  color: #222222;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.service-icon img {
  width: 80px;
  height: 80px;
}

.service-card:hover .service-icon {
  transform: translateY(-5px);
  /* Simple animation for interactivity */
}

.service-title {
  font-family: var(--font-body);
  font-size: 20px;
  /* Optimized from 26.67px */
  font-weight: 600;
  color: #000000;
  line-height: 1.2;
  margin: 0;
}

.service-text {
  font-family: var(--font-body);
  font-size: 16px;
  /* Optimized from 20px for better density */
  color: var(--color-text-body);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* Reusing the link style with arrow logic */
.service-link {
  font-family: var(--font-body);
  font-size: 16px;
  color: #000000;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  transition: color 0.3s;
}

.service-link:hover {
  color: var(--color-accent);
  opacity: 0.8;
  transform: translateX(5px);
}

/* --- SERVICE RESPONSIVE --- */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 grid on tablets */
    gap: 60px 30px;
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 50px;
  }

  .service-title {
    font-size: 22px;
  }

  .service-text {
    font-size: 16px;
  }
}

/* <!-- ============================ Footer Section ================================= --> */

/* --- SECTION: FOOTER --- */
.site-footer {
  position: relative;
  padding-top: 15px;
  /* Space for the top accent bar */
  background-color: var(--color-white);
}

.footer-accent-bar {
  width: 100%;
  background-color: var(--color-accent);
  /* #DCB9A3 */
}

.footer-accent-bar.top {
  height: 13px;
}

.footer-accent-bar.bottom {
  height: 40px;
  margin-top: 40px;
}

.footer-main {
  /* padding-top: 60px; */
  padding: 40px 60px;
}

/* 5-Column Link Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 30px;
}

.footer-heading.underlined {
  text-decoration: underline;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a,
.contact-info p {
  font-family: var(--font-body);
  font-size: 16px;
  color: #000000;
  line-height: 1.5;
}

.company-name {
  font-weight: 600;
  font-size: 20px !important;
  margin-bottom: 10px;
}

.footer-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin-bottom: 60px;
}

/* Newsletter & Payments Section */
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 40px;
}

.newsletter-block {
  flex: 1;
}

.payment-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Aligns heading and icon-container to the right */
  text-align: right;
  /* Ensures the heading text aligns right */
}

.subscribe-form {
  display: flex;
  gap: 15px;
  align-items: center;
}

.subscribe-form input {
  flex: 1;
  height: 60px;
  background: #fafafa;
  border-radius: 20px;
  border: 1.33px solid #a1a1aa;
  padding: 0 33px;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-text-body);
}

.btn-subscribe {
  width: 140px;
  height: 60px;
  background: #1c1c1c;
  color: white;
  border: none;
  border-radius: 13px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-subscribe:hover {
  background: #333333;
}

/* Payment Icons Grid */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.payment-icons img {
  object-fit: contain;
  width: 60px;
  height: 60px;
}

/* Social Row */
.social-footer-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 40px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

/* --- FOOTER RESPONSIVE --- */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom-flex {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-heading {
    font-size: 22px;
  }

  .footer-links a,
  .contact-info p {
    font-size: 16px;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-subscribe {
    width: 100%;
  }

  .social-footer-row {
    justify-content: center;
  }

  .payment-block {
    align-items: center;
    text-align: center;
    margin-top: 40px;
  }

  .payment-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- MOBILE SPECIFIC UTILITIES --- */
.mobile-only-item {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only-item {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .mobile-only-item a {
    font-weight: 700;
    color: var(--color-accent);
  }
}

@media (max-width: 480px) {
  .header-right {
    gap: 8px;
  }

  .header-logo {
    font-size: 18px;
  }

  /* 2-Column Feature Grid Fix */
  .feature-grid {
    gap: 15px;
    justify-content: center;
  }

  .feature-item {
    flex: 0 0 calc(50% - 15px) !important;
    min-width: auto !important;
    margin-bottom: 20px;
  }
}

/* --- LOGIN PAGE STYLES --- */
.login-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-split-container {
  display: flex;
  width: 100%;
  max-width: 1440px;
  /* Aligns with your container logic */
  min-height: 500px;
}

/* Left Form Area */
.login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background-color: var(--color-white);
}

.login-content-wrapper {
  width: 100%;
  max-width: 400px;
  /* Matches Figma's form width */
}

.login-main-title {
  font-family: var(--font-body);
  /* Nunito Sans */
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.login-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: #556987;
  margin-bottom: 40px;
}

/* Form Controls */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group input {
  width: 100%;
  height: 40px;
  background: #fafafa;
  border-radius: 15px;
  border: 1px solid #a1a1aa;
  padding: 0 25px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #4d4c4c;
}

.forgot-pass-wrap {
  text-align: right;
  margin-top: 8px;
}

.accent-link-small {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
}

/* Button Refinement */
.btn-login-primary {
  width: 100%;
  height: 40px;
  background-color: var(--color-accent);
  color: #f0fdf4;
  /* Specific green-tinted white from Figma */
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  box-shadow: 0px 1px 2px rgba(105, 81, 255, 0.05);
  cursor: pointer;
}

.signup-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #333f51;
}

.accent-link-bold {
  color: var(--color-accent);
  font-weight: 700;
}

/* Right Image Area */
.login-image-side {
  flex: 1;
  overflow: hidden;
}

.login-image-side img {
  width: 70%;
  height: 100%;
  object-fit: cover;
}

/* --- RESPONSIVE LOGIN --- */
@media (max-width: 1024px) {
  .login-split-container {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .login-image-side {
    display: none;
    /* Hide image on smaller tablets/mobile */
  }

  .login-form-side {
    padding: 40px;
  }

  .login-main-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .login-page {
    /* align-items: flex-start; top align on mobile often better */
    padding-top: 40px;
  }

  .login-form-side {
    padding: 20px;
    align-items: flex-start;
  }

  .login-content-wrapper {
    max-width: 100%;
  }

  .login-main-title {
    font-size: 28px;
    text-align: center;
    width: 100%;
  }

  .login-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
  }

  /* Larger touch targets */
  .input-group input {
    height: 50px;
  }

  .btn-login-primary {
    height: 50px;
  }
}

/* --- SHARED AUTHENTICATION STYLES (Login & Signup) --- */
.auth-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-white);
}

.auth-split-container {
  display: flex;
  width: 100%;
  max-width: 1440px;
  /* Aligns with your container logic */
  margin: 0 auto;
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.auth-content-wrapper {
  width: 100%;
  max-width: 431px;
  /* Matches Figma's form width */
}

.auth-main-title {
  font-family: var(--font-body);
  /* Nunito Sans */
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 15px;
}

.auth-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(34, 34, 34, 0.7);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Form Layouts */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  /* Matches the space between First and Last name in Figma */
}

/* Input Styles */
.input-group input {
  width: 100%;
  height: 44px;
  background: #fafafa;
  border-radius: 15px;
  border: 1px solid #a1a1aa;
  padding: 0 25px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #4d4c4c;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: var(--color-accent);
  outline: none;
}

/* Primary Auth Button */
.btn-auth-primary {
  width: 100%;
  height: 46px;
  background-color: var(--color-accent);
  color: #f0fdf4;
  /* Specific green-white from Figma */
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  box-shadow: 0px 1px 2px rgba(105, 81, 255, 0.05);
  cursor: pointer;
  margin-top: 10px;
}

.login-prompt {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  font-family: var(--font-body);
  color: #333f51;
}

.accent-link-bold {
  color: var(--color-accent);
  font-weight: 700;
}

/* Decorative Image Side */
.auth-image-side {
  flex: 1;
  /* Adjusts the balance of the split */
  /* height: 100vh; */
  overflow: hidden;
}

.auth-image-side img {
  width: 70%;
  height: 100%;
  object-fit: cover;
}

/* --- RESPONSIVE AUTH --- */
@media (max-width: 992px) {
  .auth-image-side {
    display: none;
    /* Hide image on smaller devices for focus on the form */
  }

  /* Center form on tablet/mobile since image is gone */
  .auth-form-side {
    padding: 40px;
    justify-content: center;
  }

  .auth-content-wrapper {
    text-align: center;
    margin: 0 auto;
  }

  .auth-main-title {
    font-size: 36px;
    /* Adjusted for better fit on tablet */
  }

  /* Re-align form items to left if preferred, or keep centered. 
     Design typically suggests left-aligned inputs even if container is centered.
     Let's keep inputs filling the width. */
}

@media (max-width: 768px) {
  .auth-page {
    min-height: auto;
    padding: 40px 0;
    /* Add vertical breathing room */
  }

  .auth-form-side {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .form-row-split {
    grid-template-columns: 1fr;
    /* Stack names on mobile */
    gap: 15px;
  }

  .auth-main-title {
    font-size: 28px;
    /* Prevent overflow on small screens */
  }

  .auth-subtitle {
    font-size: 14px;
  }
}