/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header.scrolled {
  background-color: #1e293b; /* dark background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
}

/* Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* Navbar styles */
/* Base Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo a {
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu li a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #2563eb;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 40px;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    display: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .nav-menu.show {
    display: flex;
  }
}




/*home*/
.hero-section {
  height: 100vh;
  background: url('https://i.pinimg.com/736x/ce/dc/b1/cedcb1b65a5b190a0a96a2ab59d9355e.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-button {
  background-color: #2563eb; /* blue */
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #1d4ed8;
}
/* About Section */
.about-section {
  background-color: #f1f5f9; /* light gray/blue */
  padding: 80px 30px;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1e293b;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #334155;
}

.about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Services Section */
.services-section {
  padding: 80px 30px;
  background-color: #f1f5f9;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin-bottom: 50px;
  color: #1e293b;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
}

.service-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.service-content i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.service-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-content p {
  font-size: 16px;
}


/* Projects */
.projects-section {
  padding: 80px 30px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: #ffffff;
}

.project-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  gap: 40px;
}

.project-card.reverse {
  flex-direction: row-reverse;
}

.project-text {
  flex: 1;
  min-width: 300px;
}

.project-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.project-text p {
  font-size: 18px;
  line-height: 1.6;
}

.project-image {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

.project-image img {
  width: 100%;
  height: 220px; /* Set a consistent height */
  object-fit: cover; /* Ensure the image fills the space cleanly */
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


/*Progress*/
.impact-bar {
  background-color: #f1f5f9;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.impact-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.impact-item h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 10px;
}

.impact-item p {
  font-size: 16px;
  color: #334155;
}

/*types of websites*/
.website-showcase {
  padding: 60px 20px;
  background-color: #f9fafb;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.website-showcase h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.website-showcase .subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 30px;
}

.showcase-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px;
}

.website-card {
  min-width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.website-card img {
  width: 100%;
  height: 180px; /* smaller and consistent */
  object-fit: cover; /* crop to fill without distortion */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.website-card p {
  padding: 10px;
  font-weight: 500;
  color: #374151;
}

.website-card:hover {
  transform: translateX(-10px);
}


/*testimonials*/
.testimonials-section {
  background-color: #ffffff;
  padding: 80px 30px;
  text-align: center;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.testimonial {
  flex: 1 1 45%;
  background-color: #f1f5f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial p {
  font-size: 18px;
  color: #334155;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial h4 {
  font-size: 16px;
  color: #2563eb;
}
@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column;
  }
}
/* Contact Section */

.contact-section {
  padding: 80px 30px;
  background-color: #f8fafc;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e293b;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #334155;
}

.contact-image {
  flex: 1 1 45%;
  text-align: center;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-info, .contact-image {
    flex: 1 1 100%;
  }
}

/*footer*/
.site-footer {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 60px 30px;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}

.footer-logo p {
  max-width: 250px;
  color: #cbd5e1;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin: 5px 0;
  color: #cbd5e1;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
