:root {
  --primary: #0d6efd; /* Dark Blue */
  --secondary: #ffcc00; /* Yellow */
  --accent: #f2c94c;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #0d6efd;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --section-padding: 70px;
  --transition: all 0.3s ease-in-out;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

.container {
  padding-left: 30px;
  padding-right: 30px;
}

/* Section Spacing */
section {
  padding: var(--section-padding) 0;
}

/* Typography */
.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 20px;
  position: relative;
  color: var(--primary);
}

.section-subtitle {
  display: block;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Premium Uiverse Buttons */
.btn {
  --btn-bg: transparent;
  --btn-color: var(--secondary);
  --btn-border: var(--secondary);
  --btn-text: var(--primary);
  --btn-hover-text: var(--primary);

  padding: 0.8em 2em;
  background-color: var(--btn-bg) !important;
  border-radius: 0.6em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-weight: 700;
  font-size: 17px;
  border: 2px solid var(--btn-border) !important;
  font-family: inherit;
  text-transform: capitalize;
  color: var(--btn-text) !important;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn::before,
.btn::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  background-color: var(--btn-color);
  transition: 0.7s ease-in-out;
}

.btn::before {
  top: -1em;
  left: -1em;
}

.btn::after {
  left: calc(100% + 1em);
  top: calc(100% + 1em);
}

.btn:hover::before,
.btn:hover::after {
  height: 2500px;
  width: 2500px;
}

.btn:hover {
  color: var(--btn-hover-text) !important;
  border-color: var(--btn-color) !important;
  box-shadow:
    0 6px 15px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.btn:active {
  transform: scale(0.97);
  filter: brightness(0.85);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn:focus {
  outline: none;
}

.btn-primary {
  --btn-bg: var(--primary);
  --btn-color: var(--secondary);
  --btn-border: var(--primary);
  --btn-text: var(--white);
  --btn-hover-text: var(--primary);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-color: var(--secondary);
  --btn-border: var(--secondary);
  --btn-text: var(--primary);
  --btn-hover-text: var(--primary);
}

.nav-cta .btn {
  --btn-bg: var(--primary);
  --btn-color: var(--secondary);
  --btn-border:var(--primary);
  --btn-text: var(--white);
  --btn-hover-text: #000000;
}

/* Header & Nav */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: var(--white);
  margin-right: 20px;
}

.navbar {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled .navbar {
  padding: 10px 0;
  box-shadow: var(--shadow);
}

.logo-img {
  height: 65px;
  object-fit: contain;
}

.brand-typography {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand-title {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: #003d97;
  white-space: nowrap;
}

.brand-subtitle {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  color: #003d97;
  white-space: nowrap;
}

.footer-brand .brand-title {
  color: var(--white);
  white-space: normal;
  line-height: 1.1;
}

.footer-brand .brand-subtitle {
  color: var(--white);
  white-space: normal;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin: 0 15px;
  font-size: 1rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Slider */
.hero-slider {
  padding: 0;
  margin-top: 100px;
}

.hero-slide {
  height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

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

/* Promo Cards */
.promo-cards {
  padding-top: 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.promo-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  height: 250px;
  color: var(--white);
}

.promo-card.blue {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
}
.promo-card.dark {
  background: linear-gradient(45deg, #232526, #414345);
}

.promo-card img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 200px;
  opacity: 0.8;
}

/* Product Cards */
.product-card {
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #292929;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-price {
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
  background:
    linear-gradient(rgba(255, 204, 0, 0.9), rgba(255, 204, 0, 0.9)),
    url("../img/hero/hero1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  color: var(--primary);
}

.cta-section h2 {
  color: var(--text-dark) !important;
}

.cta-section p {
  color: var(--text-dark) !important;
}

.cta-section .btn-primary,
.cta-section .btn-outline {
  --btn-bg: var(--primary);
  --btn-color: var(--white);
  --btn-border: var(--primary);
  --btn-text: var(--white);
  --btn-hover-text: var(--primary);
}

.mission-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.mission-card:hover {
  background: var(--secondary);
  transform: translateY(-10px);
}

.mission-card:hover p {
  color: var(--primary) !important;
}

.mission-icon {
  width: 70px;
  height: 70px;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
  font-size: 1.8rem;
  transition: var(--transition);
}

.mission-card:hover .mission-icon {
  background: var(--white);
}

.mission-section {
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 204, 0, 0.05) 0%,
    transparent 70%
  );
  z-index: 0;
}

/* Footer Styles */
.footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-logo-img {
  max-height: 85px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  background-color: var(--white);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--secondary);
  font-family: "Outfit", sans-serif;
}

.footer-links ul {
  padding-left: 0;
}

.footer-contact p {
  color: rgb(255, 255, 255);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 5px;
  font-size: 1rem;
}

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

.footer-links ul li a {
  color: rgb(255, 255, 255);
}

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

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
}

.developed-by {
  font-size: 0.95rem;
  color: rgb(255, 255, 255);
}

.developed-by a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.developed-by a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--white);
  transition: var(--transition);
}

.developed-by a:hover {
  color: var(--white);
}

.developed-by a:hover::after {
  width: 100%;
}

/* WhatsApp Floating */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-float-btn a {
  background: #25d366;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .hero-slide {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .nav-cta {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .promo-card {
    margin-bottom: 20px;
    height: auto;
    padding: 30px;
  }
  .promo-card img {
    width: 150px;
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 20px;
  }
}

.feature-card {
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-card ul li {
  transition: var(--transition);
}

.service-areas {
  padding: 100px 0;
  background: #d5d5d5;
  border-bottom: 5px solid var(--secondary);
}

.location-badge {
  background: var(--white);
  padding: 25px 15px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.location-badge i {
  font-size: 1.8rem;
  color: var(--secondary);
  transition: var(--transition);
}

.location-badge span {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.location-badge:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.15);
}

.location-badge:hover i {
  transform: scale(1.2);
}

.features-section {
  background: var(--primary);
}
/* Page Hero / Banner */
.page-hero {
  position: relative;
  padding: 200px 0 80px;
  background: var(--primary);
  background-size: cover !important;
  background-position: center !important;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 10;
}

.page-hero .breadcrumb {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
}

.page-hero .breadcrumb a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.page-hero .breadcrumb i {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb span {
  color: var(--white);
  opacity: 0.8;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  font-family: "Outfit", sans-serif;
}

.page-hero h1 span {
  color: var(--secondary);
}
.products-hero {
  background-image: url("../img/hero/rental-banner.jpg") !important;
}

.contact-hero {
  background-image: url("../img/hero/contact-banner.jpg") !important;
}

.about-hero {
  background-image: url("../img/hero/about-banner.jpg") !important;
}

/* Contact Page Styles */
.icon-box {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .icon-box {
  transform: rotateY(360deg);
  background: var(--primary);
  color: var(--secondary);
}

.contact-form-wrapper {
  border-top: 5px solid var(--secondary);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--secondary);
  opacity: 1;
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

/* ========================================= */
/* EXTENDED RESPONSIVENESS (320px to 1920px+)*/
/* ========================================= */

/* Ultra-wide Displays (1920px+) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px !important;
  }
  .section-title {
    font-size: 3rem;
  }
  .product-card img {
    height: 250px;
  }
}

/* Very Small Mobile (320px targeted) */
@media (max-width: 400px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .section-title {
    font-size: 1.6rem !important;
  }
  .hero-content h1, .page-hero h1 {
    font-size: 1.8rem !important;
  }
  .btn {
    font-size: 15px;
    padding: 0.6em 1.5em;
  }
  .feature-card img, .promo-card img {
    width: 100px;
  }
  
  /* Fix navbar wrapping */
  .logo-img {
    height: 40px !important;
  }
  .brand-title {
    font-size: 1.1rem !important;
  }
  .brand-subtitle {
    font-size: 1rem !important;
  }
  .navbar-brand {
    margin-right: 0 !important;
  }
  .brand-typography {
    margin-left: 0.5rem !important;
  }
  .hero-content p {
    font-size: 1rem !important;
  }
}

/* Mobile Adjustments (767px) */
@media (max-width: 767px) {
  /* Fix Top Bar Alignment */
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
  .contact-info a {
    margin-right: 0;
  }
  
  /* Hide Swiper Arrows on Mobile - Rely on touch swipe */
  .swiper-button-next, .swiper-button-prev {
    display: none !important;
  }
  
  /* Prevent Header Overlap */
  .hero-slider {
    margin-top: 135px !important;
  }
  .page-hero {
    padding: 160px 0 60px !important;
  }
}

/* Display Scale / DPR Adjustments (125% & 150%) */
@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .container {
    /* Safe margin for display scaled layouts to prevent blowouts */
    width: 100%;
    max-width: calc(100vw - 30px);
  }
}

/* Unequal Contents: Sticky image alongside lengthy text */
@media (min-width: 992px) {
  .col-lg-6 > .about-img-box, .col-lg-6 > .about-image-wrapper {
    position: sticky !important;
    top: 120px;
  }
  .footer-grid > [class*="col-"] {
    flex: 1 0 25%;
    max-width: 25%;
  }
}
