/**
* Template Name: Scaffold - v2.0.0
* Template URL: https://bootstrapmade.com/scaffold-bootstrap-metro-style-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html{
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  color: #141414;
  background-color: whitesmoke;
}

a {
  color: #007bff;
}

a:hover {
  color: #1eb4ff;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/* Updated container for perfect responsiveness */
.container {
  width: 96%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Back to top button styling */
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #007bff;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #14b1ff;
  color: #fff;
}

.accent-line {
  height: 3px;
  width: 100px;
  background-color: #007bff;
  margin: 0 auto 40px;
}

.accent-line.mainte-line {
  height: 3px;
  width: 100px;
  background-color: teal;
  margin: 0 auto 40px;
}

.accent-line.consulting-line {
  height: 3px;
  width: 100px;
  background-color: #011779;
  margin: 0 auto 40px;
}

/* Mobile optimization for animations */
@media screen and (max-width: 912px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

}

/* Header section styles */
#header {
  height: 72px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 15px 0;
  background: #fff;
  border-bottom: solid 2px;
  border-bottom-color: #007bff;
}

#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: "Open Sans", sans-serif;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #576971;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

#header .logo h1 a span {
  color: #007bff;
}

/* Social links in header */
.header-social-links a {
  color: #7b909a;
  padding: 12px 0 12px 6px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

.header-social-links a:hover {
  color: #007bff;
}

/* Navigation menu styles */
.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #141414;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}

.nav-menu a:hover,
.nav-menu .active>a,
.nav-menu li:hover>a {
  color: #007bff;
  text-decoration: none;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

.nav-menu .drop-down:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #003651;
}

.nav-menu .drop-down ul a:hover,
.nav-menu .drop-down ul .active>a,
.nav-menu .drop-down ul li:hover>a {
  color: #007bff;
}

.nav-menu .drop-down>a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

/* Mobile navigation styles */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 21px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #007bff;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #364146;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
  color: #007bff;
  text-decoration: none;
}

.mobile-nav .drop-down>a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down>a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down>a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(32, 38, 41, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/* Hero Section*/
#hero {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.322), rgba(0, 0, 0, 0.295)), url("../img/about1.jpg") center center;
  background-size: cover;
  padding: 80px 0;
  display: flex;
  align-items: center;
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.heroContent {
  margin-top: 10vh;
  position: relative;
  z-index: 2;
}

#hero .container {
  height: 100%;
}

#hero h1 {
  margin: 0 0 20px 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.5s;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.8s;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: #fff;
  background: #007bff;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 1s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#hero .btn-get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

#hero .btn-get-started:hover {
  background: #008bd1;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

#hero .btn-get-started:hover::before {
  left: 100%;
}

#hero .hero-img {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#hero .hero-img img {
  width: 100%;
  max-width: 500px;
  height: auto;
  opacity: 0;
  padding-top: 65px;
  transform: scale(0.8);
  animation: zoomIn 1.5s ease forwards 0.3s;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
}

#hero h1 span {
  color: #007bff;
  position: relative;
}

#hero h1 span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #007bff;
  transform: scaleX(0);
  transform-origin: left;
  animation: expandLine 1s ease forwards 1.5s;
}

/* Floating background elements */
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bg-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.bg-element:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation: float 15s infinite ease-in-out;
}

.bg-element:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation: float 20s infinite ease-in-out 2s;
}

.bg-element:nth-child(3) {
  width: 70px;
  height: 70px;
  bottom: 20%;
  left: 20%;
  animation: float 12s infinite ease-in-out 1s;
}

/* Hero Service Icons Enhancement */
.hero-service-icons {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.parallax-service-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.parallax-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.parallax-icon-item:nth-child(1) {
  animation-delay: 1.2s;
}

.parallax-icon-item:nth-child(2) {
  animation-delay: 1.4s;
}

.parallax-icon-item:nth-child(3) {
  animation-delay: 1.6s;
}

.parallax-icon-item:hover {
  transform: translateY(-5px);
}

.parallax-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.parallax-icon-item:hover .parallax-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.parallax-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.parallax-icon-item:hover .parallax-icon-wrapper::before {
  left: 100%;
}
.parallax-icon-wrapper.shield {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8));
  border-color: rgba(0, 123, 255, 0.5);
}

.parallax-icon-wrapper.engineering {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8));
  border-color: rgba(0, 123, 255, 0.5);
}

.parallax-icon-wrapper.maintenance {
  background: linear-gradient(135deg, rgba(2, 165, 177, 0.8), rgba(2, 117, 126, 0.8));
  border-color: rgba(2, 165, 177, 0.5);
}

.parallax-icon-wrapper.consulting {
  background: linear-gradient(135deg, rgba(1, 23, 121, 0.8), rgba(1, 13, 65, 0.8));
  border-color: rgba(1, 23, 121, 0.5);
}

.parallax-icon-wrapper i {
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 1;
}

.parallax-icon-item span {
  font-weight: 600;
  color: white;
  font-size: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Section general styles */
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background: linear-gradient(rgba(231, 231, 231, 0.349), rgba(226, 226, 226, 0.123))
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 0;
  font-family: "Poppins", sans-serif;
  color: #364146;
}

.section-title p {
  margin-bottom: 0;
  color: #576971;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: #007bff1a;
  padding: 15px;
  border-radius: 15px;
}

/* Service Categories Color Themes */
/* Engineering - Blue Theme */
.category-link[data-category="engineering"].active {
  border-left-color: #007bff;
  background: rgba(0, 123, 255, 0.05);
  color: #007bff;
}

.category-link[data-category="engineering"].active .category-icon {
  background: #007bff;
}

.category-link[data-category="engineering"]:hover {
  color: #007bff;
}

.service-category#engineering .category-header-icon {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.service-category#engineering .service-card {
  border-top-color: #007bff;
}

.service-category#engineering .service-card-icon {
  background: rgba(0, 123, 255, 0.1);
}

.service-category#engineering .service-card-icon i {
  color: #007bff;
}

.service-category#engineering .service-card:hover .service-card-icon {
  background: rgba(0, 123, 255, 0.2);
}

/* Maintenance - Green Theme */
.category-link[data-category="maintenance"].active {
  border-left-color: #02a5b1;
  background: rgba(40, 167, 69, 0.05);
  color: #02a5b1;
}

.category-link[data-category="maintenance"].active .category-icon {
  background: #02a5b1;
}

.category-link[data-category="maintenance"]:hover {
  color: #02a5b1;
}

.service-category#maintenance .category-header-icon {
  background: linear-gradient(135deg, #02a5b1, #02757e);
}

.service-category#maintenance .service-card {
  border-top-color: #02a5b1;
}

.service-category#maintenance .service-card-icon {
  background: rgba(40, 167, 69, 0.1);
}

.service-category#maintenance .service-card-icon i {
  color: #02a5b1;
}

.service-category#maintenance .service-card:hover .service-card-icon {
  background: rgba(40, 167, 69, 0.2);
}

/* Consulting - Purple Theme */
.category-link[data-category="consulting"].active {
  border-left-color: #011779;
  background: rgba(111, 66, 193, 0.05);
  color: #011779;
}

.category-link[data-category="consulting"].active .category-icon {
  background: #011779;
}

.category-link[data-category="consulting"]:hover {
  color: #011779;
}

.service-category#consulting .category-header-icon {
  background: linear-gradient(135deg, #011779, #010d41);
}

.service-category#consulting .service-card {
  border-top-color: #011779;
}

.service-category#consulting .service-card-icon {
  background: rgba(111, 66, 193, 0.1);
}

.service-category#consulting .service-card-icon i {
  color: #011779;
}

.service-category#consulting .service-card:hover .service-card-icon {
  background: rgba(111, 66, 193, 0.2);
}

.mobile-category-card[data-category="consulting"] .mobile-category-header {
  background: linear-gradient(135deg, #011779, #010d41);
}

/* Services section layout */
.services-container {
  max-width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  overflow: hidden;
}

.service-categories {
  background: #f8f9fa;
  padding: 30px;
  border-right: 1px solid #e9ecef;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-item {
  margin-bottom: 10px;
}

.category-link {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: #364146;
  font-weight: 600;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-link:hover {
  transform: translateX(5px);
}

.category-link.active {
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.category-icon {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.category-link.active .category-icon {
  color: white;
}

.category-icon i {
  font-size: 1.2rem;
  color: #576971;
  transition: all 0.3s ease;
}

.category-link.active .category-icon i {
  color: white;
}

/* Service details area */
.service-details {
  padding: 30px;
  min-height: 600px;
}

.service-category {
  display: none;
  animation: fadeIn 0.5s ease;
}

.service-category.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.category-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.category-header-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.category-header-icon i {
  font-size: 2rem;
  color: white;
}

.category-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #364146;
}

.category-description {
  color: #576971;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
  border-top: 4px solid;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-card-icon i {
  font-size: 1.5rem;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #364146;
}

.service-card-description {
  color: #576971;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #576971;
}

.service-feature i {
  margin-right: 8px;
  margin-top: 3px;
  font-size: 0.8rem;
}

/* Engineering specific colors */
.service-category#engineering .service-feature i {
  color: #007bff;
}

/* Maintenance specific colors */
.service-category#maintenance .service-feature i {
  color: #28a745;
}

/* Consulting specific colors */
.service-category#consulting .service-feature i {
  color: #6f42c1;
}

.certification-badge {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

/* Mobile categories view */
.mobile-categories {
  display: none;
  padding: 20px;
}

.mobile-category-card {
  background: white;
  border-radius: 15px;
  margin-bottom: 30px;
  overflow: hidden;
  border-top: 5px solid;
}

.mobile-category-header {
  color: rgb(3, 3, 3);
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.mobile-category-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  margin-bottom: 15px;
}

.mobile-category-icon i {
  font-size: 1.8rem;
  color: white;
}

.mobile-category-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-category-description {
  padding: 15px 20px;
  color: #576971;
  font-size: 1rem;
  line-height: 1.5;
  border-bottom: 1px solid #e9ecef;
}

.mobile-services-list {
  padding: 20px;
}

.mobile-service-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-service-card:last-child {
  margin-bottom: 0;
}

.mobile-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-service-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  margin-bottom: 15px;
  flex-shrink: 0;

}

.mobile-service-icon i {
  font-size: 1.5rem;
}

.mobile-service-content {
  flex: 1;
  width: 100%;
}

.mobile-service-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #364146;
}

.mobile-service-description {
  color: #576971;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.mobile-service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-service-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
  font-size: 0.85rem;
  color: #576971;
  text-align: center;
  justify-content: center;
}

.mobile-service-feature i {
  margin-right: 8px;
  margin-top: 3px;
  font-size: 0.8rem;
}

/* Responsive design for services */
@media (max-width: 992px) {

  .service-categories,
  .service-details {
    display: none;
  }

  .mobile-categories {
    display: block;
  }
}

/* Mobile-card specific */
@media (max-width: 912px) {
  .services-container {
    padding: 0;
    border-radius: 0;
  }

  .mobile-categories {
    padding: 10px;
  }

  .mobile-category-card {
    margin-bottom: 20px;
    border: none;
  }

  .mobile-category-card.engi div.mobile-service-card div.mobile-service-icon {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.815), rgba(0, 86, 179, 0.8));

  }

  h4.mobile-service-title,
  p.mobile-service-description,
  div.mobile-service-description {
    color: black;
  }

  .mobile-category-card.maintenance div.mobile-service-card div.mobile-service-icon {
    background: linear-gradient(135deg, rgba(2, 165, 177, 0.8), rgba(2, 117, 126, 0.8));

  }

  .mobile-category-card.consulting div.mobile-service-card div.mobile-service-icon {
    background: linear-gradient(135deg, rgba(1, 23, 121, 0.8), rgba(1, 13, 65, 0.8));
    border-color: rgba(1, 23, 121, 0.5);
  }

  .mobile-category-header {
    padding: 25px 20px;

  }

  .mobile-category-icon {
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
  }

  .mobile-category-icon i {
    color: white;
    font-size: 2rem;
  }

  .mobile-category-title {
    color: white;
    font-size: 1.4rem;
  }

  .mobile-category-description {
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
  }

  .mobile-services-list {
    padding: 15px;

  }


  .mobile-service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    color: white;

  }

  .mobile-category-card.engi .mobile-service-card {
    border-top: 4px solid #007bff;
  }


  .mobile-category-card.maintenance .mobile-service-card {
    border-top: 4px solid #02a5b1;
  }


  .mobile-category-card.consulting .mobile-service-card {
    border-top: 4px solid #011779;
  }



  .mobile-service-icon {
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
  }

  .mobile-service-icon i {
    color: white;
    font-size: 1.8rem;
  }

  .mobile-service-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .mobile-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .mobile-service-card.engi:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(3, 136, 177, 0.541);
  }

  .mobile-service-description {
    color: black;
    margin-bottom: 15px;
  }

  .mobile-service-feature {
    color: black;
    justify-content: flex-start;
    text-align: left;
  }

  .mobile-service-feature i {
    color: rgb(0, 0, 8);
  }

  .engi .mobile-service-feature i {
    color: blue;
  }

  .maintenance .mobile-service-feature i {
    color: teal;
  }


  .certification-badge {
    background: green;
    color: white;
    margin-top: 10px;
  }
}

@media (max-width: 912px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .mobile-category-header {
    padding: 15px;
    color: black;
  }

  h3.mobile-category-title,
  .mobile-category-icon i,
  div.mobile-category-description {
    color: black;
  }


}



.mobile-category-icon {
  width: 50px;
  height: 50px;
}

.mobile-category-icon i {
  font-size: 1.5rem;
}

.mobile-category-title {
  font-size: 1.3rem;
}

.mobile-service-card {
  padding: 15px;
}


/* About section styles */
.about {
  padding: 80px 0;
}

.about-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

.about-header h3 {
  color: #364146;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.about-header h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #007bff;
  border-radius: 2px;
}

.company-details {
  margin: 25px 0;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 4px solid #007bff;
}

.detail-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.detail-item i {
  font-size: 1.5rem;
  color: #007bff;
  margin-right: 15px;
  width: 30px;
}

.detail-item strong {
  color: #364146;
}

.about-tagline {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 25px;
  border-radius: 10px;
  margin: 25px 0;
  border-left: 4px solid #007bff;
  display: flex;
  align-items: flex-start;
}

.about-tagline i {
  font-size: 2rem;
  color: #007bff;
  margin-right: 15px;
  margin-top: 5px;
}

.about-tagline p {
  margin: 0;
  font-style: italic;
  color: #576971;
  line-height: 1.6;
}

/* Value cards in about section */
.value-card {
  background: transparent;
  padding: 20px 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0;
  transition: all 0.3s ease;
  border-top: 4px solid #007bff;
  height: 100%;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: white;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

.value-icon i {
  font-size: 1.5rem;
  color: white;
}

.value-card h5 {
  color: #364146;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1rem;
}

.value-card p {
  color: #576971;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Mission and vision cards - UPDATED FOR ICONS ON TOP */
.mv-card {
  background: white;
  padding: 40px 30px 30px;
  border-radius: 15px;
  border-top: 4px solid #007bff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 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: 25px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.mission-card .mv-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.vision-card .mv-icon {
  background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.mv-card:hover .mv-icon {
  transform: scale(1.1);
}

.mv-icon i {
  font-size: 2.5rem;
  color: white;
}

.mv-content h4 {
  color: #364146;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.4rem;
}

.mv-content p {
  color: #576971;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.achievement-stats {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 0 15px;
}

.stat-item h4 {
  color: #007bff;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.stat-item p {
  color: #576971;
  font-size: 0.8rem;
  margin: 5px 0 0 0;
  font-weight: 600;
}

/* Projects section styling */
.projects-section {
  padding: 80px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  border-top: 4px solid #007bff;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-header {
  padding: 30px 30px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}

.project-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007bff, #00a8ff);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.project-card:hover .project-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
}

.project-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-badge.completed {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.project-badge.maintenance {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
  color: white;
}

.project-badge.engineering {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.project-badge.ongoing {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.project-client {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  padding: 15px 20px;
  background: #e9ecef;
  border-radius: 10px;
  border-left: 4px solid #007bff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-description {
  color: #5a6c7d;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

.project-details {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.project-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #5a6c7d;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid #f0f3f5;
}

.project-details li:last-child {
  border-bottom: none;
}

.project-details li i {
  color: #007bff;
  margin-right: 12px;
  margin-top: 3px;
  font-size: 1rem;
  background: rgba(0, 123, 255, 0.1);
  padding: 5px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px 30px;
  margin-top: auto;
  border-top: 1px solid #f0f3f5;
  background: #f8f9fa;
}

.project-date {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.project-date i {
  color: #007bff;
}

.project-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border: 2px solid #007bff;
  border-radius: 25px;
  background: rgba(0, 123, 255, 0.05);
}

.project-link:hover {
  color: white;
  background: #007bff;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Contact section styles */
.contact-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before,
.features::before,
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00a8ff, #007bff);
}

.contact-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.contact-row {
  display: flex;
  min-height: 600px;
}

/* Contact info side panel */
.contact-info {
  flex: 1;
  background: linear-gradient(-135deg, #007bff 0%, #003cff 100%);
  color: white;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite;
}

.contact-header h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  color: rgb(255, 255, 255);
}

.contact-header p {
  opacity: 0.9;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  color: rgba(236, 236, 236, 0.9);
}

.contact-details {
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.contact-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.contact-content p,
.contact-content a {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.contact-content a:hover {
  color: white;
  text-decoration: underline;
}

.contact-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Contact form styling */
.contact-form {
  flex: 1.2;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h3 {
  color: #364146;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-header p {
  color: #576971;
  margin: 0;
}

.php-email-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #364146;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: #364146;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
  color: #364146;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Form message styles */
.error-message {
  color: #dc3545;
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  border-left: 4px solid #dc3545;
  font-weight: 500;
}

.sent-message {
  color: #28a745;
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  border-left: 4px solid #28a745;
  font-weight: 500;
}

.loading {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  color: #007bff;
  font-weight: 500;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #007bff, #00a8ff);
  border: 0;
  padding: 16px 35px;
  color: #fff;
  transition: all 0.4s ease;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
  font-family: inherit;
}

.contact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #00a8ff, #007bff);
  color: #fff;
}

.contact-submit-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
  transform: translateX(5px);
}

.validate {
  display: none;
  color: #dc3545;
  margin: 5px 0 0 0;
  font-weight: 400;
  font-size: 0.85rem;
}

.form-control.error {
  border-color: #dc3545;
}

.form-control.valid {
  border-color: #28a745;
}

#footer {
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
  color: #fff;
  font-size: 14px;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00a8ff, #007bff);
}

.footer-top {
  padding: 40px 0 20px;
}

.footer-logo h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
}

.footer-tagline {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact .contact-item i {
  color: #007bff;
  font-size: 1.1rem;
  margin-right: 10px;
  margin-top: 2px;
  width: 16px;
}

.footer-contact .contact-item p,
.footer-contact .contact-item a {
  color: #b0b7c1;
  margin: 0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-contact {
  color: #fff;
}

.footer-contact .contact-item a:hover {
  color: #007bff;
}

.footer-contact a {
  color: #fff;
}

.footer-contact a:hover {
  color: #007bff;
}

.footer-certifications {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  border-left: 3px solid #007bff;
}

.cert-badge strong {
  color: #007bff;
}

.footer-links h4,
.footer-services h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
}

.footer-links h4::after,
.footer-services h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #007bff;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-services ul li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul li:last-child,
.footer-services ul li:last-child {
  border-bottom: none;
}

.footer-links ul li a,
.footer-services ul li a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: #007bff;
  padding-left: 5px;
}

.footer-links ul li a i,
.footer-services ul li a i {
  margin-right: 8px;
  font-size: 0.8rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 20px;
}

.footer-bottom .copyright {
  text-align: center;
  color: #fff;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom .copyright a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom .copyright a:hover {
  color: #00a8ff;
  text-decoration: underline;
}

.footer-legal,
.footer-legal a {
  color: #b0b7c1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-cta {
  margin-top: 25px;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #007bff;
  border-top: 4px solid #007bff;
}

.footer-cta p {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-btn {
  display: inline-block;
  background: linear-gradient(135deg, #007bff, #00a8ff);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
  color: #fff;
}

@media (min-width: 1400px) {
  .container {
    width: 94%;
    max-width: 1400px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    width: 95%;
    max-width: 1200px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    width: 96%;
    max-width: 100%;
  }

  #hero h1 {
    font-size: 3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (min-width: 912px) and (max-width: 991px) {
  .container {
    width: 97%;
    max-width: 100%;
  }

  #hero {
    padding: 60px 0;
    min-height: 60vh;
  }

  #hero h1 {
    font-size: 2.5rem;
  }

  #hero h2 {
    font-size: 1.3rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .contact-row {
    flex-direction: column;
    min-height: auto;
  }

  .contact-info {
    padding: 40px 30px;
  }

  .contact-form {
    padding: 40px 30px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 912px) {
  .container {
    width: 98%;
    max-width: 100%;
  }

  #header {
    padding: 12px 0;
  }

  #hero {
    margin-top: 60px;
    padding: 40px 0;
    min-height: auto;
    text-align: center;
  }

  #hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  #hero h2 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  #hero .btn-get-started {
    padding: 12px 25px;
    font-size: 0.9rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    padding-bottom: 30px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-row {
    flex-direction: column;
    min-height: auto;
  }

  .contact-info {
    padding: 30px 20px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-control {
    padding: 12px 15px;
  }

  .contact-item {
    padding: 15px;
    margin-bottom: 20px;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .contact-icon i {
    font-size: 1.2rem;
  }

  .footer-top {
    padding: 30px 0 15px;
  }

  .footer-contact .contact-item {
    margin-bottom: 12px;
  }

  .footer-bottom {
    padding: 15px 0;
  }

  .mobile-nav-toggle {
    top: 18px;
  }

  .about-header h3 {
    font-size: 2rem;
  }

  .mv-card {
    padding: 30px 20px 20px;
    flex-direction: column;
    text-align: center;
  }

  .mv-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .achievement-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-item {
    padding: 0 10px;
  }

  .stat-item h4 {
    font-size: 1.5rem;
  }

  /* Hero section mobile adjustments */
  .hero-service-icons {
    position: relative;
    bottom: auto;
    margin-top: 40px;
  }

  .parallax-service-icons {
    gap: 30px;
  }

  .parallax-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.5rem;
  }

  .parallax-icon-item span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 98%;
    max-width: 100%;
  }

  #hero h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .contact-info {
    padding: 25px 15px;
  }

  .contact-form {
    padding: 25px 15px;
  }

  .contact-header h3 {
    font-size: 1.5rem;
  }

  .contact-submit-btn {
    padding: 14px 25px;
    font-size: 0.9rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-logo h3 {
    font-size: 1.3rem;
  }

  /* Hero section small screen adjustments */
  .parallax-service-icons {
    gap: 20px;
  }

  .parallax-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.3rem;
  }

  .parallax-icon-item span {
    font-size: 0.8rem;
  }
}

/* Section top borders */
.contact-section::before,
.features::before,
.about::before,
#hero::before,
#about::before,
#contact::before,
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00a8ff, #007bff);
  z-index: 1;
}

.contact-section,
.features,
.about,
#hero,
#about,
#contact,
section {
  position: relative;
}

.parallax-section {
  position: relative;
  padding: 0;
  background: transparent;
  overflow: hidden;
  color: white;
  text-align: center;
  height: 380px;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/team-bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.parallax-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.parallax-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Parallax Section Service Icons */
.parallax-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  padding: 40px 20px;
}

.parallax-service-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: -40px;
  flex-wrap: wrap;
}

.parallax-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
  transition: all 0.3s ease;
}

.parallax-icon-item:hover {
  transform: translateY(-5px);
}

.parallax-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.parallax-icon-item:hover .parallax-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.parallax-icon-wrapper.engineering {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.8), rgba(0, 86, 179, 0.8));
  border-color: rgba(0, 123, 255, 0.5);
}

.parallax-icon-wrapper.maintenance {
  background: linear-gradient(135deg, rgba(2, 165, 177, 0.8), rgba(2, 117, 126, 0.8));
  border-color: rgba(2, 165, 177, 0.5);
}

.parallax-icon-wrapper.consulting {
  background: linear-gradient(135deg, rgba(1, 23, 121, 0.8), rgba(1, 13, 65, 0.8));
  border-color: rgba(1, 23, 121, 0.5);
}

.parallax-icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.parallax-icon-item span {
  font-weight: 600;
  color: white;
  font-size: 1rem;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for parallax icons */
@media (max-width: 992px) {
  .parallax-service-icons {
    gap: 40px;
  }

  .parallax-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.8rem;
  }

  .parallax-icon-item span {
    font-size: 0.9rem;
  }
}

@media (max-width: 912px) {
  .parallax-service-icons {
    gap: 30px;
    margin-top: 30px;
  }

  .parallax-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.5rem;
  }

  .parallax-icon-item span {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .parallax-service-icons {
    gap: 20px;
    margin-top: 25px;
  }

  .parallax-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.3rem;
  }

  .parallax-icon-item span {
    font-size: 0.8rem;
  }
}

/* Hide parallax section on 425px and below */
@media (max-width: 425px) {
  .parallax-section {
    display: none;
  }

  /* Adjust spacing when parallax is hidden */
  section:has(+ .parallax-section) {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .parallax-service-icons {
    gap: 15px;
  }

  .parallax-icon-wrapper {
    width: 45px;
    height: 45px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.2rem;
  }

  .parallax-icon-item span {
    font-size: 0.75rem;
  }
}

/* CTA Section Styles */
.cta-section {
  background: linear-gradient(180deg, #007bff 0%, #02448bc9 100%);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: white;
  color: #007bff;
  border: 2px solid white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: #007bff;
  transform: translateY(-3px);
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
  color: white;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
}

/* Trust Section Styles */
.trust-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.trust-section h2 {
  color: #364146;
  margin-bottom: 20px;
}

.trust-features {
  margin-top: 30px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.trust-item i {
  font-size: 2rem;
  color: #007bff;
  margin-right: 20px;
  margin-top: 5px;
}

.trust-item h4 {
  color: #364146;
  margin-bottom: 8px;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-item {
  display: flex;
  align-items: center;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #007bff;
}

.badge-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #00a8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.badge-icon i {
  font-size: 1.5rem;
  color: white;
}

.badge-item span {
  font-weight: 600;
  color: #364146;
  font-size: 1.1rem;
}

/* Quick Contact Section */
.quick-contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.quick-contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 50px;
  color: #364146;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.quick-contact-card h3 {
  color: #364146;
  margin-bottom: 15px;
}

.contact-methods {
  margin-top: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

.contact-method i {
  font-size: 1.5rem;
  color: #007bff;
  margin-right: 15px;
}

.contact-method strong {
  display: block;
  margin-bottom: 5px;
}

.contact-method a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.urgency-badge {
  background: #dc3545;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-emergency {
  background: #dc3545;
  color: white;
  border: 2px solid #dc3545;
}

.btn-emergency:hover {
  background: #c82333;
  border-color: #c82333;
  color: white;
  transform: translateY(-3px);
}

/* Center align icons and buttons on mobile (912px and below) */
@media (max-width: 912px) {

  /* General button centering */
  .btn-get-started,
  .contact-submit-btn,
  .btn-primary,
  .btn-outline,
  .btn-emergency {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Icon centering in various sections */
  .detail-item,
  .trust-item,
  .badge-item,
  .contact-method {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .detail-item i,
  .trust-item i,
  .badge-item .badge-icon,
  .contact-method i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* Value cards centering */
  .value-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Mission/Vision cards centering */
  .mv-card {
    text-align: center;
    align-items: center;
  }

  .mv-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }

  /* Project cards centering */
  .project-card {
    text-align: center;
  }

  .project-details li {
    justify-content: center;
  }

  .project-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* Contact items centering */
  .contact-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* CTA section centering */
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Center alignment for Our Direction and Our Projects sections on mobile */
  /* Our Direction - Mission/Vision cards */
  .mv-card {
    text-align: center;
    align-items: center;
  }

  .mv-icon {
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  /* Our Projects - Project cards */
  .project-card {
    text-align: center;
  }

  .project-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .project-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .project-details li {
    justify-content: center;
    text-align: center;
  }

  .project-footer {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure all icons in these sections are centered */
  .mission-vision-row .mv-icon,
  .projects-grid .project-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Additional specific centering for project badges and icons */
  .project-badge {
    display: inline-block;
    margin: 0 auto 15px auto;
  }

  .project-client {
    text-align: center;
    width: 100%;
  }

  .project-description {
    text-align: center;
  }

  /* Ensure mission and vision cards are properly centered */
  .mission-vision-row {
    text-align: center;
  }

  .mission-vision-row .col-lg-6 {
    display: flex;
    justify-content: center;
  }

  .mv-card {
    width: 100%;
    max-width: 400px;
  }
}

/* Service section mobile centering */
@media (max-width: 992px) {
  .mobile-categories {
    text-align: center;
  }

  .mobile-category-header {
    align-items: center;
  }

  .mobile-category-description {
    text-align: center;
  }

  .mobile-service-card {
    align-items: center;
    text-align: center;
  }

  .mobile-service-feature {
    justify-content: center;
    text-align: center;
  }
}

/* Additional service section centering for 912px and below */
@media (max-width: 912px) {
  .mobile-category-card {
    text-align: center;
  }

  .mobile-service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-service-features {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-service-feature {
    justify-content: center;
  }

  /* Ensure all text in service cards is centered */
  .mobile-service-title,
  .mobile-service-description {
    text-align: center;
  }
}

/* Hero section button centering on mobile */
@media (max-width: 912px) {
  #hero {
    text-align: center;
  }

  #hero .btn-get-started {
    margin: 0 auto;
  }

  .heroContent {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Section title centering enhancement */
@media (max-width: 912px) {
  .section-title {
    text-align: center;
  }

  .section-title p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* About section mobile centering */
@media (max-width: 912px) {
  .about-header {
    text-align: center;
  }

  .about-header h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .company-details {
    text-align: center;
  }

  .about-tagline {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .about-tagline i {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Trust section mobile centering */
@media (max-width: 912px) {
  .trust-section {
    text-align: center;
  }

  .trust-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trust-item i {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .badge-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .badge-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Quick contact section mobile centering */
@media (max-width: 912px) {
  .quick-contact-card {
    text-align: center;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
  }

  .contact-method i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .urgency-badge {
    justify-content: center;
  }
}

/* ===== FIX FOR OUR DIRECTION SECTION ICONS ON MOBILE ===== */
@media (max-width: 912px) {
  .mission-vision-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mission-vision-row .col-lg-6 {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .mv-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .mv-icon {
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mv-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mv-content h4,
  .mv-content p {
    text-align: center;
    width: 100%;
  }
}

/* ===== ADDITIONAL MOBILE OPTIMIZATIONS ===== */
@media (max-width: 425px) {
  #hero {
    padding: 30px 0;
    min-height: 50vh;
  }

  #hero h1 {
    font-size: 1.6rem;
  }

  #hero h2 {
    font-size: 0.95rem;
  }

  section {
    padding: 40px 0;
  }

  .btn-get-started,
  .contact-submit-btn,
  .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    width: 100%;
    max-width: 280px;
  }
}

/* Responsive Improvements - Button Centering and General Responsiveness */

/* Global button centering for all screen sizes */
@media (max-width: 912px) {

  /* CTA section button centering */
  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Project section button centering */
  .project-footer {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }

  /* Service section improvements */
  .mobile-categories {
    padding: 15px;
  }

  .mobile-category-card {
    margin-bottom: 25px;
  }

  .mobile-service-card {
    text-align: center;
    align-items: center;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.144);
  }

  .mobile-service-feature {
    justify-content: center;
  }

  /* About section improvements */
  .about-tagline {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .about-tagline i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .detail-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* Mission/Vision section improvements */
  .mv-card {
    text-align: center;
    align-items: center;
  }

  .mv-icon {
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  /* Trust section improvements */
  .trust-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .trust-item i {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .badge-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .badge-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Extra small screen improvements */
@media (max-width: 480px) {

  /* Container adjustments */
  .container {
    width: 98%;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Hero section adjustments */
  #hero h1 {
    font-size: 1.8rem;
  }

  #hero h2 {
    font-size: 1rem;
  }

  /* Section title adjustments */
  .section-title h2 {
    font-size: 1.6rem;
  }

  .section-title p {
    font-size: 0.95rem;
    padding: 10px;
  }

  /* Button sizing adjustments */
  .btn-get-started,
  .contact-submit-btn,
  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  /* Contact section adjustments */
  .contact-info,
  .contact-form {
    padding: 20px 15px;
  }

  .contact-item {
    padding: 15px;
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* Project card adjustments */
  .project-card {
    min-height: auto;
  }

  .project-header {
    padding: 20px 15px;
  }

  .project-footer {
    padding: 15px;
  }

  /* Service section mobile view adjustments */
  .mobile-category-header {
    padding: 15px;
  }

  .mobile-category-icon {
    width: 50px;
    height: 50px;
  }

  .mobile-category-icon i {
    font-size: 1.5rem;
  }

  .mobile-service-card {
    padding: 15px;
  }

  /* Parallax section adjustments */
  .parallax-section {
    height: 300px;
  }

  .parallax-service-icons {
    gap: 15px;
  }

  .parallax-icon-wrapper {
    width: 50px;
    height: 50px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.3rem;
  }

  .parallax-icon-item span {
    font-size: 0.8rem;
  }
}

/* Very small screen adjustments */
@media (max-width: 360px) {

  /* Further text size reductions */
  #hero h1 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }


  .btn-get-started,
  .contact-submit-btn,
  .btn {
    width: 100%;
    max-width: 100%;
  }


  .container {
    padding-left: 8px;
    padding-right: 8px;
  }


  .projects-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mobile-category-card {
    margin-bottom: 20px;
  }

  .mobile-service-card {
    padding: 12px;
  }
}


.form-group.text-center .btn,
.text-center .btn {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}


.btn-container-center {
  display: flex;
  justify-content: center;
  width: 100%;
}


.cta-section .btn,
.quick-contact-section .btn {
  display: inline-block;
  margin: 5px;
}

@media (max-width: 912px) {

  .cta-section .btn,
  .quick-contact-section .btn {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 280px;
  }
}


.float-center {
  float: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


@media (min-width: 913px) and (max-width: 992px) {
  .service-categories {
    padding: 20px;
  }

  .category-link {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .service-details {
    padding: 20px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}


@media (max-width: 912px) {
  body {
    font-size: 14px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3;
  }

  p {
    line-height: 1.5;
  }
}


html,
body {
  max-width: 100%;
  overflow-x: hidden;
}


section {
  padding: 60px 0;
}

@media (max-width: 912px) {
  section {
    padding: 40px 0;
  }

  @media (max-width: 912px) {
    section {
      padding: 40px 0;
    }

    .hero-service-icons,
    .parallax-section {
      display: none;
    }

    .heroContent {
      margin-bottom: 230px;
    }
  }
}

/* Map Section Styles */
.map-section {
  padding: 0;
}

.map-container {
  margin-bottom: 50px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.map-wrapper {
  position: relative;
  overflow: hidden;
}

.map-wrapper iframe {
  display: block;
  border: none;
  width: 100%;
}

.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.map-info-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #007bff;
  max-width: 100%;
}

.map-info-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.map-info-header i {
  font-size: 1.5rem;
  color: #007bff;
  margin-right: 10px;
}

.map-info-header h4 {
  margin: 0;
  color: #364146;
  font-size: 1.2rem;
}

.map-info-content p {
  margin: 0 0 10px 0;
  color: #576971;
  line-height: 1.5;
}

.map-info-content strong {
  color: #364146;
}

.map-actions {
  margin-top: 15px;
}

.btn-map-direction {
  display: inline-flex;
  align-items: center;
  background: #007bff;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-map-direction:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
  color: white;
}

.btn-map-direction i {
  margin-right: 8px;
  font-size: 1rem;
}

/* Location Details */
.location-details {
  margin-top: 30px;
}

.location-info {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid #007bff;
}

.location-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.location-info i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
  display: block;
}

.location-info h5 {
  color: #364146;
  margin-bottom: 15px;
  font-weight: 700;
}

.location-info p {
  color: #576971;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive Design for Map Section */
@media (max-width: 912px) {
  .map-container {
    margin-bottom: 30px;
  }

  .map-overlay {
    position: relative;
    top: auto;
    left: auto;
    margin: 20px;
  }

  .map-info-card {
    position: relative;
    max-width: none;
    margin: 0;
  }

  .location-details {
    margin-top: 20px;
  }

  .location-info {
    margin-bottom: 20px;
    padding: 20px 15px;
  }
}

@media (max-width: 768px) {
  .map-wrapper {
    height: 400px;
  }

  .map-wrapper iframe {
    height: 400px;
  }

  .location-info {
    text-align: center;
    padding: 20px;
  }

  .location-info i {
    font-size: 2rem;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .map-wrapper {
    height: 350px;
  }

  .map-wrapper iframe {
    height: 350px;
  }

  .map-info-card {
    padding: 15px;
  }

  .map-info-header {
    flex-direction: column;
    text-align: center;
  }

  .map-info-header i {
    margin-right: 0;
    margin-bottom: 8px;
  }

  .location-info {
    padding: 15px;
  }

  .location-info i {
    font-size: 1.8rem;
  }
}

/* Ensure map doesn't cause horizontal scroll */
.map-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Loading state for map */
.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.map-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e9ecef;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Hide loading spinner when map is loaded */
.map-wrapper.loaded .map-loading {
  display: none;
}

/* Location Features */
.location-features {
  margin-top: 15px;
}

.location-feature {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #576971;
}

.location-feature i {
  color: #28a745;
  margin-right: 8px;
  font-size: 0.8rem;
}

/* Map Section Responsive Improvements */
@media (max-width: 912px) {
  .map-section {
    padding: 0;
  }

  .map-overlay {
    position: relative;
    margin: 0;
    padding: 15px;
  }

  .map-info-card {
    margin: 0 auto;
    max-width: 100%;
  }

  .location-details .row {
    margin: 0 -10px;
  }

  .location-details .col-md-4 {
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .location-info {
    margin-bottom: 0;
    height: auto;
    min-height: 200px;
  }
}

/* Center align location info on mobile */
@media (max-width: 912px) {
  .location-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .location-feature {
    justify-content: center;
  }
}

/* Map accessibility improvements */
.map-wrapper:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .map-info-card {
    border: 2px solid #007bff;
    background: white;
  }

  .location-info {
    border: 2px solid #007bff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .map-info-card,
  .location-info,
  .btn-map-direction {
    transition: none;
  }

  .map-loading-spinner {
    animation: none;
  }
}

/* Additional Mobile Optimizations for 912px and below */
@media (max-width: 912px) {

  /* Header and Navigation */
  #header {
    height: 60px;
  }

  .mobile-nav-toggle {
    top: 15px;
  }

  /* Hero Section */
  #hero {
    margin-top: 60px;
    padding: 30px 0;
    min-height: 50vh;
  }

  .heroContent {
    margin-top: 5vh;
  }

  /* Service Categories - Mobile View */
  .mobile-category-card {
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .mobile-category-header {
    padding: 20px 15px;
  }

  .mobile-category-icon {
    width: 50px;
    height: 50px;
  }

  .mobile-category-icon i {
    font-size: 1.5rem;
  }

  .mobile-category-title {
    font-size: 1.3rem;
  }

  .mobile-service-card {
    padding: 15px;
    margin-bottom: 12px;
  }

  /* About Section */
  .about-image {
    height: 300px;
  }

  .value-card {
    margin-bottom: 15px;
  }

  /* Contact Form */
  .contact-form {
    padding: 25px 20px;
  }

  .form-control {
    padding: 12px 15px;
    font-size: 14px;
  }

  /* Footer */
  .footer-top {
    padding: 30px 0 15px;
  }

  .footer-contact .contact-item {
    margin-bottom: 12px;
  }

  /* Map Section */
  .map-wrapper {
    height: 350px;
  }

  .map-wrapper iframe {
    height: 350px;
  }

  /* Project Cards */
  .project-card {
    min-height: auto;
  }

  .project-header {
    padding: 20px;
  }

  .project-footer {
    padding: 15px 20px 20px;
  }

  /* Section Spacing */
  section {
    padding: 50px 0;
  }

  .section-title {
    padding-bottom: 25px;
  }

  /* Button Sizes */
  .btn-get-started,
  .contact-submit-btn,
  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  /* Text Sizes */
  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  /* Trust Section */
  .trust-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .badge-item {
    padding: 20px;
  }

  /* Quick Contact */
  .quick-contact-card {
    padding: 30px 20px;
  }

  .urgency-badge {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  /* CTA Section */
  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cta-stats {
    gap: 30px;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
}

/* Extra Small Mobile Optimizations (480px and below) */
@media (max-width: 480px) {
  #hero h1 {
    font-size: 1.6rem;
  }

  #hero h2 {
    font-size: 0.95rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .mobile-category-title {
    font-size: 1.2rem;
  }

  .project-client {
    font-size: 1.3rem;
  }

  .contact-header h3 {
    font-size: 1.4rem;
  }

  .form-header h3 {
    font-size: 1.4rem;
  }

  .footer-logo h3 {
    font-size: 1.3rem;
  }

  /* Further reduce padding */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  section {
    padding: 40px 0;
  }

  /* Make buttons full width on very small screens */
  .btn-get-started,
  .contact-submit-btn,
  .btn {
    width: 100%;
    max-width: 100%;
  }

  /* Adjust grid gaps */
  .services-list,
  .projects-grid {
    gap: 15px;
  }

  /* Reduce icon sizes further */
  .parallax-icon-wrapper {
    width: 45px;
    height: 45px;
  }

  .parallax-icon-wrapper i {
    font-size: 1.2rem;
  }

  .value-icon {
    width: 50px;
    height: 50px;
  }

  .value-icon i {
    font-size: 1.3rem;
  }

  /* Map adjustments */
  .map-wrapper {
    height: 300px;
  }

  .map-wrapper iframe {
    height: 300px;
  }
}

/* Very Small Screens (360px and below) */
@media (max-width: 360px) {
  #hero h1 {
    font-size: 1.4rem;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .mobile-category-title {
    font-size: 1.1rem;
  }

  .btn-get-started,
  .contact-submit-btn,
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Orientation-specific adjustments */
@media (max-width: 912px) and (orientation: landscape) {
  #hero {
    min-height: 70vh;
  }

  .heroContent {
    margin-top: 8vh;
  }
}

/* Fix for footer on 375px and smaller screens */
@media (max-width: 375px) {
  #footer {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .footer-top {
    padding: 25px 0 10px !important;
    margin: 0;
    width: 100%;
  }

  .footer-bottom {
    padding: 15px 0 !important;
    margin: 0;
    width: 100%;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto;
  }

  /* Ensure all footer content fits */
  .footer-top .row,
  .footer-bottom .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .footer-top .col-lg-3,
  .footer-top .col-lg-2,
  .footer-top .col-lg-4 {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 20px;
    width: 100%;
  }

  /* Adjust footer content spacing */
  .footer-logo h3 {
    font-size: 1.2rem;
  }

  .footer-tagline {
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .footer-contact .contact-item {
    margin-bottom: 10px;
    padding: 0;
  }

  .footer-contact .contact-item p,
  .footer-contact .contact-item a {
    font-size: 0.8rem;
  }

  .footer-links h4,
  .footer-services h4 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .footer-links ul li a,
  .footer-services ul li a {
    font-size: 0.8rem;
  }

  .footer-cta {
    padding: 15px;
    margin-top: 15px;
  }

  .footer-cta p {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .footer-btn {
    padding: 8px 15px;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .footer-certifications {
    gap: 5px;
  }

  .cert-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .footer-bottom .copyright {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Additional fixes for very small screens */
@media (max-width: 320px) {
  .footer-top {
    padding: 20px 0 5px !important;
  }

  .footer-bottom {
    padding: 10px 0 !important;
  }

  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .footer-logo h3 {
    font-size: 1.1rem;
  }

  .footer-tagline {
    font-size: 0.75rem;
  }

  .footer-contact .contact-item p,
  .footer-contact .contact-item a {
    font-size: 0.75rem;
  }
}

/* Ensure no horizontal scrolling on mobile */
@media (max-width: 912px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  #footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}

/* Print styles */
@media print {
  .mobile-nav-toggle,
  .back-to-top,
  .hero-service-icons,
  .parallax-section {
    display: none !important;
  }

  #hero {
    background: none !important;
    color: black !important;
  }

  .btn-get-started {
    display: none !important;
  }
}
/* Accessibility: Focus styles */
a:focus,
button:focus,
.form-control:focus,
.btn:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  .btn-get-started,
  .contact-submit-btn,
  .btn-primary {
    border: 2px solid currentColor;
  }

  .form-control {
    border: 2px solid currentColor;
  }
}

.privacy-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.privacy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00a8ff, #007bff);
}

.privacy-content h1 {
    color: #364146;
    font-size: 2.5rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
    font-weight: 700;
}

.privacy-content h2 {
    color: #364146;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.privacy-content p {
    color: #576971;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.privacy-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.privacy-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.privacy-content a:hover::after {
    width: 100%;
}

/* Enhanced list styling */
.styled-list {
    padding-left: 0;
    margin-bottom: 30px;
}

.styled-list li {
    margin-bottom: 12px;
    color: #576971;
    line-height: 1.6;
    list-style: none;
    padding: 15px 20px 15px 55px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.styled-list li:hover {
    transform: translateX(5px);
    background: rgba(0, 123, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

/* Privacy section styling */
.privacy-section {
    margin-bottom: 50px;
    position: relative;
}

.privacy-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

.privacy-highlight {
    background: rgba(0, 123, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.privacy-highlight::before {
    content: '💡';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.1;
}

.update-date {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: #007bff;
    border: 2px dashed #007bff;
    margin-top: 30px !important;
}

/* Table of contents style navigation */
.privacy-nav {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.privacy-nav h3 {
    color: #364146;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.privacy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-nav li {
    margin-bottom: 8px;
}

.privacy-nav a {
    color: #576971;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.privacy-nav a:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
    border-left-color: #007bff;
    transform: translateX(5px);
}

/* Responsive design */
@media (max-width: 768px) {
    .privacy-content {
        padding: 25px;
    }
    
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    
    .styled-list li {
        padding: 12px 15px 12px 45px;
    }
    
    .styled-list li::before {
        left: 15px;
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .privacy-highlight {
        padding: 20px;
    }
    
    .privacy-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .privacy-content {
        padding: 20px 15px;
    }
    
    .privacy-content h1 {
        font-size: 1.8rem;
    }
    
    .privacy-content h2 {
        font-size: 1.4rem;
    }
    
    .styled-list li {
        padding: 10px 12px 10px 40px;
        font-size: 0.95rem;
    }
    
    .privacy-highlight {
        padding: 15px;
    }
}

@media (max-height: 642px) {
  .hero-service-icons {
    display: none;
  }
}

/* Animation enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
    .privacy-content {
        box-shadow: none;
        padding: 0;
    }
    
    .privacy-content h1,
    .privacy-content h2 {
        color: #000;
    }
    
    .styled-list li {
        background: transparent;
        border-left: 2px solid #000;
    }
}
