/* ================================
   RESET & BASE STYLES
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
}

/* ================================
   NAVBAR
================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  background: #fff;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hero-logo {
  position: relative;
}

.hero-logo img {
  height: 40px;
  width: auto;
}

/* Navbar Links */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #808000;
}

/* Hamburger Icon (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 15px 25px;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    display: none;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ================================
   CONTACT SECTION
================================ */
.contact {
  padding: 60px 100px;
  text-align: center;
}

.contact h3 {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  text-align: left;
}

/* ================================
   CONTACT FORM
================================ */
.contact-form {
  flex: 1;
  min-width: 350px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 15px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

label span {
  color: red;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #808000;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.contact-form .btn {
  background: #808080;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form .btn:hover {
  background:#808000;
  transform: scale(1.02);
}

/* ================================
   CONTACT INFO
================================ */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

/* Perfect round icons */
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: #333;
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.icon:hover {
  background: #808000;
  transform: scale(1.1);
}

.info-box a {
  color: #808000;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.info-box a:hover {
  color: #333;
}

/* Responsive Contact Section */
@media (max-width: 768px) {
  .contact {
    padding: 40px 20px;
  }

  .contact-container {
    flex-direction: column;
    gap: 30px;
  }

  .form-row {
    flex-direction: column;
  }
}

/* ================================
   AD BOX BESIDE CONTACT FORM
================================ */
.ad-box {
  position: relative;
  align-self: flex-start;
  /* push ad upward */
  margin-top: -15px;

  text-align: right;
}

.ad-box img {
  width: 100%;
  max-width: 500px;
  /* controls ad size */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-box img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Close (X) Button for Ad */
.close-ad {
  position: absolute;
  top: 5px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
}

.close-ad:hover {
  color: #ff0202;
}


/* Responsive */
@media (max-width: 992px) {
  .ad-box {
    margin-top: 20px;
    text-align: center;
  }

  .ad-box img {
    max-width: 100%;
  }
}


/* ================================
   FOOTER
================================ */
.footer {
  background: #2b3035;
  color: #dcdcdc;
  padding: 40px 20px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Social Media Icons */
.footer-left .social-logos,
.footer-right .social-logos {
  display: flex;
  gap: 12px;
}

.footer-left .social-logos a,
.footer-right .social-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #444;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.footer-left .social-logos a:hover,
.footer-right .social-logos a:hover {
  transform: scale(1.1);
  background: #808000;
}

.footer-right .social-logos a img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p {
  margin: 3px 0;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 13px;
  color: #aaa;
  text-align: center;
}

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

/* ===== Hamburger ===== */
.menu-toggle {
  display: none;
  /* Hidden on desktop */
  font-size: 26px;
  cursor: pointer;
  color: #333;
  z-index: 200;
}

/* Navbar */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  transition: all 0.4s ease-in-out;
}

nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #000;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #808000;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {

  /* Show hamburger */
  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 20px;
  }

  /* Mobile nav menu */
  nav {
    position: fixed;
    top: 70px;
    /* adjust depending on header height */
    right: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background: #fff;
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    z-index: 100;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  nav ul li {
    margin: 15px 0;
  }
}