﻿/* =====================================================
   AGREPRO PRODUCTS PVT LTD — Luxury Premium CSS
   Modern Corporate FMCG Website
   ===================================================== */

/* ----- Global Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; overflow-x: hidden; color: #1A1A2E; }

/* ----- Custom Scrollbar ----- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #C9901A, #E5AF35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A07215; }

/* ----- Text Selection ----- */
::selection { background: rgba(201,144,26,0.18); color: #0B1F3A; }

/* ----- NAVBAR ----- */
#navbar {
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(11,31,58,0.97) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 40px rgba(11,31,58,0.5);
}
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #C9901A, #E5B84F);
  transition: width 0.35s ease;
}
.nav-link:hover::after { width: 100%; }

/* ----- HERO ----- */
.hero-section { min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-bg-slide.active {
  opacity: 1;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(201,144,26,0.13) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  z-index: 2;
  pointer-events: none;
}
.hero-gold-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 5;
  background: linear-gradient(90deg, transparent 0%, #C9901A 30%, #E5B84F 50%, #C9901A 70%, transparent 100%);
}

/* ----- GRADIENT TEXT ----- */
.text-gradient-gold {
  background: linear-gradient(135deg, #C9901A 0%, #E5B84F 50%, #C9901A 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ----- SECTION HEADINGS UNDERLINE ----- */
.heading-underline {
  position: relative; display: inline-block; padding-bottom: 14px;
}
.heading-underline::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #C9901A, #E5B84F);
}
.heading-underline-left::after { left: 0; transform: none; }

/* ----- BUTTONS ----- */
.btn-gold {
  background: linear-gradient(135deg, #C9901A 0%, #E5AF35 100%);
  display: inline-flex; align-items: center; text-decoration: none;
  cursor: pointer; transition: all 0.35s ease;
  position: relative; overflow: hidden; border: none;
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.btn-gold:hover::after { opacity: 1; }
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(201,144,26,0.5); }
.btn-navy {
  background: linear-gradient(135deg, #0B1F3A 0%, #1B3A6B 100%);
  display: inline-flex; align-items: center;
  text-decoration: none; cursor: pointer; transition: all 0.35s ease; border: none;
}
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(11,31,58,0.45); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.55); background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; text-decoration: none;
  cursor: pointer; transition: all 0.35s ease;
}
.btn-outline:hover { border-color: #E5B84F; background: rgba(229,184,79,0.15); transform: translateY(-3px); }
.btn-outline-gold {
  border: 2px solid #C9901A; background: transparent; color: #C9901A;
  display: inline-flex; align-items: center; text-decoration: none;
  cursor: pointer; transition: all 0.35s ease;
}
.btn-outline-gold:hover { background: rgba(201,144,26,0.12); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201,144,26,0.3); }

/* ----- SECTION BADGES ----- */
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,144,26,0.1); color: #B8820F;
  border: 1px solid rgba(201,144,26,0.3);
  padding: 6px 20px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
}
.section-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #C9901A; display: block; }
.section-badge-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229,184,79,0.15); color: #E5B84F;
  border: 1px solid rgba(229,184,79,0.4);
  padding: 6px 20px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
}
.section-badge-gold::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #E5B84F; display: block; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.4); } }

/* ----- STATS STRIP ----- */
.stat-item { position: relative; }
.stat-sep { width: 1px; height: 56px; background: rgba(255,255,255,0.2); align-self: center; }

/* ----- SERVICE CARDS ----- */
.service-card {
  background: white; border-radius: 1.5rem; border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06); cursor: pointer;
  transition: all 0.45s cubic-bezier(0.175,0.885,0.32,1.275);
  overflow: hidden; position: relative;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #C9901A, #E5B84F);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 35px 65px rgba(11,31,58,0.22);
  border-color: rgba(201,144,26,0.4);
}
.service-card-img {
  width: 100%; height: 160px; object-fit: cover;
  display: block; transition: transform 0.55s ease;
}
.service-card:hover .service-card-img { transform: scale(1.07); }

/* ----- PRODUCT CATEGORY CARDS (image-based) ----- */
.product-cat-card {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  height: 200px; cursor: pointer;
  transition: all 0.45s cubic-bezier(0.175,0.885,0.32,1.275);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}
.product-cat-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 25px 55px rgba(11,31,58,0.3); }
.product-cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.55s ease;
}
.product-cat-card:hover img { transform: scale(1.12); }
.product-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.15) 0%, rgba(11,31,58,0.85) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.25rem 1rem; transition: background 0.4s ease;
}
.product-cat-card:hover .product-cat-overlay {
  background: linear-gradient(180deg, rgba(11,31,58,0.25) 0%, rgba(201,144,26,0.88) 100%);
}
.product-cat-icon-wrap {
  width: 48px; height: 48px; border-radius: 0.875rem;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.6rem; transition: all 0.35s ease;
}
.product-cat-card:hover .product-cat-icon-wrap { background: rgba(255,255,255,0.35); transform: scale(1.1) translateY(-2px); }

/* ----- GALLERY ----- */
.gallery-card {
  border-radius: 1rem; overflow: hidden; position: relative;
  cursor: pointer; transition: all 0.45s cubic-bezier(0.175,0.885,0.32,1.275);
}
.gallery-card:hover { transform: scale(1.04); box-shadow: 0 28px 65px rgba(0,0,0,0.32); z-index: 5; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.88), rgba(201,144,26,0.72));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s ease;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

/* ----- TESTIMONIAL CARDS (glassmorphism) ----- */
.testimonial-slide { min-width: 33.333%; padding: 0 0.75rem; }
.testimonial-card {
  background: rgba(27,58,107,0.45);
  border: 1px solid rgba(201,144,26,0.22);
  backdrop-filter: blur(14px);
  border-radius: 1.75rem; padding: 1.75rem;
  height: 100%; position: relative; overflow: hidden;
  transition: all 0.4s ease;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: -8px; right: 16px;
  font-size: 7rem; font-family: 'Playfair Display', serif;
  color: rgba(201,144,26,0.15); line-height: 1; pointer-events: none;
}
.testimonial-card:hover { border-color: rgba(201,144,26,0.5); transform: translateY(-5px); box-shadow: 0 24px 55px rgba(0,0,0,0.35); }

/* Avatar badge */
.avatar-initials {
  width: 52px; height: 52px; border-radius: 0.875rem;
  background: linear-gradient(135deg, #C9901A, #E5AF35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-weight: 800; font-size: 1rem; color: white;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 6px 18px rgba(201,144,26,0.4);
}
.avatar-verified {
  position: absolute; bottom: -2px; right: -2px;
  width: 18px; height: 18px; background: #22c55e;
  border-radius: 50%; border: 2px solid; display: flex; align-items: center; justify-content: center;
}

/* ----- TESTIMONIAL SLIDER ----- */
.testimonial-slider { width: 100%; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.55s cubic-bezier(0.25,0.8,0.25,1); }

/* ----- FAQ ACCORDION ----- */
.faq-btn { border: none; background: transparent; cursor: pointer; width: 100%; }
.faq-btn.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.35s ease; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s ease;
}
.faq-answer.open { max-height: 320px; }
.faq-item-wrap {
  border-radius: 1.25rem; overflow: hidden;
  border: 1.5px solid #eff0f1;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  background: white;
}
.faq-item-wrap:hover { border-color: rgba(201,144,26,0.25); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.faq-item-wrap.faq-open { border-color: rgba(201,144,26,0.45); box-shadow: 0 8px 30px rgba(201,144,26,0.12); }

/* ----- FOOTER ----- */
.footer-link {
  color: #9ca3af; text-decoration: none; font-size: 0.875rem;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.3s ease, gap 0.3s ease, padding-left 0.3s ease;
}
.footer-link:hover { color: #E5B84F; gap: 12px; padding-left: 4px; }
.footer-link::before { content: '›'; color: #C9901A; font-size: 1.1rem; font-weight: 700; }

/* Social Links */
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; text-decoration: none; font-size: 0.9rem;
  transition: all 0.35s ease;
}
.social-link:hover {
  background: linear-gradient(135deg, #C9901A, #E5AF35);
  border-color: #C9901A; color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 25px rgba(201,144,26,0.45);
}

/* WhatsApp Float */
.whatsapp-float {
  z-index: 999; box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 12px 40px rgba(37,211,102,0.65); }
@keyframes whatsapp-pulse {
  0%,100% { box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 8px 50px rgba(37,211,102,0.8); }
}

/* ----- PAGE HERO (Inner Pages) ----- */
.page-hero {
  background:
    linear-gradient(135deg, rgba(11,31,58,0.96) 0%, rgba(27,58,107,0.90) 55%, rgba(10,30,64,0.97) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
  padding: 9rem 0 5rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(201,144,26,0.1) 1.5px, transparent 1.5px);
  background-size: 38px 38px;
}
.page-hero::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, #C9901A 30%, #E5B84F 50%, #C9901A 70%, transparent 100%);
  z-index: 5;
}

/* ----- VALUE / INFO CARDS ----- */
.value-card {
  background: white; border-radius: 1.5rem; border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.35s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(11,31,58,0.15); border-color: rgba(201,144,26,0.35); }

/* ----- CONTACT CARDS ----- */
.contact-card {
  background: white; border-radius: 1.5rem; border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); text-align: center; transition: all 0.35s ease;
}
.contact-card:hover { transform: translateY(-7px); box-shadow: 0 22px 48px rgba(11,31,58,0.15); border-color: rgba(201,144,26,0.35); }

/* ----- GALLERY FILTER BUTTONS ----- */
.gallery-filter-btn {
  padding: 0.55rem 1.5rem; border-radius: 50px;
  border: 1.5px solid #e0e0e0; background: white;
  cursor: pointer; font-weight: 600; font-family: 'Inter', sans-serif;
  transition: all 0.3s ease; color: #1A1A2E; font-size: 0.875rem;
}
.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: linear-gradient(135deg, #0B1F3A, #1B3A6B);
  color: white; border-color: transparent;
  box-shadow: 0 6px 22px rgba(11,31,58,0.35);
}

/* ----- FORM INPUTS ----- */
.form-input {
  width: 100%; padding: 0.9rem 1.25rem;
  border: 1.5px solid #e8e8e8; border-radius: 0.875rem;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #1A1A2E;
  background: #fafafa; transition: all 0.3s ease; outline: none;
}
.form-input:focus { border-color: #C9901A; background: white; box-shadow: 0 0 0 4px rgba(201,144,26,0.12); }
.form-input::placeholder { color: #bbb; }

/* ----- TIMELINE ----- */
.timeline-item { position: relative; padding-left: 2.5rem; }
.timeline-item::before {
  content: ''; position: absolute; left: 7px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, #C9901A, #E5AF35);
  box-shadow: 0 0 0 4px rgba(201,144,26,0.2);
}
.timeline-item::after {
  content: ''; position: absolute; left: 13px; top: 22px; bottom: -16px; width: 2px;
  background: linear-gradient(to bottom, rgba(201,144,26,0.5), transparent);
}
.timeline-item:last-child::after { display: none; }

/* ----- PROCESS STEPS ----- */
.process-step { position: relative; text-align: center; transition: transform 0.35s ease; }
.process-step:hover { transform: translateY(-8px); }
.step-number {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #C9901A, #E5AF35);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: white;
  box-shadow: 0 10px 30px rgba(201,144,26,0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process-step:hover .step-number { transform: scale(1.1); box-shadow: 0 16px 40px rgba(201,144,26,0.6); }

/* ----- CERT BADGES ----- */
.cert-badge {
  display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem;
  background: white; border-radius: 1.2rem;
  border: 1px solid #f0f0f0; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.35s ease; cursor: default; text-align: center;
}
.cert-badge:hover { transform: scale(1.06); box-shadow: 0 16px 40px rgba(11,31,58,0.14); border-color: rgba(201,144,26,0.35); }

/* ----- CTA SECTION ----- */
.cta-section {
  background:
    linear-gradient(135deg, rgba(11,31,58,0.96), rgba(27,58,107,0.94)),
    url('https://images.unsplash.com/photo-1556742031-c6961e8560b0?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.cta-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(201,144,26,0.08) 1.5px, transparent 1.5px);
  background-size: 42px 42px;
}

/* ----- SECTION DIVIDERS ----- */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,144,26,0.4) 30%, rgba(229,184,79,0.6) 50%, rgba(201,144,26,0.4) 70%, transparent);
  border: none; margin: 0;
}

/* ----- IMAGE HOVER ----- */
.img-hover-effect { transition: transform 0.5s ease; }
.img-hover-effect:hover { transform: scale(1.04); }

/* ----- SERVICE DETAIL CARDS ----- */
.service-detail-card {
  background: white; border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease; overflow: hidden;
}
.service-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 65px rgba(11,31,58,0.18);
  border-color: rgba(201,144,26,0.5);
}
.service-detail-card .card-top { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.service-detail-img { transition: transform 0.55s ease; }
.service-detail-card:hover .service-detail-img { transform: scale(1.08); }

/* ----- INDUSTRY TAGS ----- */
.industry-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.6rem 1.25rem; background: #f8f5f0;
  border-radius: 50px; border: 1px solid #ede7d9;
  font-size: 0.875rem; font-weight: 600; color: #0B1F3A;
  transition: all 0.3s ease; cursor: default;
}
.industry-tag:hover { background: linear-gradient(135deg, #0B1F3A, #1B3A6B); color: white; border-color: transparent; transform: translateY(-2px); }

/* ----- BLOB HELPERS ----- */
.blob-gold { background: rgba(201,144,26,0.08); }
.blob-navy { background: rgba(11,31,58,0.06); }

/* Responsive */
@media (max-width: 768px) {
  .page-hero { padding: 8rem 0 3.5rem; }
  .hero-bg { background-attachment: scroll; }
}