/* Base Variables & Reset */
:root {
  --primary-color: #121433;
  /* Dark bluish/purple from authority */
  --primary-light: #1f2552;
  --secondary-color: #27a341;
  /* Green for highlight/nature/safety */
  --secondary-hover: #1f8534;
  --text-main: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --border-color: #e2e8f0;
  --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);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;

  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.align-center {
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

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

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.top-bar {
  background-color: var(--primary-color);
  color: #fff;
  padding: 8px 0;
  font-size: 0.875rem;
}

.top-bar .contact-info {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.top-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--secondary-color);
}

.main-nav {
  padding: 15px 0;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--secondary-color);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  /* Offset for header */
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(18, 20, 51, 0.95) 0%, rgba(18, 20, 51, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.badge-primary {
  background-color: var(--secondary-color);
  color: white;
  border: none;
}

.hero-content h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-buttons .btn-outline {
  border-color: white;
  color: white;
}

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

/* Section Shared */
.section-header {
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 4px;
  line-height: 1.1;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.section-subtitle {
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

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

.pillar-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.pillar-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.pillar-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--primary-color);
  color: white;
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--secondary-color);
}

.experience-badge .text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Trainings Section */
.category-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  display: inline-block;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(39, 163, 65, 0.3);
}

.card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Services */
.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-group {
  background: white;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(39, 163, 65, 0.1);
  color: var(--secondary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-group h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-group>p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-list i {
  color: var(--secondary-color);
  margin-top: 3px;
}

/* Process Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  background: white;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.step-num {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 5px rgba(26, 30, 74, 0.1);
}

.step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Differentials */
.diff-text {
  flex: 1;
  min-width: 300px;
}

.diff-image {
  flex: 1;
  min-width: 300px;
}

.diff-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
}

.diff-list i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.stars {
  color: #fbbf24;
  margin-bottom: 16px;
  font-size: 1.2rem;
  display: flex;
  gap: 4px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 24px;
}

.testimonial-card .author strong {
  display: block;
  color: var(--primary-color);
}

.testimonial-card .author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1549637642-90187f64f420?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 20, 51, 0.9);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.cta-content p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 12px;
}

.footer-info h3 {
  color: white;
  font-size: 1.2rem;
}

.footer-info p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

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

.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.footer-contact ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: #94a3b8;
  font-size: 0.95rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 2px;
}

.footer-contact a {
  color: white;
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-jobs p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-jobs .btn-outline {
  border-color: #94a3b8;
  color: white;
}

.footer-jobs .btn-outline:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .experience-badge {
    bottom: 20px;
    left: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hidden-mobile {
    display: none !important;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 70vh;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}