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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: #142b6f;
  font-size: 24px;
  font-weight: 800;
}

.logo span {
  color: #e51f24;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #e51f24;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;

  background-image: url('images/Main.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/*
.hero {
  position: relative;
  background: 
    linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)),
    url("images/Main.jpeg") center center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}8?
./*hero {
  background: linear-gradient(135deg, #142b6f, #1e3a8a);
  color: white;
  padding: 100px 0;
}*/

/*.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
}
*/

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.eyebrow,
.section-label {
  color: #e51f24;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  max-width: 620px;
  color: #dbeafe;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn.primary {
  background: #e51f24;
  color: white;
}

.btn.primary:hover {
  background: #ea580c;
}

.btn.secondary {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.btn.secondary:hover {
  background: white;
  color: #142b6f;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h3 {
  margin-bottom: 15px;
}

.hero-card ul {
  list-style-position: inside;
}

.section-padding {
  padding: 80px 0;
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box,
.product-card,
.about-box,
.contact-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.feature-box span {
  color: #e51f24;
  font-weight: 800;
}

.feature-box h3,
.product-card h4 {
  margin: 10px 0;
  color: #142b6f;
}

.about {
  background: #f8fafc;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
}

.about h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(30px, 4vw, 42px);
  color: #142b6f;
  margin-bottom: 16px;
}

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 45px;
}

.category-title {
  margin: 35px 0 18px;
}

.category-title h3 {
  font-size: 26px;
  color: #142b6f;
  border-left: 5px solid #e51f24;
  padding-left: 14px;
}

.pneumatic-title {
  margin-top: 55px;
}

.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff7ed;
  color: #e51f24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
}

.product-card a {
  display: inline-block;
  margin-top: 16px;
  color: #e51f24;
  font-weight: 700;
  text-decoration: none;
}

.contact {
  background: #f8fafc;
}

.contact-info {
  margin: 24px 0;
}

.map-placeholder {
  height: 180px;
  background: #e5e7eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e51f24;
}

.footer {
  background: #142b6f;
  color: #cbd5e1;
  padding: 24px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 4%;
    gap: 16px;
    display: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 70px 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero p {
    font-size: 16px;
  }

  .section-padding {
    padding: 60px 0;
  }
}



/* Uniline Apex branding update */
.site-logo{
  max-height:70px;
  width:auto;
  vertical-align:middle;
  margin-right:10px;
}
.logo, .brand, .navbar-brand, .simple-logo-header{
  display:flex;
    align-items:center;}  
  gap:10px;
}
.simple-logo-header{
  padding:15px 5%;
  background:#ffffff;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
  color:#142b6f;
  font-weight:700;
  font-size:22px;
}
:root{
  --primary:#142b6f;
  --secondary:#e51f24;
  --accent:#e51f24;
}

.product-image{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:15px;
} 
/* Dropdown Menu */

.dropdown{
  position:relative;
}

.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  background:#ffffff;
  min-width:240px;
  padding:10px 0;
  list-style:none;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  display:none;
  z-index:999;
}

.dropdown-menu li{
  width:100%;
}

.dropdown-menu a{
  display:block;
  padding:12px 18px;
  color:#374151;
  text-decoration:none;
  font-weight:600;
  transition:0.3s ease;
}

.dropdown-menu a:hover{
  background:#f3f4f6;
  color:#e51f24;
}

.dropdown:hover .dropdown-menu{
  display:block;
}

/* Mobile Dropdown */

@media (max-width:768px){

  .dropdown-menu{
    position:static;
    display:none;
    box-shadow:none;
    padding-left:15px;
    margin-top:10px;
  }

  .dropdown.active .dropdown-menu{
    display:block;
  }
}


/* Partners Slider */

.partners{
  background:#ffffff;
  overflow:hidden;
}

.partners-slider{
  width:100%;
  overflow:hidden;
  margin-top:40px;
  position:relative;
}

.partner-track{
  display:flex;
  gap:24px;
  width:max-content;
  animation:scrollPartners 45s linear infinite;
}

.partner-card{
  width:220px;
  min-width:220px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:140px;
  box-shadow:0 10px 25px rgba(15,23,42,0.06);
  transition:0.3s ease;
}

.partner-card img{
  max-width:100%;
  max-height:70px;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:0.8;
  transition:0.3s ease;
}

.partner-card:hover img{
  filter:none;
  opacity:1;
}

.partner-track:hover{
  animation-play-state:paused;
}

@keyframes scrollPartners{

  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(-50%);
  }

}

@media (max-width:768px){

  .partner-card{
    width:170px;
    min-width:170px;
    padding:20px;
  }

}

.hero-content h1 {
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 800;
}

.hero-content h1 span {
  display: block;
}

.hero-content h1 span:first-child {
  color: #102b66;
}

.hero-content h1 span:last-child {
  color: #d2362e;
}

.hero-content p {
  max-width: 520px;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.6;
}

.hero-highlights {
  display: flex;
  gap: 26px;
  margin: 34px 0;
  align-items: center;
}
.hero-highlights i {
    font-size: 40px;
    /*color: #0d3b8e;*/
    margin-bottom: 10px;
    display: block;
}
.hero-highlights div:nth-child(1) i {
    color: #0B3D91;
}

.hero-highlights div:nth-child(2) i {
    color: #E31E24;
}

.hero-highlights div:nth-child(3) i {
    color: #0B3D91;
}

.hero-highlights div:nth-child(4) i {
    color: #E31E24;
}

.hero-highlights div {
  color: #102b66;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  text-align: center;
}

.hero-highlights div span {
  display: block;
  margin-top: 8px;
}

.btn.primary {
  background: #d2362e;
}

.btn.secondary {
  border: 2px solid #102b66;
  color: #102b66;
  background: transparent;
}






/* MOBILE + TABLET HERO FIX */
@media (max-width: 900px){

  /* buttons */
  .hero-buttons{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
  }

  /* CONTACT US BUTTON */
  .hero-buttons .secondary{
    background: #ffffff !important;
    color: #0b2c66 !important;
    border: 2px solid #0b2c66 !important;
  }

  /* make button visible above image */
  .hero-buttons .btn{
    position: relative;
    z-index: 5;
  }

  /* spacing */
  .hero-content{
    position: relative;
    z-index: 5;
  }
}

@media (max-width: 900px){

  .hero-highlights{
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
    padding-right: 120px; /* pushes content away from image */
  }

  .hero-highlights div{
    width: 70px;
    text-align: center;
    flex-shrink: 0;
  }

  .hero-highlights span{
    display: block;
    font-size: 12px !important;
    line-height: 1.45 !important;
    margin-top: 5px;
    word-break: normal;
  }

}

/*
@media (max-width: 768px){

  .hero-highlights{
    display: flex !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    padding-right: 0 !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .hero-highlights div{
    width: auto !important;
    min-width: 45px !important;
    text-align: center;
    margin: 0 !important;
  }

  .hero-highlights span{
    font-size: 11px !important;
    line-height: 1.35 !important;
    display: block;
    margin-top: 4px;
  }

}*/
@media (max-width: 768px) {

  .hero-highlights {
    display: grid !important;
    grid-template-columns: 80px 80px !important;
    column-gap: 8px !important;
    row-gap: 16px !important;
    justify-content: start !important;

    width: 168px !important;
    margin: 24px 0 30px !important;
    padding: 0 !important;

    /* Move ALL 4 highlights further left */
    transform: translateX(-20px) !important;
  }

  .hero-highlights div {
    width: 80px !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .hero-highlights i {
    font-size: 32px !important;
    margin-bottom: 5px !important;
  }

  .hero-highlights span {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
  }
}

/* BLUE USP SECTION */

.usp-bar {
  background: #0b2c66;
  border-bottom: 12px solid #e31e24;
  padding: 35px 0;
}

.usp-container {
  width: min(1400px, 95%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.usp-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-icon i {
  font-size: 34px;
}

.usp-icon.white {
  background: #fff;
  color: #0b2c66;
}

.usp-icon.red {
  background: #e31e24;
  color: #fff;
}

.usp-icon.blue {
  background: #1c5fd4;
  color: #fff;
}

.usp-content h4 {
  color: #fff;
  
  font-weight: 800;
  margin-bottom: 8px;
}

.usp-content p {
  color: rgba(255,255,255,0.95);
  font-size: 17px;
  line-height: 1.5;
}

.usp-divider {
  width: 1px;
  height: 90px;
  background: rgba(255,255,255,0.4);
  margin: 0 25px;
}

/* Tablet */

@media (max-width: 992px) {

  .usp-container {
    flex-wrap: wrap;
    gap: 30px;
  }

  .usp-item {
    flex: 0 0 calc(50% - 15px);
  }

  .usp-divider {
    display: none;
  }

  .usp-content h4 {
    font-size: 18px;
  }

  .usp-content p {
    font-size: 14px;
  }
}

/* Mobile */

@media (max-width: 768px) {

  .usp-container {
    flex-direction: column;
    gap: 25px;
  }

  .usp-item {
    width: 100%;
  }

  .usp-icon {
    width: 65px;
    height: 65px;
  }

  .usp-icon i {
    font-size: 28px;
  }

  .usp-content h4 {
    font-size: 16px;
  }

  .usp-content p {
    font-size: 13px;
  }
}

/* Fix hero top space on iPad and mobile */
@media (max-width: 1024px) {
    .hero {
        min-height: auto !important;
        align-items: flex-start !important;
        padding: 20px 0 !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
    font-size: 29px;
  }
}
/* Add space below Our Commitment box on mobile + iPad portrait */
@media (max-width: 1024px) {
  .about-box {
    margin-bottom: 28px;
  }
}

/* Keep full product images visible on iPad portrait and mobile landscape/portrait.
   Desktop/laptop (>1024px) keeps the existing cropped cover style unchanged. */
@media (max-width: 1024px) {
  .product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
  }
}
/* Footer developer credit */
.footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}


/* Final footer layout */
.footer {
  background: #142b6f;
  color: #cbd5e1;
  padding: 24px 0;
}

.footer .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.footer-copyright a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .footer-copyright {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-tagline {
    text-align: center;
  }
}

.form-success {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 600;
}
.form-note {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}


/* iPad portrait / tablet product layout: 2 cards per row */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product-card {
    min-width: 0;
  }

  .product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
  }
}


/* =========================================================
   FINAL RESPONSIVE ADJUSTMENTS
   ========================================================= */

/* 1) Mobile portrait: remove only the vertical | divider */
@media (max-width: 768px) and (orientation: portrait) {
  .footer-divider {
    display: none !important;
  }
}



/* 3) Mobile landscape: keep all 4 highlights on one row,
      but give them more breathing room without wrapping */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-highlights {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px !important;
    width: max-content !important;
    max-width: none !important;
  }

  .hero-highlights > div {
    flex: 0 0 auto !important;
    width: 72px !important;
    min-width: 72px !important;
    justify-content: flex-start !important;
  }

  .hero-highlights > div span {
    line-height: 1.15;
  }
}


/* =========================================================
   CORRECTED iPAD PORTRAIT CARD LAYOUT — FINAL OVERRIDE
   Home page: 1 card per row
   Separate product pages: 2 cards per row
   ========================================================= */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {

  /* HOME PAGE ONLY */
  body:has(#home) #products .product-grid {
    grid-template-columns: 1fr !important;
  }

  body:has(#home) #products .product-card {
    width: 100%;
    min-width: 0;
  }

  body:has(#home) #products .product-image {
    width: 100%;
    height: auto !important;
    max-height: 420px;
    object-fit: contain !important;
    object-position: center;
  }

  /* SEPARATE PRODUCT/CATEGORY PAGES ONLY */
  body:not(:has(#home)) .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(:has(#home)) .product-card {
    min-width: 0;
  }

  body:not(:has(#home)) .product-image {
    width: 100%;
    height: 220px !important;
    object-fit: contain !important;
    object-position: center;
  }
}

