@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
/* Improve font rendering in Chrome */
html, body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: rgb(198, 199, 204);
  color: #000;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  height: 60px;
  background-color: rgba(214, 204, 200, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 0 20px;
  overflow: visible; /* let hamburger & close icon show fully */
}

header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  /* Remove any negative margin for the header logo */
  margin-left: 0;
  display: flex; /* If you want to keep .logo as a flex container, that’s fine */
  align-items: center;
}

/* The anchor that wraps the image + text */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none; /* remove default underline */
}

.logo-link img {
  height: 40px; /* or match header height */
  width: auto;
  object-fit: contain;
}

.logo-text {
  margin-left: 10px;
  font-size: 1.2em;
  font-weight: bold;
  color: (3, 54, 2);
}
.nav-links{
  flex: 1; /* 1 means the item will grow to fill the available space, sharing it equally with other items that also have the flex grow value set*/
  text-align: right;
}
.nav-links ul li{
  list-style: none;
  display: inline-block; /* makes things appear on the same line as other elements. The elements will appear side by side*/
  padding: 8px 12px;
  position: relative;

}

.nav-links ul li a{
  color: rgba(3, 54, 2);
  text-decoration: none;
  font-size: 13px;
  font-weight: semibold;
  
}

/* Hamburger icon hidden by default (shown via media query) */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: #eee;
  cursor: pointer;
}

header a {
    color: #000;
    text-decoration: none;
    font-size: .9em;
    padding: 10px 15px;
}

header a:hover {
    background-color: rgb(88, 88, 90,.7);
    color: #000;
    border-radius: 5px;
}
/* Close icon hidden by default; shown in media query */
.close-icon {
  display: none; /* Only show on mobile */
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}


/* Slide-in nav for mobile/tablet */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    padding-top: 60px;
  }
  .nav-links.active {
    transform: translateX(0);
  }
  .nav-links ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .nav-links ul li {
    margin: 10px 0;
  }
  .nav-links ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 1.1rem;
    color: #fff;
  }
  .close-icon {
    display: block; /* Show the X on mobile/tablet */
    position: absolute;
    top: 15px;
    right: 15px;
  }
}

/* TWO-COLUMN HERO CONTAINER */
.two-column-hero {
  display: flex;
  width: 100%;
  height: 80vh; /* Adjust to desired height */
  overflow: hidden; /* So nothing spills out */
  margin-top: 60px; 
}

/* LEFT COLUMN: Green Box */
.left-hero-box {
  flex: 0.2;                      /* Takes half the container width */
  background-color: rgba(3, 54, 2, 0.9);    /* Example dark green background */
  color: #fff;
  display: flex;                /* Center content horizontally/vertically */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* Spine Icon inside the box (optional) */
.spine-icon {
  max-width: 400px; /* Adjust as needed */
  margin-bottom: 20px;
}

/* Typography inside left box */
.left-hero-box h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.left-hero-box p {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* RIGHT COLUMN: Hero Slider */
.hero-slider {
  flex: 0.8;               /* Also half the container width */
  position: relative;     /* So your nav arrows and slides can position correctly */
  height: 100%;           /* Fill the column's height */
  overflow: hidden;
}

/* Keep your existing hero-slide, hero-slide-content, and arrow styles */
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.15s ease;
  display: flex;
  align-items: center; 
  justify-content: center; 
  padding: 2rem;
}

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

.hero-slide-content {
  width: 600px;     
  height: 260px;           
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 20px 30px;
  border-radius: 6px;
  text-align: center;
}


.hero-slide-content h1 {
  font-size: 2.0rem;
  margin-bottom: 1rem;
}

.hero-slide-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


.btn-hero {
  display: inline-block;
  background-color: rgba(3, 54, 2);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.btn-hero:hover {
  background-color: rgba(3, 54, 2);
}

/* Left/Right Navigation Arrows (unchanged) */
.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);
}

/* Responsive: Stack the columns on small screens */
@media (max-width: 768px) {
  .two-column-hero {
    flex-direction: column;
    height: auto; /* Let content dictate height on mobile */
  }
  .left-hero-box,
  .hero-slider {
    width: 100%;
    height: 50vh; /* Or auto, whichever suits your design */
  }
}



/* About Section */
.about {
  padding: 80px 20px;
  background-color: #fff;
}

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

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  color: #555;
}

.about-text h2 {
  font-size: 2.0em;
  margin-bottom: 20px;
  text-align: center;
  color: rgba(3, 54, 2);
}

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

.cta-link {
  text-decoration: none;
  color: rgba(3, 54, 2);
  font-weight: 600;
  transition: color 0.3s;
}

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

/* ===== Two-Column Section ===== */
.two-column-section {
  display: flex;             /* Side by side columns */
  width: 100%;
  min-height: 400px;         /* Adjust as needed */
}

/* Left column: just an image */
.left-col {
  flex: 1;                   /* Takes up half (or some portion) of the space */
  overflow: hidden;          /* If the image overflows, hide it */
}

.left-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* The image covers the container without distorting */
  display: block;
}

/* Right column: dark background with text */
.right-col {
  flex: 1;                   /* Takes up the other half */
  background-color: #0F1A3C; /* Example dark blue from your screenshot */
  color: #fff;               /* White text on dark background */
  display: flex;             /* So we can center content if we like */
  align-items: center;       /* Vertically center the text content */
  justify-content: center;   /* Horizontally center the text content */
  padding: 20px;             /* Some internal padding */
}

/* Container for the text on the right side */
.right-col-content {
  max-width: 400px;          /* Limit how wide the text gets */
  text-align: left;          /* Left align the text, or center if you prefer */
}

/* Heading on the right side */
.right-col-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Paragraph on the right side */
.right-col-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Button on the right side */
.btn-discover {
  display: inline-block;
  background-color: #fff;    /* White button on dark background */
  color: #0F1A3C;            /* Dark text color for contrast */
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-discover:hover {
  background-color: #ddd;     /* Slight hover effect */
}

/* ===== Responsive Adjustments (Optional) ===== */
@media (max-width: 768px) {
  .two-column-section {
    flex-direction: column;   /* Stack columns vertically on mobile */
  }
  .right-col {
    padding: 40px 20px;
  }
  .right-col-content {
    max-width: 90%;
  }
}


/* ================================
   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.2rem;
  text-transform: uppercase;
  color: rgba(3, 54, 2);
  margin-bottom: 5px;
  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: left;
  margin-bottom: 10px;
  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: rgba(3, 54, 2);
  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(3, 54, 2, 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;
  }
}

/* --- Testimonial Section Container --- */
/* Overall Testimonial Section */
.testimonial-section {
  display: flex;
  height: 100vh;        /* Full viewport height */
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Left side: Two images side by side */
.left-images {
  flex: 1;
  display: flex;
  gap: 10px;            /* Small gap between images */
  overflow: hidden;
}

.left-images img {
  width: 50%;           /* Each image occupies half of the left column */
  height: 100%;
  object-fit: cover;
}

/* Right side: Carousel for testimonials */
.right-carousel {
  flex: 1;
  background-color: #e7e3df;  /* Blue background */
  color: rgb(5, 5, 5);
  padding: 40px;
  display: flex;
  align-items: center;  /* Vertically center inner content */
  justify-content: center;
  overflow: hidden;     /* Clip any overflowing content */
  position: relative;
}

/* Testimonial inner container: constrain width & center text */
.testimonial-inner {
  max-width: 600px;     /* Constrain column width */
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;     /* Hide any overflow when switching slides */
}

/* Section headings */
.testimonial-inner h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.testimonial-inner h3 {
  font-size: 2.0rem;
  margin-bottom: 30px;
  font-weight: normal;
}

/* Testimonials container */
.testimonials {
  position: relative;
  height: 200px;        /* Adjust height as needed */
}

/* Each testimonial slide */
.testimonial {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 0 20px;
  box-sizing: border-box;
}

.testimonial.active {
  opacity: 1;
}

/* Testimonial text styling */
.testimonial p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Testimonial author styling */
.testimonial-author {
  display: block;
  font-weight: bold;
  margin-top: 10px;
}

/* Carousel Controls: small white circles */
.controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 180px;
}

.control {
  width: 10px;
  height: 10px;
  background: rgb(2, 2, 2);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.control:hover {
  opacity: 0.8;
}

.control.active {
  opacity: 1;
}


/* Container for both boxes side by side */
/* Two-column container */
/* Two-column container */
.info-section {
  display: flex;
  width: 100%;
  min-height: 450px; /* Adjust as needed */
  margin: 0 auto;
  margin-top: 20px;
}

/* --- LEFT SIDE --- */
.info-box-left {
  width: 40%;
  background-color: #012903; /* Solid background color */
  display: flex;            /* Enables column layout */
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Text at the top, image below */
  padding: 2rem;
}

/* Left text area */
.left-content {
  color: #fff;
  text-align: center;
  margin-bottom: 2rem; /* Space between text and image */
}


/* Make H3 smaller */
.left-content h3 {
  font-size: 1.4rem;     /* Smaller than before */
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Make H2 smaller */
.left-content h2 {
  font-size: 1.0rem;   /* Reduced from ~2rem */
  margin-bottom: 1.8rem;
  font-weight: 600;
}
/* Wrapper around the left image, centers horizontally */
.left-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
}

/* Image is centered, fits without being cut off */
.left-box-image {
  max-width: 80%;
  height: auto;
  object-fit: contain; /* Ensures the whole image is visible */
}


/* --- RIGHT SIDE --- */
.info-box-right {
  position: relative;
  width: 70%;
  /* Full background image */
  background: url("semperimages/stock15.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Semi-transparent overlay box */
.overlay-box {
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  /*border-radius: 10px;           /* Rounded edges */
  padding: 2rem;
  max-width: 800px;
  height: 450px;
  width: 90%;
  color: #fff;
  text-align: center;
}

.overlay-box h2 {
  margin-top: 6.6rem;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.overlay-box p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- Button Styles --- */
.btn {
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* Example "Join us" button style */
.btn.btn-primary {
  background-color: #fff;
  color: #000;
}

.btn.btn-primary:hover {
  background-color: #eee;
}

/* Example "Discover more" button style */
.btn.btn-green {
  background-color: #046c25;
  color: #fff;
}

.btn.btn-green:hover {
  background-color: #05802c;
}

/* --- Responsive (Optional) --- */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
  }
  .info-box-left,
  .info-box-right {
    width: 100%;
    min-height: 300px; /* Adjust for mobile */
  }
}



/*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;
  }
}