@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-color: #27A341;
  /* From Logo Green */
  --primary-dark: #1e8433;
  --secondary-color: #F16122;
  /* From Logo Orange */
  --secondary-dark: #d5531b;

  /* Neutral Colors */
  --text-dark: #1A1A1A;
  --text-muted: #555555;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --border-color: #E2E8F0;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

body {
  font-family: var(--font-body);
  color: var(--text-muted);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* Utilities */
.text-primary-theme {
  color: var(--primary-color) !important;
}

.text-secondary-theme {
  color: var(--secondary-color) !important;
}

.bg-primary-theme {
  background-color: var(--primary-color) !important;
}

.bg-secondary-theme {
  background-color: var(--secondary-color) !important;
}

.bg-light-theme {
  background-color: var(--bg-light) !important;
}

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

.bg-gray {
  background-color: #f4f7f6;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-secondary-custom:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Section Titles */
.section-title {
  margin-bottom: 3rem;
}

.section-title .pre-title {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
  font-family: var(--font-heading);
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

.section-title h2 span {
  color: var(--primary-color);
}

/* Header */
.navbar-custom {
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar-custom.sticky {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand img,
.header-logo {
  height: 95px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  padding: 10px 15px !important;
  transition: var(--transition-fast);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.8)), url('../images/home-banner.png') center/cover;
  color: var(--white);
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 4rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-section h1 span {
  color: var(--primary-color);
}

.hero-section p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* Features/Cards */
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  height: 100%;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(39, 163, 65, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: var(--white);
}

/* Process Timeline */
.process-step {
  text-align: center;
  position: relative;
  padding: 20px;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 60px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: dashed 2px var(--border-color);
  z-index: 1;
}

.col-lg-3:last-child .process-step::after {
  display: none;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
}

/* CTA Section */
.cta-section {
  background: var(--primary-color) url('https://www.transparenttextures.com/patterns/cubes.png');
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section .pre-title {
  color: var(--white);
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  height: 60px;
  width: auto;
  background-color: var(--white);
  padding: 8px 15px;
  border-radius: 5px;
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-color);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* FAB */
.fab-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition-normal);
  text-decoration: none;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }

  .process-step::after {
    display: none;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .navbar-brand img {
    height: 60px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 80px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-btns {
    justify-content: center;
  }

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

/* Authority Logos */
.authority-logo {
  filter: grayscale(100%) opacity(70%);
  transition: var(--transition-normal);
  max-height: 80px;
  width: auto;
  margin: 0 auto;
}

.authority-logo:hover {
  filter: grayscale(0%) opacity(100%);
}

/* Partner Logo Styling */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 120px;
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 10px;
  transition: var(--transition-normal);
}

.logo-wrapper:hover {
  background-color: #e8ecea;
  transform: translateY(-5px);
}

.partner-logo {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(80%);
  transition: var(--transition-normal);
}

.logo-wrapper:hover .partner-logo {
  filter: grayscale(0%) opacity(100%);
}