/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-color: #0d4a22; /* Forest Green */
  --primary-light: #166e35;
  --primary-dark: #072a13;
  
  --secondary-color: #ffffff; /* White */
  --background-light: #f8f9fa; /* Off-white for sections */
  
  --accent-color: #d32f2f; /* Red */
  --accent-hover: #b71c1c;

  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #ffffff;

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  
  /* Utilities */
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --border-radius: 8px;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--secondary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-size: 1rem;
}

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

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

.btn-accent {
  background: linear-gradient(135deg, #d32f2f, #f44336);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
  transform: translateY(0);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #b71c1c, #d32f2f);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
  transform: translateY(-2px);
}

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

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

/* ==========================================================================
   Header (Sticky & Transparent)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background-color: transparent; /* Transparent on load */
}

header.scrolled {
  background-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
  padding: 15px 0;
}

header.scrolled .nav-link {
  color: var(--text-main);
}

header.scrolled .logo-text {
  color: var(--primary-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light); /* Assuming dark hero images */
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: var(--text-light); /* Assuming dark hero images */
  font-weight: 500;
  position: relative;
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

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

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

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 60px; /* Higher */
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab:hover {
  transform: scale(1.1);
}

.fab-whatsapp {
  background-color: #25D366; /* WhatsApp Green */
}

.fab-totop {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  background-color: var(--primary-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.fab-totop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   Homepage Sections
   ========================================================================== */
/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* About Section */
.about-section {
  padding: var(--section-padding);
  background-color: var(--background-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Services Overview */
.services-section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 50px;
}

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

.service-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 300px;
  max-width: 380px;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.service-image {
  height: 200px;
  background-color: #ddd; /* Placeholder */
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Key Metrics Showcase Section */
.fun-fact-section {
  --accent-color: #f97316; /* Warm Orange override */
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(20, 45, 32, 0.88) 0%, rgba(10, 25, 18, 0.92) 100%), url('../public/images/home-about.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.section-header-centered {
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 18px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 14px;
  transition: all 0.4s ease;
}

.metric-card:hover .metric-icon {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.1);
}

.counter-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.metric-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.metric-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

/* Testimonials */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--background-light);
  text-align: center;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 350px;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  width: 300px;
  padding: 40px 30px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: all 0.5s ease-in-out;
  /* Default hidden state on the right */
  opacity: 0;
  transform: scale(0.8) translateX(250%);
  z-index: 1;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 3;
  box-shadow: var(--shadow-lg);
}

.testimonial-slide.prev {
  opacity: 0.6;
  transform: scale(0.85) translateX(-110%);
  z-index: 2;
}

.testimonial-slide.next {
  opacity: 0.6;
  transform: scale(0.85) translateX(110%);
  z-index: 2;
}

.testimonial-slide.hidden-left {
  opacity: 0;
  transform: scale(0.8) translateX(-250%);
  z-index: 1;
}

/* Global CTA Banner */
.global-cta-banner {
  background-color: #f8f9fa; /* Whitish background */
  padding: 40px 20px;
  overflow: hidden;
}

.cta-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.cta-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 600px;
}

.cta-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.cta-floating-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Interactive Asset Financing Calculator */
.calculator-section {
  padding: 50px 0;
  background-color: var(--background-light);
}

.asset-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .asset-calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-controls-panel {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.calc-control-group {
  margin-bottom: 24px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.control-label {
  display: block;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.calc-num-input {
  width: 150px;
  padding: 6px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
  text-align: right;
  transition: border-color 0.2s;
}

.calc-num-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.deposit-badge {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.9rem;
}

.category-pills, .tenure-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.calc-pill, .tenure-pill {
  flex: 1 1 auto;
  padding: 10px 14px;
  background: #f1f5f9;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.calc-pill:hover, .tenure-pill:hover {
  background: #e2e8f0;
}

.calc-pill.active, .tenure-pill.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(13, 74, 34, 0.25);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  accent-color: #f97316;
  cursor: pointer;
  margin: 10px 0 6px 0;
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Right Live Summary Panel */
.calc-summary-panel {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(13, 74, 34, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.summary-tag {
  display: inline-block;
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.summary-header h3 {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 700;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.summary-row span {
  color: rgba(255, 255, 255, 0.85);
}

.summary-row strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 18px 0;
}

.summary-highlight {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.highlight-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #f97316;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.revenue-target-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  padding: 14px;
  border-radius: 10px;
  border-left: 4px solid #4ade80;
}

.rev-icon {
  font-size: 1.3rem;
  color: #4ade80;
  margin-top: 2px;
}

.rev-text {
  display: flex;
  flex-direction: column;
}

.rev-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.rev-text strong {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 800;
}

.rev-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
  margin-top: 2px;
}

.apply-calc-btn {
  display: block;
  background: #f97316;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.apply-calc-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Assets Carousel */
.assets-carousel-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 30%, #114d28 0%, #072a13 80%);
  color: white;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.carousel-container-outer {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0 20px 0;
}

.carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.carousel-card {
  width: 330px;
  height: 240px;
  flex-shrink: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1a3a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.carousel-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #f97316;
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.25);
  z-index: 2;
}

.carousel-card:hover img {
  transform: scale(1.08);
}

/* Homepage Blog / Insights Section */
.home-insights-section {
  padding: 80px 0;
  background-color: #ffffff;
  position: relative;
}

.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

@media (max-width: 650px) {
  .home-insights-grid {
    grid-template-columns: 1fr;
  }
}

.home-insight-card {
  background: #fdfdfd;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  border-color: rgba(249, 115, 22, 0.4);
}

.home-insight-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.home-insight-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-insight-card:hover .home-insight-img-wrap img {
  transform: scale(1.06);
}

.home-insight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 37, 24, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-insight-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.home-insight-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
  font-weight: 500;
}

.home-insight-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
  transition: color 0.3s ease;
}

.home-insight-card:hover .home-insight-title {
  color: #f97316;
}

.home-insight-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.home-insight-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}

.home-insight-card:hover .home-insight-link {
  color: #f97316;
  gap: 12px;
}

/* ==========================================================================
   Detailed Blog Post Pages
   ========================================================================== */
.article-header {
  padding: 150px 0 60px;
  background: linear-gradient(135deg, #072a13 0%, #0e4822 100%);
  color: white;
  text-align: center;
  position: relative;
}

.article-header-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #c8e6d2;
}

.article-header h1 {
  font-size: 2.75rem;
  max-width: 900px;
  margin: 0 auto 25px;
  line-height: 1.25;
  font-weight: 800;
}

.article-author-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 22px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f97316;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.article-body-section {
  padding: 60px 0 100px;
  background: #fdfdfd;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

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

.article-main-banner {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.article-main-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #333333;
}

.article-content h2 {
  font-size: 1.85rem;
  color: var(--primary-color);
  margin: 40px 0 18px;
  border-bottom: 2px solid rgba(10, 37, 24, 0.08);
  padding-bottom: 12px;
  font-weight: 700;
}

.article-content h3 {
  font-size: 1.45rem;
  color: var(--primary-color);
  margin: 30px 0 12px;
  font-weight: 700;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content ul, .article-content ol {
  margin: 0 0 25px 25px;
}

.article-content li {
  margin-bottom: 12px;
  padding-left: 5px;
}

.article-callout {
  background: linear-gradient(135deg, rgba(10, 37, 24, 0.05) 0%, rgba(249, 115, 22, 0.08) 100%);
  border-left: 5px solid #f97316;
  padding: 28px;
  border-radius: 0 14px 14px 0;
  margin: 35px 0;
}

.article-callout h4 {
  color: #f97316;
  margin-bottom: 12px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-share {
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0f2f1;
  color: #444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.share-btn:hover {
  background: #f97316;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.article-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-box {
  background: white;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.sidebar-box h3 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}

.sidebar-box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: #f97316;
  border-radius: 2px;
}

.sidebar-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f5f5f5;
  align-items: center;
}

.sidebar-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-post-img {
  width: 75px;
  height: 65px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-info h4 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 6px;
  font-weight: 600;
}

.sidebar-post-info h4 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-post-info h4 a:hover {
  color: #f97316;
}

.sidebar-post-date {
  font-size: 0.8rem;
  color: #888;
}

.cta-sidebar-box {
  background: linear-gradient(135deg, #072a13 0%, #114d28 100%);
  color: white;
  text-align: center;
}

.cta-sidebar-box h3 {
  color: white;
}

.cta-sidebar-box p {
  font-size: 0.95rem;
  color: #d8eedf;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background-color: var(--accent-color);
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: var(--section-padding);
  background-color: var(--secondary-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:focus {
  outline: none;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: var(--background-light);
  padding: 0 25px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px 25px;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* Implement mobile menu later */
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}
