/* 
========================================================================
   MIRAR AGRO - PREMIUM STYLESHEET
   Description: Core styles, color design tokens, custom utility components,
                dark mode settings, and interactive elements.
========================================================================
*/

/* 1. GOOGLE FONTS & IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* 2. DESIGN SYSTEM & CSS VARIABLES */
:root {
  /* Font Family */
  --font-primary: 'Hind Siliguri', 'Poppins', sans-serif;

  /* Color Palette - Light Mode (Default) */
  --color-primary: #0F7B3E;
  --color-primary-rgb: 15, 123, 62;
  --color-primary-dark: #0a562b;
  --color-secondary: #F5A623;
  --color-secondary-rgb: 245, 166, 35;
  --color-accent: #2E8B57;
  
  --bg-body: #FFFFFF;
  --bg-surface: #F9FAFB;
  --bg-surface-2: #F3F4F6;
  --bg-navbar: rgba(255, 255, 255, 0.95);
  --bg-footer: #0A1C10;
  
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --text-white: #FFFFFF;
  
  --border-color: #E5E7EB;
  --input-bg: #FFFFFF;
  
  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 15px rgba(15, 123, 62, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 50px;
  
  /* Transition Constants */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Header & Navigation Heights */
  --navbar-height: 80px;
}

/* Dark Mode Variables Override */
[data-theme="dark"] {
  --bg-body: #0F1411;
  --bg-surface: #151D18;
  --bg-surface-2: #1D2721;
  --bg-navbar: rgba(15, 20, 17, 0.95);
  
  --text-main: #F3F4F6;
  --text-muted: #D1D5DB;
  --text-light: #9CA3AF;
  
  --border-color: #242E28;
  --input-bg: #1B241F;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(15, 123, 62, 0.25);
}

/* 3. BASE STYLES & RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface-2);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-surface-2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* 4. UTILITY STYLES & GRADIENTS */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, var(--color-secondary), #D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #0A1C10, #153C22);
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .sub-title {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 10px;
  display: inline-block;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.btn-premium {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-round);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
}

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

.btn-premium-primary:hover {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-premium-secondary {
  background-color: var(--color-secondary);
  color: #1F2937;
}

.btn-premium-secondary:hover {
  background-color: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
  transform: translateY(-2px);
}

.btn-premium-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-premium-outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* 5. BRAND PRELOADER */
#preloader {
  display: none !important;
}

.preloader-content {
  text-align: center;
  max-width: 300px;
}

.preloader-logo {
  height: 80px;
  margin-bottom: 20px;
  animation: logoPulse 2s infinite ease-in-out;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 15px auto;
  animation: spin 1s linear infinite;
}

.preloader-text {
  font-weight: 500;
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.preloader-slogan {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 6. STICKY NAVIGATION BAR */
.navbar-custom {
  height: var(--navbar-height);
  background-color: var(--bg-navbar);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  z-index: 1030;
}

.navbar-custom.navbar-scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 50px;
  transition: height var(--transition-normal);
}

.navbar-custom.navbar-scrolled .navbar-brand img {
  height: 42px;
}

.nav-link-custom {
  font-weight: 500;
  color: var(--text-main) !important;
  padding: 10px 15px !important;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 0;
  height: 2.5px;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: calc(100% - 30px);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--color-primary) !important;
}

.navbar-cta-btn {
  margin-left: 15px;
}

.theme-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
  margin-left: 10px;
}

.theme-toggle-btn:hover {
  background-color: var(--bg-surface-2);
  color: var(--color-primary);
}

/* 7. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 28, 16, 0.85) 0%, rgba(21, 60, 34, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-white);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 750px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-white);
  text-align: center;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-white);
  border-radius: 20px;
  margin: 0 auto 10px auto;
  position: relative;
}

.scroll-wheel {
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 26px; }
}

/* 8. ABOUT SECTION & STATS */
.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-image-shape {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  z-index: 1;
}

.stat-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 5px;
  display: block;
}

.stat-label {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-pillar-item {
  display: flex;
  gap: 15px;
}

.about-pillar-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(15, 123, 62, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-pillar-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-main);
}

.about-pillar-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 9. PRODUCTS CATALOG & CARDS */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 24px;
  font-weight: 500;
  border-radius: var(--radius-round);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-glow);
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  padding-top: 75%; /* 4:3 Aspect Ratio */
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-secondary);
  color: #1F2937;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
}

.product-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.product-price {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.15rem;
}

.product-order-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-round);
  background-color: var(--color-primary);
  color: var(--text-white);
  border: none;
  transition: all var(--transition-fast);
}

.product-order-btn:hover {
  background-color: var(--color-accent);
  transform: scale(1.05);
}

/* 10. WHY CHOOSE US */
.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  height: 100%;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 123, 62, 0.1), rgba(46, 139, 87, 0.15));
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 25px auto;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--bg-gradient-primary);
  color: var(--text-white);
  transform: rotateY(180deg);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 11. PROCESS TIMELINE */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: calc(100% - 150px);
  background-color: var(--border-color);
  z-index: 1;
}

.timeline-step {
  display: flex;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-info {
  width: 45%;
  padding: 0 30px;
  text-align: right;
}

.timeline-step:nth-child(even) .timeline-info {
  text-align: left;
}

.timeline-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 4px solid var(--bg-body);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-node {
  background-color: var(--color-secondary);
  color: #1F2937;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
}

.timeline-content {
  width: 45%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-content {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.timeline-content-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* 12. GALLERY MASONRY & LIGHTBOX */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  height: 250px;
  transition: all var(--transition-normal);
}

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

.gallery-item.tall {
  grid-row: span 2;
  height: 520px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(10, 28, 16, 0.9) 0%, rgba(10, 28, 16, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 5px;
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.gallery-item-overlay p {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0;
  transform: translateY(15px);
  transition: transform var(--transition-normal) 0.05s;
}

.gallery-item:hover .gallery-item-overlay h4,
.gallery-item:hover .gallery-item-overlay p {
  transform: translateY(0);
}

/* Custom Lightbox Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 14, 12, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-normal) ease-in-out;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-caption {
  color: var(--text-white);
  margin-top: 15px;
  font-size: 1.1rem;
}

.lightbox-category {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.lightbox-close {
  top: 20px;
  right: 20px;
  transform: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* 13. TESTIMONIALS SLIDER */
.testimonials-section {
  background-color: var(--bg-surface);
  position: relative;
}

.testimonial-card {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-rating {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

.testimonial-meta {
  text-align: left;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
  width: 20px !important;
  border-radius: 5px !important;
}

/* 14. FAQ ACCORDION */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  border-radius: var(--radius-md) !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  padding: 20px 25px;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background-color: var(--bg-surface-2);
}

.faq-accordion .accordion-button::after {
  filter: grayscale(1) invert(var(--theme-invert, 0));
}

.faq-accordion .accordion-body {
  color: var(--text-muted);
  background-color: var(--bg-surface);
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .faq-accordion .accordion-button::after {
  filter: invert(1);
}

/* 15. CONTACT SECTION & MAP */
.contact-info-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-gradient-primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-details h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-main);
}

.contact-info-details p,
.contact-info-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-info-details a:hover {
  color: var(--color-primary);
}

.contact-form-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group-custom {
  margin-bottom: 25px;
}

.form-label-custom {
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control-custom {
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 12px 20px;
  font-family: var(--font-primary);
  transition: all var(--transition-fast);
}

.form-control-custom:focus {
  background-color: var(--input-bg);
  border-color: var(--color-primary);
  color: var(--text-main);
  box-shadow: 0 0 0 3px rgba(15, 123, 62, 0.15);
}

.map-placeholder {
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact form spinner and success overlay */
.contact-submit-wrapper {
  position: relative;
}

.form-feedback-overlay {
  display: none;
  margin-top: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.form-feedback-overlay.success {
  display: block;
  background-color: rgba(15, 123, 62, 0.15);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.form-feedback-overlay.error {
  display: block;
  background-color: rgba(220, 38, 38, 0.15);
  color: #DC2626;
  border: 1px solid #DC2626;
}

/* 16. FOOTER & NEWSLETTER */
.footer-custom {
  background-color: var(--bg-footer);
  color: #D1D5DB;
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--color-primary);
}

.footer-widget-logo img {
  height: 60px;
  margin-bottom: 25px;
}

.footer-widget-logo p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-widget-title {
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

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

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

.footer-links a {
  color: #D1D5DB;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

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

.footer-links a i {
  font-size: 0.75rem;
  color: var(--color-primary);
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 10px 15px;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  flex-grow: 1;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-secondary);
}

.newsletter-btn {
  background-color: var(--color-primary);
  color: var(--text-white);
  border: none;
  padding: 10px 20px;
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--color-secondary);
  color: #1F2937;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  margin-top: 60px;
  font-size: 0.85rem;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  color: #9CA3AF;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-secondary);
}

/* 17. FLOATING ACTION BUTTONS & WIDGETS */
.floating-actions-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.floating-whatsapp {
  background-color: #25D366;
}

.floating-messenger {
  background-color: #0084FF;
}

.floating-scrolltop {
  background-color: var(--color-primary);
  opacity: 0;
  visibility: hidden;
}

.floating-scrolltop.visible {
  opacity: 1;
  visibility: visible;
}

/* Cookie Consent Banner */
#cookie-consent {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(120%);
  transition: transform var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1);
}

#cookie-consent.visible {
  transform: translateY(0);
}

.cookie-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-grow: 1;
}

/* Call-to-Action Pre-Footer section */
.cta-pre-footer {
  background-color: var(--bg-surface-2);
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.cta-pre-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--bg-gradient-primary);
}

.cta-pre-footer h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

.cta-pre-footer p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 35px auto;
}

.cta-pre-footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Blog Feed Layout */
.blog-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: 60%;
}

.blog-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image {
  transform: scale(1.06);
}

.blog-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--color-primary);
  color: var(--text-white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.blog-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-info {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-meta-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--text-main);
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-readmore {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-readmore:hover {
  color: var(--color-accent);
}

.blog-readmore i {
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-readmore i {
  transform: translateX(5px);
}

/* Animations */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
