/* =========================
   Basic reset & typography
   ========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #eef3f6;
}

/* =========================
   Header
   ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #eef3f6;
  padding: 1rem 1rem; 
  display: flex;
  align-items: center;
  z-index: 1000;
}

.header-inner {
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content:space-between;
  width:100%;
  max-width:1200px;
  
}

/* logo on left */
.brand { display:flex; align-items:center; gap:0.75rem; }
.header-logo {
  max-height: 80px;
  height: auto;
  width: auto;
  display:block;  
}

/* main-nav aligned to right */
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; align-items: center; }
.main-nav a { 
  color: #0099CC; 
  font-weight: bold;
  text-decoration: none;
  padding: 0.2rem; 
  white-space: nowrap; 
}
.main-nav a:hover { background: rgba(255,255,255,0.04); border-radius:4px; }

/* reserve space when anchors jump so header doesn't overlap content */
section { scroll-margin-top: 110px; }

/* =========================
   Section defaults
   ========================= */
section { padding: 1rem 1rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-title {
  text-align: center;
  color: #0099CC;
  font-size: 2rem;
  margin-bottom: 0rem;
}

/* =========================
   Slider
   ========================= */
#home {
  padding-top: 6.5rem;
  margin-bottom: 0rem;
}
.slider {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1 rem;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 15px;  
  position: relative;
  aspect-ratio: 16/9;
  height: auto; 
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.9s cubic-bezier(.22,.9,.31,1);
  display:flex;
  align-items:center;
  justify-content:center;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #eef3f6;
  border-radius: 15px;
  display:block;
}
.slide.active { transform: translateX(0); }
.slide.exit-left { transform: translateX(-100%); }

/* =========================
   About / content sections
   ========================= */
#about { margin-top: 0; }
.content-section {
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
}
.content-text h3 { color:#004D73; margin-bottom: 0.8rem; font-size: 1.25rem; }
.content-text p { font-size: 1.05rem; line-height: 1.7; text-align: justify; }
.content-image img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* =========================
   Services / Products
   ========================= */
#section2 { padding-top: 2rem; padding-bottom: 2rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}
.card {
  position: relative;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
  pointer-events: none;
}
.icon-circle {
  position: relative;
  z-index: 2;
  background: #fff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.icon-circle img { width: 50px; height: 50px; display:block; }
.card h2 {
  position: relative;
  z-index: 2;
  margin-top: 0.6rem;
  font-size: 1.15rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0,0,0,0.18);
  border-radius: 6px;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }

/* =========================
   Our Customers
   ========================= */
#customers { padding: 2.5rem 1.5rem; }
.customers-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}
.customer-card {
  position: relative;
  height: 150px;
  background-size: cover;   
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  align-items: flex-end;      
  justify-content: center;    
  padding: 0.5rem;
  text-align: center;   
  overflow: hidden;           
}
.customer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
  to top,
  rgba(0, 123, 255, 0.75) 0%,
  rgba(0, 123, 255, 0.35) 50%,
  rgba(0, 123, 255, 0) 100%
  );
  border-radius: 10px;
  z-index: 1;
}
.customer-card p {
  margin: 0;
  padding: 0.3rem 0.6rem;
  color: #eef3f6;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 5px;   
  position: relative;
  z-index: 2;
}

/* =========================
   Contact (address + map)
   ========================= */
.contact { background: #eef3f6; padding: 1.5rem; text-align: center; }
.contact-info {
  display:flex;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 1rem;
}
.contact-column { flex: 1 1 300px; text-align: left; color:#16424a; }
.contact-column h3 { color:#004D73; margin-bottom: 0.5rem; }
.contact-column address, .contact-column p { font-style: normal; line-height: 1.6; }
.contact-social { margin-top: 0.8rem; display:flex; gap:0.8rem; align-items:right; }
.contact-social img { width:28px; height:28px; display:block; }
.map-container { margin-top: 1rem; border: 3px solid #004D73; border-radius: 10px; overflow: hidden; padding: 1.5rem; }

/* page end */
.page-end { padding: 1.5rem 0 2rem; text-align:center; color:#16424a; }

/* =========================
   Responsive Fixes
   ========================= */
@media (max-width: 1000px) {
  .slider { height: auto; }
}
@media (max-width: 900px) {
  .content-section { grid-template-columns: 1fr; padding: 1.5rem; }
  .header-logo { max-height: 60px; }
  .site-header { padding: 1rem 1rem; }
  .content-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; max-width: 100%;}
}
@media (max-width: 720px) {
  .main-nav { width: 100%; display: flex; justify-content: flex-end; }
  .main-nav a {font-size: 0.8rem; padding: 0.2rem 0.3rem;}
  .header-logo {max-height: 50px;}
  .brand { width: 100%; justify-content: center; margin-bottom: 0.3rem; }
  .card { height: 280px; }
  .customer-card { height: 160px; }
}
@media (max-width: 420px) {
  .section-title { font-size: 1.5rem; }
  .card { height: 240px; }
  .icon-circle { width: 80px; height: 80px; }
  .icon-circle img { width: 40px; height: 40px; }
  .main-nav ul { gap: 0.5rem; }
}
