/* ================ Base Styles ================ */
:root {
  --primary: #28a745;
  --primary-dark: #218838;
  --secondary: #17a2b8;
  --dark: #343a40;
  --light: #f8f9fa;
  --gray: #6c757d;
  --white: #ffffff;
  --black: #212529;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ================ Navbar ================ */
.navbar {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  height: 50px;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary);
}

/* ================ Hero Section ================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slideshow-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.fade {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.slide-content .btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.slide-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  transform: translateY(-50%);
}

.slide-prev, .slide-next {
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.3);
}

.slide-prev:hover, .slide-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ================ About Section ================ */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 50px;
  border-radius: 10px;
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

.about-logo {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.about-logo img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-content {
  flex: 2;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-content h2 span {
  color: var(--primary);
}

.about-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-box {
  text-align: center;
  padding: 20px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ================ Services Section ================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-box {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-box:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.service-box:hover .service-icon i {
  color: var(--white);
}

.service-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-box p {
  color: var(--gray);
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ================ Projects Section ================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.project-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ================ Testimonials Section ================ */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-box {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  position: relative;
  margin-bottom: 20px;
}

.testimonial-content i {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 2rem;
  color: rgba(40, 167, 69, 0.2);
  z-index: 0;
}

.testimonial-content p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--gray);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--dark);
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ================ CTA Section ================ */
.cta {
  position: relative;
  background: url('../images/pexels-pixabay-371917.jpg') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================ Footer ================ */
.footer {
  background: var(--dark);
  color: var(--light);
  padding-top: 80px;
  border-top: 5px solid var(--primary);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary);
}

/* ================ Animations ================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================ Responsive Styles ================ */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links li a {
    display: block;
    padding: 15px;
  }
  
  .slide-content h1 {
    font-size: 2rem;
  }
  
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 15px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .slide-content h1 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .about-wrapper {
    margin-top: 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact ul li {
    justify-content: center;
  }
}



/* ================ Base Styles & Variables ================ */
:root {
  --primary: #28a745;
  --primary-dark: #218838;
  --primary-light: #d4edda;
  --secondary: #17a2b8;
  --secondary-dark: #138496;
  --dark: #343a40;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --black: #212529;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ================ Buttons ================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline-dark:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ================ Navbar ================ */
.navbar {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  height: 50px;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary);
}

/* ================ Hero Section ================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px;
}

.slideshow-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.fade {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.slide-content .btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.slide-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  transform: translateY(-50%);
}

.slide-prev, .slide-next {
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.3);
}

.slide-prev:hover, .slide-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ================ About Page Styles ================ */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

.about-logo {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.about-logo img {
  max-width: 200px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.founder-img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.about-content {
  flex: 2;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.signature {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.signature img {
  max-width: 150px;
}

/* Mission & Vision Section */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mission-box {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.mission-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.mission-box:hover .mission-icon {
  background: var(--primary);
  color: var(--white);
}

.mission-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.mission-box:hover .mission-icon i {
  color: var(--white);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 20px;
}

.team-member p {
  color: var(--gray);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.member-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.member-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ================ Services Page Styles ================ */
.service-category {
  margin-bottom: 60px;
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.service-category-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-category-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-box {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-box h4 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-features {
  margin-top: 20px;
}

.service-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features i {
  color: var(--primary);
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 15px;
}

/* ================ Projects Page Styles ================ */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--light-gray);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.project-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

/* Testimonials Slider */
.testimonials-slider {
  margin-top: 60px;
  position: relative;
}

.testimonial-slide {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  margin: 0 15px;
}

.testimonial-content {
  position: relative;
}

.testimonial-content i {
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 3rem;
  color: rgba(40, 167, 69, 0.1);
  z-index: 0;
}

.testimonial-content p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--dark);
  margin-bottom: 5px;
}

.testimonial-author p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Project CTA */
.project-cta {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.project-cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.project-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.project-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ================ Contact Page Styles ================ */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.2rem;
  color: var(--primary);
}

.info-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.info-content a {
  color: var(--primary);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Map Section */
.map-section {
  margin-top: 80px;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ================ CTA Section (Universal) ================ */
.cta {
  position: relative;
  background: url('../images/cta-bg.jpg') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================ Footer (Universal) ================ */
.footer {
  background: var(--dark);
  color: var(--light);
  padding-top: 80px;
  border-top: 5px solid var(--primary);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary);
}

/* ================ Animations ================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================ Responsive Styles ================ */
@media (max-width: 1200px) {
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.2rem;
  }

  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .signature {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links li a {
    display: block;
    padding: 15px;
  }
  
  .slide-content h1 {
    font-size: 2rem;
  }

  .hero {
    margin-top: 70px;
  }

  .about-wrapper {
    margin-top: 0;
    padding: 30px;
  }

  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .slide-content h1 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact ul li {
    justify-content: center;
  }
}


/* ================ Base Styles & Variables ================ */
:root {
  --primary: #28a745;
  --primary-dark: #218838;
  --primary-light: #d4edda;
  --secondary: #17a2b8;
  --secondary-dark: #138496;
  --dark: #343a40;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --black: #212529;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed navbar */
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* Prevent content from hiding behind fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* ================ Buttons ================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline-dark:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ================ Navbar - Fixed and Improved ================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px); /* Adds frosted glass effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  height: 50px;
  transition: var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
  background: none;
  border: none;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a.active {
  color: var(--primary);
}

/* Scrolled Navbar Effect */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ================ Hero Section - Fixed Navbar Adjustment ================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: -80px; /* Counteract body padding */
}

.slideshow-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.fade {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 90%;
  max-width: 800px;
  z-index: 2;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.slide-content .btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.slide-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  transform: translateY(-50%);
}

.slide-prev, .slide-next {
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: var(--transition);
  background: rgba(0, 0, 0, 0.3);
}

.slide-prev:hover, .slide-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.slide-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ================ About Page Styles ================ */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  position: relative;
  z-index: 1;
}

/* ================ Services Page Styles ================ */
.service-category {
  margin-bottom: 60px;
}

/* ================ Projects Page Styles ================ */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

/* ================ Contact Page Styles ================ */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* ================ CTA Section ================ */
.cta {
  position: relative;
  background: url('../images/pexels-pixabay-371917.jpg') no-repeat center center/cover;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
}

/* ================ Footer ================ */
.footer {
  background: var(--dark);
  color: var(--light);
  padding-top: 80px;
  border-top: 5px solid var(--primary);
}

/* ================ Responsive Styles ================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links li a {
    display: block;
    padding: 15px;
  }

  .hero {
    height: 80vh;
    min-height: 500px;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 70vh;
    min-height: 400px;
  }
  
  .slide-content h1 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
}

/* ================ Animations ================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================ Scroll Behavior Fixes ================ */
/* Add this JavaScript to your main.js file:
// Navbar scroll effect
window.addEventListener('scroll', function() {
  const navbar = document.querySelector('.navbar');
  if (window.scrollY > 50) {
    navbar.classList.add('scrolled');
  } else {
    navbar.classList.remove('scrolled');
  }
});
*/