/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global styles */
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: white;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

html {
  overflow-y: scroll;
}

/* Header */
.header {
  background: white;
  color: #333;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo img {
  height: 55px;
  width: auto;
  display: block;
  margin-left: -220px;
  margin-top: 25px;
}

/* Navigation */
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 80px;
}

.nav a {
  position: relative;
  color: #333;
  text-decoration: none;
  font-weight: 550;
  font-size: 18px;
  padding-bottom: 5px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
  left: 0;
}

/* Search Icon (header) */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-right: -200px;
}

.search-btn svg {
  width: 35px;
  height: 35px;
  fill: #333;
  transition: fill 0.2s ease;
}

.search-btn:hover svg {
  fill: #007BFF;
}

.search-btn:active {
  background: rgba(0, 123, 255, 0.2);
  transform: scale(0.9);
}


/* Contact Form */
.form-2 {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 900px;
  margin: 80px auto; /* adds space between header & footer */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);

  /* background image */
  background: url("") no-repeat center center;
  background-size: cover;
  position: relative;
}

.form-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* dark overlay for readability */
}

/*contact form*/

/* Page background */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: url("ContactBackground.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
}

/* Contact form container */
.form-2 {
  display: flex;
  max-width: 900px;
  margin: 153.5px auto;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.75); /* dark card for contrast */
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.form-left,
.form-right {
  flex: 1;
  padding: 40px;
  z-index: 1;
}

.form-left h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.form-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-right input,
.form-right textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', san;
  background-color: white;
  color: #222;
}

.form-right input::placeholder,
.form-right textarea::placeholder {
  color: #555;
}

.form-right button {
  background-color: #6f51e5;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-right button:hover {
  background-color: #005fa3;
}




/* Footer */
.footer {
  background: #222;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.footer-top {
  background: #6f51e5;
  text-align: center;
  padding: 15px;
}

.footer-top p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-top .social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-top .social-icons a:hover {
  color: #ddd;
}

.footer-main {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  padding: 40px 20px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 1 250px;
  max-width: 300px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #6f51e5;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}
