/* Top Contact Bar Styling begins */
.top-contact-bar {
  background: linear-gradient(90deg, #0a1f44, #122b5a); /* Dark blue to navy */
  color: #d1d1d1; /* Shiny grey text */
  font-size: 0.9rem;
}

.top-contact-bar a {
  color: #d1d1d1;
  text-decoration: none;
}

.top-contact-bar a:hover {
  color: #ffdd00; /* Yellow highlight on hover */
}

.top-contact-bar i {
  font-size: 1rem;
}

/* =================== PRELOADER =================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b0b3b; /* deep navy background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ffd700; /* gold accent */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#preloader.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ==============PRELOADER END =========*/

/* ---------- Desktop Navbar Styling ---------- */
@media (min-width: 992px) { /* Only for large screens */
  .navbar-nav {
    display: flex;
    gap: 2rem; /* Adjust spacing between links */
    align-items: center;
    justify-content: center; /* Center links in navbar */
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem; /* Increase font size */
    font-weight: 500;  /* Medium weight */
    padding: 0.5rem 0.75rem;
    transition: color 0.3s, transform 0.2s;
  }

  /* Hover / Active effect */
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: #ffd700; /* Yellow accent */
    transform: translateY(-2px); /* Slight lift effect */
  }

  /* Dropdown items on desktop */
  .dropdown-item:hover {
  background-color: #FFD700; /* Yellow background on hover */
  color: #000;
}

  .navbar-nav .dropdown-item {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* Mobile dropdown styling */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    background-color: #fff; /* white background for mobile dropdowns */
    border: 1px solid #ddd; /* subtle border */
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .navbar .dropdown-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    border-radius: 4px;
    margin: 0.25rem;
    transition: background 0.3s;
  }

  .navbar .dropdown-item:hover {
    background-color: #ffd700; /* yellow accent on hover */
    color: #000;
  }

  /* Optional: remove bottom border for last item */
  .navbar .dropdown-menu li:last-child .dropdown-item {
    border-bottom: none;
  }
}

/* Hover dropdown for large screens */
@media(min-width:992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* optional */
    animation: slideDown 0.3s ease-in-out forwards;
  }
}

@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Add spacing & modern font */
.navbar .nav-link {
  padding: 0.8rem 1.2rem;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-weight: 500;
}

/* CONTACT & NAVBAR ENDS */

/* =================== TOP FOOTER =================== */
.footer-top {
  background-color: #0a163a;
  color: #ccc;
  padding: 3rem 0;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Titles */
.footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffc107;
  margin-bottom: 1rem;
}

/* Logo + brief */
.footer-logo img {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
  max-width: 250px;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffc107;
}

/* Contact */
.footer-contact {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  color: #ffc107;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
}

@media (min-width: 992px) {
  .footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .footer-block {
    width: 30%; /* evenly spaced blocks */
  }

  .footer-logo,
  .footer-logo p,
  .footer-contact li,
  .footer-links li {
    text-align: left;
  }

  .footer-social {
    margin-top: 0.5rem;
  }
}

@media (max-width: 991px) {
  .footer-top .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-block {
    width: 100%;
    margin-bottom: 2rem;
    align-items: center;
    text-align: center;
  }

  /* Logo */
  .footer-logo {
    align-items: center;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 0.5rem auto;
  }

  .footer-logo p {
    margin: 0 auto;
  }

  /* Quick Links */
  .footer-links {
    align-items: center;
    text-align: center;
  }

  /* Contact */
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-contact li {
    justify-content: center; /* centers icon + text */
  }

  /* Social Icons */
  .footer-social {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* =================== TOP FOOTER end =================== */

/* ------- BOTTOM FOOTER BEGIN --------*/

.footer-bottom {
  background-color: #1a1a2e; /* white background */
  color: #0a163a; /* navy blue text color */
  font-size: 0.95rem;
  border-top: 1px solid #ccc;
}

.footer-bottom p {
  margin: 0;
  color: #cbcbcfc8; /* consistent black/navy text */
}

.footer-card img {
  max-height: 40px;
  object-fit: contain;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-card img {
    max-height: 35px;
  }
}

/* ===== BOTTOM FOOTER END =====*/


/* ========================================================= */
/* PROFESSIONAL CONTACT PAGE STYLING */
/* ========================================================= */

/* --- GENERAL TYPOGRAPHY & COLOR (Ensure good contrast) --- */
body {
    color: #333; /* Darker body text for readability */
}

/* Adjusting the hero section for a clean header */
.contact-hero {
    background-color: #f8f9fa;
    border-bottom: 5px solid #ffc107; /* Pop of branding color */
    padding: 80px 20px;
}
.contact-hero .display-4 {
    color: #1a1a2e;
}

/* --- CONTACT FORM ENHANCEMENTS --- */
.contact-form-section {
    padding: 80px 20px;
}

.contact-form-section h3.text-warning {
    color: #ffc107 !important;
    font-size: 2rem;
}

/* Larger, cleaner form inputs */
#contactForm .form-control-lg,
#contactForm .form-select-lg {
    border-radius: 6px;
    padding: 12px 18px;
    border: 1px solid #e0e0e0;
}

#contactForm textarea {
    min-height: 180px; /* More space for detailed messages */
}

/* Focus state matching branding */
#contactForm .form-control:focus,
#contactForm .form-select:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.3);
}

/* Professional Button Style */
.contact-form-section .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #1a1a2e;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 15px;
}

.contact-form-section .btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

/* --- DIRECT CONTACT & INFO COLUMN --- */
.contact-form-section .bg-light {
    background-color: #f5f5f5 !important; /* Slightly distinct background */
    border-left: 5px solid #1a1a2e; /* Vertical line for separation */
}

.contact-form-section .text-dark {
    color: #1a1a2e !important;
}

/* --- MAP SECTION --- */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Deeper shadow for elevation */
}