/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fade-in Animation Styles */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delayed fade-in for staggered effect */
.fade-in.delay-1 {
  transition-delay: 0.1s;
}

.fade-in.delay-2 {
  transition-delay: 0.2s;
}

.fade-in.delay-3 {
  transition-delay: 0.3s;
}

.fade-in.delay-4 {
  transition-delay: 0.4s;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1.6;
  color: #333;
}

b {
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .nav-logo {
  color: #333;
}

.navbar.scrolled .nav-menu a {
  color: #333;
}

.navbar.scrolled .nav-menu a:hover {
  color: #22c55e;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.logo-icon {
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-btn {
  background: #22c55e;
  color: white;
  border: none;
  padding: 9px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background: #16a34a;
}

/* Hero Section */
.hero {
  background: url("hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 95vh;
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
  border-radius: 0px 0px 45px 45px;
}

.hero-container {
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  width: 100%;
}

.hero-content {
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 675px;
  text-align: left;
  color: #fff;
  padding: 0px 0px 112px 112px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero-btn {
  border: none;
  padding: 15px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  text-decoration: none;
}

.hero-btn.primary {
  background: #fff;
  color: #000;
  padding-right: 60px;
}

.hero-btn.primary::after {
  content: '→';
  position: absolute;
  right: 15px;
  background: #22c55e;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-right: 52px;
}

.hero-btn.secondary::after {
  content: '→';
  position: absolute;
  right: 15px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn.primary:hover {
  background: #f8f8f8;
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 500;
  margin-bottom: 2.25rem;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  color: #ffffff;
  opacity: 0.9;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
}

.stats-section,
.vision-section,
.work-section,
.testimonials-section {
  background: #fff !important;
}

.mission-section,
.history-section,
.team-section {
  background: #fbfbfb !important;
}

/* Stats Section */
.stats-section {
  background: #fff;
  padding: 70px 0px 70px 0px;
}

.stats-intro {
  text-align: center;
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #666;
  font-size: 1rem;
}

.mission-content,
.vision-content,
.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-text h2,
.vision-text h2,
.history-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #333;
}

.mission-text p,
.vision-text p,
.history-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

.mission-list,
.vision-list,
.history-list {
  list-style: none;
  font-size: 1.1rem;
  font-weight: 500;
}

.mission-list li,
.vision-list li,
.history-list li {
  padding: 0.5rem 0;
  color: #666;
}

.mission-image img,
.vision-image img,
.history-image img {
  width: 100%;
  height: 625px;
  object-fit: cover;
  border-radius: 15px;
}

/* Work Section */
.work-section {
  background: #fff;
  text-align: center;
}

.work-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.work-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.work-image {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.work-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #e6e6e6;
}

.work-image-section h3 {
  font-size: 1.7rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 0.5rem;
}

.work-image-section p {
  margin: 0px;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.team-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}



.team-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 800px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  height: 350px;
}

.team-member {
  text-align: center;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-member p {
  color: #666;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
  background: #fff;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.testimonials-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto;
}

.testimonial {
  padding: 2rem;
  border-radius: 15px;
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stars {
  color: #ffbb29;
  font-size: 2rem;
}

.testimonial-author h5 {
  font-weight: bold;
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.testimonial-author span {
  color: #666;
  font-size: 0.9rem;
}

.testimonial p {
  color: #666;
  font-style: italic;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: #333;
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-btn {
  background: #22c55e;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background: #16a34a;
}

/* Footer */
.footer {
  background: #222;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #ccc;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #ccc;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #ccc;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #ff6b35;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
/* Large screens - 1200px and up (default styles already set) */

/* Medium screens - tablets */
@media (max-width: 1024px) {
  .hero-content {
    width: 525px;
    padding: 0px 0px 90px 75px;
  }

  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1.875rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2.25rem;
  }

  .hero-btn {
    font-size: 0.85rem;
    padding: 14px 21px;
  }

  .hero-btn.primary {
    padding-right: 52px;
  }

  .hero-btn.secondary {
    padding-right: 45px;
  }

  .hero-btn.primary::after {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  /* Improve spacing for content sections */
  .mission-content,
  .vision-content,
  .history-content {
    gap: 3rem;
  }

  .mission-image img,
  .vision-image img,
  .history-image img {
    height: 500px;
  }

  /* Make stats grid more compact */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Adjust team grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
}

/* Small screens - mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 0 10px;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 0px 0px 60px 20px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-btn {
    padding: 16px 24px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .hero-btn.primary {
    padding-right: 60px;
  }

  .hero-btn.secondary {
    padding-right: 50px;
  }

  .hero-btn.primary::after {
    width: 32px;
    height: 32px;
    font-size: 14px;
    right: 16px;
  }

  .hero-btn.secondary::after {
    right: 16px;
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
  }

  /* Make main content sections vertical on tablets and smaller */
  .mission-content,
  .vision-content,
  .history-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-image img,
  .vision-image img,
  .history-image img {
    height: 400px;
  }

  /* Make work section responsive */
  .work-image {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .work-image img {
    grid-column: 1;
    grid-row: 1;
    height: 300px;
  }

  /* Make grids more responsive */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

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

/* Extra small screens - very small mobile */
@media (max-width: 480px) {
  .hero-content {
    width: calc(100% - 20px);
    padding: 0px 0px 40px 10px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .hero-btn {
    font-size: 0.9rem;
    padding: 14px 20px;
    width: 100%;
    justify-content: center;
  }

  .hero-btn.primary {
    padding-right: 55px;
  }

  .hero-btn.secondary {
    padding-right: 45px;
  }

  .mission-content,
  .vision-content,
  .history-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav-menu {
    display: none;
  }
}
