/* ==========================================
   ROOT VARIABLES - Brand Colors
   ========================================== */
:root {
  --primary-red: #d70713;
  --primary-black: #000000;
  --accent-yellow: #f5b735;
  --neutral-grey: #afadac;
  --white: #ffffff;

  /* Typography */
  --font-primary: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
  --font-secondary: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";

  /* Spacing */
  --section-padding: 80px 0;
}

/* ==========================================
   CUSTOM SCROLL ANIMATIONS
   ========================================== */
/* Animation Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Initial state for animated elements */
[data-animate]:not(.animated) {
  opacity: 0;
}

/* Animation classes */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-down {
  animation: fadeDown 0.8s ease-out forwards;
}

.animate-fade-left {
  animation: fadeLeft 0.8s ease-out forwards;
}

.animate-fade-right {
  animation: fadeRight 0.8s ease-out forwards;
}

.animate-zoom-in {
  animation: zoomIn 0.8s ease-out forwards;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-secondary);
  color: var(--primary-black);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ==========================================
   NAVIGATION
   ========================================== */
/* Desktop Navigation */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar .container {
  max-width: 1320px;
  padding-left: 20px;
  padding-right: 20px;
}

.navbar.scrolled {
  background-color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar-brand{
  position: relative;
}
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}
.logo-title {
  font-size: 15px;
  position: absolute;
  bottom: 5px;
  right: -150px;
}
.navbar-nav .nav-link {
  color: var(--primary-black);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  font-family: var(--font-secondary);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-red);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none;
  border-color: none;
}

/* ==========================================
   OFFCANVAS MOBILE MENU
   ========================================== */
.offcanvas {
  width: 300px;
}

.offcanvas-header {
  background: linear-gradient(135deg, var(--primary-red), #b00610);
  padding: 1.5rem;
  border-bottom: 3px solid var(--accent-yellow);
}

.offcanvas-title img {
  filter: brightness(0) invert(1);
}

.offcanvas-body {
  background-color: var(--white);
  padding: 2rem 1.5rem;
}

.offcanvas-body .navbar-nav {
  gap: 0.5rem;
}

.offcanvas-body .nav-link {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--primary-black);
}

.offcanvas-body .nav-link:hover {
  background-color: #f8f9fa;
  color: var(--primary-red);
  padding-left: 1.5rem;
}

.offcanvas-body .nav-link::after {
  display: none;
}

.offcanvas .btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.offcanvas .btn-close:focus {
  box-shadow: none;
}

/* Offcanvas Buttons */
.offcanvas-body .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
}

.offcanvas-body .btn-outline-danger {
  border-width: 2px;
}

.offcanvas-body .btn i {
  color: var(--primary-red);
}

.offcanvas-body .btn-outline-danger:hover i {
  color: var(--white);
}

.offcanvas-body .d-flex.flex-column {
  gap: 0.75rem;
}

.btn-danger {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #b00610;
  border-color: #b00610;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(215, 7, 19, 0.3);
}

.btn-outline-danger {
  color: var(--primary-red);
  border-color: var(--primary-red);
}

.btn-outline-danger:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}
/* Active Navigation Link */
.navbar-nav .nav-link.active {
  color: var(--primary-red) !important;
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  width: 80% !important;
  background-color: var(--primary-red);
}

/* Offcanvas Active Link */
.offcanvas-body .nav-link.active {
  background-color: rgba(215, 7, 19, 0.1);
  color: var(--primary-red) !important;
  font-weight: 600;
}
/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.8));
  background-image: url("../images/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding-top: 60px;
  min-height: 100vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(215, 7, 19, 0.85);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}
 
.hero-title {
  font-size: 3.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
/* .hero-title span {
  font-size: 3rem
} */
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: -1rem;
  opacity: 0.95;
}
 .hero-title-secondary {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: -1rem;
  opacity: 0.95;
}
.hero-buttons .btn {
  margin: 0.5rem;
  min-width: 200px;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-width: 2px;
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-red);
}
 
/* Stats Cards */
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  height: 100%;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
  opacity: 0.9;
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section-title {
  font-size: 2.57rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-grey);
  line-height: 1.8;
}

.products-section {
  background-color: var(--white);
  padding: var(--section-padding);
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.product-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-yellow));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(215, 7, 19, 0.15);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.product-card:hover .product-icon {
  transform: rotate(360deg) scale(1.1);
}

.product-icon i {
  font-size: 2rem;
  color: var(--white);
}

.product-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-black);
}

.product-description {
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  padding: 0.5rem 0;
  color: var(--primary-black);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.product-features li i {
  color: var(--primary-red);
  margin-right: 0.75rem;
  font-size: 0.8rem;
}

/* ==========================================
   CUSTOM SOLUTIONS CTA
   ========================================== */
.custom-solutions-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 0;
}

.custom-solutions-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.custom-solutions-cta p {
  color: var(--neutral-grey);
  font-size: 1.1rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
  background-color: var(--white);
  padding: var(--section-padding);
}

.about-section img {
  border: 5px solid var(--primary-red);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.feature-content h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-black);
}

.feature-content p {
  color: var(--neutral-grey);
  margin: 0;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
  background-color: #f8f9fa;
  padding: var(--section-padding);
}

.contact-info-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  box-shadow: 0 5px 20px rgba(215, 7, 19, 0.15);
  transform: translateY(-5px);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
 
.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.2rem;
  color: var(--white);
}

.contact-info-content h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-black);
}

.contact-info-content p {
  color: var(--neutral-grey);
  margin: 0;
  line-height: 1.6;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(215, 7, 19, 0.1);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: rgb(17 24 39 / var(--tw-bg-opacity, 1));
  color: var(--neutral-grey);
  padding: 4rem 0 2rem;
}
.dark-logo img {
  filter: brightness(0) invert(1);
}
.footer h5 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: var(--neutral-grey);
  transition: all 0.3s ease;
  display: inline-block;
}

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

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.footer-contact i {
  color: var(--primary-red);
  width: 20px;
  margin-top: 3px;
}
.footer-contact a{
    color: var(--neutral-grey);
}
.footer hr {
  opacity: 0.1;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer; 
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(215, 7, 19, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(215, 7, 19, 0.4);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }
  .about-img-area img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 150px;
  }
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    min-width: auto;
    width: 100%;
    margin: 0.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stat-card {
    margin-bottom: 1rem;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }

  .feature-item {
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .navbar-brand img {
    height: 40px;
  }

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

  .stat-label {
    font-size: 0.9rem;
  }
}

/* ==========================================
   ANIMATIONS & EFFECTS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Selection */
::selection {
  background-color: var(--primary-red);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--primary-red);
  color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b00610;
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

/* Page Hero Section */
.page-hero {
  background: linear-gradient(135deg, var(--primary-red) 0%, #b00610 100%);
  padding: 140px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

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

.page-hero-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px 0;
  }
  
  .page-hero-title {
    font-size: 2rem;
  }
  
  .page-hero-subtitle {
    font-size: 1rem;
  }
}

/* Our Story Section */
.our-story-section {
  background-color: var(--white);
  padding: 80px 0;
}

.our-story-section .section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1.5rem;
}

.our-story-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--neutral-grey);
}

.our-story-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}


/* Mission & Vision Section */
.mission-vision-section {
  padding: 80px 0;
}

.mission-vision-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.mission-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  transition: all 0.3s ease;
}

.mission-card::before {
  background: var(--primary-red);
}

.vision-card::before {
  background: var(--primary-black);
}

.mission-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.mv-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.mission-card .mv-icon {
  background: rgba(215, 7, 19, 0.1);
  color: var(--primary-red);
}

.vision-card .mv-icon {
  background: rgba(20, 30, 48, 0.1);
  color: var(--primary-black);
}

.mv-title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.mv-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--neutral-grey);
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-red) 0%, #b00610 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.cta-buttons .btn {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-light {
  background: var(--white);
  color: var(--primary-red);
  border: 2px solid var(--white);
}

.cta-buttons .btn-light:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.cta-buttons .btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 0 0 1rem 0 !important;
  }
}

/* ==========================================
   PRODUCTS PAGE STYLES
   ========================================== */

/* Product Range Section */
.product-range-section {
  padding: 80px 0;
  background-color: var(--white);
}

/* Product Detail Cards */
.product-detail-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-detail-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-detail-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.product-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--neutral-grey);
  margin-bottom: 1.5rem;
}

.product-features-section {
  background-color: #f8f9fa;
  padding: 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.product-features-section h6 {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.feature-list li {
  font-size: 0.875rem;
  color: var(--neutral-grey);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list i {
  color: var(--primary-red);
  font-size: 0.75rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.product-content .btn {
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.product-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(215, 7, 19, 0.3);
}

/* Applications Section */
.applications-section {
  padding: 80px 0;
}

.application-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.application-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(215, 7, 19, 0.1), rgba(215, 7, 19, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
}

.app-icon i {
  font-size: 2rem;
  color: var(--primary-red);
}

.application-card:hover .app-icon {
  background: linear-gradient(135deg, var(--primary-red), #b00610);
  transform: scale(1.1);
}

.application-card:hover .app-icon i {
  color: var(--white);
}

.app-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.app-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--neutral-grey);
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .product-range-section,
  .applications-section {
    padding: 60px 0;
  }

  .product-image {
    height: 220px;
  }

  .product-content {
    padding: 1.5rem;
  }

  .product-card-title {
    font-size: 1.35rem;
  }

  .application-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .product-range-section,
  .applications-section {
    padding: 50px 0;
  }

  .product-image {
    height: 200px;
  }

  .product-content {
    padding: 1.25rem;
  }

  .product-card-title {
    font-size: 1.25rem;
  }

  .product-features-section {
    padding: 1rem;
  }

  .app-icon {
    width: 70px;
    height: 70px;
  }

  .app-icon i {
    font-size: 1.75rem;
  }

  .app-title {
    font-size: 1.15rem;
  }

  .app-description {
    font-size: 0.9rem;
  }
}

/* ==========================================
   EDUCATION PAGE STYLES
   ========================================== */

/* Education Hero Section */
.education-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-red) 0%, #b00610 100%);
}

.education-hero-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.education-hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Knowledge Base Section */
.knowledge-base-section {
  padding: 80px 0;
  background-color: var(--white);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-btn {
  padding: 0.75rem 2rem;
  border: none;
  background-color: transparent;
  color: var(--primary-black);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.category-btn:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.category-btn.active {
  background-color: var(--primary-red);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(215, 7, 19, 0.3);
}

/* Article Cards */
.article-item {
  transition: all 0.3s ease;
}

.article-item.hidden {
  display: none;
}

.article-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.article-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.article-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.article-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--neutral-grey);
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.read-more {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #b00610;
  gap: 0.75rem;
}

.read-more i {
  font-size: 0.875rem;
  margin-left: 0.5rem;
  transition: margin-left 0.3s ease;
}

.read-more:hover i {
  margin-left: 0.75rem;
}

.article-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-2px);
}

.action-btn i {
  font-size: 0.875rem;
  color: #6c757d;
  transition: color 0.3s ease;
}

.action-btn:hover i {
  color: var(--white);
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
}

.newsletter-form .input-group {
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter-form .form-control {
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px 0 0 50px;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  outline: none;
}

.newsletter-form .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0 50px 50px 0;
  border: none;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .education-hero-title {
    font-size: 2.5rem;
  }

  .education-hero-subtitle {
    font-size: 1.1rem;
  }

  .knowledge-base-section,
  .newsletter-section {
    padding: 60px 0;
  }

  .category-tabs {
    gap: 0.75rem;
  }

  .category-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .education-hero-title {
    font-size: 2rem;
  }

  .education-hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0 0 1rem 0 !important;
  }

  .knowledge-base-section,
  .newsletter-section {
    padding: 50px 0;
  }

  .category-tabs {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }

  .article-image {
    height: 180px;
  }

  .article-content {
    padding: 1.25rem;
  }

  .article-title {
    font-size: 1.15rem;
  }

  .newsletter-form .input-group {
    flex-direction: column;
    border-radius: 15px;
  }

  .newsletter-form .form-control {
    border-radius: 15px 15px 0 0;
  }

  .newsletter-form .btn {
    border-radius: 0 0 15px 15px;
  }
}

@media (max-width: 576px) {
  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .category-btn {
    flex-shrink: 0;
  }
}

/* Article Modal Customization */
.article-modal .modal-dialog {
  max-width: 900px;
}

.article-modal .modal-content {
  border-radius: 12px;
  border: none;
}

.article-modal .modal-header {
  padding: 20px 30px 0;
}

.article-modal .modal-header .btn-close {
  font-size: 1.2rem;
  padding: 1rem;
  opacity: 0.6;
}

.article-modal .modal-header .btn-close:hover {
  opacity: 1;
}

.article-modal .modal-body {
  padding: 0;
}

.article-modal .modal-footer {
  padding: 20px 30px;
  justify-content: center;
}

/* Modal Article Content */
.modal-article-content {
  padding: 30px 30px 30px;
}

.modal-article-badge {
  display: inline-block;
  background-color: var(--primary-red);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.modal-article-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 15px;
  line-height: 1.3;
}

.modal-article-meta {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.modal-article-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.modal-article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.modal-article-text {
  line-height: 1.8;
  color: #333;
}

.modal-article-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-top: 30px;
  margin-bottom: 15px;
}

.modal-article-text h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-black);
  margin-top: 25px;
  margin-bottom: 12px;
}

.modal-article-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

.modal-article-text ul {
  margin-bottom: 20px;
  padding-left: 25px;
}

.modal-article-text ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}

.modal-article-text ul li strong {
  color: var(--primary-black);
  font-weight: 600;
}

.modal-article-actions {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 15px;
  align-items: center;
}

.modal-article-actions .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal-article-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.article-modal .modal-footer .btn-danger {
  padding: 8px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
}
.article-modal .modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}
@media (max-width: 991px) {
  .article-modal .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
  }

  .modal-article-content {
    padding: 20px 30px 30px;
  }

  .modal-article-title {
    font-size: 1.5rem;
  }

  .modal-article-text h3 {
    font-size: 1.3rem;
  }

  .modal-article-text h4 {
    font-size: 1.15rem;
  }

  .modal-article-text p,
  .modal-article-text ul li {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .modal-article-content {
    padding: 15px 20px 25px;
  }

  .modal-article-title {
    font-size: 1.35rem;
  }

  .modal-article-text h3 {
    font-size: 1.2rem;
    margin-top: 25px;
  }

  .modal-article-text h4 {
    font-size: 1.1rem;
    margin-top: 20px;
  }

  .modal-article-text p,
  .modal-article-text ul li {
    font-size: 0.95rem;
  }

  .modal-article-actions {
    flex-direction: column;
    width: 100%;
  }

  .modal-article-actions .btn {
    width: 100%;
  }

  .article-modal .modal-header {
    padding: 15px 20px 0;
  }

  .article-modal .modal-footer {
    padding: 15px 20px;
  }
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 150px);
}
.article-modal.show {
  background-color: rgba(0, 0, 0, 0.7);
}
.article-modal .modal-content:focus {
  outline: none;
}

.modal-article-image img {
  background-color: #f0f0f0;
  height: 20rem;
  object-fit: cover;
  object-position: top;
}
/* ================== PROJECTS PAGE STYLES ===================== */

.projects-section {
  padding: 80px 0;
  background-color: var(--white);
}

/* ==================== PROJECT FILTERS ==================== */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.filter-btn {
  padding: 0.75rem 2rem;
  border: 2px solid #e0e0e0;
  background-color: var(--white);
  color: var(--primary-black);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
}
.filter-btn.active {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
  box-shadow: 0 5px 15px rgba(215, 7, 19, 0.3);
}

/* ==================== PROJECT ITEMS ==================== */
.project-item {
  transition: all 0.3s ease;
}
.project-item.hidden {
  display: none;
}

/* ==================== PROJECT CARDS ==================== */
.project-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  cursor: pointer;
}
.project-card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-10px);
}

/* ==================== PROJECT IMAGE ==================== */
.project-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-image img {
  transform: scale(1.1);
}

/* ==================== VIEW PROJECT BUTTON ==================== */
.view-project-btn {
  padding: 0.875rem 2rem;
  background-color: var(--white);
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  transform: translateY(20px);
}
.project-card:hover .view-project-btn {
  transform: translateY(0);
}
.view-project-btn:hover {
  background-color: var(--primary-red);
  color: var(--white);
  gap: 0.75rem;
}
.view-project-btn i {
  transition: transform 0.3s ease;
}
.view-project-btn:hover i {
  transform: translateX(5px);
}

/* ==================== PROJECT CONTENT ==================== */
.project-content {
  padding: 1.5rem;
}
.project-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
}
.project-location i {
  color: var(--primary-red);
  font-size: 0.875rem;
}

/* ==================== PROJECT CTA SECTION ==================== */
.project-cta-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}
.project-cta-section .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.project-cta-section .btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.project-cta-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991px) {
  .projects-section,
  .project-cta-section {
    padding: 60px 0;
  }
  .filter-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
  .project-image {
    height: 240px;
  }
  .project-title {
    font-size: 1.15rem;
  }
}

/* Mobile screens (767px and below) */
@media (max-width: 767px) {
  .projects-section,
  .project-cta-section {
    padding: 50px 0;
  }
  .project-filters {
    gap: 0.75rem;
  }
  .filter-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  .project-image {
    height: 220px;
  }
  .project-content {
    padding: 1.25rem;
  }
  .project-title {
    font-size: 1.1rem;
  }
  .project-cta-section .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .project-cta-section .btn {
    width: 100%;
    margin: 0 0 0.75rem 0 !important;
  }
}

/* Small mobile screens (576px and below) */
@media (max-width: 576px) {
  .project-filters {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .filter-btn {
    flex-shrink: 0;
  }
  .project-image {
    height: 200px;
  }
}

/* ==================== CONTACT PAGE STYLE ========================== */
.contact-info-section {
  padding: 80px 0;
  background-color: var(--white);
}

/* ==================== CONTACT INFO CARDS ==================== */
.contact-info-card-2 {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}
.contact-info-card-2:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-10px);
}

/* ==================== CONTACT CARD ICON ==================== */
.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(215, 7, 19, 0.1), rgba(215, 7, 19, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
}
.contact-icon i {
  font-size: 2rem;
  color: var(--primary-red);
  transition: all 0.3s ease;
}
.contact-info-card-2:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-red), #b00610);
  transform: scale(1.1);
}

.contact-info-card-2:hover .contact-icon i {
  color: var(--white);
}

/* ==================== CONTACT CARD TEXT ==================== */
.contact-card-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 1rem;
}
.contact-card-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--neutral-grey);
  margin: 0;
}
.contact-card-text strong {
  color: var(--primary-black);
  font-weight: 600;
}

/* ==================== CONTACT FORM SECTION ==================== */
.contact-form-section {
  padding: 80px 0;
}
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.contact-form .form-label {
  font-weight: 600;
  color: var(--primary-black);
  margin-bottom: 0.5rem;
}
.contact-form .form-control {
  padding: 0.875rem 1.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(215, 7, 19, 0.1);
}
.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.character-count {
  margin-top: 0.5rem;
}

.character-count small {
  font-size: 0.875rem;
}
.contact-form .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(215, 7, 19, 0.3);
}

/* ==================== MAP CONTAINER ==================== */
.map-container {
  background: var(--white);
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 15px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991px) {
  .contact-info-section,
  .contact-form-section {
    padding: 60px 0;
  }
  .contact-info-card-2 {
    padding: 2.5rem 1.5rem;
  }
  .contact-icon {
    width: 70px;
    height: 70px;
  }
  .contact-icon i {
    font-size: 1.75rem;
  }
  .contact-card-title {
    font-size: 1.35rem;
  }
  .contact-form {
    padding: 2rem;
  }
  .map-container iframe {
    height: 400px;
  }
}

/* Mobile screens (767px and below) */
@media (max-width: 767px) {
  .contact-info-section,
  .contact-form-section {
    padding: 50px 0;
  }
  .contact-info-card-2 {
    padding: 2rem 1.5rem;
  }
  .contact-icon {
    width: 65px;
    height: 65px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }
  .contact-card-title {
    font-size: 1.25rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .contact-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
  .map-container {
    margin-top: 2rem;
  }

  .map-container iframe {
    height: 300px;
  }
}

/* Small mobile screens (576px and below) */
@media (max-width: 576px) {
  .contact-info-card-2 {
    padding: 1.75rem 1.25rem;
  }
  .contact-form {
    padding: 1.25rem;
  }
  .contact-form .btn {
    width: 100%;
  }
  .map-container iframe {
    height: 250px;
  }
}

/* ==================== FORM VALIDATION STATES ==================== */
.contact-form .form-control.is-invalid {
  border-color: #dc3545;
}
.contact-form .form-control.is-valid {
  border-color: #28a745;
}
.contact-form .invalid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
}
.contact-form .valid-feedback {
  display: block;
  font-size: 0.875rem;
  color: #28a745;
  margin-top: 0.25rem;
}

/* ==========================================
  PRODUCTS DETAILS PAGE STYLES
   ========================================== */

/* Category Hero Section */
.category-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary-red) 0%, #b00610 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.category-hero::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,154.7C96,149,192,139,288,149.3C384,160,480,192,576,186.7C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  opacity: 0.5;
}

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

.category-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  animation: fadeInUp 0.6s ease;
}

.category-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  animation: fadeInUp 0.8s ease;
}
.category-tabs-section {
  background-color: #fff;
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.category-tabs-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.category-tab {
  background-color: #f8f9fa;
  border: 2px solid transparent;
  color: #6c757d;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.category-tab:hover {
  background-color: #fff;
  border-color: var(--primary-red);
  color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 7, 19, 0.15);
}

.category-tab.active {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(215, 7, 19, 0.3);
}

.category-tab i {
  font-size: 1rem;
}

.products-grid-section {
  background-color: #f8f9fa;
  min-height: 500px;
}

.product-card-new {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(215, 7, 19, 0.15);
}

.product-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #f8f9fa;
  position: relative;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-new:hover .product-image-wrapper img {
  transform: scale(1.1);
}

.product-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-model {
  display: inline-block;
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-black);
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: 60px;
}

.product-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features {
  background-color: #f8f9fa;
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-features h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-black);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features ul li {
  font-size: 0.9rem;
  color: #555;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features ul li i {
  color: var(--primary-red);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.product-card-new .btn {
  margin-top: auto;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.product-card-new .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(215, 7, 19, 0.25);
}

/* New CTA Section */
.cta-section-new {
  background: linear-gradient(135deg, var(--primary-red), #ff4444);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section-new::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 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,160L48,154.7C96,149,192,139,288,149.3C384,160,480,192,576,186.7C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  opacity: 0.5;
}

.cta-section-new .container {
  position: relative;
  z-index: 1;
}

.cta-title-new {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.cta-description-new {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-buttons-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons-new .btn-light {
  background-color: #fff;
  color: var(--primary-red);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-buttons-new .btn-light:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons-new .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background-color: transparent;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
}

.cta-buttons-new .btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.product-item {
  animation: fadeIn 0.5s ease;
}
/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991px) {
  .category-hero {
    padding: 120px 0 50px;
  }

  .category-hero-title {
    font-size: 2.25rem;
  }

  .category-hero-subtitle {
    font-size: 1.1rem;
  }

  .category-tabs-section {
    top: 70px;
    padding: 20px 0;
  }

  .category-tabs-wrapper {
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .category-tab {
    font-size: 0.85rem;
    padding: 10px 18px;
  }
}

@media (max-width: 767px) {
  .category-hero {
    padding: 100px 0 40px;
  }

  .category-hero-title {
    font-size: 1.75rem;
  }

  .category-hero-subtitle {
    font-size: 1rem;
  }

  .category-tabs-section {
    padding: 15px 0;
  }

  .category-tabs-wrapper {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .category-tab {
    font-size: 0.8rem;
    padding: 8px 16px;
    flex-shrink: 0;
  }

  .product-name {
    font-size: 1.15rem;
    min-height: auto;
  }

  .product-image-wrapper {
    height: 200px;
  }

  .cta-title-new {
    font-size: 1.75rem;
  }

  .cta-description-new {
    font-size: 1rem;
  }

  .cta-buttons-new {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons-new .btn {
    width: 100%;
  }

  .cta-buttons-new .me-3 {
    margin-right: 0 !important;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.category-tabs-wrapper::-webkit-scrollbar {
  height: 6px;
}

.category-tabs-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.category-tabs-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 10px;
}

.category-tabs-wrapper::-webkit-scrollbar-thumb:hover {
  background: #b00610;
}
.product-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-item[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
}
.category-tab:focus {
  outline: 3px solid rgba(215, 7, 19, 0.3);
  outline-offset: 2px;
}

.product-card-new:focus-within {
  box-shadow: 0 12px 24px rgba(215, 7, 19, 0.2);
}
