/* General Layout/Design for the page */
body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.header_logo {
  height: 3.5cm;
  width: auto;
  max-width: 100%;
  margin-left: 20px;
  border-radius: 10px;
  /* REMOVED: margin-bottom: 19px; */
  /* Ensures logo is always at the top-left */
  margin-top: 0; 
}
.navbar a {
  color: #ffd700; 
  text-decoration: none;
  font-size: 20px;
  margin: 0 20px;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease-in-out;
  /* REMOVED: margin-bottom: 105px; which caused issues */
}
.navbar {
  display: flex;
  gap: 30px;
  /* Align the whole navbar to the top of the container */
  align-items: flex-start; 
  flex-wrap: wrap;
  /* REMOVED: Any unnecessary margin that pushes it down */
  margin-top: 0; 
}
.navbar a:hover {
  color: #ffd700;
}



.navbar a.active {
  color: white;
  font-size: 25px;
  /* REMOVED: margin-bottom: 105px; */
}
.navbar a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px;
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  transition: all 0.5s ease-in-out;
}

/* popop notif sa login */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

.popup h2 {
  margin-bottom: 20px;
}

.popup button {
  margin: 10px 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.btn-login {
  background-color: #007bff;
  color: white;
}

.btn-register {
  background-color: #28a745;
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.container_services {
  background-color: #001c5c;
  color: white;
  border-radius: 30px;
  max-width: 100%;
  margin: 60px auto 40px;
  text-align: center;
  padding: 40px 20px;
}

/* Main Title Style */
.title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 30px;
  color: #333;
}

/* --- CAROUSEL AND CARD STYLES --- */

/* Carousel container */
.carousel-container {
  position: relative;
  width: 90%;
  margin: 40px auto;
  overflow: hidden;
}

/* Slider holding cards */
.cards-slider {
  display: grid;
  grid-template-rows: repeat(2, auto); 
  grid-auto-flow: column; 
  grid-gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.cards-slider::-webkit-scrollbar {
  display: none;
}

/* Each card item wrapper */
.card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Individual Card Styling */
.card {
  width: 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 16px;
  text-align: center;
  transition: transform 0.3s;
  height: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover {
  transform: translateY(-5px);
}
.card img {
  width: 100%;
  border-radius: 12px;
  height: 150px;
  object-fit: cover;
}
.card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #333;
  flex-grow: 1;
}
.card button {
  margin-top: 8px;
  background: #0040aa;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
}
.card button:hover {
  background: #0056b3;
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0040aa;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 3px 15px;
  border-radius: 50%;
  z-index: 5;
  transition: 0.3s;
}
.carousel-btn:hover {
  background: #0056b3;
}
.left-btn {
  left: 0px;
}
.right-btn {
  right: 0px;
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    width: 200px;
  }
}
/* End of Carousel Styles */

/* Contact Section */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 50px;
  flex-wrap: wrap;
}

.contact-box {
  background: #001c5c;
  color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.contact-box:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-box img {
  width: 60px;
  margin-bottom: 15px;
}

/* Help Section */
.help-section {
  background-color: #001c5c;
  padding: 50px;
  color: white;
  text-align: center;
  border-radius: 15px;
  width: 70%;
  margin: 60px auto;
  transition: all 0.4s ease-in-out;
}

.help-text p {
  color: white;
}

.help-section:hover {
  background-color: #002d82;
  transform: scale(1.1);
}

.help-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
}

.help-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.help-button {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 15px 35px;
  font-size: 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 1s, transform 0.3s;
}

.help-button:hover {
  background: rgb(255, 255, 255);
  color: #001c5c;
  transform: scale(1.1);
}

.help-text {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}

.help-button-link {
  display: inline-block;
  background-color: #002d7a;
  color: white;
  padding: 10px 25px;
  border: 1px solid white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.help-button-link:hover {
  background-color: #0040aa;
  transform: scale(1.05);
}

/* Offers Section */
.container_offer {
  background-color: #001c5c;
  color: #eeecde;
  border-radius: 25px;
  padding: 40px 30px;
  text-align: center;
  max-width: 900px;
  margin: 50px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  /* *** NEW: ADDING THE BLUE BORDER *** */
  border: 4px solid #007bff; /* Using a standard bright blue for emphasis */
}

.header_offer {
  font-size: 24px;
  font-weight: 700;
  color: #eeecde;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.offers-section {
  margin-bottom: 30px;
}

.offers-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
}

.offers-list li {
  font-size: 18px;
  margin: 12px 0;
  position: relative;
  padding-left: 25px;
  color: #eeecde;
}

.offers-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #007bff;
  font-size: 16px;
}

.button-container {
  margin-top: 20px;
}

.cta-button {
  background-color: #002d82;
  color: white;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #002d82;
}

/* Responsive Design */
@media (max-width: 768px) {
  .offers-list {
    columns: 1;
  }
}

/* Footer Section */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: #001f4d;
  color: #ffffff;
  padding: 40px 20px;
  font-family: "Segoe UI", sans-serif;
  flex-direction: column;
}

@media (min-width: 992px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-section,
.footer_map,
.logo-section {
  flex: 1 1 250px;
  min-width: 250px;
  margin: 10px;
}

.logo-section {
  max-width: 250px;
  text-align: center;
}

.footer_logo {
  width: 120px;
  margin-bottom: 10px;
  border-radius: 20px;
  margin-top: 45px;
}

.tagline {
  font-size: 14px;
  font-style: italic;
  color: #d0d0d0;
}

.footer_map iframe {
  width: 100%;
  height: 150px;
  border: 0;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .footer-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .footer-section,
  .footer_map,
  .logo-section {
    text-align: center;
  }
}
.footer-section h4,
.footer_map h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-section p,
.footer_map p {
  font-size: 16px;
  line-height: 1.5;
  color: #e0e0e0;
}

/* General Content Styles (For linked pages) */
.container {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
  color: #001c5c;
}

p {
  margin-bottom: 20px;
  color: #333;
}

img {
  width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

ul {
  padding-left: 20px;
  color: #333;
}

blockquote {
  border-left: 4px solid #0077cc;
  background-color: #eaf4ff;
  padding: 10px 20px;
  margin: 20px 0;
  color: #005299;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.section-title {
  margin-top: 40px;
}

table,
td,
th,
input,
button,
select {
  font-size: inherit;
}
.header {
  display: flex;
  align-items: flex-start; 
  justify-content: space-between;
  flex-wrap: wrap;
  
  /* *** UPDATED: Reduced vertical padding (20px top/bottom) *** */
  padding: 20px 30px; 
  
  background-color: #001c5c; 
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ... (Existing Navbar and other styles) ... */

/* --- OFFER/SERVICE SECTION STYLES (Adding the requested blue border) --- */
.background_color{
  
  background-color: #001c5c; 
}

.head{
  font-size: large;
  color: white;
}

/* --- New Styles for the Centered Text Block --- */
.hero-text-container {
    /* Centers the entire text block horizontally */
    text-align: center;
    /* Add some padding above/below for spacing (adjust as needed) */
    padding: 60px 20px; 
    margin: 0 auto;
    max-width: 800px; /* Limits width so text breaks nicely */
}

/* --- Main Title Styling --- */
.main-title {
    /* Use a large, bold font for the main headline */
    font-size: 3rem; /* Large font size */
    font-weight: 700;
    color: #ffffff; /* Your primary dark blue */
    margin-bottom: 10px;
    line-height: 1.2; /* Tighter line spacing */
}

/* --- Subtitle Styling --- */
.sub-text {
    /* Smaller, lighter font for the descriptive text */
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff; /* A softer color for contrast */
    margin-top: 0;
}

/* You might want to remove or rename your old .head style if it exists */
/* .head {
    /* ... Remove or update this style ... * /
} 


*/
/* .HEADbutton{
    background-color: white;
    color: #002d82;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s 
ease;
    display: inline-block;
    margin-top: 5px;
} */