@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #4A1C15;
  --primary-light: #64251D;
  --secondary: #8B322C;
  --secondary-light: #A53E38;
  --bg-color: #ECE5D5;
  --white: #F8F4EB;
  --text-dark: #2A1A18;
  --text-light: #5E4C4A;
  --border-radius: 8px;
  --shadow: 0 4px 20px rgba(74, 28, 21, 0.08);
  --shadow-hover: 0 10px 30px rgba(74, 28, 21, 0.12);
  --transition: all 0.3s ease;
  /* Approximate header height for layout calcs (logo + navbar padding); sticky header sits in flow */
  --header-offset: 5.625rem;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

html {
  scroll-padding-top: calc(var(--header-offset) + env(safe-area-inset-top, 0px));
  /* Reserve scrollbar width so layout width does not change when vertical scrollbar appears */
  scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--primary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Header & Navbar — sticky top bar while scrolling */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.header.sticky {
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  margin-left: 25px;
  gap: 10px;
}

.logo span {
  color: var(--secondary);
}

.site-logo {
  max-height: 65px;
  width: auto;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  font-size: 1rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
  margin-right: 25px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 100px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
    align-items: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Layout Blocks */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--secondary);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card:hover .card-icon {
  background-color: var(--secondary);
  color: var(--white);
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
  background-color: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Page Banner */
.page-banner {
  background-color: var(--primary);
  color: var(--white);
  /* Header is in document flow (sticky); less top padding than old fixed-header offset */
  padding: 88px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%238B322C" stroke-width="0.5" stroke-opacity="0.3"/></svg>') repeat;
  opacity: 0.5;
  z-index: 0;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
  /* Dark tint so text stays readable when OS "reduce transparency" turns frosted glass solid white */
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 22px;
  border-radius: 30px;
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #f0d78c;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-transparency: reduce) {
  .breadcrumb {
    background-color: var(--primary-light);
    border-color: rgba(255, 255, 255, 0.35);
  }
}

/* Logo Slider */
.logo-slider-section {
  padding: 60px 0;
  background-color: var(--white);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.logo-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.slider-track {
  display: inline-flex;
  gap: 30px;
  animation: scroll 30s linear infinite;
  align-items: center;
  padding: 0 40px;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-track .logo-item {
  width: 160px;
  height: 80px;
  opacity: 1;
  /* Fully visible */
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-track .logo-item:hover {
  transform: scale(1.05);
}

.slider-track .logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
}

/* Fallback for empty logos */
.logo-item-placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Product Cards */
.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  height: 250px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s ease;
}


.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-category {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0;
}

/* Filter buttons */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Dynamic Slider Styles */
.dynamic-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.dynamic-slide.active {
  opacity: 1;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background: var(--white);
  border-color: var(--secondary);
  transform: scale(1.3);
}

/* =========================================================================
   UNIQUE SECTION AND BUTTON CLASSES (Isolating styles)
   ========================================================================= */

/* --- Unique Section Classes --- */
.home-stats-section,
.home-products-section,
.home-why-section,
.home-cta-section,
.about-story-section,
.about-vision-section,
.about-leadership-section,
.about-values-section,
.contact-info-section,
.contact-map-section,
.growth-chart-section,
.growth-timeline-section,
.partner-benefits-section,
.partner-form-section,
.products-grid-section,
.products-cta-section,
.quality-intro-section,
.quality-process-section {
  padding: 20px 0;
}

/* --- Unique Button Base Styles --- */
.nav-contact-btn,
.hero-explore-btn,
.hero-partner-btn,
.home-discover-btn,
.home-partner-cta-btn,
.contact-submit-btn,
.partner-submit-btn,
.products-explore-btn,
.products-retailer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

/* --- Unique Primary Buttons --- */
.nav-contact-btn,
.home-discover-btn,
.contact-submit-btn,
.partner-submit-btn,
.products-retailer-btn {
  background-color: var(--primary);
  color: var(--white);
}

.nav-contact-btn:hover,
.home-discover-btn:hover,
.contact-submit-btn:hover,
.partner-submit-btn:hover,
.products-retailer-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white);
}

/* --- Unique Secondary Buttons --- */
.hero-explore-btn,
.home-partner-cta-btn,
.products-explore-btn {
  background-color: #fafafa;
  color: var(--primary);
  font-weight: 600;
}

.hero-explore-btn:hover,
.home-partner-cta-btn:hover,
.products-explore-btn:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--primary);
}

/* --- Unique Outline Buttons --- */
.hero-partner-btn {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.hero-partner-btn:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* =========================================================================
   HOME HERO BANNER SPECIFIC STYLES (Moved from inline)
   ========================================================================= */
.home-hero-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  margin-inline: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  text-align: left;
  background-color: var(--primary);
}

/* Home hero: width matches viewport; height follows banner image aspect ratio */
#home-dynamic-banners {
  position: relative;
  z-index: 1;
  width: 100%;
}

#home-slider-nav {
  position: absolute;
  bottom: clamp(16px, 4vw, 30px);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 3;
  padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}

.home-hero-banner .dynamic-slide {
  margin: 0;
  padding: 0;
  background: none;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  min-height: 0;
}

.home-hero-banner .dynamic-slide.active {
  position: relative;
  z-index: 1;
}

.home-hero-banner .dynamic-slide:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.home-hero-banner .dynamic-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-banner .dynamic-slide:not(.active) img {
  height: 100%;
  object-fit: contain;
}

.suruchi-slider-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--primary);
  margin-bottom: 60px;
}

.home-hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.home-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  color: var(--white);
}

.home-hero-actions {
  display: flex;
  gap: 5px;
  margin-top: 20px;
}

/* --- Contact Card --- */
.contact-card {
  background: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
}

/* =========================================================================
   MOBILE OVERRIDES FOR UNIQUE CLASSES & INLINE BREAKAGES 
   ========================================================================= */
@media (max-width: 768px) {

  /* Restore proper padding for unique sections */
  .home-stats-section,
  .home-products-section,
  .home-why-section,
  .home-cta-section,
  .about-story-section,
  .about-vision-section,
  .about-leadership-section,
  .about-values-section,
  .contact-info-section,
  .contact-map-section,
  .growth-chart-section,
  .growth-timeline-section,
  .partner-benefits-section,
  .partner-form-section,
  .products-grid-section,
  .products-cta-section,
  .quality-intro-section,
  .quality-process-section {
    padding: 32px 0;
  }

  .container {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }

  .contact-card {
    padding: 25px;
  }

  .suruchi-slider-section {
    min-height: 200px;
    height: 55vw;
    margin-bottom: 30px;
  }

  .dynamic-slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .page-banner {
    padding: 64px 0 60px;
  }

  .page-banner.home-hero-banner {
    padding: 0;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
    min-height: 0;
    height: auto;
  }

  /* Let hero photography read clearly on small screens */
  .page-banner.home-hero-banner::after {
    display: none;
  }

  .home-hero-title {
    font-size: 2.5rem;
  }

  .home-hero-subtitle {
    font-size: 1.1rem;
  }

  .home-hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .home-hero-actions a {
    width: 100%;
    justify-content: center;
  }

  /* Fix nav button on mobile menu */
  .nav-contact-btn {
    width: 100%;
    margin-top: 15px;
    justify-content: center;
  }

  /* Ensure logo slider doesn't overflow horizontally */
  .logo-slider::before,
  .logo-slider::after {
    width: 50px;
  }

  .slider-track {
    gap: 40px;
  }
}

/* Product View More Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 900px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.modal-close:hover {
  color: var(--secondary);
}

.modal-body {
  display: flex;
  flex-direction: row;
}

.modal-slider {
  flex: 1;
  background: #f5f5f5;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-images {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-images img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--secondary);
  color: white;
}

.slider-prev {
  left: 15px;
}

.slider-next {
  right: 15px;
}

.modal-info {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.modal-info p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.view-more-btn {
  margin-top: auto;
  align-self: flex-end;
  background: transparent;
  color: var(--secondary);
  border: none;
  padding: 10px 0 0 0;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-more-btn:hover {
  color: var(--primary);
  background: transparent;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
  }

  .modal-slider {
    min-height: 250px;
  }

  .slider-images img {
    max-height: 250px;
  }

  .modal-info {
    padding: 25px;
  }
}