@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  background-color: rgb(216, 216, 218);
  color: #000;
}

/* HEADER & NAVIGATION */
/* HEADER & NAVIGATION */
header {
  width: 100%;
  height: 60px;
  background-color: rgba(29, 29, 51, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 0 20px;
  overflow: visible; /* let hamburger & close icon show fully */
}

header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  /* Remove any negative margin for the header logo */
  margin-left: 0;
  display: flex; /* If you want to keep .logo as a flex container, that’s fine */
  align-items: center;
}

/* The anchor that wraps the image + text */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none; /* remove default underline */
}

.logo-link img {
  height: 40px; /* or match header height */
  width: auto;
  object-fit: contain;
}

.logo-text {
  margin-left: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #eee;
}

.nav-links{
  flex: 1; /* 1 means the item will grow to fill the available space, sharing it equally with other items that also have the flex grow value set*/
  text-align: right;
}
.nav-links ul li{
  list-style: none;
  display: inline-block; /* makes things appear on the same line as other elements. The elements will appear side by side*/
  padding: 8px 12px;
  position: relative;

}

.nav-links ul li a{
  color: #eee;
  text-decoration: none;
  font-size: 13px ;
}

/* Hamburger icon hidden by default (shown via media query) */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #eee;
  cursor: pointer;
}

header a {
    color: #000;
    text-decoration: none;
    font-size: .9em;
    padding: 10px 15px;
}

header a:hover {
    background-color: rgb(88, 88, 90,.7);
    color: #000;
    border-radius: 5px;
}
/* Close icon hidden by default; shown in media query */
.close-icon {
  display: none; /* Only show on mobile */
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Slide-in nav for mobile/tablet */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    padding-top: 60px;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .nav-links ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .nav-links ul li {
    margin: 10px 0;
  }
  .nav-links ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 1.1rem;
    color: #fff;
  }
  .close-icon {
    display: block; /* Show the X on mobile/tablet */
    position: absolute;
    top: 15px;
    right: 15px;
  }

}

/* ===== HERO SECTION ===== */
/* Desktop: hero overlay is left aligned (as on index) */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("images/contact2.jpeg") center/cover no-repeat;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left aligned on desktop */
  padding: 0;
}
/* Hero overlay (left aligned on desktop) */
.hero-overlay {
  position: absolute;
  top: 0; /* or top: 60px if you prefer; but let's keep it consistent */
  left: 2rem; /* offset from left on desktop */
  width: 300px;
  height: 100%;
  background-color: rgba(49, 49, 61, 0.7);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  padding: 1rem;
  z-index: 1;
}
.hero-content {
  max-width: 300px;
  color: #fff;
  text-align: center;
  /* content remains centered within the overlay */
}
.hero-title {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}
.hero-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* On mobile/tablet, center the hero overlay */
@media (max-width:768px) {
  .hero-overlay {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: calc(100vh - 60px);
  }
  .hero-content {
    max-width: 100%;
  }
}

/* ===== CONTACT FORM SECTION ===== */
.contactcontainer {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background-color: #f4f4f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-top: 60px;
}
.form {
  width: 100%;
  max-width: 820px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.contact-form {
  background-color: #0a043f;
  position: relative;
}
.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, #777a7a);
  position: absolute;
}
.circle.one {
  width: 130px;
  height: 130px;
  top: 130px;
  right: -40px;
}
.circle.two {
  width: 80px;
  height: 80px;
  top: 10px;
  right: 30px;
}
.contact-form:before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #777a7a;
  transform: rotate(45deg);
  top: 50px;
  left: -13px;
}
.contact-form:after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #777a7a;
  transform: rotate(45deg);
  bottom: 50px;
  left: -13px;
}
form {
  padding: 2.3rem 2.2rem;
  z-index: 10;
  overflow: hidden;
  position: relative;
}
.title {
  color: #fff;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}
.input-container {
  position: relative;
  margin: 1rem 0;
}
.input {
  width: 100%;
  outline: none;
  border: 2px solid #fafafa;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 25px;
  transition: 0.3s;
}
textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 22px;
  resize: none;
  overflow-y: auto;
}
.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #fafafa;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}
.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}
.btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: #0a043f;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
}
.btn:hover {
  background-color: transparent;
  color: #fff;
}
.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}
.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #757a79;
  top: 50%;
  transform: translateY(-50%);
}
.input-container span:before {
  left: 50%;
}
.input-container span:after {
  right: 50%;
}
.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}
.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}
.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}
.contact-info .title {
  color: #0a043f;
  text-align: left;
}
.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
  text-align: left;
  font-size: 0.9rem;
}
.information {
  display: flex;
  color: #555;
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}
.icon {
  width: 28px;
  margin-right: 0.7rem;
}
.social-media {
  padding: 2rem 0 0 0;
}
.social-media p {
  color: #333;
}
.social-icons {
  display: flex;
  margin-top: 0.5rem;
}
.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  background: linear-gradient(45deg, #0a043f, #0a043f);
  color: #fff;
  text-align: center;
  line-height: 35px;
  margin-right: 0.5rem;
  transition: 0.3s;
}
.social-icons a:hover {
  transform: scale(1.05);
}
.contact-info:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 100px;
  border: 22px solid #464a6e;
  border-radius: 50%;
  bottom: -77px;
  right: 50px;
  opacity: 0.3;
}
.big-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #0a043f, #0a043f);
  bottom: 50%;
  right: 50%;
  transform: translate(-40%, 38%);
}
.big-circle:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background-color: #fafafa;
  border-radius: 50%;
  top: calc(50% - 180px);
  left: calc(50% - 180px);
}
.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

/* RESPONSIVE: CONTACT FORM SINGLE COLUMN & Other Adjustments */
@media (max-width:768px) {
  .form {
    grid-template-columns: 1fr;
  }
  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }
  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }
  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }
  .big-circle {
    bottom: 75%;
    transform: scale(0.9) translate(-40%, 30%);
    right: 50%;
  }
  .text {
    margin: 1rem 0 1.5rem 0;
  }
  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

/* FOOTER */
.footer {
  background-color: #000; /* Black background */
  color: #fff;            /* White text */
  padding: 20px 0;        /* Adjust top/bottom spacing */
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Footer logo container */
.footer .logo {
  display: flex;
  align-items: center;
  /* Remove negative margin */
  margin-left: -30px;
}

/* The anchor that wraps the logo image + text */
.footer .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none; /* No underline on link */
}

/* Logo image: set a consistent height */
.footer .logo-link img {
  height: 40px;    /* Keep consistent with header or adjust as desired */
  width: auto;
  object-fit: contain;
}

/* Logo text next to the image */
.footer .logo-text {
  margin-left: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: #eee;
}

/* Center column: policy links + text */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;            /* Space between links */
  text-align: center;
}

/* Policy link styling */
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #ccc;
}

/* Small text for the All Rights Reserved line */
.footer-links p {
  font-size: 0.8rem;
  margin: 0;
}

/* Right column: social icons */
.footer-social {
  display: flex;
  gap: 15px; /* Space between icons */
}

/* Social icon links */
.footer-social a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #ccc;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}



/* Very small screens <= 480px */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-text {
    font-size: 1.4rem;
  }
  .btn {
    font-size: 1.0rem;
    padding: 0.5rem 1rem;
  }
}

