/* 
   IXL Prime Equipment Trading LLC
   Premium Corporate Layout (Compact Grid Design)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --navy: #082A66;
  --orange: #F68B1F;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(8, 42, 102, 0.05);
  --shadow-md: 0 10px 15px rgba(8, 42, 102, 0.08);
  --shadow-lg: 0 20px 25px rgba(8, 42, 102, 0.12);
  --shadow-orange: 0 8px 16px rgba(246, 139, 31, 0.3);

  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s ease;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px;
}

@media(min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

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

.label {
  display: block;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-orange {
  background-color: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background-color: #e07a16;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 10px 0;
}

.navbar {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
}

.nav-menu {
  display: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin: 0 12px;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
}

.nav-call-btn svg {
  width: 36px;
  height: 36px;
  fill: var(--white);
  background: var(--navy);
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-call-btn:hover svg {
  background: var(--orange);
  transform: scale(1.05);
}

.nav-call-text {
  display: flex;
  flex-direction: column;
}

.nav-call-text .small-text {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-call-text .phone-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.nav-quote-btn {
  background: linear-gradient(135deg, var(--orange) 0%, #d95e00 100%);
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  transition: var(--transition);
}

.nav-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--navy);
}

@media(min-width: 1024px) {
  .nav-menu { display: flex; }
  .menu-toggle { display: none; }
}

@media(max-width: 1023px) {
  .nav-actions { gap: 10px; }
  .nav-call-btn span { display: none; }
  .nav-quote-btn { padding: 8px 12px; font-size: 0.75rem; }
  .nav-call-btn svg { width: 34px; height: 34px; padding: 7px; }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow-md);
  transform: translateY(-150%);
  transition: var(--transition);
  z-index: 999;
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav .nav-link {
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 5% 40px;
  background: url('../photo/BG.jpeg') center center / cover no-repeat;
  margin-top: 65px;
  /* Offset for fixed header */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 42, 102, 0.95) 0%, rgba(8, 42, 102, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: var(--white);
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

@media(max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-overlay {
    background: rgba(8, 42, 102, 0.85);
  }
}

/* Stats Strip */
.stats-strip {
  background-color: var(--navy);
  color: var(--white);
  padding: 20px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.stats-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
}

.stat-icon-wrapper {
  background: linear-gradient(135deg, rgba(246, 139, 31, 0.15), rgba(246, 139, 31, 0.05));
  padding: 12px;
  border-radius: 50%;
  border: 1px solid rgba(246, 139, 31, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(246, 139, 31, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(246, 139, 31, 0.3);
  background: linear-gradient(135deg, rgba(246, 139, 31, 0.25), rgba(246, 139, 31, 0.1));
}

.stat-icon-wrapper svg {
  width: 28px;
  height: 28px;
  fill: var(--orange);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-item h3 {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--orange);
}

.stat-item p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Middle Layout (Grid) */
.grid-layout-middle {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 40px;
}

@media(max-width: 1024px) {
  .grid-layout-middle {
    grid-template-columns: 1fr;
  }
}

/* About Column */
.about-main-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.about-icons-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 20px 10px;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(8, 42, 102, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(8, 42, 102, 0.12);
  border-color: rgba(8, 42, 102, 0.2);
}

.icon-box:hover::before {
  transform: scaleX(1);
}

.icon-box svg {
  width: 32px;
  height: 32px;
  fill: var(--orange);
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 4px rgba(246, 139, 31, 0.2));
  transition: transform 0.3s ease;
}

.icon-box:hover svg {
  transform: scale(1.1);
}

.icon-box span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media(max-width: 600px) {
  .about-icons-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Services Mini Grid */
.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(8, 42, 102, 0.15);
  border-color: rgba(246, 139, 31, 0.5);
}

.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.service-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.service-content li {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

.service-content li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.read-more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  display: inline-block;
  margin-top: auto;
}

@media(max-width: 1200px) {
  .services-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .services-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* Industries Full-Width Banner */
.industries-banner {
  background-color: var(--navy);
}

.ind-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px 5%;
  flex-wrap: wrap;
  gap: 20px;
}

.ind-title {
  text-align: center;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  padding: 0 40px;
}

.ind-title .small-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.ind-title .large-title {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  margin-top: 5px;
}

.ind-slogan {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.6;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  background-color: var(--navy);
  padding: 0 5px 5px;
}

.ind-card {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.ind-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ind-card:hover img {
  transform: scale(1.05);
}

.ind-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(8, 42, 102, 0.95), transparent);
  padding: 40px 20px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.4s ease;
}

.ind-card:hover .ind-overlay {
  background: linear-gradient(to top, rgba(246, 139, 31, 0.95), rgba(246, 139, 31, 0.1));
  padding-bottom: 30px;
}

.ind-icon {
  width: 46px;
  height: 46px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  flex-shrink: 0;
}

.ind-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  transition: transform 0.3s ease;
}

.ind-card:hover .ind-icon svg {
  transform: scale(1.15) rotate(5deg);
}

.ind-overlay h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

@media(max-width: 1024px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ind-title {
    border: none;
    padding: 0;
  }
}

@media(max-width: 768px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }

  .ind-header {
    flex-direction: column;
    text-align: center;
  }
}

/* Testimonials Column */
.stats-box-navy {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-mini svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  opacity: 0.5;
  margin-bottom: 5px;
}

.stat-mini span {
  font-size: 0.65rem;
  line-height: 1.2;
}

.stat-mini strong {
  font-size: 1.2rem;
  color: var(--orange);
}

.testimonial-card {
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: var(--radius);
  position: relative;
}

/* Contact Column */
.compact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.compact-form input,
.compact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

@media(max-width: 600px) {
  .compact-form {
    grid-template-columns: 1fr;
  }

  .compact-form input,
  .compact-form textarea,
  .compact-form button {
    grid-column: span 1 !important;
  }
}

/* Mobile Sticky Nav */
.mobile-sticky-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 1000;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--font-heading);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-bottom: 4px;
}

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

.bg-green {
  background-color: #25D366;
}

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

@media(min-width: 768px) {
  .mobile-sticky-nav {
    display: none;
  }
}

/* Site Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 60px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a0aec0;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--orange);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-col h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a0aec0;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: #a0aec0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #a0aec0;
}

@media(max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Scroll Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp Desktop & Mobile */
.floating-whatsapp-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  cursor: grab;
  /* Will-change for smooth dragging */
  will-change: transform;
}

.floating-whatsapp-container:active {
  cursor: grabbing;
}

.wa-close {
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 16px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1001;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 0;
  transition: color 0.2s;
}

.wa-close:hover {
  color: var(--orange);
}

.floating-whatsapp {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.floating-whatsapp svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  pointer-events: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media(max-width: 767px) {
  .floating-whatsapp-container {
    bottom: 80px; /* Above the sticky nav */
    right: 20px;
  }
  .floating-whatsapp {
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}