/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #fff;
}
a {
  text-decoration: none;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 1rem 0;
}

/* === Navbar Styles === */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.quote-btn {
  background-color: #1a2a80;
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  color: #fff !important;
  font-weight: bold;
  text-decoration: none;
}

/* === Hamburger Icon === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: #222;
  transition: all 0.3s ease;
}

/* Transform hamburger into X */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

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

  .quote-btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }
}

/* Hero Section */
.home-hero {
  background: url("assets/hero.jpg") no-repeat center center/cover;
  min-height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
}
.overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  width: 100%;
  height: 80vh;
}
.home-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 2rem 1rem;
  height: 100%;
  position: relative;
}
.home-hero-left {
  max-width: 650px;
  padding-top: 2rem;
}
.home-hero-left h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.home-hero-left h1 span {
  font-weight: 600;
}
.home-hero-left h1 strong {
  color: #e53935;
  font-weight: 700;
}
.home-hero-left p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.home-hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.btn-primary {
  background-color: #e53935;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}
.btn-secondary {
  border: 2px solid #fff;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}
.stats {
  display: flex;
  gap: 2rem;
}
.stats div span {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}
.stats p {
  font-size: 1rem;
}

/* Hero Right Floating Cards - Irregular positioning & animation */
.home-hero-right {
  position: relative;
  margin-top: 3rem;
  width: 100%;
  max-width: 400px;
  display: grid;
  justify-content: end;
  gap: 1rem;
}
.home-hero-right .card {
  width: 240px;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: floatCard 6s ease-in-out infinite;
  position: relative;
}

/* Individual card styles with offsets and unique animations */
.home-hero-right .quality-control {
  background-color: #0b4591;
  transform: translateY(0);
  animation-delay: 0s;
  left: 20px;
}

.home-hero-right .expert-engineering {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateX(-30px);
  animation-delay: 2s;
}

.home-hero-right .design-excellence {
  background-color: #e53935;
  transform: translateX(10px) translateY(10px);
  animation-delay: 4s;
}

/* Floating / breathing effect */
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Scroll Mouse Icon */
.scroll-icon {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-icon .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}
.scroll-icon .mouse::after {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .home-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-hero-right {
    margin-top: 2rem;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .home-hero-inner {
    padding: 1rem;
  }
  .home-hero-left h1 {
    font-size: 2.2rem;
  }
  .home-hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
  }
  .home-hero-right {
    display: none;
  }
}
/* === Services Section === */
.home-services-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.home-section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.after-bar {
  width: 80px;
  height: 4px;
  background-color: #4c16ef;
  margin: 0 auto 2.5rem auto;
  border-radius: 2px;
}

/* Services Grid */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.home-service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.home-service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.home-service-card h3 {
  color: #222;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.home-service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}
@keyframes breathing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* === CTA Section === */
.cta-section {
  background-color: #cad1f0;
  color: #2d2a2a;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  margin: 4rem 8rem 0 8rem;
}

.cta-heading {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-subtext {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-primary2 {
  background-color: #1a2a80;
  color: white;
  font-weight: 600;
}

.btn-primary2:hover {
  background-color: #0a043c;
}

.btn-secondary2 {
  background-color: transparent;
  border: 2px solid #fff;
  color: #222121;
  font-weight: 500;
}

.btn-secondary2:hover {
  background-color: #d6dddc;
}
/* Responsive margin for tablets */
@media (max-width: 992px) {
  .cta-section {
    margin: 4rem 4rem 0 4rem;
  }
}

/* Responsive margin for mobile screens */
@media (max-width: 576px) {
  .cta-section {
    margin: 2rem 1rem 0 1rem;
    padding: 3rem 1rem;
  }
}
/* === About Section === */
.about-section {
  padding: 4rem 2rem;
  background-color: #f8f9fb;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #4c16ef;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #4c16ef;
  margin: 0.5rem auto 2rem auto;
  border-radius: 5px;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #444;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: left;
}
.about-card h3 {
  color: #4c16ef;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-card .icon {
  font-size: 1.5rem;
  color: #ee2009;
}

.about-card p {
  color: #333;
  line-height: 1.6;
}

.core-values {
  list-style: none;
  padding-left: 0;
}

.core-values li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
}

.core-values li strong {
  color: #ee2009;
}

/* parallax */
.parallax-cta {
  position: relative;
  background-image: url("assets/hero.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Full coverage */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #ec2715;
  color: #fff;
  padding: 0.9rem 2rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #a90b08;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }

  .parallax-cta {
    background-attachment: scroll;
  }
}
/* contact section              */
.contact-section {
  padding: 4rem 2rem;
  background-color: #f8f9fa;
}

.contact-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-section .section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
}

.contact-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-form,
.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

.contact-form button {
  background-color: #4c16ef;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #3810b5;
}

.contact-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #333;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
}

.contact-info i {
  font-size: 1.2rem;
  color: #4c16ef;
  margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }
}

/* footer styling  */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #d01512;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1e1beb;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: #ccc;
  line-height: 1.7;
}

.footer-column a:hover {
  color: #f32929;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-socials {
  margin-top: 1rem;
}

.footer-socials a {
  color: #ccc;
  margin-right: 0.8rem;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #ffa500;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-column {
    flex: 1 1 100%; /* make columns stack vertically */
    margin-bottom: 1rem;
  }
  .footer-socials {
    justify-content: center;
  }
}
