:root {
  --primary: #0b4aa2;
  --dark: #07316b;
  --light-bg: #f8fbff;
  --text: #222;
  --white: #fff;
  --pill-bg: #dce4f2; 
  --pill-text: #1a1a1a; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 6%; background: var(--white); position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 38.5px; margin-right: -8px; transform: translateY(-0.8px); }
.brand-text { font-size: 34px; font-weight: 700; color: var(--text); letter-spacing: -1.5px; }

.nav-links a { margin-left: 20px; text-decoration: none; color: var(--text); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.menu-btn { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 10px; }
.menu-btn .dot { width: 6px; height: 6px; background-color: var(--text); border-radius: 50%; }

/* HERO */
.hero {
  height: 100vh; width: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/hero-garments.png") center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; font-weight: 700; }
.btn {
  background: var(--primary); color: var(--white); padding: 14px 40px;
  border-radius: 50px; font-weight: 600; border: none; cursor: pointer; transition: 0.3s;
}
.btn:hover { transform: translateY(-3px); background: var(--dark); }

/* ABOUT SECTION (2x2 Grid) */
section { padding: 80px 10%; }
.about-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.about-features { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    column-gap: 20px; row-gap: 15px; 
    margin-top: 25px; 
}
.feature { font-size: 1rem; font-weight: 500; display: flex; align-items: center; white-space: nowrap; }
.check { color: var(--primary); font-weight: bold; margin-right: 8px; font-size: 1.2rem; }
.stat-card { background: var(--light-bg); padding: 30px; border-radius: 15px; text-align: center; border-bottom: 4px solid var(--primary); margin-bottom: 20px; }

/* PRODUCTS */
.products { text-align: center; }
.product-wrapper { width: 100%; overflow: hidden; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 40px; width: 100%; }
.product-card { position: relative; height: 350px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: #fff; text-align: left; font-weight: 600; }

/* PROCESS */
.process { background: var(--light-bg); text-align: center; }
.process-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 40px; }
.process-step { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.process-icon { width: 70px; height: 70px; margin-bottom: 15px; object-fit: contain; }

/* SERVICE COVERAGE (Pills) */
.cities { text-align: center; background: #fff; }
.city-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 40px; 
}
.city-pill { 
    padding: 12px 30px; 
    background-color: var(--pill-bg); 
    color: #000; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1.05rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #c0c8d8;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    opacity: 1 !important; 
    visibility: visible !important;
}
.city-pill:hover { 
    background-color: var(--primary); color: #fff; 
    transform: translateY(-3px); border-color: var(--primary);
}

/* FABRICS SCROLLING SECTION */
.fabrics { padding: 80px 0; background: var(--light-bg); text-align: center; overflow: hidden; }
.fabric-line { overflow: hidden; margin-top: 40px; width: 100%; }
.fabric-track { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
    width: max-content; 
    animation: scroll 35s linear infinite; 
}
.fabric-track img { height: 60px; object-fit: contain; }

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CONTACT */
.contact { background: var(--light-bg); text-align: center; }
.contact-box { background: white; padding: 50px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 700px; margin: 0 auto; border-top: 6px solid var(--primary); }
.contact-details p { margin: 15px 0; font-size: 1rem; color: #333; }
.map-link { color: var(--primary); text-decoration: none; font-weight: 600; border-bottom: 1px dashed var(--primary); }

/* MODAL */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background-color: #fefefe; padding: 20px; border-radius: 15px; width: 90%; max-width: 600px; position: relative; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
.close-btn { float: right; font-size: 30px; cursor: pointer; }

footer { padding: 40px; background: #222; color: white; text-align: center; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }

/* PHONE VIEW FIXES */
@media (max-width: 768px) {
    .menu-btn { display: flex; }
    .nav-links { display: none; position: absolute; top: 60px; right: 5%; background: white; flex-direction: column; padding: 20px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); width: 180px; }
    .nav-links.active { display: flex; }
    
    .product-grid { display: flex; width: max-content; padding: 0; margin-top: 20px; gap: 0; }
    .product-card { width: 100vw; height: 320px; flex-shrink: 0; border-radius: 0; box-shadow: none; }
    .product-wrapper { margin: 0 -5%; width: 110%; }
    
    .about-container { grid-template-columns: 1fr; }
    
    /* FIX: Force 2x2 Grid for Features */
    .about-features { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 15px; 
    }
    
    /* FIX: Force 2-Column Grid for Cities */
    .city-grid { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 12px; 
        width: 100%;
    }
    .city-pill {
        width: 100%; 
        text-align: center;
    }
    
    .email-text { white-space: nowrap; font-size: 0.85rem; overflow: hidden; }
    section { padding: 60px 5%; }
}