/* Reset and layout */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* Header */
/* Header layout */
header {
  background: #007BFF;
  padding: 1rem 2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo stays on the left */
.logo {
  height: 75px;
  width: auto;
}

/* Center the nav using absolute positioning */
nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}


/* Main content */
.main-content {
  flex: 1;
  padding-bottom: 2rem;
}

/* Calculator */
.container {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 500px;
  margin: 2rem auto;
}

input {
  margin: 0.5rem;
  padding: 0.5rem;
  font-size: 1rem;
  width: 200px;
}

.buttons {
  margin-top: 1rem;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin: 0.3rem;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

#result {
  margin-top: 1rem;
  font-size: 1.2rem;
}

/* Info sections */
.info-section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  margin: 0 1rem;
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.social-icons {
  margin: 1rem 0;
}

.social-icons a {
  color: #b13434;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  text-decoration: none;
}




#hty {
  margin: 1rem 0;
  width:75px; 
  height:75px;
  align:left;
}



.social-icon a:hover {
  color: #b13434;
}

/* Contact Page Layout */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

/* Contact form on the left */
.contact-info {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.contact-info h1 {
  margin-bottom: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

/* Contact Details Below Form */
.contact-details {
  margin-top: 2rem;
}

.contact-details p {
  margin: 0.5rem 0;
}

/* Map on the right */
.map {
  flex: 1 1 50%;
  min-width: 300px;
  height: 450px;
}
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
}

.contact-form-wrapper {
  flex: 1 1 50%;
  min-width: 300px;
}

.contact-map {
  flex: 1 1 45%;
  min-width: 300px;
  height: 450px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.contact-details {
  margin-top: 2rem;
}
