/* =========================
   GLOBAL RESETS / CONTAINERS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9fafb;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

/* =========================
   TOP BAR
========================= */
.top-bar {
  background: #1e40af;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .contact-info a {
  color: #fff;
  margin-right: 15px;
  text-decoration: none;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 2px 10px;
}

.search-box i {
  color: #6b7280;
  margin-right: 5px;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 0.9rem;
}

.social-links a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f97316;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #1e40af;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu .active {
  color: #f97316;
}

/* =========================
   MOBILE NAVBAR
========================= */
.hamburger {
  display: none; /* hidden on desktop */
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    left: 0;
    right: 0;
    top: 60px;
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu li {
    margin: 10px 0;
    text-align: center;
  }
}

.hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: #1e40af;
  margin: 5px 0;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   HOMEPAGE HERO / SLIDER
========================= */
.hero {
  position: relative;
  padding-top: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  color: #fff;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: #f97316;
}

.hero-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: #f97316;
  color: #fff;
}

.btn-primary:hover {
  background: #d65b0f;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #1e40af;
}

/* =========================
   HOMEPAGE SECTIONS
========================= */
section img {
  max-width: 100%;
  height: auto;
  display: block;
}

.about-content,
.services-grid,
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Stats */
.stat-number {
  font-size: 2rem;
  color: #f97316;
}

/* =========================
   HOMEPAGE BADGES & HIGHLIGHTS
========================= */
.section-badge {
  display: inline-block;
  background-color: #10b981; /* green */
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  text-align: center;
}

/* Optional smaller badges in features or highlights */
.feature-badge {
  display: inline-block;
  background-color: #10b981;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 15px;
  margin-bottom: 10px;
  text-align: center;
}

/* =========================
   STATS / NUMBERS BOXES
========================= */
.stats-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.stat-item {
  text-align: center;
  background: #f0fdf4; /* light green background for homepage stats */
  padding: 20px;
  border-radius: 12px;
  flex: 1 1 150px;
  min-width: 120px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #10b981; /* green number for stats */
}

.stat-label {
  font-size: 0.9rem;
  color: #374151;
  margin-top: 5px;
}

/* =========================
   FEATURE BOXES / CALLOUTS
========================= */
.feature-item {
  display: flex;
  align-items: center;
  background-color: #f0fdf4; /* light green background */
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-item i {
  color: #10b981; /* green icon */
  margin-right: 10px;
  font-size: 1.5rem;
}

/* =========================
   BUTTON / CALL-TO-ACTION HIGHLIGHTS
========================= */
.btn-highlight {
  background-color: #10b981; /* green */
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-highlight:hover {
  background-color: #0f766e; /* slightly darker green */
}

/* =========================
   BACK TO TOP BUTTON
========================= */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  background-color: #1E40AF;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#backToTop:hover {
  background-color: #F97316;
}

/* =========================
   FOOTER
========================= */
.footer {
  background-color: #1E293B;
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #F97316;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #F97316;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background-color: #111827;
}

.footer-logo img {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* =========================
   RESPONSIVE HOMEPAGE
========================= */
@media (max-width: 1024px) {
  .about-content,
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-logo img {
    max-width: 100px;
  }
}

/* =========================
   FOUNDER-PAGE STYLES
   (No homepage interference)
========================= */
.founder-hero {
  position: relative;
  height: 50vh;
  background: url('../img/founder-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.founder-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.founder-hero .hero-content {
  position: relative;
  z-index: 2;
}

.founder-hero .hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
}

.founder-hero .hero-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
}

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

.founder-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.founder-image {
  flex: 1 1 300px;
  max-width: 400px;
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.founder-text {
  flex: 2 1 500px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

.founder-text h2.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1E40AF;
}

.founder-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #F97316;
}

.founder-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* =========================
   RESPONSIVE FOUNDER PAGE
========================= */
@media (max-width: 1024px) {
  .founder-content {
    flex-direction: column;
  }
  .founder-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .founder-hero .hero-title {
    font-size: 2.2rem;
  }
  .founder-hero .hero-description {
    font-size: 1rem;
  }
  .founder-text h2.section-title {
    font-size: 2rem;
  }
  .founder-text h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .founder-text {
    padding: 0 10px;
  }
}