/**
* Template Name: Ochola Jakarondo & Associates
* Version: 6.0 - Clean Professional Theme
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
:root {
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --green: #10b981;
  --green-dark: #059669;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.5;
  font-size: 16px;
  /* CRITICAL FIX: Add padding for fixed header */
  padding-top: 130px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

/* Responsive padding for header */
@media (max-width: 991px) {
  body {
    padding-top: 120px;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
  body {
    padding-top: 140px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

@media (max-width: 576px) {
  body {
    padding-top: 160px;
  }
  h1 { font-size: 1.75rem; }
}

a {
  color: var(--green);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover { color: var(--green-dark); }

/*--------------------------------------------------------------
# Header - Fixed
--------------------------------------------------------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.topbar {
  background: var(--blue);
  color: white;
  padding: 8px 0;
  font-size: 13px;
  width: 100%;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar .contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar .contact-info i {
  margin-right: 5px;
}
.topbar .contact-info a, 
.topbar .contact-info span {
  color: white;
}
.topbar .social-links a {
  color: rgba(255,255,255,0.8);
  margin-left: 15px;
}
.topbar .social-links a:hover {
  color: white;
}

/* Responsive topbar */
@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    text-align: center;
  }
  .topbar .contact-info {
    justify-content: center;
  }
  .topbar .social-links {
    margin-top: 5px;
  }
}

.branding {
  padding: 12px 0;
}
.branding .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo h1 {
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
  color: var(--text-dark);
}
.logo h1 span {
  font-size: 10px;
  color: var(--gold);
  display: block;
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.navmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}
.navmenu a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
}
.navmenu a:hover,
.navmenu .active {
  color: var(--green);
}
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navmenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 80px 20px 30px;
    transition: right 0.3s ease;
    z-index: 999;
  }
  .navmenu.active {
    right: 0;
  }
  .navmenu ul {
    flex-direction: column;
    gap: 0;
  }
  .navmenu li {
    border-bottom: 1px solid var(--border);
  }
  .navmenu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
  }
  .navmenu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .navmenu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  body.menu-open {
    overflow: hidden;
  }
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-primary {
  background: var(--green);
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  border: 2px solid var(--green);
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--green);
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  border: 1px solid var(--green);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--green);
  color: white;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}
.hero .hero-content {
  padding-right: 30px;
}
.trust-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.badge-item {
  background: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.badge-item i {
  color: var(--green);
  margin-right: 6px;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: var(--green);
}
.hero-description {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.stat-item h3 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--green);
}
.stat-item p {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.emergency-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow);
}
.emergency-icon {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emergency-icon i {
  color: white;
  font-size: 18px;
}
.emergency-info small {
  font-size: 11px;
  color: var(--text-gray);
  display: block;
}
.emergency-info strong {
  font-size: 16px;
  color: var(--green);
}
.hero-visual .image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .hero {
    padding: 30px 0 50px;
  }
  .hero .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  .trust-badges {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .emergency-contact {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    gap: 20px;
  }
  .stat-item h3 {
    font-size: 1.4rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.section {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  margin-bottom: 12px;
}
.section-title h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  margin: 15px auto 0;
  border-radius: 3px;
}
.section-title p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-4, .col-md-6, .col-lg-3, .col-lg-6, .col-lg-5, .col-lg-7, .col-lg-8 {
  padding: 0 15px;
}

.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (max-width: 991px) {
  .col-lg-4, .col-lg-3, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .section-title {
    margin-bottom: 35px;
  }
  .col-lg-4, .col-md-6, .col-lg-3, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.service-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.service-icon {
  width: 70px;
  height: 70px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.service-icon i {
  font-size: 28px;
  color: var(--green);
}
.service-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.service-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.light-background {
  background: var(--bg-light);
}
.about-content h2 {
  margin-bottom: 15px;
}
.lead {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 20px;
}
.stats-grid {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-gray);
}
.image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}
.image-container:hover img {
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .stats-grid {
    justify-content: center;
  }
  .about-content {
    margin-bottom: 40px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Service Cards & Feature Box
--------------------------------------------------------------*/
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card i {
  font-size: 2.2rem;
  color: var(--green);
  margin-bottom: 15px;
  display: block;
}
.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.feature-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.feature-box i {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 15px;
  display: block;
}
.feature-box h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.feature-box p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/*--------------------------------------------------------------
# Feature List
--------------------------------------------------------------*/
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.feature-list i {
  color: var(--green);
  font-size: 1rem;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
}
.testimonial-item .stars {
  color: var(--gold);
  margin-bottom: 15px;
}
.testimonial-item p {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 20px;
}
.testimonial-item .profile {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.testimonial-item .profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-item .profile h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}
.testimonial-item .profile span {
  font-size: 0.75rem;
  color: var(--text-gray);
}
.swiper {
  width: 100%;
  padding: 20px 40px;
}
.swiper-pagination-bullet-active {
  background: var(--green) !important;
}
.swiper-button-next, .swiper-button-prev {
  color: var(--green);
  background: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 14px;
}

@media (max-width: 768px) {
  .swiper {
    padding: 10px 15px;
  }
  .swiper-button-next, .swiper-button-prev {
    display: none;
  }
}

/*--------------------------------------------------------------
# Call to Action
--------------------------------------------------------------*/
.call-to-action {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  padding: 50px 0;
}
.call-to-action h3 {
  color: white;
  margin-bottom: 8px;
}
.call-to-action p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}
.call-to-action .btn-primary {
  background: white;
  color: var(--blue);
}
.call-to-action .btn-primary:hover {
  background: #f8fafc;
  color: var(--blue-dark);
}
@media (max-width: 991px) {
  .call-to-action {
    text-align: center;
  }
  .call-to-action .text-lg-end {
    text-align: center !important;
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-16 {
  background: var(--bg-light);
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.footer-16 .sitename {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}
.footer-16 .sitename span {
  font-size: 10px;
  color: var(--gold);
}
.brand-description {
  color: var(--text-gray);
  font-size: 14px;
  margin: 20px 0;
  line-height: 1.6;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 13px;
  flex-wrap: wrap;
}
.contact-item i {
  color: var(--green);
  font-size: 16px;
}
.nav-column h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--text-gray);
  font-size: 13px;
}
.footer-nav a:hover {
  color: var(--green);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-gray);
}
.legal-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.legal-links a {
  color: var(--text-gray);
}
.legal-links a:hover {
  color: var(--green);
}
.credits {
  font-size: 12px;
}

@media (max-width: 991px) {
  .footer-16 .row {
    flex-direction: column;
  }
  .brand-section {
    text-align: center;
    margin-bottom: 40px;
  }
  .brand-section .contact-item {
    justify-content: center;
  }
  .footer-nav-wrapper {
    text-align: center;
  }
  .legal-links {
    justify-content: center;
    margin-top: 15px;
  }
  .footer-bottom .copyright {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-16 {
    padding: 40px 0 0;
  }
  .footer-nav-wrapper .row > div {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 25px;
  }
}

@media (max-width: 576px) {
  .footer-nav-wrapper .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.page-title {
  padding: 40px 0 30px;
  background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}
.page-title .heading-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.page-title .breadcrumbs {
  background: transparent;
  padding: 15px 0;
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}
.page-title .breadcrumbs li {
  color: var(--text-gray);
  font-size: 14px;
}
.page-title .breadcrumbs a {
  color: var(--green);
}

@media (max-width: 768px) {
  .page-title {
    padding: 30px 0 20px;
  }
  .page-title .heading-title {
    font-size: 1.8rem;
  }
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#preloader:after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-5 { margin-top: 40px; }
.mt-3 { margin-top: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-0 { margin-bottom: 0; }
.ms-4 { margin-left: 20px; }
.ms-1 { margin-left: 5px; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.g-4 { gap: 20px; }
.gy-4 { row-gap: 20px; }

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