/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* Header Styles */
.header {
  background-color: #1e3a8a; /* blue tone */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Navbar */
.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.navbar .nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links li a:hover {
  color: #93c5fd;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #1e3a8a;
    flex-direction: column;
    width: 100%;
    display: none;
    text-align: center;
    padding: 20px 0;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}



:root {
  --header-height: 80px;
}

:root {
  --header-height: 80px;
}

/* HERO SECTION */
#hero {
  height: 100vh;
  margin-top: var(--header-height); /* Push whole section down */
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('img/_DSC7017.jpg') center top/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

.hero.container {
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero.container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  position: relative;
}

.hero.container h1 span {
  color: #00bfff;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  background-color: #00bfff;
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta:hover {
  background-color: #008ecc;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero.container h1 {
    font-size: 1.8rem;
  }

  .cta {
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
  }
}





/* SERVICES SECTION */
#services {
  background-color: #f4faff;
  padding: 5rem 2rem;
}

.services.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-title span {
  color: #00bfff;
}

.service-top p {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  color: #333;
}

.service-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.service-item {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-item .icon img {
  height: 60px;
  margin-bottom: 1rem;
}

.service-item h2 {
  font-size: 1.3rem;
  color: #004e92;
  margin-bottom: 1rem;
}

.service-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .service-item h2 {
    font-size: 1.15rem;
  }

  .service-item p {
    font-size: 0.95rem;
  }
}



.all-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Uniform Card Box */
.project-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 420px; /* You can adjust this */
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
}

/* Image on Top */
.project-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Project Info Block */
.project-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.project-info h1 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 8px;
}

.project-info h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: auto;
  min-height: 60px; /* Helps balance cards with short text */
}

/* Button always at bottom */
.btn {
  margin-top: 20px;
  padding: 8px 16px;
  background-color: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  align-self: center;
}

.btn:hover {
  background-color: #0056b3;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .project-item {
    min-height: auto;
  }

  .project-info p {
    min-height: auto;
  }
}












/* About Section */
#about {
  background-color: #ffffff;
  padding: 60px 20px;
}

.about.container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.col-left,
.col-right {
  flex: 1 1 400px;
}

.about-img {
  width: 100%;
  max-width: 350px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.col-right {
  padding: 0 10px;
}

.col-right .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
}

.col-right .section-title span {
  color: #007BFF;
}

.col-right h2 {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
}

.col-right p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
}

.col-right .cta {
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.col-right .cta:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .about.container {
    flex-direction: column;
    text-align: center;
  }

  .col-left, .col-right {
    flex: 1 1 100%;
  }

  .about-img {
    max-width: 80%;
  }

  .col-right p {
    text-align: center;
  }
}



#education {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.timeline-title {
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 40px;
  font-weight: 600;
}

.timeline {
  display: flex;
  flex-direction: column; /* Bottom-up */
  align-items: center;
  gap: 20px;
  position: relative;
}

.timeline-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.timeline-content img.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.timeline-content p {
  margin: 0;
  font-size: 1rem;
  color: #666;
}

.timeline-arrow {
  font-size: 2rem;
  color: #004080;
  transform: rotate(0deg);
}

/* Responsive */
@media (max-width: 600px) {
  .timeline-content {
    flex-direction: column;
    text-align: center;
  }

  .timeline-content img.logo {
    margin-bottom: 10px;
  }
}










/* Contact Section */
#contact {
  background-color: #f5faff;
  padding: 60px 40px;
  font-family: 'Poppins', sans-serif;
}

.contact.container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact .section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #0d3b66;
  margin-bottom: 40px;
  text-align: center;
  padding-left: 10px;
  position: relative;
}

.contact-items {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-item {
  background-color: #ffffff;
  flex: 1;
  min-width: 300px;
  border-left: 4px solid #0d3b66;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.contact-item .icon img {
  width: 40px;
  height: 40px;
}

.contact-info h1 {
  font-size: 1.2rem;
  color: #0d3b66;
  margin: 0;
}

.contact-info h2 {
  font-size: 1rem;
  font-weight: 400;
  color: #444;
  margin: 5px 0 0;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-items {
    flex-direction: column;
  }

  .contact-item {
    width: 100%;
  }
}




.footer {
  background-color: #3408d3;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer .follow-text {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer .social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.footer .social-icons img:hover {
  transform: scale(1.2);
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
}
