html, body {
  overflow-x: hidden;
  width: 100%;
}
html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #ec4415;
  --bg-light: #ffffff;
  --text-light: #000000;
  --bg-dark: #121212;
  --text-dark: #ffffff;
/* hjhjjj */
}
.logo-img {
  max-height: 50px;
  transform: scale(1.8);       /* Zoom in logo */
  transform-origin: center;
  margin-top: 12px;  
  image-rendering: auto;
  margin-left: 32px; 
  margin-bottom: 15px; 
  margin-right: 30px;
   /* Keep it centered */   /* Keep it centered */
}

.navbar .brand {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

#typed-about-heading {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: 600;
  min-height: 3.5rem; /* Prevent flickering or shift */
  text-align: center;
}

/* =====================
    Base Theme Modes
===================== */
body.light-mode {
  background-color: var(--bg-light);
  color: var(--text-light);
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* =====================
    Transitions
===================== */
body, nav, nav a, .why-choose-us, .site-footer, .team-member, .team-member h3, .team-member p, #mission p, #home p:first-of-type {
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* =====================
    Toggle Button
===================== */
#theme-toggle {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  padding: 6px 12px;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
}

#theme-toggle:hover {
  transform: scale(1.05);
}

.navbar .nav-links li button {
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  color: inherit;
}


/* =====================
    Navbar
===================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--primary-color);
  z-index: 1000;
  position: sticky;
  top: 0;
}

.navbar .brand {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar a {
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--primary-color);
}

/* Theme-specific Navbar */
body.light-mode nav {
  background-color: var(--bg-light);
  color: var(--text-light);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.light-mode nav a {
  color: var(--text-light);
}

body.dark-mode nav {
  background-color: var(--bg-dark);
  color: var(--text-dark);
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

body.dark-mode nav a {
  color: var(--text-dark);
}

/* =====================
    Hamburger Menu
===================== */
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: inherit;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 10px 0;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar a {
    margin: 8px 0;
  }

  .navbar div {
    margin-top: 10px;
  }
}

/* Ensure Outfit Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

body {
  font-family: 'Outfit', sans-serif;
}

/* Footer Base */
.saas-footer {
  background-color: #ec4415;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  padding: 40px 20px 10px;
  transition: all 0.3s ease;
z-index: 9999;
}

body.light-mode .saas-footer {
  color: #000;
}

body.dark-mode .saas-footer {
  color: #fff;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-group {
  flex: 1 1 220px;
  min-width: 180px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}

.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-group ul li {
  margin-bottom: 8px;
}

.footer-group a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-group a:hover {
  color: #fff;
}

body.light-mode .footer-group a:hover {
  color: #000;
}

.footer-icons a {
  margin-right: 12px;
  font-size: 1.2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 25px;
  padding-top: 15px;
}

body.light-mode .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-group {
    flex: 1 1 100%;
  }

  .footer-icons a {
    margin: 0 10px;
  }
}
/* =====================
    General Layout
===================== */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* =====================
    Section & Typography
===================== */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center; /* This ensures the section content is centered */
}

h2 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center; /* Ensure h2 is also centered */
}

p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

body.light-mode p {
  color: var(--text-light);
}

/* Specific styling for Mission, Vision, and the first Welcome paragraph */
#mission p, #home p:first-of-type,#doc {
  padding: 25px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  line-height: 1.8;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center; /* Changed from left to center */
}

/* Light mode specific adjustments for mission/vision/first welcome paragraphs */
body.light-mode #mission p, body.light-mode #home p:first-of-type,#doc {
  background-color: #f9f9f9;
  color: var(--text-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* Dark mode specific adjustments for mission/vision/first welcome paragraphs */
body.dark-mode #mission p, body.dark-mode #home p:first-of-type {
  background-color: #1a1a1a;
  color: var(--text-dark);
  box-shadow: 0 4px 8px rgba(236, 68, 21, 0.15);
}

#mission p, #home p,#doc:first-of-type {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body.dark-mode #mission p:hover, body.dark-mode #home p:first-of-type:hover {
  box-shadow: 0 6px 12px rgba(236, 68, 21, 0.25);
}


/* =====================
    Buttons
===================== */
a.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 20px;
  transition: background-color 0.3s, color 0.3s;
}

a.button:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* =====================
    Team Section
===================== */
.team {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.team-member {
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  width: 280px;
  margin: 20px;
  text-align: center;
  border: 2px solid var(--primary-color);
  transition: background-color 0.3s, color 0.3s;
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.team-member h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.team-member p {
  font-size: 0.95rem;
  color: #aaa;
}

/* Light mode override */
body.light-mode .team-member {
  background-color: #fff;
  border: 2px solid var(--primary-color);
}

body.light-mode .team-member p {
  color: #555;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
   .hamburger {
    margin-right: 40px; /* Leaves space for theme toggle */
  }
}
/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.stats .stat h3 {
  font-size: 2rem;
  color: var(--primary-color);
}
.stats .stat p {
  margin-top: 5px;
  color: inherit;
}

/* Timeline */
.timeline ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.timeline ul li {
  position: relative;
  padding-left: 40px;
  margin: 20px 0;
}
.timeline ul li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 10px;
  height: 12px;
  width: 12px;
  background: var(--primary-color);
  border-radius: 50%;
}
.timeline ul li span {
  font-weight: bold;
  color: var(--primary-color);
}

/* Core Values Grid Styling */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}
.values-grid div {
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
  width: 150px;
  text-align: center;
   border: 2px solid #ec4415;
  box-shadow: 0 4px 10px rgba(236, 68, 21, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.values-grid div:hover {
  transform: scale(1.05);
}

/* Icon Styling */
.values-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  transition: filter 0.3s ease;
}

/* Theme-specific filters */
body.light-mode .values-grid img {
  filter: invert(100%); /* Keeps original white (invisible on light bg) */
}

body.dark-mode .values-grid img {
  filter: invert(0%); /* Inverts white to black in dark mode */
}

/* Theme background colors */
body.light-mode .values-grid div {
  background-color: #f5f5f5;
}

body.dark-mode .values-grid div {
  background-color: #1a1a1a;
}



body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0; /* increased to be visible */
  opacity: 0.2;
  pointer-events: none; /* allows clicks to pass through */
}

/* Light Mode Background */
body.light-mode .background-overlay {
  background-image: url('aboutUslight.png'); /* adjust path if needed */
}

/* Dark Mode Background */
body.dark-mode .background-overlay {
  background-image: url('aboutUsdark.png'); /* adjust path if needed */
}
#team {
  position: relative;
  z-index: 2;
}
.site-footer {
  position: relative;
  z-index: 2;
}
.values-grid {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 1.5rem;
    position: relative;
  }

  .brand {
    font-size: 1.4rem;
    margin-right: 15px;
  }

  .hamburger {
    display: block;
    font-size: 26px;
    cursor: pointer;
    margin-left: 0;
  }

  #menu-toggle {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: inherit;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    z-index: 99;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 10px 0;
  }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
  }

  .hamburger {
    font-size: 26px;
    cursor: pointer;
    display: block;
    color: inherit;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: inherit;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 10px 0;
  }
}




.gallery-section {
  text-align: center;
  padding: 40px 0;
  background: #ffffff;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gallery-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.gallery-slider {
  width: 100%;
  overflow: hidden;
}

.slide-track {
  display: flex;
  width: calc(450px * 28 + 20px * 28); /* 28 images total, plus margin */
  animation: scroll 100s linear infinite;
}

.slide-track img {
  flex: 0 0 auto;
  height: 300px;            /* Controls slider height */
  width: auto;              /* Keep aspect ratio */
  object-fit: contain;      /* Show full image without cropping */
  margin: 0 10px;
  border-radius: 12px;
  background-color: #ffffff;   /* Fills space if image has different aspect */
}

/* Keyframes */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Tablet */
@media (max-width: 1024px) {
  .slide-track {
    width: calc(350px * 28 + 20px * 28);
  }
  .slide-track img {
    width: 350px;
    height: 230px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .slide-track {
    width: calc(250px * 28 + 20px * 28);
  }
  .slide-track img {
    width: 250px;
    height: 170px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .slide-track {
    width: calc(180px * 28 + 20px * 28);
  }
  .slide-track img {
    width: 180px;
    height: 120px;
  }
}




