@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background-color: rgb(235, 235, 240);
}
/* ------------------------------
   NAVIGATION
------------------------------ */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #fff; /* White nav background */
  border-bottom: 1px solid #ccc; /* Subtle bottom border */
}


/* Left: Container for hamburger + brand + tagline */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem; /* Space between hamburger & brand */
}

/* Hamburger Button */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  padding: 0;
}

/* Hamburger Icon Lines */
.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #000; /* Black lines on white nav */
  border-radius: 2px;
}

/* Logo Container (same height as nav) */
.logo-container {
  display: flex;
  align-items: center;
  height: 60px; /* match the nav bar’s height */
}

.logo-container img {
  height: 100%;
  width: auto;        /* maintain aspect ratio */
  object-fit: contain;
  display: block;
}

/* Brand / Title name */
.nav-logo {
  color: #000;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Tagline under brand name */
.nav-tagline {
  font-size: 0.8rem;
  color: #666;
  margin-top: 2px; /* small vertical offset */
}

/* Center: Search Bar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.nav-search input {
  width: 300px;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.nav-search button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-search button:hover {
  background-color: #0056b3;
}

/* Right: Global/Language */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0a043f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;      /* tweak as needed to match your nav */
  line-height: 1.2;  
}

.nav-link:hover {
  color: #0056b3;
}
/* ------------------------------
   MOBILE NAV OVERLAY
------------------------------ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  color: #000;
  transition: left 0.3s ease;
  z-index: 9999;
  padding: 2rem 1rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}

.mobile-nav.open {
  left: 0;
}

.close-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
}

/* Include an X icon with the close text */
.close-btn i {
  margin-right: 0.5rem;
}

.mobile-nav ul {
  list-style: none;
  margin-top: 2rem;
  padding-left: 0;
}

.mobile-nav ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 1.3rem;
  font-weight: 500;
}

.mobile-nav ul li span {
  color: #006064;
  font-size: 1.5rem;
}

/* Hide desktop search & right links on small screens */
@media (max-width: 768px) {
  .nav-search, 
  .nav-right {
    display: none;
  }
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh; /* Adjust as needed */
  overflow: hidden;
}

/* Each slide as a full background */
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slide text overlay */
.hero-slide-content {
  max-width: 650px;
  color: #fff;
 
}

.hero-slide-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  margin-top: 20px;
}

.hero-slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1.0rem;
  line-height: 1.3;
}

.btn-hero {
  display: inline-block;
  background-color: #0a043f;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn-hero:hover {
  background-color: #4b4d4e;
}

/* Left/Right Navigation Arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  z-index: 2;
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(0,0,0,0.5);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.90s ease;
  
  /* Center content horizontally & vertically */
  display: flex;
  align-items: center; 
  justify-content: center; 
  padding: 2rem;  /* Optional padding around edges */
}

.hero-slide-content {
  width: 800px;     
  height: 260px;            /* Adjust as needed */
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
  color: #fff;                      /* White text on dark background */
  padding: 20px 30px;              /* Spacing inside the box */
  border-radius: 6px;              /* Slightly rounded corners */
  text-align: center;              /* Center the text */
}



/* About Section */
.about {
  padding: 80px 20px;
  background-color: #fff;
  /*background: url('PioneerImages/stock9.png') center/cover no-repeat fixed;*/
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  
}


.about-text {
  flex: 1;
  color: rgb(15, 15, 15);
}

.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #0a043f;
  text-align: center;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-link {
  text-decoration: none;
  color: #0a043f;
  font-weight: 600;
  transition: color 0.3s;
  margin-right: 200px;
}

.cta-link:hover {
  color: #333;
}

/* Foundation section wrapper */
.foundation-section {
  background: #f7f6f2; /* light background */
  padding: 0;          /* remove extra padding so image aligns flush right */
}

.foundation-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;   /* makes both columns the same height */
  justify-content: space-between;
  width: 100%;
}

/* Left: Text column */
.foundation-copy {
  flex: 0 0 50%;         /* takes up half width (adjust as needed) */
  padding: 48px 36px;    /* inner padding for text */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.foundation-title {
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  line-height: 1.2;
  color: #0b3c4f;                       /* deep teal/blue */
  margin-bottom: 20px;
  letter-spacing: 0.2px;
  text-align: center;
}

.foundation-text {
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1.8;
  color: #1e1e1e;
  max-width: 56ch;
}

/* Right: Image column */
.foundation-media {
  flex: 0 0 50%;          /* fixed to half width */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Image fills container height & width, positioned flush right */
.foundation-media img {
  width: 100%;            /* fills its column only */
  height: 100%;
  object-fit: cover;       /* maintain aspect ratio, cover area */
  border-top-left-radius: 120px;  /* curved left edge */
  border-bottom-left-radius: 120px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* Thin curved semi-transparent border on the left side of image */
.foundation-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0; /* sits on left curved edge */
  width: 12px;  /* thin border */
  height: 100%;
  border-top-left-radius: 120px;
  border-bottom-left-radius: 120px;
  background: rgba(255,255,255,0.5); /* semi-transparent border */
  pointer-events: none;
}

/* Optional: blue translucent overlay on left curve */
.foundation-media::before {
  content: "";
  position: absolute;
  left: -22%;
  top: 0;
  width: 60%;
  height: 100%;
  background: rgba(9, 53, 86, 0.55);
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  pointer-events: none;
}

/* Responsive: Stack vertically on small screens */
@media (max-width: 900px) {
  .foundation-inner {
    flex-direction: column;
  }

  .foundation-copy, .foundation-media {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* remove large curve for mobile if needed */
  .foundation-media img,
  .foundation-media::after {
    border-radius: 0;
  }
}



/* ================================
   THREE CARDS CAROUSEL SECTION
================================ */
/* Section container */
.three-cards-section {
  padding: 60px 20px;
  background-color: rgb(235, 235, 240);
  text-align: center;
  margin-top: 5px;
}

.three-cards-section h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
}

/* Carousel outer container – fixed width so that exactly three cards (350px each + 20px gaps) show */
.cards-carousel-container {
  position: relative;
  width: 1090px; /* (3 x 350) + (2 x 20) = 1050 + 40 = 1090px */
  margin: 0 auto;
  overflow: hidden;
}

/* The track that holds all 6 cards horizontally */
.cards-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Each card – original dimensions */
.card {
  position: relative;
  width: 350px;
  height: 500px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 20px;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:last-child {
  margin-right: 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Card Image Container */
.card-img {
  width: 100%;
  height: 100%;
  background-color: #ccc; /* Fallback background */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card image itself using object-fit: contain */
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Semi-transparent text overlay, positioned in bottom-right covering 90% width */
.card-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90%; /* Set a fixed width */
  height: 250px; /* Set a fixed height */
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  box-sizing: border-box;
  border-top-left-radius: 8px;
  text-align: center;
  z-index: 2;
  overflow: hidden; /* Prevents content from overflowing */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensures proper spacing */
}

/* Standardize Heading and Paragraph Sizes */
.card-overlay h1 {
  font-size: 1.0rem;
  text-transform: uppercase;
  color: rgb(8, 11, 36);
  white-space: nowrap; /* Prevents line breaks */
  overflow: hidden;
  text-overflow: ellipsis; /* Adds "..." if text is too long */
}

.card-overlay p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 200px; /* Prevents excessive text growth */
}

/* Ensures buttons don't cause height changes */
/* Ensures buttons don't cause height changes */
.btn-herotwo {
  display: inline-block;
  background-color: rgb(8, 11, 36);
  color: #fff;
  text-decoration: none;
  padding: 6px 4px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-herotwo:hover {
  background-color: rgba(78, 78, 80, 0.9);
}


/* ================================
   CAROUSEL NAVIGATION ARROWS
================================ */
.cards-prev,
.cards-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  z-index: 5;
}

.cards-prev {
  left: 1rem;
}

.cards-next {
  right: 1rem;
}

.cards-prev:hover,
.cards-next:hover {
  background: rgba(0,0,0,0.5);
}

/* ================================
   RESPONSIVE ADJUSTMENTS (Optional)
================================ */
@media (max-width: 1200px) {
  .cards-carousel-container {
    width: 100%;
    padding: 0 10px;
  }
}

/* === Housing Section === */
.housing-section {
  /* Adds vertical spacing */
  padding: 60px 20px;
  /* Centers the container horizontally */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Optional background color or gradient */
  background-color: #f9f9f9;
  /* If you have a fixed header, ensure margin-top to avoid overlap */

}

.housing-container {
  /* Limit maximum width and center content */
  max-width: 1200px;
  width: 100%;
  display: flex;
  gap: 40px; /* Space between image and text */
  align-items: center;
}

/*.housing-image {
  flex: 1;
  Optional text-align center if you want the image centered in its column
  text-align: center; 
}

.housing-image img {
  width: 100%;
  height: auto;
  object-fit: cover; Ensures the image fills the container without distortion 
}*/

.housing-image {
  flex: 1;
  overflow: hidden;          /* hide any overflow edges */
}

.housing-video {
  display: block;            /* remove inline spacing */
  width: 100%;               /* full column width */
  height: auto;              /* keep aspect ratio */
  object-fit: cover;         /* cover the container, cropping as needed */
}

.housing-text {
  flex: 1;
  color: #000; /* Adjust text color as needed */
}

.housing-text h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: rgb(3, 3, 3);
  line-height: 1.5;
  text-align: center;
}

.housing-text p {
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  line-height: 1.6;
  margin-bottom: 20px;
  margin-top: 20px; /* adjust if header is fixed */
  color: #1e1e1e;
}

.cta-link {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color:  #0a043f;; /* Link color */
  position: relative;
}

.cta-link:hover {
  text-decoration: underline;
}

/* === Homepage Article Section === */
/* Container for the entire section */
.three-cards-section2 {
  padding: 60px 20px;
  background-color: rgb(235, 235, 240);
  text-align: center;
  margin-top: 10px;
}

.three-cards-section2 h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
}

/* Wrapper for the three cards */
.cards-wrapper2 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Fixed-Size Card */
.card2 {
  width: 350px;          /* Fixed width */
  height: 400px;         /* Fixed height */
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;      /* Ensure card corners remain rounded */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card2:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image Container (fixed height) */
.card-img2 {
  width: 100%;
  height: 200px;         /* Reserve 250px for the image */
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  background-color: #ccc; /* Fallback background if image fails */
}

/* Image styling: use object-fit: cover to fill the container uniformly */
.card-img2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;       /* Ensures the image covers the container */
  object-position: center; /* Center the image */
}

/* Card Content: use grid layout for consistent distribution */
.card-content2 {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: calc(100% - 250px); /* Remaining height after the image area */
  padding: 10px;
  padding-bottom: 20px;      /* Increase to push the button up */
  gap: 10px;
}

/* Title styling */
.card-content2 h3 {
  margin: 0;
  text-align: center;
  font-size: 1.0rem;
  margin-bottom: 10px;
  color: #333;
  text-transform: uppercase;
}

/* Text paragraph: scrollable if content exceeds available space */
.card-content2 p {
  margin: 0;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

/* Learn More Button: always in the bottom row, centered */
.learn-more-btn2 {
  justify-self: center;
  padding: 8px 16px;
  background-color: #0a043f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  padding-bottom: 10px;
  transition: background-color 0.3s ease;
  margin: 0;
   align-self: end; 
}

.learn-more-btn2:hover {
  background-color: #333;
}



/*Footer*/

.footer {
  background-color: #000;  /* Black background */
  color: #fff;             /* White text */
  padding: 20px 0;
  font-family: Arial, sans-serif; /* Or your preferred font */
}

.footer-container {
  max-width: 1200px;       /* Adjust as needed */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === Left Column: Logo & Brand Text === */
/* For Footer Logo: Match the nav styles */
.footer-brand .brand-logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-brand .brand-logo span {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: 2px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  height: 50px;            /* Adjust as needed */
  width: auto;
  margin-right: 10px;
}

.brand-text {
  line-height: 1.2;
  font-size: 1rem;
}

/* === Center Column: Policy Links === */
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;     /* Centers links horizontally */
  gap: 6px;                /* Space between links */
  text-align: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.3s;
}

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

.footer-links p {
  font-size: 0.8rem;
  margin: 0;
}

/* === Right Column: Social Icons === */
.footer-social {
  display: flex;
  gap: 15px;               /* Space between icons */
}

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

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


/* === Responsive Adjustments (Optional) === */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .about-container, .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text, .contact-info, .contact-form {
    flex: none;
  }
  .nav-links ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* prevent any rogue horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* ── Up to 1200px ── */
@media (max-width: 1200px) {
  /* make the cards container fluid */
  .cards-carousel-container {
    width: 100%;
    padding: 0 1rem;
  }
}

/* ── Up to 992px (small laptops / tablets) ── */
@media (max-width: 992px) {
  /* collapse the 3‑card carousel into 2 columns */
  .cards-carousel-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .cards-prev,
  .cards-next {
    display: none;
  }
  /* hero text container spans full width */
  .hero-slide-content {
    max-width: 90%;
    padding: 1.5rem;
  }
  /* nav items stack */
  .navbar {
    flex-wrap: wrap;
  }
  .nav-left, .nav-right {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }
}

/* ── Up to 768px (tablets / large phones) ── */
@media (max-width: 768px) {
  /* switch cards to a swipeable track again */
  .cards-carousel-container {
    display: block;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .cards-track {
    display: flex;
    gap: 1rem;
  }
  .card {
    flex: none;
    scroll-snap-align: start;
    width: calc(80% - 1rem);
    margin-right: 1rem;
  }

  .hero-slide-content {
    width: 100%;
    padding: 1rem;
  }
  /* stack hero nav arrows below the content */
/* Left/Right Navigation Arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  z-index: 2;
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(0,0,0,0.5);
}
}

/* ── Up to 576px (small phones) ── */
@media (max-width: 576px) {
  .hero-slide-content h1 {
    font-size: 1.6rem;
  }
  .hero-slide-content p {
    font-size: 1rem;
  }
  .btn-hero {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .card {
    width: 100% !important;
    margin-right: 0 !important;
  }
  /* tighten up paddings site‑wide */
  .about, .three-cards-section, .housing-section, .three-cards-section2 {
    padding: 2rem 1rem;
  }
  .about-container, .housing-container {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ── Down to 380px (very small phones) ── */
@media (max-width: 380px) {
  .nav-logo {
    font-size: 1.4rem;
  }
  .nav-tagline {
    display: none; /* hide tagline if it’s too long */
  }
  .learn-more-btn2, .nav-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
}

/* =============================
   Very small phones: up to 412px
   Must come after all other .hero-slide-content rules
   ============================= */
   @media (max-width: 450px) {
    /* Brand / Title name */

  
    /* Brand / Title */
    .nav-logo{
      display:block;
      width:100%;
      text-align:center;
      font-size:1.6rem;     /* tweak as you like */
      font-weight:700;
      margin:0;
      line-height:1.1;
    }
  
    /* Tagline directly under the title */
    .nav-tagline{
      display:block;
      width:100%;
      text-align:center;
      font-size:.8rem;
      color:#666;
      margin:2px 0 0;
    }
    .hero-slide-content {
      /* neutralize the hard height */
      height: auto !important;
      /* allow the box to grow, but never shrink below 350px */
      min-height: 250px !important;
      /* stretch it to nearly full width of its container */
      width: 70% !important;
      padding: 1.2rem !important;
      box-sizing: border-box;
    }
  
    .hero-slide-content h1 {
      font-size: 1.5rem !important;
      line-height: 1.2;
    }
    .hero-slide-content p {
      font-size: 0.9rem !important;
      line-height: 1.3;
    }
    .btn-hero {
      display: block !important;
      margin: 1rem auto 0 !important;
      padding: 0.5rem 1rem !important;
      font-size: 0.9rem !important;
    }

    /* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 40vh; /* Adjust as needed */
  overflow: hidden;
}

  /* keep every slide absolutely stacked under each other, cover the full area */
  .hero-slider .hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Left/Right Navigation Arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  z-index: 2;
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(0,0,0,0.5);
}

.about-text h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #0a043f;
  text-align: center;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}
.cta-link{
  display:inline-block;
  margin:0 auto;                  /* horizontally center the link itself */
}

.cards-wrapper2{
  flex-direction: column;
  align-items: center;      /* keep them centered */
  gap: 1.5rem;
}
.card2{
  width: 100%;
  max-width: 360px;         /* or remove if you want full width */
  height: auto;             /* drop the fixed 400px if it causes cropping */
}

.three-cards-section h2 {
  font-size: 1.5rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
}

.three-cards-section2 h2 {
  font-size: 1.5rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
}

.three-cards-section2 .cards-wrapper2 {
  display: flex;
  flex-direction: column;
  align-items: center;  /* center each card in the container */
  gap: 1.5rem;          /* space them out vertically */
  padding: 0 1rem;      /* optional padding at the sides */
}

.three-cards-section2 .card2 {
  width: 100%;          /* full width of the wrapper */
  max-width: 400px;     /* or whatever “card” max you prefer */
  margin: 0 auto;       /* center each card */
}



  }


  
