/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ffc741;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
}

.btn:hover {
  background-color: #131e32;
}

.btn-outline {
  background-color: #131e32;
  border: 2px solid transparent;
  color: #ffc741;
}

.btn-outline:hover {
  background-color: #ffc741;
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffc741;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: #ffc741;
  bottom: -10px;
  left: 25%;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: #131e32;
  color: #fff;
  padding: 1px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
  font-size: 14px;
}

.contact-info i {
  margin-right: 5px;
}

.social-media a {
  color: #fff;
  margin-left: 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-media a:hover {
  color: #ddd;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 24px;
  font-weight: 700;
  color: #131e32;
  margin: 0;
}

.logo-text span {
  font-size: 12px;
  color: #666;
}

/* Responsive logo adjustments */
@media screen and (max-width: 768px) {
  .logo-img {
    height: 40px;
  }

  .logo-text h1 {
    font-size: 20px;
  }

  .logo-text span {
    font-size: 11px;
  }
}

@media screen and (max-width: 576px) {
  .logo a {
    gap: 10px;
  }

  .logo-img {
    height: 35px;
  }

  .logo-text h1 {
    font-size: 18px;
  }

  .logo-text span {
    font-size: 10px;
  }
}


.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffc741;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ffc741;
  bottom: -5px;
  left: 0;
  transition: all 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Hero Section */


  #hero-section {
    position: relative;
    padding: 150px 0;
    text-align: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    opacity: 0;
  }

  .hero-bg.active {
    opacity: 1;
  }

  .container {
    position: relative;
    z-index: 1;
  }

  .hero-content {
    transition: all 1s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
    color: white; /* default  */
  }

  .hero-content.active {
    opacity: 1;
    transform: translateY(0);
  }

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 150px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1.5;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffc741;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
}

.core-values {
  margin-top: 30px;
}

.core-values h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffc741;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.value-item {
  display: flex;
  align-items: center;
}

.value-item i {
  color: #ffc741;
  font-size: 20px;
  margin-right: 10px;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffc741;
}

.service-content p {
  margin-bottom: 20px;
  color: #666;
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.project-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ffc741;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffc741;
}

.project-client {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.project-client strong {
  color: #333;
}

.project-content p {
  margin-bottom: 15px;
  color: #666;
}

/* Partners Section */
.partners-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.partners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partner-logo {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 90px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info {
  background-color: #131e32;
  color: #fff;
  padding: 40px;
  border-radius: 8px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 20px;
  margin-right: 15px;
  margin-top: 5px;
}

.info-details h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffc741;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: #131e32;
  color: #fff;
  padding-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: #ffc741;
  bottom: 0;
  left: 0;
}

.footer-section p {
  margin-bottom: 20px;
  color: #bbb;
}

.footer-section .contact span {
  display: block;
  margin-bottom: 10px;
  color: #bbb;
}

.footer-section .contact i {
  margin-right: 10px;
  color: #ffc741;
}

.footer-section .socials {
  margin-top: 20px;
}

.footer-section .socials a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #ffb500;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-section .socials a:hover {
  background-color: #ffc741;
  transform: translateY(-5px);
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #bbb;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffc741;
  padding-left: 5px;
}

.footer-bottom {
  background-color: #ffb500;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}


/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays for multiple cards */
.fade-in:nth-child(1) {
  transition-delay: 0.1s;
}
.fade-in:nth-child(2) {
  transition-delay: 0.2s;
}
.fade-in:nth-child(3) {
  transition-delay: 0.3s;
}
.fade-in:nth-child(4) {
  transition-delay: 0.4s;
}
.fade-in:nth-child(5) {
  transition-delay: 0.5s;
}
.fade-in:nth-child(6) {
  transition-delay: 0.6s;
}

/* Enhanced card animations */
.service-card,
.project-card,
.partner-logo,
.testimonial,
.partner-card,
.highlight-card,
.benefit-card,
.value-card,
.col,
.value-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.service-card.animate,
.project-card.animate,
.partner-card.animate,
.testimonial.animate,
.highlight-card.animate,
.partner-logo.animate,
.benefit-card.animate,
.value-card.animate,
.col.animate,
.value-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .service-card,
  .project-card,
  .partner-logo,
  .partner-card,
  .highlight-card,
  .benefit-card,
  .value-card,
  .testimonial,
  .col,
  .value-item {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
