* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ===== Final Header Design ===== */
header {
  position: sticky;
  top: 0;
  background: #0d6efd;
  color: #fff;
  padding: 10px 0;
  z-index: 1000;
}

/* container layout */
header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* logo and title in one line */
.logo-section {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 10px;
    justify-content: flex-start;
  margin-right: 50px; 
}

.logo-img {
  width: 100px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}


.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-align: left;
}

/* navigation bar */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  .logo-section {
    flex-direction: column;
    gap: 6px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 16px;
    text-align: center;
  }

  nav ul {
    margin-top: 6px;
  }

  nav ul li {
    margin: 5px 10px;
  }

  nav ul li a {
    font-size: 14px;
  }
}



/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-content h2,
.hero-content p {
  color: white;
}


.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 10s infinite;
}

.bg1 { background-image: url('https://images.unsplash.com/photo-1561414927-6d86591d0c4f?auto=format&fit=crop&w=1500&q=80'); animation-delay: 0s; }
.bg2 { background-image: url('https://img.freepik.com/free-photo/map-lying-wooden-table_53876-23515.jpg?w=1060&t=st=1697452301~exp=1697452901~hmac=64b2f61f05356d47c27669db8c512c05e9a7dcb16831d5c0d282f4b5c8c01c96'); animation-delay: 5s; }

@keyframes fade {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}
/* Scroll offset fix for sticky header */
section {
  scroll-margin-top: 100px;
}

/* Services Section */
.services {
  text-align: center;
  padding: 50px 20px;
  background: #f9f9f9;
}

.services h2 {
  color: #0d6efd;
  margin-bottom: 10px;
  font-size: 2rem;
}

.services p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
}

.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.service-box {
  background: white;
  padding: 25px 20px;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
  text-align: center;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.service-box img {
  width: 100px;      
  height: 100px;       
  object-fit: contain;  
  margin: 0 auto 15px;  
  display: block;       
}


.service-box h3 {
  color: #0d6efd;
  margin-bottom: 10px;
}

.service-box p {
  color: #555;
  line-height: 1.6;
}
.apply-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.apply-btn:hover {
  background: #0056b3;
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index:1000;
}

.modal-content {
  background:#fff;
  padding:30px;
  border-radius:12px;
  width: 300px;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top:10px;
  right:15px;
  font-size:20px;
  cursor:pointer;
}

.modal input {
  width:90%;
  padding:10px;
  margin:10px 0;
  border-radius:5px;
  border:1px solid #ccc;
}

.modal .btn {
  background:#0d6efd;
  color:white;
  padding:10px 20px;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

/* About Section */
.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 40px auto;
  max-width: 1200px;
}

.about-image img {
  width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-content {
  max-width: 500px;
  text-align: left;
}

.about-content h2 {
  color: #0d6efd;
  margin-bottom: 15px;
}

.about-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 70px 20px 120px; 
  background: linear-gradient(135deg, rgb(173, 188, 230), lightblue);
  color: #fff;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #0d6efd;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #222; 
  font-weight: 500;
}

.contact-card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-card {
  background: white;
  color: #333;
  padding: 25px 20px;
  border-radius: 15px;
  width: 260px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.contact-card img {
  width: 40px;
  margin-bottom: 10px;
}

.contact-card h3 {
  color: #0d6efd;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}


@media (max-width: 768px) {
  .contact {
    padding: 60px 15px 130px; 
  }

  .contact-card-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-card {
    width: 90%;
    max-width: 320px;
  }
}

/* Footer */
footer {
  position: relative;
  left: 0;
  bottom: 0;

  background: #0d6efd;
  color: white;
  text-align: center;
  padding: 12px;
  z-index: 999;
}


/* Core Team Section */
.coreteam {
  text-align: center;
  padding: 70px 20px;
  background: #fff;
}

.coreteam h2 {
  color: #0d6efd;
  font-size: 2rem;
  margin-bottom: 10px;
}

.coreteam p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
}

.team-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.team-member {
  background: white;
  width: 250px;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  color: #0d6efd;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.team-member p {
  color: #333;
  font-size: 0.95rem;
}
