/* ======================================================
   RESET
====================================================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  background:#f5f7fa;
  color:#222;
}

/* ======================================================
   HEADER – DESKTOP
====================================================== */
header{
  width:100%;
  height:80px;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 60px;
  box-shadow:0 4px 18px rgba(0,0,0,.15);
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:22px;
  font-weight:700;
  color:#0b2c3d;
}

.logo img{
  height:72px;
}

/* DESKTOP NAVIGATION */
nav ul{
  list-style:none;
  display:flex;
  gap:28px;
}

nav ul li a{
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  color:#0b2c3d;
  transition:.3s;
}

nav ul li a:hover{
  color:#e4da45;
}

/* ======================================================
   MOBILE MENU BUTTON (HIDDEN ON DESKTOP)
====================================================== */
.menu-btn{
  display:none;
  font-size:26px;
  cursor:pointer;
  color:#0b2c3d;
}

/* ======================================================
   RESPONSIVE – TABLET & MOBILE
====================================================== */
@media (max-width:900px){

  /* HEADER PADDING */
  header{
    padding:0 20px;
  }

  /* HIDE DESKTOP NAV */
  nav{
    display:none;
  }

  /* SHOW HAMBURGER */
  .menu-btn{
    display:block;
  }

  /* LOGO ADJUSTMENT */
  .logo{
    font-size:20px;
  }

  .logo img{
    height:36px;
  }
}

/* ======================================================
   SMALL MOBILE DEVICES
====================================================== */
@media (max-width:480px){

  header{
    height:70px;
  }

  .logo{
    font-size:18px;
  }

  .logo img{
    height:32px;
  }

  .menu-btn{
    font-size:24px;
  }
}

/* DESKTOP */
.desktop-nav ul{
  list-style:none;
  display:flex;
  gap:28px;
}

.menu-btn{
  display:none;
  font-size:26px;
  cursor:pointer;
  color:#0b2c3d;
}

/* MOBILE MENU PANEL */
.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:280px;
  height:100vh;
  background:#fff;
  box-shadow:-6px 0 20px rgba(0,0,0,.15);
  transition:.4s ease;
  z-index:2000;
}

.mobile-menu.active{
  right:0;
}

.mobile-header{
  height:70px;
  padding:0 20px;
  background:#0b2c3d;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:18px;
  font-weight:700;
}

.mobile-header i{
  font-size:24px;
  cursor:pointer;
}

.mobile-menu ul{
  list-style:none;
  padding:20px;
}

.mobile-menu ul li{
  margin-bottom:16px;
}

.mobile-menu ul li a{
  text-decoration:none;
  color:#0b2c3d;
  font-size:16px;
  font-weight:600;
}

/* RESPONSIVE */
@media(max-width:900px){
  .desktop-nav{
    display:none;
  }
  .menu-btn{
    display:block;
  }
}


/* ========== HERO ========== */
/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

/* HIDE RADIO BUTTONS */
.hero-slider input {
  display: none;
}

/* SLIDES WRAPPER - Updated for 2 slides */
.slides {
  display: flex;
  width: 200%; /* Changed from 300% to 200% */
  height: 100%;
  animation: autoSlide 10s infinite; /* Adjusted timing */
}

/* EACH SLIDE IMAGE */
.slide {
  width: 50%; /* Changed from 33.33% or 45% to 50% to fill the 200% container */
  height: 100vh;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

/* AUTO SLIDE ANIMATION - Updated for 2 slides */
@keyframes autoSlide {
  0%, 45% { transform: translateX(0); }      /* Slide 1 stays */
  55%, 100% { transform: translateX(-50%); } /* Slide 2 stays (moved by half of 200%) */
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 44, 61, .85),
    rgba(11, 44, 61, .55)
  );
  z-index: 2;
}

/* RADIO OVERRIDE (Manual Controls) */
#slide1:checked ~ .slides {
  transform: translateX(0);
  animation: none;
}

#slide2:checked ~ .slides {
  transform: translateX(-50%); /* Moves exactly one slide width */
  animation: none;
}

/* ZOOM EFFECT */
.slide {
  animation: zoomEffect 10s infinite alternate;
}

@keyframes zoomEffect {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* HERO CONTENT */
.hero-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 80px;
  max-width: 720px;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  transition: .3s;
}

.arrow.left { left: 25px; }
.arrow.right { right: 25px; }

/* SHOW ARROWS BASED ON ACTIVE SLIDE */
.a1, .a2 { display: none; }

#slide1:checked ~ .arrows .a1,
#slide2:checked ~ .arrows .a2 {
  display: flex;
}

/* BUTTONS & MOBILE (Keep your existing styles below) */
.btn {
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-right: 12px;
}
.btn.orange { background: #ffa10a; }
.btn.blue { background: #0b2c3d; border: 2px solid #fff; }

@media(max-width:768px){
  .hero-content { padding-left: 25px; }
  .hero-content h1 { font-size: 28px; }
  .slide { height: 90vh; }
}

/* ========== FEATURES ========== */
.features-section{
  padding:80px;
  background:#f5f7fa;
}

.features-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.feature-box{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
  display:block;
  background:#fff;
  padding:30px 22px;
  text-align:center;
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0,0,0,.1);
  transition:.35s ease;
}

.feature-box:hover{
  transform:translateY(-10px);
  box-shadow:0 16px 36px rgba(0,0,0,.18);
}

.feature-box:active{
  transform:scale(0.97);
}


.feature-box i{
  font-size:36px;
  color:#ffa10a;
  margin-bottom:15px;
}

.feature-box h4{
  font-size:16px;
  font-weight:700;
  color:#0b2c3d;
  margin-bottom:8px;
}

.feature-box p{
  font-size:14px;
  color:#555;
}

/* ========== SERVICES ========== */
.services-section{
  padding:80px;
  background:#fff;
}

.services-title{
  font-size:28px;
  font-weight:800;
  color:#0b2c3d;
  margin-bottom:40px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
}

.service-box{
  background:#f5f7fa;
  padding:30px;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.1);
  transition:.3s;
}

.service-box:hover{
  transform:translateY(-8px);
}

.service-icon{
  width:55px;
  height:55px;
  background:#ffa10a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.service-icon i{
  color:#fff;
  font-size:22px;
}

.service-text h4{
  font-size:16px;
  font-weight:700;
  color:#0b2c3d;
}

.service-text p{
  font-size:14px;
  color:#666;
}

/* ========== MACHINERY ========== */
.machinery-section{
  padding:80px;
  background:#f5f7fa;
  text-align:center;
}

.section-title{
  font-size:28px;
  font-weight:800;
  color:#0b2c3d;
}
.section-title span{color:#ffa10a;}

.section-subtitle{
  font-size:16px;
  color:#666;
  margin:12px 0 50px;
}

.machinery-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.machine-card{
  background:#fff;
  padding:30px;
  border-radius:10px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}

.machine-img{
  width:160px;
  height:160px;
  margin:0 auto 15px;
  border-radius:50%;
  overflow:hidden;
  border:4px solid #ffa10a;
}

.machine-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.machine-card h4{
  color:#0b2c3d;
  font-weight:700;
}

.machine-card p{
  font-size:13px;
  color:#666;
}

/* ========== RESPONSIVE ========== */
@media(max-width:1000px){
  .services-grid{grid-template-columns:repeat(2,1fr);}
}

@media(max-width:900px){
  nav{display:none;}
  .hero-content{padding-left:30px;}
}

@media(max-width:768px){
  .features-grid,
  .machinery-grid,
  .services-grid{
    grid-template-columns:1fr;
  }
}

/* ===== WORK SECTION ===== */
.work-section{
  padding:80px;
  background:#f5f7fa;
}

.work-title{
  font-size:28px;
  font-weight:800;
  color:#0b2c3d;
  margin-bottom:40px;
}

/* GRID */
.work-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

/* CARD */
.work-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
  transition:.3s;
}

.work-card:hover{
  transform:translateY(-8px);
}

/* IMAGE */
.work-img{
  position:relative;
}

.work-img img{
  width:100%;
  height:220px;
  object-fit:cover;
}

/* IMAGE LABEL */
.work-label{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:rgba(11,44,61,.92);
  color:#fff;
  padding:10px 14px;
  font-size:13px;
  font-weight:600;
}

/* CONTENT */
.work-content{
  padding:20px;
}

.stars{
  color:#ffa10a;
  font-size:14px;
  margin-bottom:8px;
}

.work-content p{
  font-size:14px;
  color:#555;
  line-height:1.6;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .work-section{
    padding:60px 25px;
  }
  .work-grid{
    grid-template-columns:1fr;
  }
}


/* ===== FOOTER ===== */
