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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: rgb(248, 249, 252);
  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;
  }
}

/* Hero Section (unchanged except removing the .hero-content margin-left) */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust as needed */
  background: url('semperimages/dl13.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Remove padding if you like; the overlay handles spacing now */
  padding: 0;
}

/* New overlay container */
.hero-overlay {
  position: absolute;
  top: 60px;                        /* Start below the 60px-high nav bar */
  width: 300px;                     /* Matches hero-content max width */
  height: calc(100% - 60px);         /* Reduce total height by nav bar height */
  background-color: rgba(16, 56, 19, 0.8); /* Semi-transparent overlay */
  border-radius: 4px;
  display: flex;
  align-items: center;              /* Vertically center the hero content */
  padding: 1rem;                    /* Padding inside the overlay */
  margin-left: 2rem;                /* Offset from left side */
  z-index: 1;
}


/* Hero content inside the overlay */
.hero-content {
  max-width: 300px;      /* Matches overlay width */
  color: #eee;
  z-index: 1;
  /* Remove margin-left: 1rem; since .hero-overlay handles spacing */
}
/* Semi-transparent overlay 
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(189, 184, 184, 0.5);
}*/

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 26px;
  line-height: 2.0em;
  margin-bottom: 60px;
  font-weight: 700;
  text-align: center;
}

.hero-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 2rem;
  text-align: center;
  color: #eee;
}

/* Center hero buttons horizontally */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btnone {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  width: 7rem;
  text-align: center;
}

.btn-primary {
  background-color: rgb(214, 204, 200);
  color: rgb(10, 10, 10);
}

.btn-primary:hover {
  background-color: rgb(130, 130, 133);
}

.btn-secondary {
  background-color: rgb(214, 204, 200);
  color: rgb(10, 10, 10);
 /* border: 2px solid #000;*/
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgb(130, 130, 133);
  color: #fff;
}
/* ----- MAIN BACKGROUND CONTAINER ----- */
.container {
  width: 100%;
  min-height: 100vh;
  background-image: url("images/articlesback5.jpeg");
  background-position: center;
  background-size: cover;
  position: relative;
  /* Ensure content sits below the fixed header */
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content {
  width: 80%;
  max-width: 900px;
  padding: 40px 20px;
  background-color: transparent;
  text-align: center; /* Center the text for the "Industry Insights" heading */
}

.text-section h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #eee;
  text-transform: uppercase;
}
.text-section p {
  font-size: 1rem;
  line-height: 1.5em;
  color: #eee;
  max-width: 600px;
  margin: 0 auto; /* center the paragraph text */
}

/* Main Section Container */
.info-sectionone {
  display: flex;
  width: 100%;
  max-width: 1200px; /* Optional max width */
  margin: 0 auto;    /* Center horizontally */
  padding: 2rem;
  gap: 15rem;         /* Space between left & right columns */
}

/* === LEFT COLUMN === */
.left-contentone {
  flex: 1; /* Takes up remaining space if needed */
}

.left-contentone h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.left-contentone p {
  font-size: 1rem;
  line-height: 1.5;
}

/* === RIGHT COLUMN === */
.right-contentone {
  flex: 1;       /* Also takes up remaining space */
  display: flex;
  flex-direction: column;
  gap: 6.5rem;   /* Space between each info-item */
  margin-top: 30px;
}

/* Each row: Image box + text box side by side */
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem; /* Space between image and text */
}

/* Fixed-size image container */
.image-box {
  width: 100px;  /* Fixed width */
  height: 100px; /* Fixed height */
  overflow: hidden;  /* Hide overflow if image is larger */
  background-color: #ccc; /* Fallback color */
  flex-shrink: 0;    /* Prevents the box from shrinking */
}

/* Contain the image without resizing the box */
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures entire image is visible */
}

/* Text box beside the image */
.text-box h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.text-box p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive adjustments (optional) */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
  }
  .left-content, .right-content {
    width: 100%;
  }
}

/* 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 */
  margin-top: 20px;
}


/* 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: 300;
}
/* 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 */
  margin-top: 35px;
}


/* --- RIGHT SIDE --- */
.info-box-right {
  position: relative;
  width: 60%;
  /* Full background image */
  background: url("semperimages/dl15.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 {
  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;
}

/* 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: rgb(4, 66, 3);;
  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;
  }
}