/* ============================================
   SaniFarma Corporate Website - Main Stylesheet
   ============================================ */

/* === CSS Custom Properties (Variables) === */
:root {
  /* Corporate Colors - Based on SaniFarma Logo */
  --color-primary: #1967B5;
  /* Azul Corporativo (Farma) */
  --color-secondary: #00B25C;
  /* Verde Corporativo (Sani) */
  --color-teal: #4FB3BF;
  /* Turquesa (Gradiente logo) */
  --color-mint: #7DD4C0;
  /* Menta (Gradiente logo) */
  --color-white: #FFFFFF;
  /* Blanco */
  --color-gray: #4F4F4F;
  /* Gris Institucional */

  /* Overlay */
  --overlay-blue: rgba(25, 103, 181, 0.85);

  /* Typography - Cocomat Pro */
  --font-family: 'Cocomat Pro', 'Montserrat', 'Poppins', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s ease;
}

/* === Global Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Override body overflow for homepage only */
body.homepage {
  overflow: hidden;
  height: 100vh;
}

html {
  scroll-behavior: smooth;
}

/* === Custom Cursor Follower === */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-teal));
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, left 0.15s ease, top 0.15s ease;
  box-shadow: 0 0 10px rgba(0, 178, 92, 0.6);
}

/* === Navbar Styling === */
.navbar {
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
  z-index: 1000;
}

/* Logo white filter for homepage */
.navbar-brand img.logo-white {
  filter: brightness(0) invert(1);
}

.navbar-brand img {
  height: 40px;
  width: auto;
  transition: var(--transition-smooth);
}

/* Transparent Navbar (Initial State) */
.navbar-transparent {
  background-color: transparent !important;
  box-shadow: none;
}

/* Scrolled Navbar (After Scroll) */
.navbar.scrolled {
  background-color: rgba(25, 103, 181, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.navbar.scrolled .navbar-brand img.logo-white {
  filter: brightness(0) invert(1);
  /* Keep logo white on scroll if logo-white class is present */
}

.navbar-nav .nav-link {
  color: var(--color-white) !important;
  font-weight: 500;
  margin-left: 1.5rem;
  transition: var(--transition-smooth);
  position: relative;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover {
  color: var(--color-mint) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-teal) 100%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
  border-color: var(--color-white);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === Fullscreen Hero Section === */
.hero-fullscreen {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dynamic Background Slideshow */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/slide-1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-background.fade-out {
  opacity: 0;
}

/* Gradient Overlay - Dark Navy Blue */
.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.75) 0%, rgba(15, 35, 60, 0.75) 100%);
  z-index: 1;
}

/* Hero Content Wrapper */
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
}

/* Tagline - Minimalist Chip/Badge */
.hero-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  margin-bottom: 1.5rem;

  /* Chip/Badge styling */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px);
}

.tagline-icon {
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Main Headline - Larger, bolder, cleaner */
.hero-headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-mint) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Description - More compact */
.hero-description {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* === Buttons - More compact and professional === */
.btn-custom {
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: capitalize;
  letter-spacing: 0.2px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-arrow {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.btn-custom:hover .btn-arrow {
  transform: translateX(5px);
}

/* Primary Button (Green Outline - No Fill) */
.btn-primary-custom {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}

.btn-primary-custom:hover {
  background: rgba(0, 178, 92, 0.15);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 178, 92, 0.25);
  color: var(--color-white);
}

/* Outline Button (White) */
.btn-outline-custom {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
  margin-bottom: 3.5rem;
}

/* === Statistics Section - More compact === */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0;
  animation: fadeInUp 0.8s ease 1s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--color-white);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
}

/* Clients Section - More compact */
.stat-clients {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label-top {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.client-avatars {
  display: flex;
  gap: -8px;
  margin-left: -4px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal));
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Circular Badge (Right Side) - Smaller === */
.hero-badge-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: fadeInRight 1s ease 1.2s both;
}

.circle-badge {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-badge.rotating {
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.circular-text {
  width: 100%;
  height: 100%;
}

.circular-text text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}

.badge-center {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  animation: pulse 2s ease-in-out infinite;
}

.badge-center svg {
  width: 22px;
  height: 22px;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* === Footer === */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Responsive Breakpoints === */

/* Tablet (992px and below) */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .btn-custom {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .hero-cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
  .hero-content-wrapper {
    padding: 1rem;
  }

  .hero-headline {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .client-avatars .avatar {
    width: 35px;
    height: 35px;
  }
}

/* === Utility Classes === */
.text-primary-custom {
  color: var(--color-primary);
}

.text-secondary-custom {
  color: var(--color-secondary);
}

.bg-primary-custom {
  background-color: var(--color-primary);
}

.bg-secondary-custom {
  background-color: var(--color-secondary);
}

/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

/* === Hero About Section === */
.hero-about {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/nosotros-1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0 4rem;
}

.hero-about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 39, 84, 0.65);
  z-index: 1;
}

.hero-about-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.breadcrumb-nav {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.breadcrumb-nav a {
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb-nav a:hover {
  color: var(--color-mint);
}

.hero-about-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-about-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* === Ticker/Marquee === */
.ticker-wrapper {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  padding: 1.25rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 178, 92, 0.15);
}

.ticker {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-content span {
  display: inline-block;
  padding: 0 3rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* === Stats Section === */
.stats-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number-large {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-plus {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: inline;
}

.stat-label-large {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gray);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* === Mission & Vision Section === */
.mission-vision-section {
  padding: 5rem 0;
  background: #F8F9FA;
}

.content-card {
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: var(--transition-smooth);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.section-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* === Values Section === */
.values-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.section-header {
  margin-bottom: 3rem;
}

.section-title-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
}

.value-card {
  padding: 2rem;
  background: #F8F9FA;
  border-radius: 12px;
  border: 1px solid rgba(25, 103, 181, 0.1);
  transition: var(--transition-smooth);
  height: 100%;
}

.value-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 178, 92, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.value-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* === Capabilities Section === */
.capabilities-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0A192F 0%, #1A2F47 100%);
  color: var(--color-white);
}

.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

.capabilities-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.capabilities-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.capability-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.capability-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-secondary);
  transform: translateX(5px);
}

.capability-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.capability-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.capability-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* === Responsive Adjustments for About Page === */
@media (max-width: 768px) {
  .hero-about-title {
    font-size: 2.5rem;
  }

  .stat-number-large {
    font-size: 3rem;
  }

  .section-title-main {
    font-size: 2rem;
  }

  .capabilities-title {
    font-size: 2rem;
  }

  .capability-item {
    flex-direction: column;
    text-align: center;
  }

  .capability-icon {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-about {
    padding: 4rem 0 3rem;
  }

  .hero-about-title {
    font-size: 2rem;
  }

  .hero-about-subtitle {
    font-size: 0.95rem;
  }

  .stat-number-large {
    font-size: 2.5rem;
  }

  .stat-label-large {
    font-size: 0.85rem;
  }

  .experience-badge-dark .stat-number-large {
    font-size: 2.25rem;
  }
}

/* === Section 7: Experience & Values Overlap Section V2 === */
.experience-values-section {
  padding: 8rem 0;
  background: var(--color-white);
  overflow: hidden;
}

.image-grid-overlap-v2 {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.img-wrapper-1 {
  width: 80%;
  z-index: 1;
  transition: transform 0.4s ease;
}

.img-wrapper-1 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-wrapper-2 {
  position: absolute;
  right: 0;
  top: 180px;
  width: 60%;
  z-index: 3;
  transition: transform 0.4s ease;
}

.img-wrapper-2 img {
  width: 100%;
  border-radius: 20px;
  border: 10px solid var(--color-white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-badge-dark {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #183551;
  color: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  width: 180px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 4;
  transition: transform 0.4s ease;
}

/* Hover effects */
.img-wrapper-1:hover img,
.img-wrapper-2:hover img {
  filter: brightness(1.05);
  box-shadow: 0 15px 45px rgba(0, 178, 92, 0.15);
}

.experience-badge-dark:hover {
  background: #1E3F61;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.experience-badge-dark .badge-icon {
  width: 44px;
  height: 44px;
  background: var(--color-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #0A192F;
}

.experience-badge-dark .stat-number-large {
  color: var(--color-white);
  font-size: 2.75rem;
  margin-bottom: 0.25rem;
}

.experience-badge-dark p {
  font-size: 0.75rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.8;
}

.value-item-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.value-item-detail {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.value-item-detail:last-child {
  border-bottom: none;
}

.value-item-detail .check-icon {
  width: 28px;
  height: 28px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 178, 92, 0.2);
}

.value-item-detail h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 0.5rem;
}

.value-item-detail p {
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* === Section 8: Approach Section (Mint Background) === */
.approach-section {
  padding: 6rem 0;
  background: #E8F5E9;
  /* Menta suave */
}

.approach-wrapper {
  background: var(--color-white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.approach-image-container {
  height: 100%;
  min-height: 450px;
}

.approach-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-content-card {
  padding: 4.5rem;
}

.approach-content-card .btn-primary-custom {
  color: #333;
}

.approach-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.approach-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.approach-mini-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-icon {
  width: 44px;
  height: 44px;
  background: #F1F8F1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-secondary);
  border: 1px solid rgba(0, 178, 92, 0.1);
}

.approach-mini-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0A192F;
  margin: 0;
}

.approach-mini-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Responsive fixes for new sections */
@media (max-width: 992px) {
  .approach-content-card {
    padding: 3rem;
  }

  .approach-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .experience-values-section {
    padding: 5rem 0;
  }

  .image-grid-overlap-v2 {
    min-height: 400px;
    margin-bottom: 3rem;
  }

  .img-wrapper-1 {
    width: 90%;
  }

  .img-wrapper-1 img {
    height: 200px;
  }

  .img-wrapper-2 {
    top: 120px;
    width: 70%;
  }

  .experience-badge-dark {
    width: 150px;
    padding: 1rem;
  }
}

/* === FAQ Section === */
.faq-section {
  padding: 6rem 0;
  background: #fdfdfd;
}

.custom-faq-accordion .accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 1rem;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.custom-faq-accordion .accordion-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.custom-faq-accordion .accordion-button {
  padding: 1.5rem;
  font-weight: 600;
  color: #0A192F;
  background: var(--color-white);
  border-radius: 15px !important;
  box-shadow: none;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: none;
}

.custom-faq-accordion .accordion-button::after {
  background-size: 1rem;
}

.custom-faq-accordion .accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: #555;
  line-height: 1.7;
  background: var(--color-white);
}

/* === Expanded Footer === */
.footer-expanded {
  background-color: #0A192F;
  color: rgba(255, 255, 255, 0.7);
  padding: 6rem 0 2rem;
  border-radius: 50px 50px 0 0;
  margin-top: 4rem;
}

.footer-logo {
  height: 45px;
}

.footer-about-text {
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

.footer-title-sm {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 50px 0 0 50px;
}

.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-mint-action {
  background-color: var(--color-mint);
  border: none;
  color: #0A192F;
  border-radius: 0 50px 50px 0;
  padding: 0 1.5rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.btn-mint-action:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.text-mint {
  color: var(--color-mint);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 4rem 0 2rem;
}

.social-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .footer-expanded {
    padding: 4rem 0 2rem;
    border-radius: 30px 30px 0 0;
  }
}

/* === Services Page: Intelligent Cards === */
.services-grid-section {
  background: #fcfcfc;
}

.service-card-intelligent {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 400px;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 0.6s ease;
  transform: scale(1.1);
  z-index: 1;
}

.service-card-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 30%, #0A192F 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.service-icon-circle {
  width: 50px;
  height: 50px;
  background: #F1F8F1;
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 178, 92, 0.1);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A192F;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
  line-height: 1.3;
}

.service-card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  opacity: 1;
  transition: all 0.4s ease;
}

.service-card-arrow {
  margin-top: auto;
  font-size: 1.5rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}

/* Hover Intelligent Card */
.service-card-intelligent:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-intelligent:hover .service-card-bg {
  opacity: 1;
  transform: scale(1);
}

.service-card-intelligent:hover .service-card-title,
.service-card-intelligent:hover .service-card-text {
  color: var(--color-white);
}

.service-card-intelligent:hover .service-icon-circle {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: transparent;
}

.service-card-intelligent:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-mint);
}

/* === Section: Dark "What We Do" === */
.what-we-do-dark {
  background: #0A192F;
  border-radius: 40px;
  margin: 0 2rem;
  padding: 6rem 0;
}

.btn-mint-light {
  background-color: var(--color-mint);
  color: #0A192F;
  padding: 1rem 2rem;
  border-radius: 50px;
}

.stat-highlight span {
  display: block;
}

.process-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0, 178, 92, 0.1);
  color: var(--color-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid rgba(0, 178, 92, 0.2);
}

/* === Section: Why Choose Us === */
.image-grid-why {
  position: relative;
}

.img-main-large {
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.floating-badge-track {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 2rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #0A192F;
  /* Navy Blue for readability */
}

.floating-badge-track p {
  color: #0A192F;
}

.why-choose-us .btn-primary-custom {
  color: #333 !important;
  border-color: var(--color-secondary);
}

.why-choose-us .btn-primary-custom:hover {
  color: var(--color-white) !important;
  background-color: var(--color-secondary);
}

.avatar-group {
  display: flex;
}

.avatar {
  width: 30px;
  height: 30px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  margin-right: -10px;
  font-size: 0.6rem;
}

.mini-icon-green {
  width: 24px;
  height: 24px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

@media (max-width: 992px) {
  .what-we-do-dark {
    margin: 0 1rem;
    padding: 4rem 1.5rem;
    border-radius: 20px;
  }
}

/* === Contact Page Styles === */
.contact-main-section {
  background: #fdfdfd;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #F1F8F1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(0, 178, 92, 0.1);
}

.contact-form-card {
  background: var(--color-white);
  padding: 3.5rem;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form-card h3 {
  color: #0A192F;
}

.form-floating>label {
  color: #666;
}

.form-floating>.form-control {
  color: #333;
}

.form-floating>.form-control:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 0.25rem rgba(0, 178, 92, 0.1);
}

.bg-navy-custom {
  background-color: #0A192F;
}

.verification-box {
  border: 1px dashed rgba(0, 0, 0, 0.1);
  color: #333;
}

.verification-box p {
  color: #333;
}

.why-choose-us .btn-primary-custom,
.contact-form-card .btn-primary-custom {
  color: #333 !important;
  border-color: var(--color-secondary);
}

.why-choose-us .btn-primary-custom:hover,
.contact-form-card .btn-primary-custom:hover {
  color: var(--color-white) !important;
  background-color: var(--color-secondary);
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 2rem;
  }
}

/* === FULL RESPONSIVE FIXES (Final Polish & Hardened) === */

/* Global Overflow Protection */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
}

/* Base Mobile Fixes (Tablets & Phones) */
@media (max-width: 991px) {
  .hero-fullscreen {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .image-grid-overlap-v2 {
    min-height: auto;
    margin-bottom: 3rem;
  }

  .img-wrapper-1,
  .img-wrapper-2 {
    position: relative !important;
    width: 100% !important;
    top: 0 !important;
    right: 0 !important;
    margin-bottom: 1rem;
  }

  .experience-badge-dark {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin-top: -20px;
  }
}

/* Smartphone Specific Fixes (iPhone/Android) */
@media (max-width: 767px) {

  /* Hero Homepage */
  .hero-fullscreen {
    padding-top: 100px !important;
    /* Force space for navbar */
    align-items: flex-start !important;
    /* Start from top, not center */
  }

  .hero-content-wrapper {
    padding-top: 2rem !important;
  }

  .hero-headline {
    font-size: 2rem !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
  }

  .hero-tagline {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.75rem !important;
  }

  .hero-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-content-wrapper .btn-custom {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.8rem !important;
  }

  /* Internal Hero */
  .hero-about {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .hero-about-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }

  .hero-about-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  /* Stats Section */
  .stat-number-large {
    font-size: 2.25rem !important;
  }

  .stat-plus {
    font-size: 1.8rem !important;
  }

  .stat-label-large {
    font-size: 0.8rem !important;
  }

  /* Ticker */
  .ticker-content span {
    padding: 0 1.5rem !important;
    font-size: 0.85rem !important;
  }

  /* Sections Spacing */
  section {
    padding: 3.5rem 0 !important;
  }

  /* Cards Styling */
  .content-card,
  .approach-content-card {
    padding: 1.5rem !important;
  }

  .section-title-main {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  /* Footer Adjustment */
  .footer-expanded {
    padding: 3.5rem 0 1.5rem !important;
    border-radius: 30px 30px 0 0 !important;
  }

  .footer-title {
    margin-bottom: 1rem !important;
    font-size: 1.15rem !important;
  }
}

/* Extreme Mobile (Small Androids/iPhones) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem !important;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .btn-custom {
    font-size: 0.75rem !important;
  }
}

/* Navbar Mobile Polish */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #0A192F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 10px;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0 !important;
  }
}