/* =========================================
   BASE VARIABLES & RESET
   ========================================= */
:root {
  --primary-dark: #4a4d53;
  --primary-accent: #e56a25;
  --bg-light: #f7f7f7;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #888888;
  --border-color: #eaeaea;
  --transition: all 0.3s ease;
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; position: relative;}
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

/* =========================================
   TYPOGRAPHY & NEW PREMIUM HEADINGS
   ========================================= */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 15px; color: #555; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { 
    color: var(--primary-dark); 
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 3px; 
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 600; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
.btn-primary { background-color: var(--primary-accent); color: var(--text-light); }
.btn-primary:hover { background-color: #cf5e1e; }
.btn-outline { background-color: transparent; color: var(--text-light); border-color: var(--text-light); }
.btn-outline:hover { background-color: var(--text-light); color: var(--text-dark); }

/* --- HEADER --- */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
  padding: 15px 0; color: var(--text-light);
  background: rgba(30, 30, 30, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition);
}
.header-solid { background: rgba(74, 77, 83, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; position: relative; z-index: 10000; filter: brightness(0) invert(1); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links li > a { font-size: 0.95rem; font-weight: 500; transition: var(--transition); position: relative; padding-bottom: 5px; }
.nav-links li > a::after { content: ''; position: absolute; width: 0; height: 2px; display: block; margin-top: 5px; right: 0; background: var(--primary-accent); transition: width 0.3s ease; }
.nav-links li > a:hover::after, .nav-links li > a.active::after { width: 100%; left: 0; background: var(--primary-accent); }
.nav-links li > a:hover, .nav-links li > a.active { color: var(--primary-accent); }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--text-light); transition: var(--transition); }

/* --- PAGE HEROES --- */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 0; color: var(--text-light); }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(74, 77, 83, 0.65); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 900px; padding: 0 20px; width: 100%; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { color: #ffffff; font-size: 1.1rem; opacity: 0.9; }
.hero-actions { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }

.page-hero { min-height: 40vh; margin-top: 0; position: relative; background-color: var(--primary-dark); z-index: 1; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('logo/aboutus-logo.png'); background-size: cover; background-position: center; opacity: 0.25; z-index: -1; }
.page-hero .hero-content { position: relative; z-index: 3; color: var(--text-light); }
.page-hero .hero-content h1 { color: var(--text-light); }
.page-hero .hero-content p { color: #eeeeee; }

.process-hero { position: relative; background-color: #3b3d42; z-index: 1; }
.process-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('logo/MANUFACTURING.png'); background-size: cover; background-position: center; opacity: 0.25; z-index: -1; }

.bg-with-image { position: relative; z-index: 1; background-color: #ffffff; }
.bg-with-image::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('logo/bg-towel1.png'); background-size: cover; background-position: center; background-attachment: fixed; opacity: 0.25; z-index: -1; }


/* =========================================
   HOME: OUR COLLECTIONS (FIXED SLIDER)
   ========================================= */
.collections-wrapper { width: 100%; padding: 40px 0 80px 0; background-color: #f7f7f7; position: relative; }
.slider-container-wrapper { position: relative; max-width: 100%; display: flex; align-items: center; }
.slider-btn { background-color: var(--bg-white); border: 1px solid var(--border-color); color: var(--primary-dark); font-size: 24px; width: 55px; height: 55px; border-radius: 50%; cursor: pointer; position: absolute; z-index: 100; box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.slider-btn:hover { background-color: var(--primary-accent); color: white; border-color: var(--primary-accent); transform: scale(1.05); }
.slider-btn.left { left: 5px; }
.slider-btn.right { right: 5px; }
.collections-slider { display: flex; gap: 80px; padding: 30px 70px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; width: 100%; }
.collections-slider::-webkit-scrollbar { display: none; } 
.card-3d { position: relative; background: var(--bg-white); border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.06); width: 420px; height: 250px; flex-shrink: 0; display: flex; align-items: center; scroll-snap-align: center; border: 1px solid #eee; margin-left: 10px; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.card-3d:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.collection-text { width: 55%; padding: 30px; z-index: 2; }
.collection-text h3 { font-family: 'Brush Script MT', 'Lucida Handwriting', cursive; font-size: 2.2rem; color: #111; margin-bottom: 10px; line-height: 1; }
.collection-text h3.ihram-title { font-family: var(--font-main); font-weight: bold; }
.collection-text p { font-size: 0.85rem; color: #444; line-height: 1.5; margin-bottom: 0; }
.collection-image { position: absolute; right: -70px; top: 50%; transform: translateY(-50%); width: 240px; z-index: 3; }
.collection-image img { width: 100%; height: auto; filter: drop-shadow(-15px 20px 15px rgba(0,0,0,0.25)); transition: transform 0.4s ease; }
.card-3d:hover .collection-image img { transform: scale(1.05) rotate(-3deg); }
.pulsating-next-card { display: flex; align-items: center; justify-content: center; width: 250px; flex-shrink: 0; scroll-snap-align: center; padding-right: 40px; }
.pulsate-btn { display: inline-block; padding: 15px 30px; background-color: var(--primary-accent); color: #fff; border-radius: 50px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; animation: pulse-shadow 2s infinite; box-shadow: 0 4px 15px rgba(229, 106, 37, 0.4); }
.pulsate-btn:hover { background-color: #c9551c; color: #fff;}

@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(229, 106, 37, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(229, 106, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 106, 37, 0); }
}

/* =========================================
   ABOUT US: IMAGE SLIDER & CERTIFICATES
   ========================================= */
.slider-container { position: relative; width: 100%; height: 450px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; }
.slide.active { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots { position: absolute; bottom: 20px; width: 100%; text-align: center; z-index: 10; }
.dot { cursor: pointer; height: 10px; width: 10px; margin: 0 5px; background-color: rgba(255,255,255,0.6); border-radius: 50%; display: inline-block; transition: background-color 0.3s ease; }
.dot.active, .dot:hover { background-color: var(--primary-accent); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.cert-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 8px; padding: 30px 20px; text-align: center; transition: var(--transition); box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.cert-logo { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; padding: 0; }
.cert-logo img { max-height: 100%; max-width: 100%; object-fit: contain; opacity: 0.8; filter: grayscale(100%); transition: all 0.4s ease; transform: scale(1.1); }
.cert-card:hover .cert-logo img { opacity: 1; filter: grayscale(0%); transform: scale(1.2); }
.cert-card h4 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text-dark); }
.status-badge { display: inline-block; background-color: #fff3ed; color: var(--primary-accent); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   STANDARD GRIDS & CARDS (WITH STYLISH ICONS)
   ========================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--bg-white); padding: 40px 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: var(--transition); text-align: center; }

.card-icon { 
    width: 80px;  
    height: 80px; 
    font-size: 2.5rem; 
    margin: 0 auto 25px; 
    background: #fff3ed; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary-accent); 
    box-shadow: 0 4px 12px rgba(229, 106, 37, 0.15);
    border: 2px solid transparent;
    transition: all 0.4s ease; 
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.card:hover .card-icon { 
    background: var(--primary-accent); 
    color: #ffffff; 
    transform: scale(1.1) rotate(5deg); 
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 8px 20px rgba(229, 106, 37, 0.3);
}

/* =========================================
   PROCESS ZIG-ZAG SECTIONS (FIXED FOR LAYOUT & BIGGER IMAGES)
   ========================================= */
.process-step {
    padding: 80px 0;
}
.process-step.bg-light {
    background-color: var(--bg-light);
}
.process-step.bg-white {
    background-color: var(--bg-white);
}
.split-section { 
    display: flex; 
    align-items: center; 
    gap: 60px; /* Space between text and image */
}
.split-section.reverse { 
    flex-direction: row-reverse; 
}

/* FIX: Image column gets more space (flex: 1.3 vs flex: 1) */
.split-image { 
    flex: 1.3; /* This makes the image column significantly wider than the text column */
}
.split-image img { 
    width: 100%; 
    height: auto; 
    max-height: 550px; /* Height constraint relaxed so image can grow larger naturally */
    object-fit: cover; 
    border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
}
.split-content { 
    flex: 1; 
    padding: 0 20px; /* To keep text neat next to the big image */
}
.split-content h2 {
    color: var(--primary-dark);
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.split-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}
.split-content ul li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--primary-accent);
    font-weight: 600;
}


/* =========================================
   CONTACT
   ========================================= */
.contact-wrapper { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; margin-top: -60px; position: relative; z-index: 10; }
.contact-info-card { background: var(--primary-dark); color: var(--text-light); padding: 40px; border-radius: 8px; }
.info-item { display: flex; gap: 15px; margin-bottom: 30px; }
.info-item i { color: var(--primary-accent); font-size: 1.5rem; }
.info-item h4 { margin-bottom: 5px; }
.info-item p { color: #ccc; margin-bottom: 0; }
.contact-form-card { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; font-size: 0.9rem; }
.form-control { padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 4px; font-family: inherit; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--primary-accent); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-btn { width: 100%; margin-top: 10px; }
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* =========================================
   FOOTER & WHATSAPP
   ========================================= */
footer { background-color: var(--primary-dark); color: #ffffff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { margin-bottom: 20px; max-height: 50px; position: relative; z-index: 100; filter: brightness(0) invert(1); }
.footer-col p { color: #ffffff; opacity: 0.9; }
.footer-col h4 { color: #ffffff; margin-bottom: 20px; font-size: 1.1rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--primary-accent); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ffffff; opacity: 0.9; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-accent); opacity: 1; }
.footer-contact li { display: flex; gap: 15px; margin-bottom: 15px; color: #ffffff; align-items: flex-start; opacity: 0.9; transition: var(--transition); cursor: pointer;}
.footer-contact li:hover { opacity: 1; }
.footer-contact li svg { width: 20px; height: 20px; fill: var(--primary-accent); flex-shrink: 0; margin-top: 3px; }
.social-icons { display: flex; gap: 12px; margin-top: 25px; }
.social-icons a { width: 42px; height: 42px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: var(--transition); color: #ffffff; }
.social-icons a svg { width: 18px; height: 18px; fill: currentColor; }
.social-icons a:hover { background: var(--primary-accent); border-color: var(--primary-accent); color: #ffffff; }
.newsletter-form { display: flex; margin-top: 20px; }
.newsletter-form input { flex: 1; padding: 12px; border: none; background: rgba(255,255,255,0.1); color: #fff; border-radius: 4px 0 0 4px; outline: none; }
.newsletter-form button { padding: 12px 20px; border: none; background: var(--primary-accent); color: #fff; cursor: pointer; border-radius: 0 4px 4px 0; }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: #ffffff; opacity: 0.8; margin-bottom: 0; font-size: 0.9rem; }

.whatsapp-float { 
  position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: #fff; width: 60px; height: 60px; 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 10000; transition: var(--transition); 
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 15px rgba(0,0,0,0.4); }
.whatsapp-float svg { width: 35px; height: 35px; fill: #fff; }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .slider-btn { display: none; } 
}
@media (max-width: 992px) { 
  .grid-3, .grid-4, .contact-wrapper, .footer-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 768px) {
  .nav-links { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--primary-dark); flex-direction: column; align-items: center; justify-content: center; transition: var(--transition); }
  .nav-links.nav-active { left: 0; }
  .hamburger { display: flex; }
  .grid-3, .grid-4, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .hero-content h1 { font-size: 2.5rem; }
  
  .collections-slider { padding: 20px 10px; gap: 20px; }
  .card-3d { padding: 50px 20px 30px 20px; width: 85%; }
  .popout-image { height: 140px; margin-bottom: 15px; right: -30px; width: 150px; }
  .card-3d h3 { font-size: 1.3rem; min-height: auto; }
  
  .cert-grid { grid-template-columns: 1fr; gap: 15px; }

  /* Process section on mobile */
  .split-section, .split-section.reverse { 
      flex-direction: column; 
      text-align: center; 
      gap: 30px;
  }
}