 /* Prowess Overseas - Modern Trading Platform Style Guide */

:root {
  /* Modern color palette inspired by Mobirise */
  --primary-color: #d90919; /* Professional blue */
  --secondary-color: #d90919; /* Logo red color - same as logo-color */
  --accent-color: #ffffff; /* Success green */
  --logo-color: #d90919; /* Logo red color */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-150: #e2e2e2; /* Custom grey color */
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --white: #ffffff;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Typography */
  --font-primary: 'Amazon Ember', 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-base: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Top Contact Bar Styles */
.top-contact-bar {
  position: relative;
  z-index: 1000;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.top-contact-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.top-contact-bar .contact-info {
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-contact-bar .social-links-top {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Desktop view - move social media icons 400px to the right */
@media (min-width: 1024px) {
  .top-contact-bar .social-links-top {
    transform: translateX(400px);
  }
}

.top-contact-bar .social-links-top a {
  color: inherit;
  transition: color 0.3s ease;
}

.top-contact-bar .social-links-top a:hover {
  color: var(--secondary-color) !important;
}

body {
  font-family: var(--font-primary), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--amazon-dark);
  background-color: var(--amazon-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-base);
  color: var(--amazon-primary);
}

h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-xl);
}

h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-base);
}

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

h6 {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-xs);
}

p {
  margin-bottom: var(--spacing-base);
  color: var(--amazon-dark);
}

a {
  color: #0066c0;
  text-decoration: none;
}

a:hover {
  color: #c45500;
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

/* Header */
.header {
  background-color: var(--amazon-white);
  border-bottom: 1px solid var(--amazon-medium);
  padding: var(--spacing-sm) 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: bold;
  color: var(--amazon-primary);
}

.logo span {
  color: var(--amazon-secondary);
}

/* Navigation */
.navbar {
  background-color: var(--amazon-primary);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.navbar-brand {
  padding: var(--spacing-base) var(--spacing-base);
  color: var(--amazon-white);
  font-weight: bold;
  font-size: var(--font-size-lg);
}

.navbar-nav {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: var(--spacing-base) var(--spacing-lg);
  color: var(--amazon-white);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: background-color 0.2s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-base);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--amazon-secondary);
  color: var(--amazon-white);
  border-color: var(--amazon-secondary);
}

.btn-primary:hover {
  background-color: #e68a00;
  border-color: #e68a00;
  text-decoration: none;
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--amazon-secondary);
  border-color: var(--amazon-secondary);
}

.btn-outline-primary:hover {
  background-color: rgba(255, 153, 0, 0.1);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--amazon-primary);
  color: var(--amazon-white);
  border-color: var(--amazon-primary);
}

.btn-secondary:hover {
  background-color: #1a2530;
  border-color: #1a2530;
  text-decoration: none;
}

.btn-lg {
  padding: var(--spacing-base) var(--spacing-xl);
  font-size: var(--font-size-base);
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
}

/* Cards */
.card {
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-medium);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-body {
  padding: var(--spacing-base);
}

.card-title {
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.card-text {
  color: var(--amazon-dark);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-base);
}

/* Forms */
.form-control {
  display: block;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-base);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--amazon-dark);
  background-color: var(--amazon-white);
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #007185;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.1);
}

.form-label {
  display: inline-block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--amazon-dark);
}

/* Social Media Icons - Properly Sized */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--amazon-medium);
  color: var(--amazon-white);
  font-size: 14px;
  transition: all 0.2s ease;
  margin-right: var(--spacing-sm);
}

.social-icon:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icon.facebook {
  background-color: #3b5998;
}

.social-icon.twitter {
  background-color: #1da1f2;
}

.social-icon.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.linkedin {
  background-color: #0077b5;
}

.social-icon.pinterest {
  background-color: #bd081c;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(35, 47, 62, 0.9), rgba(35, 47, 62, 0.9)),
              url('../images/hero-background.jpg') center/cover no-repeat;
  color: var(--amazon-white);
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-base);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

/* Sections */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-base);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--amazon-secondary);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card .card-img-container {
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-base) var(--radius-base) 0 0;
}

.product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .card-text {
  flex: 1;
}

/* Footer */
.footer {
  background-color: var(--amazon-primary);
  color: var(--amazon-white);
  padding: var(--spacing-2xl) 0;
}

.footer a {
  color: #ccc;
}

.footer a:hover {
  color: var(--amazon-white);
}

.footer-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-base);
  color: var(--amazon-white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.copyright {
  background-color: #131a22;
  color: #999;
  padding: var(--spacing-base) 0;
  font-size: var(--font-size-xs);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
    margin-right: var(--spacing-xs);
  }

  /* Mobile view - center align both lines in Grey Header */
  .top-contact-bar .contact-info {
    justify-content: center;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .top-contact-bar .social-links-top {
    justify-content: center;
    transform: none; /* Remove desktop transform for mobile */
  }

  /* Prevent Explore Products button from stretching on mobile - maintain desktop width */
  .hero-actions .btn {
    width: auto;
    min-width: 200px;
    max-width: 250px;
    flex-shrink: 0;
  }

  /* Additional mobile styling for hero buttons */
  .hero-actions {
    justify-content: flex-start;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: #666;
}

.text-logo {
  color: var(--logo-color);
}

.bg-neutral-150 {
  background-color: var(--neutral-150);
}

.text-neutral-150 {
  color: var(--neutral-150);
}

.border-neutral-150 {
  border-color: var(--neutral-150);
}

/* Breadcrumb active styling */
.breadcrumb-item.active {
  color: var(--logo-color) !important;
  font-weight: 600;
}

/* Header button styling */
.header-modern .header-buttons .btn-outline-light {
  border-color: var(--logo-color) !important;
  color: var(--white) !important;
  background-color: var(--logo-color) !important;
}

.header-modern .header-buttons .btn-outline-light:hover {
  background-color: var(--logo-color) !important;
  border-color: var(--logo-color) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(217, 9, 25, 0.3);
}

.header-modern .header-buttons .btn-light {
  background-color: var(--logo-color) !important;
  border-color: var(--logo-color) !important;
  color: var(--white) !important;
}

.header-modern .header-buttons .btn-light:hover {
  background-color: var(--logo-color) !important;
  border-color: var(--logo-color) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(217, 9, 25, 0.3);
}

.bg-light {
  background-color: var(--amazon-light);
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow {
  box-shadow: var(--shadow-base);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.rounded {
  border-radius: var(--radius-base);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-base); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-6 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-base); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.mb-6 { margin-bottom: var(--spacing-2xl); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-base); padding-bottom: var(--spacing-base); }
.py-4 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-5 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.py-6 { padding-top: var(--spacing-2xl); padding-bottom: var(--spacing-2xl); }

/* Grid system */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5rem;
}

.col {
  padding: 0 0.5rem;
  flex: 1;
}

.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.3333%; }
.col-3 { width: 25%; }

@media (max-width: 768px) {
  .col-md-12 { width: 100%; }
  .col-md-6 { width: 50%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-3 { width: 25%; }
  
  .row {
    flex-direction: column;
  }
  
  .col {
    margin-bottom: var(--spacing-base);
  }
}

/* Modern Header Styles */
.header-modern {
  background: var(--white);
  color: var(--neutral-800);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-modern .logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Consistent left padding for all screen sizes */
  padding-left: clamp(1rem, 5vw, 3rem);
  /* Calculate logo width for positioning */
  --logo-width: 293px;
}

/* Desktop positioning (1024px and above) */
@media (min-width: 1024px) {
  .header-modern .logo-section {
    /* Shift logo and tagline by 1.5 times logo width minus 20px + 100px right adjustment */
    transform: translateX(clamp(-200px, -30vw + 100px, -50px));
    /* Remove left padding since we're using transform */
    padding-left: 0;
  }

}

/* Tablet positioning (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-modern .logo-section {
    /* Minimal transform for tablets */
    transform: translateX(clamp(-100px, -15vw + 50px, -20px));
    /* Ensure logo is visible on tablets */
    padding-left: 1.5rem;
    min-width: 300px;
  }


  .header-modern .logo-image {
    /* Appropriate size for tablets */
    max-width: 250px;
    height: auto;
  }
}

/* Mobile positioning (below 768px) */
@media (max-width: 767px) {
  .header-modern .logo-section {
    /* Increase padding on mobile for better visibility */
    padding-left: 1.5rem;
    /* Ensure logo is visible and properly sized on mobile */
    min-height: auto;
    transform: none;
  }

  .header-modern .logo-image {
    /* Ensure logo doesn't exceed mobile container */
    max-width: 200px;
    height: auto;
  }
}

.header-modern .logo {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.header-modern .logo-image {
  height: 4.9rem;
  width: auto;
  max-width: 293px;
  object-fit: contain;
  /* Left side padding - equivalent to 0.5rem (half character width) */
  margin-left: -0.5rem;
}


.header-modern .logo a {
 color: var(--white);
 text-decoration: none;
}

.header-modern .logo a:hover {
 color: var(--secondary-color);
 text-decoration: none;
}

.header-modern .logo-highlight {
  color: var(--logo-color);
}

.header-modern .tagline {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0;
  font-weight: 300;
  color: var(--logo-color);
  margin-left: 50px; /* Shift tagline 50px to the right to align with logo */
  margin-top: -5px; /* Move tagline 5px higher, overlapping logo slightly */
}

.header-modern .header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  /* Exactly 1rem padding to match left side perfectly */
  padding-right: 1rem !important;
  transform: translateX(25px); /* Shift entire header actions 25px to the right */
}

.header-modern .established-text {
 font-size: 0.875rem;
 opacity: 0.8;
 font-style: italic;
}

.header-modern .header-buttons {
  display: flex;
  gap: 0.5rem;
}

.header-modern .header-buttons .btn {
  border: 2px solid var(--logo-color) !important;
  transition: all 0.3s ease;
  color: var(--white) !important;
  background-color: var(--logo-color) !important;
}

.header-modern .header-buttons .btn:hover {
  background: linear-gradient(135deg, #d97706 0%, var(--logo-color) 100%) !important;
  color: var(--white) !important;
  border-color: var(--logo-color) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(217, 9, 25, 0.4) !important;
}

/* Modern Navigation Styles - Notta.ai Inspired */
.navbar-modern {
  background-color: var(--white) !important;
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* RESET ANY CONFLICTING STYLES */
.navbar-modern * {
  box-sizing: border-box;
}

.navbar-modern .navbar-toggler,
.navbar-modern .navbar-collapse,
.navbar-modern .navbar-nav,
.navbar-modern .nav-item,
.navbar-modern .nav-link {
  all: initial;
  box-sizing: border-box;
}

/* FORCE NAVIGATION BAR TO BE VISIBLE */
.navbar-modern .container {
  position: relative !important;
}

.navbar-modern .navbar-toggler {
  position: relative !important;
  float: right !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* Ensure navigation works properly on all devices */
.navbar-modern .navbar-toggler {
  background: none;
  border: none;
}

/* MOBILE NAVIGATION - Simplified approach like webinformatics.in */
@media (max-width: 991px) {
  .navbar-modern .navbar-toggler {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    float: right !important;
    margin-left: auto !important;
    background: none !important;
    border: 2px solid var(--logo-color) !important;
    color: var(--logo-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem !important;
  }

  .navbar-modern .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 999;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
  }

  .navbar-modern .navbar-collapse.show {
    display: block;
  }

  .navbar-modern .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 1rem 0;
    background-color: white;
  }

  .navbar-modern .nav-item {
    width: 100%;
    margin: 0;
  }

  .navbar-modern .nav-link {
    padding: 0.75rem 1.5rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
    color: #1a1a1a;
    text-decoration: none;
  }

  .navbar-modern .nav-link:hover {
    background-color: rgba(217, 9, 25, 0.05);
    color: var(--logo-color);
  }
}

.navbar-modern .navbar-brand {
  color: var(--logo-color);
  font-weight: 600;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.navbar-modern .navbar-brand:hover {
  color: var(--logo-color);
}

.navbar-modern .nav-link {
  color: #1a1a1a;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
}

.navbar-modern .nav-link:hover {
  color: var(--logo-color);
  background-color: rgba(217, 9, 25, 0.05);
  transform: translateY(-1px);
}

.navbar-modern .nav-link.active {
  color: var(--logo-color);
  font-weight: 600;
  background-color: rgba(217, 9, 25, 0.05);
}


/* Fix dropdown positioning with more specific targeting */
.navbar .nav-item.dropdown {
  position: relative !important;
}

.navbar .nav-item.dropdown > .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  /* left: 0 !important; */ /* Removed - let Bootstrap handle horizontal positioning */
  transform: none !important;
  z-index: 1000 !important;
  display: none !important;
  min-width: 200px !important;
  max-width: 300px !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  color: #212529 !important;
  text-align: left !important;
  list-style: none !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.navbar .nav-item.dropdown > .dropdown-menu.show {
  display: block !important;
}

/* Enhanced dropdown styling */
.navbar .dropdown-item {
  padding: 0.75rem 1.5rem !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  color: #1a1a1a !important;
  font-size: 0.9rem !important;
  border-radius: 0.5rem !important;
  margin: 0 0.25rem !important;
}

.navbar .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(217, 9, 25, 0.1) 0%, rgba(217, 9, 25, 0.05) 100%) !important;
  color: var(--logo-color) !important;
  transform: translateX(4px) !important;
}

/* Fix dropdown positioning for Bootstrap compatibility */
.navbar-modern .dropdown-menu {
  transform: none !important;
  inset: auto !important;
}

/* Ensure proper dropdown behavior */
.navbar-modern .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.navbar-modern .dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #1a1a1a;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
}

.navbar-modern .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(217, 9, 25, 0.1) 0%, rgba(217, 9, 25, 0.05) 100%);
  color: var(--logo-color);
  transform: translateX(4px);
}

.navbar-modern .dropdown-item i {
  margin-right: 0.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.navbar-modern .dropdown-item:hover i {
  opacity: 1;
  color: var(--logo-color);
}

/* Enhanced dropdown arrow */
.navbar-modern .dropdown-toggle::after {
  content: '';
  border: none;
  width: 8px;
  height: 8px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") no-repeat center;
  background-size: contain;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-modern .dropdown-toggle:hover::after {
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d90919' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") no-repeat center;
  background-size: contain;
}

/* Desktop Navigation - Hide toggler on desktop */
@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }

  .navbar-toggler-icon {
    display: none !important;
  }
}

/* Mobile Navigation Enhancements - FORCE VISIBILITY */
.navbar-modern .navbar-toggler {
  border: 2px solid var(--logo-color) !important;
  padding: 0.5rem !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: transparent !important;
  color: var(--logo-color) !important;
  font-size: 1rem !important;
  width: auto !important;
  height: auto !important;
  position: relative !important;
  z-index: 1001 !important;
}

.navbar-modern .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(217, 9, 25, 0.2) !important;
  outline: none !important;
}

.navbar-modern .navbar-toggler:hover {
  background-color: var(--logo-color) !important;
  color: white !important;
}

/* Ensure hamburger button is always visible on mobile */
@media (max-width: 991px) {
  .navbar-modern .navbar-toggler {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.navbar-modern .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 26, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-modern .navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d90919' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navigation Fix - Ensure proper functionality for all mobile devices */
@media (max-width: 991px) {
  .navbar-modern .navbar-collapse {
    display: none !important;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--neutral-200);
  }

  .navbar-modern .navbar-collapse.show {
    display: block !important;
  }

  .navbar-modern .navbar-nav {
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
  }

  .navbar-modern .nav-item {
    width: 100%;
  }

  .navbar-modern .nav-link {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--neutral-100);
  }

  /* Mobile dropdown - simplified styling */
  .navbar-modern .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}

/* Additional mobile breakpoint for very small devices */
@media (max-width: 576px) {
  .navbar-modern .navbar-collapse {
    display: none !important;
  }

  .navbar-modern .navbar-collapse.show {
    display: block !important;
  }
}

/* Main Content */
.main-content {
 min-height: calc(100vh - 400px);
}

/* Modern Footer Styles */
.footer-modern {
 background: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
 color: var(--neutral-300);
 padding: 3rem 0 0;
}

.footer-modern .footer-section {
 height: 100%;
}

.footer-modern .footer-title {
 color: var(--white);
 font-size: 1.125rem;
 font-weight: 600;
 margin-bottom: 1.5rem;
 display: flex;
 align-items: center;
}

.footer-modern .footer-links {
 list-style: none;
 padding: 0;
}

.footer-modern .footer-links li {
 margin-bottom: 0.75rem;
}

.footer-modern .footer-links a {
 color: var(--neutral-400);
 text-decoration: none;
 transition: all 0.3s ease;
 font-size: 0.875rem;
}

.footer-modern .footer-links a:hover {
 color: var(--secondary-color);
 text-decoration: none;
}

.footer-modern .social-links {
 display: flex;
 gap: 1rem;
}

.footer-modern .social-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background-color: var(--neutral-700);
 color: var(--neutral-300);
 font-size: 1.125rem;
 transition: all 0.3s ease;
 text-decoration: none;
}

.footer-modern .social-link:hover {
 background-color: var(--secondary-color);
 color: var(--white);
 transform: translateY(-2px);
 text-decoration: none;
}

.footer-modern .tracking-title {
 color: var(--white);
 font-size: 1rem;
 font-weight: 600;
 margin-bottom: 1rem;
}

.footer-modern .tracking-form .input-group {
 display: flex;
 gap: 0.5rem;
}

.footer-modern .tracking-form .form-control {
 flex: 1;
 border: 1px solid var(--neutral-600);
 background-color: var(--neutral-800);
 color: var(--neutral-200);
 border-radius: 0.375rem;
 padding: 0.5rem 0.75rem;
}

.footer-modern .tracking-form .form-control::placeholder {
 color: var(--neutral-500);
}

.footer-modern .tracking-form .form-control:focus {
 border-color: var(--secondary-color);
 background-color: var(--neutral-800);
 color: var(--neutral-200);
 box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.footer-modern .copyright-section {
 background-color: var(--neutral-900);
 color: var(--neutral-500);
 padding: 1.5rem 0;
 margin-top: 2rem;
 border-top: 1px solid var(--neutral-700);
}

.footer-modern .copyright-section p {
 margin-bottom: 0;
 font-size: 0.875rem;
}

.footer-modern .copyright-section a {
 color: var(--neutral-400);
 transition: color 0.3s ease;
}

.footer-modern .copyright-section a:hover {
 color: var(--secondary-color);
}

/* Responsive adjustments for modern design */
@media (max-width: 768px) {
 .header-modern {
   padding: 1rem 0;
 }

 .header-modern .logo {
   font-size: 2rem;
 }

 .header-modern .header-actions {
   align-items: flex-end;
   justify-content: flex-end;
   gap: 0.5rem;
   flex-direction: column;
   margin-top: -72px; /* Move header actions up by 72px */
 }

 .header-modern .header-buttons {
   align-self: flex-end;
 }

 .header-modern .header-buttons .btn {
   min-width: auto;
   width: auto;
   padding: 0.375rem 0.75rem;
   font-size: 0.75rem;
 }

 .navbar-modern .nav-link {
   padding: 0.75rem 1rem;
 }

 .footer-modern {
   padding: 2rem 0 0;
 }

 .footer-modern .footer-modern .social-links {
   justify-content: center;
 }
}

/* Enhanced button styles for modern design */
.btn {
 border-radius: 0.5rem;
 font-weight: 500;
 padding: 0.5rem 1rem;
 transition: all 0.3s ease;
}

.btn-primary {
  background: var(--logo-color);
  border: none;
  color: var(--white);
}

.btn-primary:hover {
 background: linear-gradient(135deg, #d97706 0%, var(--secondary-color) 100%);
 transform: translateY(-1px);
 box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline-light {
 border-color: var(--white);
 color: var(--white);
}

.btn-outline-light:hover {
 background-color: var(--white);
 color: var(--primary-color);
 transform: translateY(-1px);
}

/* Loading animation */
@keyframes pulse {
 0%, 100% { opacity: 1; }
 50% { opacity: 0.5; }
}

.loading {
 animation: pulse 1.5s ease-in-out infinite;
}

/* Enhanced form styles */
.form-control {
 border-radius: 0.375rem;
 border: 1px solid var(--neutral-300);
 transition: all 0.3s ease;
}

.form-control:focus {
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.is-invalid {
 border-color: #dc2626;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.is-valid {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Modern Hero Section */
.hero-modern {
  background: url('../images/global-trade-background.jpg') center/cover no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(217, 9, 25, 0.1) 0%, rgba(217, 9, 25, 0.05) 100%);
  transform: translateX(-550px); /* Shift transparent layer 550px to the left */
  z-index: 1;
}

.hero-content-modern {
  position: relative;
  z-index: 2;
}

.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
  color: var(--secondary-color);
  position: relative;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, #fbbf24 100%);
  border-radius: 2px;
}

.hero-subtitle-modern {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
  border-radius: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
  /* Enhanced glass morphism effect - positioned behind text content */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateX(-604px); /* Reset to previous working position */
}

/* What We Do Section */
.section-what-we-do {
  background-color: var(--neutral-50);
}

.service-card-modern {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -3px rgba(217, 9, 25, 0.3);
  border-color: var(--logo-color);
}

.service-icon-modern {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--logo-color);
  border-radius: 50%;
  color: var(--white);
  border: 3px solid var(--logo-color);
  box-shadow: 0 0 0 2px rgba(217, 9, 25, 0.2);
}

.service-title {
  color: var(--neutral-800);
  font-size: 1.25rem;
}

.service-description {
  line-height: 1.6;
}

/* Stats Section */
.section-stats {
  background: linear-gradient(135deg, var(--primary-color) 0%, #d90919 100%);
  /* Desktop: Reduce height by 30% - from py-5 (6rem total) to py-3 (3rem total) = 50% reduction */
  padding: 3rem 0;
}

/* Mobile: Reduce height by 50% - from py-5 (6rem total) to 1rem each (2rem total) for more noticeable change */
/* Top padding reduced by 15% - from 1rem to 0.875rem */
@media (max-width: 768px) {
  .section-stats {
    padding: 0.875rem 0;
  }

  /* Mobile 2x2 matrix adjustments for stats - ONLY for mobile */
  .section-stats .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .section-stats .row .col-lg-3,
  .section-stats .row .col-md-6 {
    width: 100%;
    margin-bottom: 0;
  }

  .stat-item {
    padding: 1rem;
    text-align: center;
  }

  .stat-number {
    font-size: 2rem; /* Smaller font for mobile 2x2 layout */
  }

  .stat-label {
    font-size: 0.875rem; /* Smaller label text for mobile */
  }
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Products Section */
.section-products {
  padding: 5rem 0;
}

.product-card-modern {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
}

.product-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.product-image-modern {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.product-card-modern:hover .product-bg {
  transform: scale(1.1);
}

.paper-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.metals-bg {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
}

.commodities-bg {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.spices-bg {
  background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card-modern:hover .product-overlay {
  opacity: 1;
}

.product-card-modern .card-title {
  color: var(--neutral-800);
  font-size: 1.25rem;
}

.product-card-modern .card-text {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* Story Section */
.section-story {
  background-color: var(--white);
}

.story-title {
  color: var(--neutral-800);
}

.story-text {
  color: var(--neutral-600);
  line-height: 1.7;
}

.story-highlight {
  border-left: 4px solid var(--secondary-color);
}

.story-visual {
  position: relative;
}

.story-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
  border-radius: 1rem;
}

.story-badge {
  transform: translateX(-50%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.section-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
}

.cta-title {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Section Titles */
.section-title-modern {
  color: var(--neutral-800);
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--neutral-600);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation Menu Styles - Simple & Clean */
.main-navigation {
  margin: 0;
  padding: 0;
}

.primary-navigation {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.primary-navigation .menu-item {
  position: relative;
}

.primary-navigation .menu-item a {
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: block;
}

.primary-navigation .menu-item a:hover,
.primary-navigation .menu-item.current-menu-item a {
  color: var(--logo-color);
  background-color: rgba(217, 9, 25, 0.05);
}

.primary-navigation .menu-item.current-menu-item a {
  font-weight: 600;
}

/* Mobile Navigation - Simple Stack */
@media (max-width: 991px) {
  .primary-navigation {
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--neutral-200);
  }

  .primary-navigation .menu-item {
    width: 100%;
    border-bottom: 1px solid var(--neutral-100);
  }

  .primary-navigation .menu-item:last-child {
    border-bottom: none;
  }

  .primary-navigation .menu-item a {
    padding: 1rem 1.5rem;
    border-radius: 0;
    display: block;
    width: 100%;
  }
}

/* Responsive adjustments for modern sections */
@media (max-width: 768px) {
  .hero-title-modern {
    font-size: 2.5rem;
  }

  .hero-subtitle-modern {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-title-modern {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .story-image-placeholder {
    height: 300px;
  }
}