/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  color: #333;

  /* Added for sticky footer */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  background-image: url("h.png");
  color: white;
  padding: 45px;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  filter: brightness(70%);
  position: relative;
}

/* Logo styling */
.logo img {
  height: 60px;
  margin-bottom: 20px;
}
/* Contact Section with Background Image */
.extra-image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 60vh;
  overflow: hidden;
  margin: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.extra-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  z-index: 1;
}

/* Contact Box Styling */
.contact-right-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  padding: 25px 35px;
  border-radius: 20px;
  max-width: 420px;
  margin-right: 90px;
}

.contact-right-box h1 {
  margin-bottom: 15px;
  font-size: 26px;
  color: #2c3e50;
}

.contact-right-box address {
  line-height: 1.6;
  font-style: normal;
}

.contact-right-box a {
  color: green;
  text-decoration: none;
}

.contact-right-box a:hover {
  text-decoration: underline;
}


/* Footer */
.footer {
  background-color: lightskyblue;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  
}

.footer p {
  font-weight: 600;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 15px;
  }

/* Make main content grow to push footer down */
main.contact-page {
  flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .extra-image {
    flex-direction: column;
    height: auto;
    margin: 20px 10px;
  }

  .contact-right-box {
    margin: 20px;
    max-width: 90%;
  }

  .logo img {
    height: 55px;
  }

  .contact-right-box h1 {
    font-size: 22px;
  }
}

/* Phones */
@media (max-width: 600px) {
  /* phone styles here */
}

/* Tablets */
@media (min-width: 601px) and (max-width: 900px) {
  /* tablet styles here */
}

/* Desktops */
@media (min-width: 901px) {
  /* desktop styles here */
}

/* ===== Back Button (Fixed at Bottom Left) ===== */
.back-button {
  position: fixed;
  bottom: 40px;
  left: 40px;
  background-color:red;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1000;
}

.back-button:hover {
  background-color:red;
}
