/* Sarvin Global - Premium Corporate Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy-dark: #07172b;
  --navy-primary: #0b2545;
  --navy-light: #133b6d;
  --navy-soft: #1e3a5f;
  --gold-primary: #c9932b;
  --gold-light: #e0a944;
  --gold-dark: #a37218;
  --green-accent: #1e7e34;
  --green-light: #28a745;
  --slate-bg: #f8fafc;
  --slate-border: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
}

/* Base Document Styles */
html {
  font-size: 17.5px; /* Elevated global typography scale (~9.4% larger across all pages and rem utilities) */
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
  html {
    font-size: 16.5px; /* Optimal readability on mobile screens */
  }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-secondary);
  background-color: #ffffff;
  overflow-x: hidden;
  font-size: 1.025rem;
  line-height: 1.75;
}

/* ==========================================================
   ELEVATED TYPOGRAPHY: H1, H2, H3, H4 & PARAGRAPH STYLING
   ========================================================== */

h1, .h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: inherit;
  text-wrap: balance;
}

h2, .h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--navy-primary);
  text-wrap: balance;
}

h3, .h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.32;
  color: var(--navy-primary);
}

h4, .h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--text-primary);
}

h5, .h5, h6, .h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

/* Paragraph Precision */
p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 1.025rem;
  line-height: 1.8;
  letter-spacing: -0.011em;
  color: #334155;
}

p.lead, .lead-p {
  font-size: 1.2rem;
  line-height: 1.85;
  font-weight: 400;
  color: #475569;
}

/* Text Gradients & Accents */
.text-gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #e0a944 40%, #c9932b 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
  background: linear-gradient(135deg, #07172b 0%, #0b2545 60%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header Underlines */
.heading-underline-gold {
  position: relative;
  padding-bottom: 0.85rem;
}

.heading-underline-gold::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3.5px;
  background: linear-gradient(90deg, #c9932b, #e0a944);
  border-radius: 2px;
}

.heading-underline-center::after {
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0b2545;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9932b;
}

/* Hero Slider Styles */
.hero-slider {
  height: 84vh;
  min-height: 600px;
  position: relative;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 23, 43, 0.92) 0%, rgba(11, 37, 69, 0.70) 45%, rgba(7, 23, 43, 0.35) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
}

/* Swiper Pagination & Navigation Customization */
.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: #ffffff;
  opacity: 0.5;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.swiper-pagination-bullet-active {
  width: 42px;
  background: var(--gold-primary) !important;
  opacity: 1;
  border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--gold-primary);
  color: #0b2545 !important;
  border-color: var(--gold-primary);
  transform: scale(1.08);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-green 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: #ffffff;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Glassmorphism & Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.card-hover-lift {
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(11, 37, 69, 0.16);
}

/* Commodity category tags */
.badge-agri {
  background-color: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}
.badge-metal {
  background-color: #e2e8f0;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}
.badge-fibre {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* Animated Underline */
.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--gold-primary);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Dropdown Menu styling */
.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE DESIGN OPTIMIZATION (MOBILE & TABLET BREAKPOINTS)
   ========================================================== */

/* Tablet & Mobile (under 1024px) */
@media (max-width: 1023px) {
  .hero-slider {
    height: 75vh;
    min-height: 540px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 44px;
    height: 44px;
  }
}

/* Mobile Screens (under 640px) */
@media (max-width: 640px) {
  .hero-slider {
    height: auto;
    min-height: 500px;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }

  .hero-slide-content h1 {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
  }

  .hero-slide-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

