/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== Header ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6%;
  background-color: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  /*overflow: hidden; /* prevent logo overflow from stretching header */
}

/* Logo wrapper */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}


.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block; 
  transform: scale(2.5);    /* scales image visually without increasing height box */
  transform-origin: center;
}

/* Logo text */
.logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #d4af37;
  font-weight: 500;
   line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
   color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0072ff;
}

.btn,
.btn-primary,
.btn-outline {
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-primary {
  background-color: #0072ff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #005edc;
}

.btn-outline {
  border: 1.8px solid #0072ff;
  color: #0072ff;
}

.btn-outline:hover {
  background-color: #0072ff;
  color: #fff;
}

/* ========== Mobile Menu ========== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #000;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 15px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ========== Hero Section ========== */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, #111 20%, #0e286b 100%);
  color: #fff;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.hero p {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 30px;
}

.hero .btn-primary {
  font-size: 1rem;
  padding: 12px 26px;
}

/* ========== Curved Divider ========== */
.curved-divider {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  background-color: transparent;
}

.curved-divider::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150%;
  background-color: #001f3f; /* Navy Blue */
  border-top-left-radius: 100% 50px;
  border-top-right-radius: 100% 50px;
}

/* ========== Categories Section ========== */
.categories {
  text-align: center;
  padding: 80px 6%;
  background-color: #f8f9fc;
}

.categories h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
}

.category {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.category:hover {
  transform: translateY(-6px);
}

/* ========== Why Section ========== */
.why {
  padding: 90px 6%;
  background-color: #fff;
  text-align: center;
}

.why h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.why-item {
  padding: 25px;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  transition: all 0.3s;
}

.why-item:hover {
  border-color: #0072ff;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.1);
}

/* ========== Testimonials ========== */
.testimonials {
  background-color: #f8f9fc;
  padding: 80px 6%;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.testimonial {
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  font-style: italic;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

/* ========== CTA Section ========== */
.cta {
  background-color: #001f3f;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta p {
  margin-bottom: 30px;
  color: #ccc;
}

/* ========== Footer ========== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 60px 6% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer a {
  color: #0072ff;
  transition: 0.3s;
}

.footer a:hover {
  color: #fff;
}

.footer h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}


.footer .copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #222;
  padding-top: 15px;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social {
  color: #0072ff;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-social:hover {
  color: #ffffff;
}

.footer-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(254, 254, 254, 0.08);
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-icon:hover {
  background: #0072ff;
  color: #ffffff;
  transform: translateY(-2px);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 12px 0;
}

.footer-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all 0.3s ease;
}

.footer-icon:hover {
  background: #ff007f;
  transform: translateY(-2px);
}

.logout-form {
  display: inline-block;
  margin-left: 10px;
}

.logout-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s;
}

.logout-btn:hover {
  color: #ff4d4f; /* red on hover */
}
