/* 
 * brand-style.css
 * Mobile-First Approach
 * Based on PFW Brand Guidelines
 */

/* -------------------------------------------------------------------------- */
/*                                 Color & Font Tokens                        */
/* -------------------------------------------------------------------------- */
:root {
  /* Primary Colors - Extracted from Brand Guidelines */
  --pfw-green: #63a330;
  /* Pantone 369C */
  --pfw-black: #000000;
  --pfw-white: #ffffff;

  /* Secondary Colors (Placeholder) */
  --pfw-secondary-gray: #f4f4f4;

  /* Fonts */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

/* -------------------------------------------------------------------------- */
/*                                 Global Resets & Typography                 */
/* -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--pfw-black);
  background-color: var(--pfw-white);
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------- */
/*                                 Navigation                                 */
/* -------------------------------------------------------------------------- */
.navbar {
  padding: 1.5rem 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: transparent !important;
  border-bottom: none !important;
  /* Let the container handle the glass */
}

/* Unified Premium Liquid Glass Pill */
.navbar .container {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 60px;
  /* Sweeping iOS capsule curve */
  padding: 6px 16px;
  /* Symmetrical inner padding */
  background: rgba(20, 20, 20, 0.75) !important;
  /* Unified dark glass over any background */
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

/* Scrolled State adjustments */
.navbar.scrolled {
  padding: 0.5rem 0;
  /* Float the pill higher up when scrolled */
}

.navbar.scrolled .container {
  /* Maintain the same dynamic glass background, only elevate the shadow slightly */
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  /* Exclusion zone scaling */
  padding: 3px 5px;
  max-height: 38px;
  width: auto;
  filter: brightness(0) invert(1) !important;
  /* Force white universe */
  transition: filter 0.4s ease, transform 0.3s ease;
}

/* Hover effect on logo */
.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  /* Primary wide/geometric geometric font */
  font-weight: 500;
  font-size: 0.8rem;
  /* Slightly smaller for balanced capsule fit */
  letter-spacing: 0.3px;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 4px 10px;
  margin: 0 3px;
  gap: 2px;
  /* Space between icon and text */
  transition: all 0.3s ease;
  z-index: 2;
}

.nav-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-link:hover {
  filter: saturate(1.8) brightness(1.2);
}

.nav-link:hover .nav-icon {
  transform: translateY(-3px);
  /* Gentle float up */
}

/* -------------------------------------------------------------------------- */
/*                        Magnetic Glass Pill Indicator                       */
/* -------------------------------------------------------------------------- */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 50px;
  /* Pill shape */
  pointer-events: none;
  /* Ignore mouse interactions so links underneath trigger */
  opacity: 0;
  /* Hidden by default until JS initiates position */
  z-index: 1;
  /* Renders under the text */

  /* Remove local blur, inherit from the majestic parent container */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Universal Inner Indicator Pill */
.nav-indicator {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.navbar-toggler-icon {
  filter: invert(1) !important;
}

.btn-glass-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  /* Icon beside text */
  background: rgba(98, 168, 62, 0.15) !important;
  border: 1px solid rgba(98, 168, 62, 0.4) !important;
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 6px 18px !important;
  transition: all 0.3s ease;
  backdrop-filter: none;
}

.btn-glass-cta .nav-icon {
  width: 16px;
  height: 16px;
  margin: 0;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.btn-glass-cta:hover {
  background: rgba(98, 168, 62, 0.35) !important;
  border-color: rgba(98, 168, 62, 0.8) !important;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(98, 168, 62, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------------------------- */
/*                                 Utilities                                  */
/* -------------------------------------------------------------------------- */
.text-pfw-green {
  color: var(--pfw-green) !important;
}

.bg-pfw-green {
  background-color: var(--pfw-green) !important;
}

.btn-pfw {
  background-color: var(--pfw-green);
  color: var(--pfw-white);
  border: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-pfw:hover {
  background-color: #4e8224;
  /* Darker shade of green */
  color: var(--pfw-white);
}

/* -------------------------------------------------------------------------- */
/*                                 Hero Section (Canvas Scroll-Video)         */
/* -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: var(--pfw-black);
}

/* Loading State */
.hero-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--pfw-green);
  z-index: 999;
  transition: opacity 0.5s ease;
}

/* The Canvas */
#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  /* Ensures the whole frame is visible, or use cover based on preference */
  z-index: 1;
}

/* Overlays Container */
.hero-overlays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  /* Let user click/scroll canvas if needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Initial Logo Overlay */
.hero-logo-center {
  color: var(--pfw-white);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 1;
  /* Starts visible */
  will-change: opacity, transform;
}

.hero-logo-center svg {
  fill: var(--pfw-green);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Final Headline Reveal */
.hero-headline {
  position: absolute;
  opacity: 0;
  /* Hidden initially */
  pointer-events: auto;
  /* Allow clicking the button */
  will-change: opacity, transform;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--pfw-white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Desktop adjustments */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 7rem;
  }
}

/* CTA Button - Serene Effect */
.btn-serene {
  background-color: var(--pfw-green);
  color: var(--pfw-white);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(99, 163, 48, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn-serene::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-serene:hover {
  transform: scale(1.05);
  /* Gentle scale up */
  box-shadow: 0 8px 25px rgba(99, 163, 48, 0.5);
  /* Enhanced glow on hover */
}

/* -------------------------------------------------------------------------- */
/*                                Phase 3: History & Logistics                */
/* -------------------------------------------------------------------------- */

/* Secondary Colors (Inferred "Serenity" Palette) */
:root {
  --pfw-yellow-soft: #f9e79f;
  /* Soft Yellow accent */
  --pfw-blue-muted: #a9cce3;
  /* Muted Blue accent */
  --pfw-gray-light: #f8f9fa;
}

/* Layer Management for Scroll Synchronization */
#hero {
  z-index: 100;
  position: relative;
}

#history {
  z-index: 5;
  position: relative;
}

/* --- History Section (Horizontal Scroll) --- */
.history-section {
  width: 100%;
  height: 100vh;
  /* Full viewport height for pinning */
  overflow: hidden;
  background-color: var(--pfw-white);
  position: relative;
  display: flex;
}

.history-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 700%;
  /* 7 slides now */
  height: 100%;
}

.history-slide {
  width: 100vw;
  height: 100%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  /* Subtle divider */
  position: relative;
}

.history-year {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--pfw-green);
  /* Primary Color Update */
  position: absolute;
  top: 10%;
  left: 5%;
  z-index: 0;
  opacity: 1;
  /* Increased from 0.15 to show full primary color at user request */
}

.history-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.history-lorry {
  position: absolute;
  bottom: 0;
  /* Lower slightly to accommodate larger height and sit firmly below the typography */
  left: -20%;
  width: auto;
  max-width: 850px;
  /* Increased from 600px */
  height: auto;
  z-index: 2;
  transition: transform 0.1s linear;
  will-change: transform;
  /* filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3)); REMOVED: Image has baked-in shadow */
}

/* Timeline Node Accent */
.timeline-node {
  width: 20px;
  height: 20px;
  background-color: var(--pfw-yellow-soft);
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 5px rgba(249, 231, 159, 0.3);
}

/* --- Logistics Section (The Drive Up) --- */
.logistics-section {
  min-height: 100vh;
  position: relative;
  background-color: var(--pfw-gray-light);
  overflow: hidden;
  padding-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.drive-up-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 60vh;
  /* Track height */
  margin-top: auto;
  /* Push to bottom */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* Vehicle starts at bottom */
}

.logistics-vehicle {
  width: 250px;
  /* Initial state handled by GSAP */
  transform: translateY(100%);
  z-index: 10;
}

.stat-card {
  position: absolute;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  opacity: 0;
  /* Hidden initially, revealed by GSAP */
  z-index: 5;
}

.stat-card.left {
  left: 5%;
  top: 30%;
}

.stat-card.right {
  right: 5%;
  top: 50%;
}

.floating-food {
  position: absolute;
  width: 80px;
  opacity: 0.6;
}

/* RESPONSIVE: Mobile Degradation */
@media (max-width: 991px) {
  .history-section {
    height: auto;
    overflow: visible;
  }

  .history-wrapper {
    width: 100%;
    flex-direction: column;
  }

  .history-slide {
    width: 100%;
    height: 80vh;
    /* Tall enough for scroll feeling */
    border-bottom: 1px solid #eee;
  }

  .history-lorry {
    display: none;
    /* Simplify for mobile, or static placement */
  }

  .logistics-section {
    padding-bottom: 5rem;
  }
}

/* -------------------------------------------------------------------------- */
/*                          Large Premium Glass Dashboard Panel               */
/* -------------------------------------------------------------------------- */
.glass-panel-dashboard {
  position: relative;
  background: linear-gradient(135deg, rgba(40, 45, 40, 0.4) 0%, rgba(15, 20, 15, 0.6) 100%);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
  transform: translateZ(0);
  will-change: transform;
}

.intro-glass-hover:hover {
  transform: translateY(-5px) scale(1.02) translateZ(0);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.8), inset 0 2px 2px rgba(255, 255, 255, 0.1);
}

/* -------------------------------------------------------------------------- */
/*                          White Premium Glass Brand Panel                   */
/* -------------------------------------------------------------------------- */
.glass-panel-white {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
  transform: translateZ(0);
  will-change: transform;
}

.glass-panel-white:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), inset 0 2px 2px rgba(255, 255, 255, 1);
}

/* -------------------------------------------------------------------------- */
/*                          Interactive Glass Buttons                         */
/* -------------------------------------------------------------------------- */
.contact-glass-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-glass-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(98, 168, 62, 0.2);
  border-top: 1px solid rgba(98, 168, 62, 0.7) !important;
  border-left: 1px solid rgba(98, 168, 62, 0.5) !important;
}

.contact-glass-btn:hover .glass-icon-wrapper {
  background: rgba(98, 163, 48, 0.35) !important;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.15) !important;
}

.glass-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(98, 163, 48, 0.15);
  border: 1px solid rgba(98, 163, 48, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 2px 10px rgba(98, 163, 48, 0.2);
  transition: background 0.3s ease;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------- */
/*                          Glassmorphic Form Inputs                          */
/* -------------------------------------------------------------------------- */
.glass-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  width: 100%;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-size: 1rem;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(98, 168, 62, 0.6);
  outline: none;
  box-shadow: 0 0 15px rgba(98, 168, 62, 0.25);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Custom Glassy Checkbox wrapper */
.glass-checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.glass-checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 12px;
  font-size: 1.2em;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.glass-checkbox-wrapper input[type="checkbox"]:checked {
  background-color: var(--pfw-green);
  border-color: var(--pfw-green);
}

.glass-checkbox-wrapper input[type="checkbox"]:checked::before {
  content: "✔";
  color: white;
  font-size: 14px;
}

.glass-submit-hover:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(98, 168, 62, 0.6) !important;
  filter: brightness(1.1);
}

a.hover-white:hover {
  color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/*                                Modern Footer                               */
/* -------------------------------------------------------------------------- */
.modern-footer {
  background-color: #050a06;
  background-image: url('assets/social-hub-bg.png');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
}

.modern-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Dark translucent overlay to ensure text contrast while letting the vivid green fluid blur through */
  background: rgba(5, 10, 6, 0.75);
  backdrop-filter: blur(25px) saturate(120%);
  -webkit-backdrop-filter: blur(25px) saturate(120%);
  pointer-events: none;
  z-index: 0;
}

.modern-footer .contact-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.005) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  z-index: 1;
}

.modern-footer .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(98, 168, 62, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(98, 168, 62, 0.5);
  border-left: 1px solid rgba(98, 168, 62, 0.4);
  border-right: 1px solid rgba(98, 168, 62, 0.1);
  border-bottom: 1px solid rgba(98, 168, 62, 0.1);
}

.modern-footer .hover-green {
  transition: color 0.3s ease;
}

.modern-footer .hover-green:hover {
  color: var(--pfw-green) !important;
}

.modern-footer .hover-white {
  transition: color 0.3s ease;
}

.modern-footer .hover-white:hover {
  color: #ffffff !important;
}

.modern-footer .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.modern-footer .social-btn:hover {
  background: rgba(98, 168, 62, 0.3);
  border-color: rgba(98, 168, 62, 0.8);
  transform: translateY(-4px) scale(1.05);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(98, 168, 62, 0.25);
}

.modern-footer .svg-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* -------------------------------------------------------------------------- */
/*                            Social Media Hub                                */
/* -------------------------------------------------------------------------- */
#social-hub {
  background-color: #050805;
  /* Deep rich dark green-tinted black fallback */
  background-image: url('assets/social-hub-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Volumetric Fluid Design - Abstract Organic Orbs */
.social-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(98, 168, 62, 0.08) 0%, transparent 60%);
}

.social-glow::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(98, 168, 62, 0.22) 0%, transparent 65%);
  filter: blur(80px);
  opacity: 0.8;
}

.social-glow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(40, 90, 20, 0.35) 0%, transparent 65%);
  filter: blur(90px);
  opacity: 0.9;
}

/* Premium Dashboard Aesthetic Glassmorphism */
.social-glass-card {
  position: relative;
  z-index: 2;
  /* Specular top-left light gradient */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(35px) saturate(180%);
  -webkit-backdrop-filter: blur(35px) saturate(180%);

  /* Delicate directional bevel highlights */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);

  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Deep base shadow + sophisticated inner reflection */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-glass-card:hover {
  transform: translateY(-8px);
  /* Brighter inner reflection and glowing halo on hover */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(98, 168, 62, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(98, 168, 62, 0.6);
  border-left: 1px solid rgba(98, 168, 62, 0.5);
  border-right: 1px solid rgba(98, 168, 62, 0.1);
  border-bottom: 1px solid rgba(98, 168, 62, 0.1);
}

.social-glass-card .watermark {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 120px;
  height: auto;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  filter: brightness(0) invert(1) opacity(0.08);
  /* White transparent silhouette of logo */
  transform: scale(0.8);
  pointer-events: none;
}

.social-glass-card:hover .watermark {
  opacity: 1;
  transform: scale(1);
}

.social-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  /* Strong portrait orientation */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  /* Placeholder dark bg */
}

.social-image-wrapper img.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.social-glass-card:hover .post-image {
  transform: scale(1.05);
  /* Slight internal zoom on hover */
}

.social-platform-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 18px;
}

.social-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.social-card-text {
  color: #e0e0e0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.social-btn-follow {
  margin-top: auto;
  align-self: flex-start;
  background: rgba(98, 168, 62, 0.15) !important;
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(98, 168, 62, 0.4) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-btn-follow:hover {
  background: rgba(98, 168, 62, 0.35) !important;
  border-color: rgba(98, 168, 62, 0.8) !important;
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(98, 168, 62, 0.2);
}