/* ===== BASE STYLES ===== */
html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  flex-wrap: wrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar-left .logo {
  height: 70px;
  max-width: 100%;
}

.navbar-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
  gap: 10px;
}

.navbar a {
  margin: 0 10px;
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 16px;
}

.navbar-center a:hover {
  color: #a40000;
}

.navbar-center a.active {
  color: #a40000;
  font-weight: bold;
}



.social-icons {
  display: flex;
  gap: 8px;
}
.social-icons :hover {
   color: #a40000;

}

.social-icons a {
  color: #333;
  font-size: 18px;
}

/* ===== MOBILE NAV ===== */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 999;
  width: 100%;
}

.mobile-nav a {
  padding: 15px 20px;
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.mobile-nav a:hover {
  background-color: #f5f5f5;
}

.mobile-nav.show {
  display: flex;
}

/* ===== SIDEBAR ===== */
.sidebar {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-top: none;
  padding-top: 10px;
  border-radius: 0 0 20px 20px;
  margin: 20px;
  width: 220px;
  float: left;
}

.sidebar-header {
  background-color: #a40000;
  color: white;
  padding: 10px;
  font-weight: bold;
}

.sidebar-item {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  color: black;
  transition: color 0.3s;
  text-decoration: none;
}


.sidebar-item:hover {
  color: #a40000;
}

.sidebar-image {
  width: 220px;
  margin: 20px;
  cursor: pointer;
  float: left;
  clear: both;
}

.sidebar-image img {
  width: 100%;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  margin-left: 280px;
  margin-right: 20px;
  margin-top: 20px;
  overflow: hidden;
}

.hero-banner img {
  width: 85%;
  height: auto;
}

.breadcrumb {
  width: 85%;
  background-color: #a40000;
  color: white;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 16px;
  margin-top: -4px;
}

.subheading {
  text-align: right;
  font-style: italic;
  color: #ccc;
  margin-right: 20px;
}

.about-text {
  padding: 0 20px;
  color: #4b4b4b;
  font-size: 18px;
}

.highlight {
  color: #a40000;
  font-weight: bold;
}

.copyright {
  font-size: 12px;
  color: #333;
}

  .send-message {
        display: flex;
        justify-content: end;
        margin-top: 5px;
        margin-right: 0px;
        position: relative;
        z-index: 1001; /* Higher than contact form panel's z-index */
      }

      .send-message button {
        background-color: #007bff;
        color: white;
        border: none;
        padding: 15px 25px;
        font-size: 20px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
      }

      .send-message button:hover {
        background-color: #0056b3;
      }


/* ===== CONTACT BUTTON ===== */
.contact-button {
  position: fixed;
  right: 0;
  top: 50%;
  background: #444;
  color: white;
  padding: 20px 13px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
  z-index: 999;
  border: none;
}

.contact-button:hover {
  background: #333;
}

.contact-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.6;
}

/* ===== CONTACT FORM ===== */
/* Slide-in Contact Form Panel */
.contact-form-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: right 0.4s ease;
  z-index: 1000;
  overflow-y: auto;
  box-sizing: border-box;
}

.contact-form-panel.active {
  right: 0;
}

.contact-form-content {
  position: relative;
  padding: 20px;
}

.close-btn2 {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
}

.contact-form-content h3,
.contact-form-content h4 {
  margin: 10px 0;
  color: #333;
}

.contact-form-content p {
  margin: 5px 0;
  color: #333;
}

.contact-form-content a {
  color: #007bff;
  text-decoration: none;
}

.contact-form-content input,
.contact-form-content select,
.contact-form-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form-content textarea {
  height: 100px;
  resize: vertical;
}

.contact-form-content button[type="submit"] {
  background-color: #555;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  margin-top: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 4px;
}

.contact-form-content button[type="submit"]:hover {
  background-color: #0056b3;
}
/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .sidebar {
    width: 100%;
    float: none;
    margin: 0;
    border-radius: 0;
  }

  .sidebar-image {
    width: 220px;
    margin: 20px auto;
    float: none;
    display: block;
  }

  .main-content {
    margin-left: 20px;
    margin-right: 20px;
  }

  .hero-banner img,
  .breadcrumb {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar-center,
  .social-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .contact-button {
    padding: 12px 8px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .main-content {
    margin-left: 10px;
    margin-right: 10px;
  }

  .about-text {
    padding: 0 10px;
  }

  .contact-form-panel {
    max-width: 100%;
    padding: 0px;
  }

  .contact-form-content {
    padding: 15px;
  }
}
/* ''''''''''''''''FOOTER'''''''''''''' */

.footer {
  background: #f2f2f2;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding-top: 0px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  padding: 10px;
  color: #333;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #a40000;
}
.footer-links a.active {
  color: #a40000;
  font-weight: bold;
}

@media (max-width: 1080px) {
  .navbar-center,
  .social-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.show {
    display: flex;
  }
  .footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    justify-content: center;
  }
}
