/* Native Ventures - Vibrant Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Vibrant Nature Palette */
  --primary-color: #059669;
  /* Emerald 600 */
  --primary-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --primary-hover: #047857;

  --secondary-color: #34D399;
  /* Emerald 400 */
  --accent-color: #F59E0B;
  /* Amber 500 */
  --accent-gradient: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);

  --bg-light: #F0FDF4;
  /* Mint Cream */
  --bg-white: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-dark: #064E3B;
  /* Deep Emerald */

  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;

  /* Components */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(16, 185, 129, 0.1), 0 4px 6px -2px rgba(16, 185, 129, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  /* Fluid typography: scales subtly between 14px and 16px */
  font-size: clamp(14px, 1vw + 12px, 16px);
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
    /* Base font size reduction for tablets/mobile */
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
    /* Further reduction for smaller phones */
  }
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 1s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Navbar - Glassmorphism */
.navbar {
  transition: all 0.4s ease;
  padding: 1.2rem 0;
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.nav-link {
  font-weight: 600;
  color: #fff !important;
  font-size: 0.95rem;
  margin: 0 0.8rem;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
  color: var(--text-dark) !important;
  text-shadow: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* API Buttons */
.btn {
  border-radius: 50px;
  /* Fully rounded */
  padding: 0.8rem 2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: white;
  background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.8) 0%, rgba(16, 185, 129, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 4rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Features / Info Cards */
.feature-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--bg-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: inset 0 0 0 0 var(--primary-color);
}

.feature-card:hover .icon-box {
  background: var(--primary-gradient);
  color: white;
  transform: rotateY(360deg);
}

/* Process Section */
.step-number {
  font-size: 5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -2rem;
  position: relative;
  z-index: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .step-number {
  transform: scale(1.2);
}

/* Project Cards */
.card {
  border: none;
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  background: var(--bg-white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  transition: transform 0.6s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.badge {
  padding: 0.5em 1em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 6rem 0 3rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--primary-gradient);
}

footer a {
  color: #D1FAE5;
  text-decoration: none;
  transition: all 0.3s;
}

footer a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

/* Utilities */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-light-custom {
  background-color: var(--bg-light) !important;
}

.section-padding {
  padding: 8rem 0;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
}

/* Scroll Animation Classes (to be triggered by JS) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Location Badges */
.location-badge {
  transition: all 0.3s ease;
  cursor: default;
}

.location-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
  background-color: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.location-badge:hover i {
  color: white !important;
}

/* ========================================================
   RESPONSIVE DESIGN & TYPOGRAPHY ENHANCEMENTS 
   ======================================================== */

/* Custom Overrides */
.hero-content h1 {
  line-height: 1.2;
}

.step-number {
  font-size: clamp(3.5rem, 8vw, 5rem);
}

/* Responsive Scaling for smaller screens */
@media (max-width: 991px) {
  .section-padding {
    padding: 5rem 0;
  }

  .hero-section {
    min-height: 60vh;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 3rem 0;
  }

  .hero-section,
  .carousel-item {
    min-height: 50vh !important;
  }
}