main {
  display: block;
  width: 100%;
  margin-top: 80px;
  padding-bottom: 60px
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f9ff;
  color: #2e2e2e;
  line-height: 1.6;
}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #dfe9f3;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: #3a7bfc !important;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav-links a:hover, .nav-links a.active {
  color: #ffffff !important;
  background-color: #3a7bfc;
}
.logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(26%) sepia(82%) saturate(2443%) hue-rotate(208deg) brightness(98%) contrast(97%);
}

.navbar .contact-btn {
  background-color: #3a7bfc;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
}
.navbar .contact-btn:hover {
  background-color: #2363d1;
}
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background: url("./background.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  background-color: rgba(255, 255, 255, 0.85); /* Soft overlay */
  padding: 40px 10%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  max-width: 900px;
  width: 100%;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2f56;
}
.hero-text h1 span {
  color: #3a7bfc;
}
.hero-text p {
  font-size: 1.1rem;
  color: #5c6b82;
  margin-bottom: 32px;
}
.hero button {
  background-color: #3a7bfc;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.hero button:hover {
  background-color: #2363d1;
}


.contact-box {
  display: flex;
  flex-wrap: wrap;
  background: white;
  padding: 40px;
  margin: 60px auto;
  width: 90%;
  max-width: 1100px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  gap: 2rem;
}
.contact-text {
  flex: 1;
  min-width: 250px;
}
.contact-form-container {
  flex: 1;
  min-width: 250px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  background: #f7fbff;
  font-size: 1rem;
}
.contact-form button {
  background: #3a7bfc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover {
  background: #2363d1;
}
#success-message {
  display: none;
  margin-top: 10px;
  color: #3a7bfc;
  font-weight: 500;
}
#success-message.visible {
  display: block;
}

.footer {
  background-color: #3a7bfc;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer h3 {
  margin-bottom: 12px;
  font-weight: 600;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 4px 0;
  display: block;
}
.footer a:hover {
  color: #cbdfff;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.visible {
  display: flex;
}

.modal-content {
  background: #f4f9ff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif;
  position: relative;
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-content .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.2rem;
  cursor: pointer;
  background: none;
  border: none;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
}

.modal-content button[type="submit"] {
  background-color: #3a7bfc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  margin-top: 8px;
}

.google-btn {
  background-color: #3a7bfc;
  color: white;
  padding: 12px;
  font-size: 1rem;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.separator {
  text-align: center;
  margin: 12px 0;
  color: #666;
}

.modal-content p {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

.modal-content a {
  color: #3a7bfc;
  text-decoration: none;
}
#authTitle {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
  width: 100%;
}

#about {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f4f9ff, #ffffff);
  text-align: center;
}
#about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
#about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid orange;
  padding-bottom: 0.5rem;
}

#about p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-top: 1.5rem;
  animation: fadeIn 1.5s ease forwards;
}


@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInSection {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Team Section Styling */
.team {
  padding: 3rem 1rem;
  background: #d9eaff;
  text-align: center;
}
.team h2 {
  font-size: 2rem;
  font-weight: 600;
}
.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
  width: 250px;
  text-align: center;
}
.service-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}
.service-card p {
  font-size: 0.95rem;
  color: #555;
}


/* Timeline Section */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 60px auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #ff9800;
  transform: translateX(-50%);
}
.step {
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 10px;
  width: 45%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.step:hover {
  transform: scale(1.05);
}
.step p {
  display: none;
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}
.step.left {
  left: 0;
  text-align: right;
}
.step.right {
  left: 50%;
  text-align: left;
}
.step::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #ff9800;
  border-radius: 50%;
  transform: translateY(-50%);
}
.step.left::before {
  right: -12px;
}
.step.right::before {
  left: -12px;
}
main {
  display: block;
  width: 100%;
  margin-top: 80px;
}
/* Fix logo issue */
.logo-container img.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

/* Fix for overflow issues causing empty pages */

/* Make sure about page is not hidden */
body > main {
  visibility: visible;
  opacity: 1;
}

/* Force active nav link */
.nav-links a.active {
  background-color: #3a7bfc;
  color: white !important;
}
.projects {
  padding: 3rem 1rem;
  text-align: center;
  background: #f4f9ff;
}

.projects h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border-bottom: 4px solid orange;
  display: inline-block;
  padding-bottom: 0.5rem;
}
/* See More button styling */
.see-more-btn {
  margin-top: 1.5rem;
  padding: 10px 20px;
  background-color: #3a7bfc;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.see-more-btn:hover {
  background-color: #2a63c0;
}

/* Initially hide extra project cards */
.service-card.hidden {
  display: none;
}


/* Featured Services Section */
.featured-services {
  padding: 60px 20px;
  text-align: center;
  background: #F3F4F6;
}

.featured-services h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2E5077;
  position: relative;
}

.featured-services h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #D4AF37;
  margin: 10px auto;
  border-radius: 2px;
}

/* Service Cards */
.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  width: 260px;
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #D4AF37;
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

.service-card:hover .icon {
  transform: scale(1.2) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #2E5077;
}

.service-card p {
  font-size: 0.95rem;
  color: #444;
}

/* Dropdown inside card */
.dropdown {
  margin-top: 1rem;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  background-color: #fff;
}

    .book-btn, .cancel-booking-btn {
      padding: 10px 20px;
      border: none;
      font-weight: bold;
      border-radius: 6px;
      margin-top: 10px;
      cursor: pointer;
    }
    .book-btn {
      background-color: #3498db;
      color: #fff;
    }
    .cancel-booking-btn {
      background-color: #e74c3c;
      color: #fff;
      display: none;
    }

.book-btn:hover {
  background-color: #bb580c;
}

/* Responsive: Stack Cards */
@media (max-width: 768px) {
  .service-card {
    width: 90%;
  }
}

.dashboard {
  display: block;
  padding: 40px 20px;
    background: #eaf3ff;
  min-height: 100vh;
  max-width: 1100px; /* Add this */
  margin: 0 auto;     /* Add this to center content */
  border-radius: 12px; /* Optional for better visuals */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Optional enhancement */
}
.dashboard > .dashboard-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #f3f4f6;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.dashboard-header {
  text-align: center;
  margin-bottom: 30px;
}

.dashboard-header h2 {
  font-size: 28px;
  color: #2E5077;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  min-width: 160px;
  text-align: center;
  color: #333;
}

.profile-card {
  background: #fff;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto 40px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.profile-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #2E5077;
}

.profile-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.profile-card input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.profile-card button.update-btn {
  background-color: #2E5077;
  color: white;
  padding: 12px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.profile-card button.update-btn:hover {
  background-color: #1f3654;
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.action-buttons button {
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

.action-buttons .danger {
  background-color: #e53935;
  color: white;
}

.action-buttons .danger:hover {
  background-color: #b71c1c;
}

@keyframes fadeInSection {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.page-header {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background-color: #eef5ff;
}

.page-header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #2e2e2e;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  background: #f9fbff;
  padding: 40px;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 1100px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.contact-text,
.contact-form-container {
  flex: 1;
  min-width: 280px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccd6e0;
  border-radius: 6px;
  background: #f7fbff;
  font-size: 1rem;
}

.contact-form button {
  background: #3a7bfc;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #2363d1;
}

#success-message {
  display: none;
  color: green;
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 10px;
}

#success-message.success {
  display: block;
}

.map-embed {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.faq-section {
  background-color: #f4f9ff;
  padding: 2rem 1rem;
  text-align: center;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.faq-item {
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  padding: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer.active {
  padding-top: 10px;
  max-height: 300px;
}

.faq-toggle i {
  transition: transform 0.3s ease;
}
    .logo-container {
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .logo-container img {
      width: 48px; /* increase or decrease as needed */
      height: auto;
    }
.logo-text {
  
  letter-spacing: 0.5px;

  background: linear-gradient(to right, #0074D9, #2ECC40);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Needed for Firefox and future browser compatibility */
  background-clip: text;
  color: transparent;
}
/* === EXISTING CSS (kept as you provided) === */

/* (I am not repeating the full existing CSS here - already kept as your base) */

/* === RESPONSIVE IMPROVEMENTS === */

/* Navbar responsive toggle */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-top: 10px;
  }
}

/* Hero section responsive */
@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 40px 20px;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .hero-overlay {
    padding: 30px;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

/* Contact section responsive */
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    padding: 20px;
  }
  .contact-form-container, .contact-text {
    min-width: 100%;
  }
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Dashboard & profile responsiveness */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
  }
  .profile-card {
    width: 90%;
    margin: 0 auto;
  }
  .action-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Service cards responsiveness */
@media (max-width: 768px) {
  .service-card {
    width: 90% !important;
  }
  .service-container {
    flex-direction: column;
  }
}

/* Modal responsive adjustments */
@media (max-width: 480px) {
  .modal-content {
    padding: 1rem;
  }
  .modal-content h2 {
    font-size: 1.5rem;
  }
}

/* FAQ responsive */
@media (max-width: 768px) {
  .faq-container {
    padding: 1rem;
  }
  .faq-item {
    text-align: left;
  }
}

/* Page headers on mobile */
@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.8rem;
  }
}

/* Ensure logo scales on mobile */
@media (max-width: 480px) {
  .logo-container img {
    width: 32px;
  }
  .logo-text {
    font-size: 1rem;
  }
}
/* Hamburger icon */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 250px;
    background: #ffffff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    padding-top: 80px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
  }
}
/* Hide mobile menu in desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}
