/* ================================
   GLOBAL
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #222;
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

html {
  scroll-behavior: smooth;
}

/* ================================
   TOP BAR
================================ */
.top-bar {
  background: #6E2FB5;
  color: white;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  background: #fff;
  border-bottom: 1px solid #ececec;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.logo-img {
  height: 80px; /* adjust size */
  width: auto;
  object-fit: contain;
}

.logo-placeholder {
  display: inline-block;
  width: 140px;
  height: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 50px;
  border-radius: 8px;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links li a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
  padding: 5px 0;
  display: inline-block;
}

.nav-links li a:hover {
  color: #FFC107;
  text-decoration: underline;
}

.nav-links li.dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  list-style: none;
  padding: 5px 0;
  z-index: 10;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #222;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu li a:hover {
  background: #f0f0f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Call button */
.call-btn {
  background: #FFC107;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* ================================
   CONTACT SECTION
================================ */
.contact-section {
  padding: 80px 0;
  background: #f8f8ff;
  display: flex;
  justify-content: center;
}

.contact-container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.contact-card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 6px solid #6E2FB5;
}

.contact-card h2 {
  font-size: 32px;
  color: #6E2FB5;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* Form layout */
.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
  background: #fafafa;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #6E2FB5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(110, 47, 181, 0.1);
}

.contact-form button {
  width: 100%;
  padding: 16px;
  background: #6E2FB5;
  border: none;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #58219a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(110, 47, 181, 0.3);
}

/* ================================
   FOOTER
================================ */
.site-footer {
  background: #390e6b;
  color: #fff;
  padding: 50px 20px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.site-footer h2 span {
  color: #FFA500;
}

.site-footer h4 {
  color: #FFA500;
  margin-bottom: 15px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  flex: 1 1 200px;
}

.footer-brand p {
  margin-top: 10px;
  color: #ccc;
}

.footer-links, .footer-contact {
  flex: 1 1 200px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #FFA500;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* ================================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 900px) {

  /* Hamburger */
  .hamburger {
    display: flex;
  }

  /* Navbar links hidden by default */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid #ececec;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .nav-links.active {
    max-height: 500px;
  }

  /* Dropdown toggle for mobile */
  .nav-links li.dropdown > a {
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    gap: 0;
    padding: 0;
  }

  .nav-links li.dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 0;
    border-top: 1px solid #ececec;
  }

  /* Contact section */
  .contact-card {
    padding: 30px 25px;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-card h2 {
    font-size: 28px;
  }

  /* Footer stacking */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links, .footer-contact {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
