/* General Reset */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: url('/assets/IMAGE10.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
}

h1, h2, h3 {
  color: #35424a;
  margin: 0;
}

a {
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #e8491d;
}

/* --- NAVIGATION BAR --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 18px 50px;
    background: linear-gradient(to right, #35424a, #1f2a31);
    position: relative;
    z-index: 100;
}

.logo {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin: 0 30px;
}

.logo img {
    height: 64px;
    width: auto;
    margin: 0;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links.left-links,
.nav-links.right-links {
    flex: 1 1 0;
    display: flex;
    align-items: center;
}

.nav-links.left-links {
    justify-content: flex-end;
}

.nav-links.right-links {
    justify-content: flex-start;
}

.nav-links li {
    margin: 0 12px;
    position: relative;
}

.nav-links a {
    font-size: 14px;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e8491d;
}

.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-links .dropdown-menu a {
    color: #333;
    padding: 10px 20px;
    background: none;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger menu (hidden on desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 4px 0;
    background: #fff !important;
    border-radius: 2px;
    transition: 0.3s;
}

/* --- MOBILE/TABLET NAVIGATION --- */
@media (max-width: 1024px) {
    .navbar {
        min-height: 70px;
        padding: 14px 10px;
        align-items: center;
    }
    .logo {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 102;
    }
    .logo img {
        height: 60px;
        max-width: 120px;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }
    /* Only hide direct children of .navbar, not those inside .nav-dropdown */
    .navbar > .nav-links {
        display: none !important;
    }
    .nav-dropdown .nav-links {
        display: block !important;
        flex-direction: column;
    }
    .hamburger-menu {
        display: flex !important;
    }
    .nav-dropdown {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 270px;
        background: #22303a;
        box-shadow: -4px 0 16px rgba(0,0,0,0.18);
        z-index: 2000;
        padding: 40px 0 20px 0;
        flex-direction: column;
        animation: slideInRight 0.25s;
        overflow-y: auto;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    .nav-dropdown.show {
        display: flex !important;
        flex-direction: column;
    }
    .nav-dropdown li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-dropdown a {
        font-size: 1.15rem;
        color: #fff;
        font-weight: 500;
        padding: 18px 32px;
        border-radius: 0;
        width: 100%;
        display: block;
        text-align: left;
        background: none;
        letter-spacing: 0.02em;
        transition: background 0.2s, color 0.2s;
        box-sizing: border-box;
    }
    .nav-dropdown a:hover,
    .nav-dropdown a:focus {
        background: #e8491d;
        color: #fff;
    }
    .nav-dropdown .dropdown-menu {
        display: block !important;
        position: static;
        background: none;
        box-shadow: none;
        padding-left: 15px;
        margin-bottom: 0;
    }
    .nav-dropdown .dropdown-menu a {
        color: #fff;
        font-size: 1rem;
        padding: 8px 0 8px 18px;
    }
}

/* Slide-in animation */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Animation for dropdown */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}

/* Desktop only: show nav links, hide hamburger/dropdown */
@media (min-width: 1025px) {
    .hamburger-menu,
    .nav-dropdown {
        display: none !important;
    }
    .nav-links {
        display: flex !important;
    }
}

/* Center the Contact Section Container */
.contact-section {
  background-image: url('/NEWIMAGES/IMAGE10.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.contact-details, .contact-form {
  width: 100%;
}

.contact-details h2, .contact-form h2 {
  text-align: center;
  color: #35424a;
  margin-bottom: 20px;
}

.contact-details p {
  font-size: 1rem;
  margin: 10px 0;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact-form input, .contact-form textarea, .contact-form button {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  background-color: #e8491d;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #d73814;
}

/* Footer Section */
footer {
    background-color: #35424a;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
    position: relative;
}

.footer-image {
    text-align: left;
    padding: 15px 10px 0px 20px;
    max-width: 1200px;
    margin: 0;
}

.footer-image img {
    max-height: 120px;
    width: auto;
    margin-left: 0;
    mix-blend-mode: screen;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e8491d;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
}

.footer-section ul li a:hover {
    color: #e8491d;
}

.footer-section p {
    margin: 5px 0;
    opacity: 0.8;
}

.footer-section p a {
    color: #ffffff;
}

.footer-section p a:hover {
    color: #e8491d;
}

/* PSRA Number */
.footer-psra-number {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: #d3d3d3;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
      flex-direction: column;
      text-align: center;
      position: relative;
  }

  nav ul {
      flex-direction: column;
      gap: 10px;
      text-align: center;
      padding: 0;
      margin: 10px 0;
  }

  nav ul li {
      display: inline-block;
      margin: 0 10px;
  }

  .login-button {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 40px;
      height: 40px;
  }

  .login-button img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
  }

  .contact-section {
    flex-direction: column;
  }

  .contact-details, .contact-form {
    flex: 1 1 100%;
  }

  .footer-container {
      flex-direction: column;
      text-align: center;
  }

  .footer-section {
      margin-bottom: 20px;
  }
}

/* Remove unwanted body padding on mobile/tablet */
@media (max-width: 1000px) {
    body {
        font-size: 16px;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 70px;         /* Increased from 48px */
        max-width: 150px;     /* Increased from 110px */
    }
 
}