/* ---------------- Base Styles ---------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

h1, h2, h3 {
  margin: 0 0 15px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------- Header / Navbar ---------------- */
header {
  background: #003366;
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #003366;
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: #fff;
  padding: 5px 10px;
  transition: background 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #ffcc00;
  color: #000;
  border-radius: 5px;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* ---------------- Mobile Navbar ---------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #003366;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
    border-radius: 0 0 8px 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* ---------------- Hero / Banner ---------------- */
.hero,
.page-banner {
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero-content,
.banner-content {
  background: rgba(0,0,0,0.5);
  display: inline-block;
  padding: 20px 40px;
  border-radius: 10px;
}

.page-banner .banner-overlay {
  background: rgba(0,0,0,0.5);
  display: inline-block;
  padding: 20px 40px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .page-banner,
  .hero {
    padding: 80px 20px;
  }
  .banner-content,
  .hero-content {
    padding: 15px 20px;
    width: 90%;
  }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  margin-top: 15px;
  background: #ffcc00;
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e6b800;
}

/* ---------------- Sections ---------------- */
.highlight,
.what-we-do,
.about-section,
.philosophy-section,
.team-section,
.values-section,
.services-page,
.projects-page,
.contact-section {
  padding: 60px 20px;
}

.highlight {
  text-align: center;
  background: #f8f9fa;
}

.highlight h2 {
  color: #003366;
  margin-bottom: 15px;
}

.highlight p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.what-we-do,
.services-page {
  background: #f4f4f4;
  text-align: center;
}

.about-section,
.philosophy-section {
  background: #eff4f5;
}

.team-section {
  background: #f4f4f4;
}

.values-section {
  background: #fff;
  text-align: center;
}

/* ---------------- Grids ---------------- */
.services-grid,
.team-grid,
.values-grid,
.projects-grid {
  display: grid;
  gap: 40px;
}

.services-grid,
.services-page .services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.values-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ---------------- Items ---------------- */
.service-item,
.services-page .service-item,
.value-item,
.project-item {
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: #fff;
  padding: 25px 20px;
}

.service-item:hover,
.services-page .service-item:hover,
.value-item:hover,
.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.service-icon,
.services-page .service-icon {
  font-size: 50px;
  color: #003366;
  margin-bottom: 20px;
}

.value-item i {
  font-size: 40px;
  color: #003366;
  margin-bottom: 15px;
}

.service-item h3,
.services-page .service-item h3,
.project-item h3,
.value-item h3 {
  color: #003366;
  margin-bottom: 15px;
}

.service-item p,
.services-page .service-item p,
.project-item p,
.value-item p {
  color: #555;
  line-height: 1.5;
}

.team-member img {
  width: 100%;
  max-width: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.team-member h3 {
  color: #003366;
}

.team-member p {
  color: #666;
}

/* ---------------- Timeline ---------------- */
/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px 10px; /* reduce padding for mobile */
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #003366;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 20px 20px; /* reduce horizontal padding */
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 25px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffcc00;
  border: 3px solid #003366;
  z-index: 1;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-content {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  max-width: 100%;  /* allow full width on mobile */
}

.timeline-content img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.timeline-content h3 {
  margin-top: 0;
  color: #003366;
}

.timeline-content p {
  color: #555;
  font-size: 0.95rem;
}

/* Mobile responsive timeline */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px; /* move vertical line to the left */
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px; /* space for the dot */
    padding-right: 20px;
    margin-bottom: 30px;
  }
  .timeline-item.right {
    left: 0;
  }
  .timeline-item::before {
    left: 0; /* dot on the left */
    right: auto;
  }
}
/* Slideshow Container */
.slideshow {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  background: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 10px;
}


/* ---------------- Contact Section ---------------- */
.contact-container {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 20px auto;
  text-align: left;
}

.contact-container input,
.contact-container textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-container button {
  background: #003366;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contact-container button:hover {
  background: #002244;
}

/* ---------------- Footer ---------------- */
footer {
  background: #222;
  color: #fff;
  font-family: Arial, sans-serif;
  border-top: 3px solid #555;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 16px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover,
.social-icons a:hover {
  color: #1e90ff;
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
  background: #111;
  font-size: 13px;
  border-top: 1px solid #444;
}

.projects-overview {
  padding: 80px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.projects-overview h2 {
  font-size: 2.2rem;
  color: #003366;
  margin-bottom: 15px;
}

.projects-overview p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #333;
}

.project-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card i {
  font-size: 40px;
  color: #ffcc00;
  margin-bottom: 15px;
}

.btn-download {
  background-color: #003366;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #002244;
}
.founder-section {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.founder-profile {
  max-width: 800px;
  margin: 0 auto;
}

.founder-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0077b6;
  margin-bottom: 20px;
}

.founder-profile h3 {
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 5px;
}

.founder-title {
  font-weight: 500;
  color: #0077b6;
  margin-bottom: 20px;
}

.founder-bio {
  text-align: justify;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
}
/* ===== Logo Container ===== */
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 12px; /* space between logo and text */
}

/* ===== Logo Image ===== */
.logo img {
  height: 80px;          /* slightly bigger */
  width: 80px;
  border-radius: 50%;    /* makes it round */
  object-fit: cover;     /* keeps the image centered */
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05); /* smooth zoom effect */
}
