/* ========================
   HOME PAGE STYLES
   ======================== */

/* Hero Section with Background Image */
.home-hero {
  background: url('../images/milling_image.jpg') center/cover no-repeat;
  height: 100vh; /* full viewport height */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

/* Navbar inside Hero */
.home-hero .navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
/* Navbar Logo */
.navbar .logo img {
  width: 288px;
  height: 96px;
  object-fit: contain; /* keeps proportions inside box */
}


.home-hero .navbar a {
  color: #fff;
}

.home-hero .hero-content {
  margin-top: 120px;
  max-width: 700px;
}

.home-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Add a dark overlay */
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* adjust opacity: 0.3-0.6 */
  z-index: 1;
}

/* Make sure text sits on top of overlay */
.home-hero h1,
.home-hero h3,
.home-hero .hero-buttons {
  position: relative;
  z-index: 2;
}


/* Services Section */
.services {
  display: flex;
  justify-content: center;   /* centers all boxes horizontally */
  gap: 2rem;                 /* space between boxes */
  flex-wrap: wrap;           /* wrap to new row on small screens */
  text-align: center;        /* center text inside */
  margin: 60px auto;
  max-width: 1200px;
}

.service-box {
  flex: 1 1 250px;           /* grow/shrink with min width */
  max-width: 300px;          /* keeps consistent size */
  display: flex;
  flex-direction: column;    /* stack image and text vertically */
  align-items: center;       /* center content */
}

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.service-box h3 {
  margin-top: 1rem;          /* space between image and title */
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
}



/* CTA Section */
.cta {
  background: #001f3f;
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.cta h2 {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #001f3f;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

footer .footer-logo {
  max-height: 80px;
  margin-bottom: 1rem;
}

/* section2 */
.services {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #0b2c48; /* dark blue background for contrast */
  flex-wrap: wrap;
}

.service-card {
  background: white;
  color: #0b2c48;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
  font-size: 3rem;
  color: #1b4b72; /* accent navy */
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}






/* section3 */
.services-cards {
  background: #0b2c48; /* dark navy */
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.services-cards h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* stack on smaller screens */
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: left;
  width: 280px; /* consistent width */
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  cursor: pointer;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Bullet styling */
.bullet {
  font-size: 1.5rem;
  color: red; /* brand yellow highlight */
  flex-shrink: 0;
}
