/* ==========================================================================
   Variables & General Styles
   ========================================================================== */

:root {
  --primary-color: #000064; /* Dark Blue */
  --accent-color: #e61e2e; /* Red */
  --bg-white: #ffffff; /* White */
  --text-dark: #2a2a2a; /* Dark Gray */
  --border-color: #2a2a2a; /* Dark Gray */

  /* System Overrides */
  --white: #ffffff;
  --text-color: #2a2a2a;
  --light-bg: #ffffff;

  --font-primary: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;

  --transition-fast: 0.3s ease-in-out;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.accent-red {
  color: var(--accent-color) !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-color: #f8f9fa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
}
h3 {
  color: black;
}
h5 {
  color: black;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.section-padding {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.z-index-1 {
  z-index: 1;
}
.z-index-2 {
  z-index: 2;
}
.z-index-3 {
  z-index: 3;
}

/* Buttons */
.theme-btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.theme-btn::before,
.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--accent-color);
  z-index: -1;
  transition: all 0.4s ease;
}

.theme-btn:hover::before,
.btn-submit:hover::before {
  width: 100%;
}

.theme-btn:hover,
.btn-submit:hover {
  background-color: transparent !important;
  color: var(--white) !important;
}

.theme-btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 28px;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
}

.theme-btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--accent-color);
  z-index: -1;
  transition: all 0.4s ease;
}

.theme-btn-outline:hover::before {
  width: 100%;
}

.theme-btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--white) !important;
}

.btn-outline-dark.theme-btn-outline {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline-dark.theme-btn-outline:hover {
  color: var(--white) !important;
  border-color: var(--accent-color);
}

.subtitle {
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
}

.subtitle.text-white {
  color: var(--white);
}

.subtitle::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 12px;
}

.subtitle.text-white::before {
  background-color: var(--white);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.main-nav {
  padding: 15px 0;
  transition: var(--transition-slow);
  background-color: transparent;
}

.main-nav.scrolled {
  background-color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.main-nav .navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  transition: var(--transition-fast);
}

.main-nav .brand-logo {
  height: 60px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* filter: brightness(0) invert(1); */
  transition: transform var(--transition-fast);
}

.main-nav.scrolled .brand-logo {
  filter: none;
}

.main-nav.scrolled .navbar-brand {
  color: var(--primary-color);
}

.brand-icon {
  color: var(--primary-color);
}

.brand-dot {
  color: var(--primary-color);
}

/* Header Avatar Group */
.avatar-group img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  transition: var(--transition-fast);
}

.avatar-group img:hover {
  transform: translateY(-5px);
  z-index: 10;
}

.avatar-text span {
  line-height: 1.2;
}

.main-nav .navbar-nav {
  margin-right: 0 !important;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-fast);
}

.main-nav.scrolled .nav-link {
  color: var(--primary-color) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.page-header {
  min-height: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: #000064 !important;
  opacity: 0.75;
  transition: background-color 0.3s ease;
  padding: 2px 5px;
  border-radius: 3px;
}

.page-header .breadcrumb-item a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.page-header .breadcrumb-item.active {
  color: #000064 !important;
}

.navbar-toggler {
  background-color: rgba(0, 0, 100, 0.05);
  border: 2px solid var(--primary-color);
  padding: 8px 12px;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.main-nav.scrolled .navbar-toggler {
  background-color: transparent;
  border-color: rgba(0, 0, 100, 0.3);
}

.main-nav.scrolled .navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(220deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  height: 100vh;
  min-height: 600px;
  background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
    center/cover no-repeat;
  position: relative;
  padding-top: 100px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 100, 0.3); /* Lighter Dark Blue Overlay */
}

.hero-subtitle {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-left: 3px solid var(--primary-color);
}

.hero-title {
  color: var(--primary-color);
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: capitalize;
}

.hero-desc {
  color: var(--white);
  font-size: 18px;
  max-width: 600px;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.feature-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #dc3545;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card-active,
.feature-card:hover {
  background-color: var(--primary-color);
}

.feature-card-active::before,
.feature-card:hover::before {
  display: none;
}

.feature-icon {
  font-size: 45px;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.feature-title {
  font-size: 22px;
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.feature-text {
  color: var(--text-color);
  transition: var(--transition-fast);
}

.feature-card-active .feature-icon,
.feature-card-active .feature-title,
.feature-card-active .feature-text,
.feature-card:hover .feature-icon,
.feature-card:hover .feature-title,
.feature-card:hover .feature-text {
  color: var(--white);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-experience {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 5px solid var(--white);
  background-color: var(--primary-color);
  z-index: 10;
}

@media (max-width: 576px) {
  .about-experience {
    width: 120px;
    height: 120px;
    bottom: 10px;
    right: 10px;
  }
}

.about-title {
  font-size: 40px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.service-card {
  transition: var(--transition-fast);
  border: 1px solid var(--border-color);
  height: 100%;
}

.service-img {
  height: 450px;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-img img {
  transition: var(--transition-slow);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--white);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transition: var(--transition-fast);
}

.service-link {
  position: relative;
  padding-bottom: 2px;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.service-card:hover .service-link::after {
  width: 100%;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */

.product-item {
  cursor: pointer;
}

.product-img-container {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.product-img {
  transition: var(--transition-slow);
}

.product-item:hover .product-img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 1;
  transition: var(--transition-slow);
  padding: 30px;
}

.product-item:hover .product-overlay {
  opacity: 1;
}

.product-cat {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 5px;
  transform: translateY(0);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.product-cat::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 10px;
}

.product-title {
  transform: translateY(0);
  transition: var(--transition-fast);
}

.product-desc {
  color: var(--white-50);
  font-size: 14px;
  margin-top: 5px;
  transform: translateY(0);
  transition: var(--transition-fast);
  opacity: 1;
}

.product-item:hover .product-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* Remove project-link styles as plus sign is removed */
.product-link {
  display: none;
}

.product-item:hover .product-cat {
  transition-delay: 0.1s;
}

.product-item:hover .product-title {
  transition-delay: 0.2s;
}

.product-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.product-link:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.product-item:hover .product-link {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

/* Project Filter */
.product-filter {
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-filter li {
  display: inline-block;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  margin: 0 16px;
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

.product-filter li:not(:last-child)::after {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  right: -20px;
  font-size: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.product-filter li.filter-active,
.product-filter li:hover {
  color: var(--primary-color);
}

.product-filter li.filter-active::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Ensure smooth hide/show for filter */
.product-item-wrap {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.1;
}

@media (min-width: 992px) {
  .border-end-lg {
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonial-carousel {
  border-top: 4px solid var(--primary-color);
}

.quote-icon {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 60px;
  background: var(--white);
  padding: 0 20px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  margin: 0 5px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev {
  left: -25px;
}

.carousel-control-next {
  right: -25px;
}

.carousel-control-prev i,
.carousel-control-next i {
  transition: var(--transition-fast);
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */

.blog-card {
  transition: var(--transition-fast);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.blog-img img {
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-title a {
  transition: var(--transition-fast);
}

.blog-card:hover .blog-title a {
  color: var(--primary-color) !important;
}

.blog-link {
  position: relative;
  padding-bottom: 2px;
}

.blog-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.blog-card:hover .blog-link::after {
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.hover-primary:hover {
  color: var(--primary-color) !important;
  padding-left: 5px;
}

.social-icon:hover {
  background-color: var(--accent-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive & Utils
   ========================================================================== */

.transition {
  transition: var(--transition-fast);
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-20px);
}

.back-to-top:hover {
  background-color: var(--accent-color) !important;
  transform: translateY(-25px);
}

/* ---- Page Header Responsive ---- */
.page-header {
  padding: 160px 0 80px !important;
}

/* ---- Tablet (max-width: 1199px) ---- */
@media (max-width: 1199.98px) {
  .hero-title,
  .hero-title.display-2 {
    font-size: 3rem !important;
  }

  .nav-link {
    margin: 0 5px;
    font-size: 13px;
  }

  .theme-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ---- Medium devices / Tablets (max-width: 991px) ---- */
@media (max-width: 991.98px) {
  /* -- Navbar -- */
  .main-nav {
    background-color: var(--primary-color) !important;
    padding: 8px 0;
  }

  .main-nav.scrolled {
    background-color: var(--bg-white) !important;
  }

  .main-nav .brand-logo {
    height: 45px;
  }

  .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 6px 10px;
    position: relative;
    z-index: 10;
  }

  .main-nav.scrolled .navbar-toggler {
    background-color: transparent;
    border-color: var(--primary-color);
  }

  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }

  .main-nav.scrolled .navbar-toggler-icon {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(220deg);
  }

  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
  }

  .main-nav.scrolled .navbar-collapse {
    background-color: var(--bg-white);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .main-nav.scrolled .navbar-collapse .nav-link {
    color: var(--primary-color) !important;
  }

  .nav-link {
    margin: 0;
    padding: 12px 10px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-link::after {
    display: none;
  }

  .nav-action {
    margin: 15px 0 5px 0 !important;
  }

  .nav-action .theme-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  /* -- Hero -- */
  .hero-section {
    height: auto;
    min-height: 550px;
    padding: 130px 0 70px;
  }

  .hero-title,
  .hero-title.display-2 {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 1.5px;
    padding: 4px 12px;
  }

  /* -- About -- */
  .about-img-main {
    margin-bottom: 30px;
  }

  .dot-pattern {
    display: none !important;
  }

  .experience-badge {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 15px auto 0 !important;
    display: inline-flex !important;
    padding: 1rem 1.5rem !important;
  }

  .about-image-wrapper {
    margin-bottom: 20px;
  }

  .about-experience {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 20px auto 0;
    width: 140px;
    height: 140px;
  }

  /* -- Feature Cards -- */
  .feature-card {
    margin-bottom: 20px;
  }

  /* -- Service Cards -- */
  .service-img {
    height: 350px;
  }

  .service-card:hover {
    transform: none;
  }

  /* -- Product Cards -- */
  .product-img-container {
    height: 300px;
  }

  /* -- Stats -- */
  .stat-number,
  .stat-number.display-3 {
    font-size: 2.5rem !important;
  }

  /* -- Page Header -- */
  .page-header {
    padding: 130px 0 60px !important;
  }

  .page-header h1,
  .page-header .display-3 {
    font-size: 2.2rem !important;
  }

  /* -- Testimonial -- */
  .testimonial-carousel {
    padding: 2rem !important;
  }

  .carousel-control-prev {
    left: -10px;
  }

  .carousel-control-next {
    right: -10px;
  }

  /* -- Footer -- */
  .footer-section {
    text-align: center;
  }

  .footer-section .d-flex.align-items-start {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  /* -- CTA -- */
  .cta-section h2,
  .cta-section .display-4 {
    font-size: 2rem !important;
  }
}

/* ---- Small devices (max-width: 767px) ---- */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 450px;
    padding: 120px 0 60px;
  }

  .hero-title,
  .hero-title.display-2 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .hero-btns {
    margin-top: 2rem !important;
  }

  .section-padding {
    padding: 50px 0;
  }

  /* About badge */
  .about-experience {
    position: relative;
    bottom: 0;
    right: 0;
    margin: 15px auto 0;
    width: 130px;
    height: 130px;
  }

  .about-experience .display-4 {
    font-size: 2rem;
  }

  .about-title,
  .title.display-5 {
    font-size: 1.6rem !important;
  }

  /* Service */
  .service-img {
    height: 280px;
  }

  /* Product filter */
  .product-filter li {
    font-size: 14px;
    margin: 4px 8px;
  }

  .product-filter li:not(:last-child)::after {
    display: none;
  }

  .product-img-container {
    height: 250px;
  }

  /* Stats */
  .stat-number,
  .stat-number.display-3 {
    font-size: 2rem !important;
  }

  /* Page header */
  .page-header {
    padding: 110px 0 50px !important;
  }

  .page-header h1,
  .page-header .display-3 {
    font-size: 1.8rem !important;
  }

  /* Testimonial */
  .testimonial-carousel {
    padding: 1.5rem !important;
  }

  .quote-icon {
    font-size: 40px;
    top: -20px;
  }

  .testimonial-text {
    font-size: 1rem !important;
  }

  /* CTA */
  .cta-section h2,
  .cta-section .display-4 {
    font-size: 1.6rem !important;
  }

  /* Contact */
  .contact-form-wrapper {
    padding: 1.5rem !important;
  }

  /* Footer */
  .footer-section .col-lg-4,
  .footer-section .col-lg-2,
  .footer-section .col-lg-3 {
    text-align: center;
  }
}

/* ---- Extra Small / Phones (max-width: 575px) ---- */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 400px;
    padding: 100px 0 50px;
  }

  .hero-title,
  .hero-title.display-2 {
    font-size: 1.6rem !important;
    line-height: 1.25;
    word-break: break-word;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem !important;
  }

  .hero-btns .btn {
    width: 100%;
    margin: 0 !important;
    padding: 12px 20px;
    font-size: 14px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .feature-icon {
    font-size: 35px;
  }

  .feature-title {
    font-size: 18px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .service-img {
    height: 250px !important;
  }

  .product-img-container {
    height: 220px !important;
  }

  /* Partners */
  .partner-logo {
    max-height: 40px !important;
  }

  /* Subtitle dots */
  .subtitle {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  /* Section titles */
  .title.display-5,
  .display-5 {
    font-size: 1.4rem !important;
  }

  .display-6 {
    font-size: 1.2rem !important;
  }

  /* General spacing */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Page header */
  .page-header {
    padding: 100px 0 40px !important;
  }

  .page-header h1,
  .page-header .display-3 {
    font-size: 1.5rem !important;
  }

  /* Innovation / Mission cards */
  .innovation-card {
    padding: 1.5rem !important;
  }

  /* Stats */
  .stat-number,
  .stat-number.display-3 {
    font-size: 1.8rem !important;
  }

  /* CTA */
  .cta-section h2,
  .cta-section .display-4 {
    font-size: 1.3rem !important;
  }

  .cta-section .lead {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Pride & Innovation Section
   ========================================================================== */

.pride-image-card {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pride-image-card:hover {
  transform: translateY(-10px);
}

.card-image-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.pride-image-card:hover img {
  transform: scale(1.1);
}

.innovation-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.05);
}

.innovation-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 0, 100, 0.2);
}
