/* ===== GLOBAL STYLES & VARIABLES ===== */
:root {
  --primary-red: #e21b23;
  --primary-dark: #0a1931;
  --primary-blue: #1a1a4a;
  --primary-light: #f8f9fa;
  --accent-gold: #ffb347;
  --text-dark: #333333;
  --text-light: #666666;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --border-radius: 12px;
  --section-padding: 100px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.py-5 {
  padding: var(--section-padding);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-6,
.col-lg-4,
.col-md-6 {
  padding: 0 15px;
}

.col-lg-6 {
  width: 50%;
}
.col-lg-4 {
  width: 33.333%;
}
.col-md-6 {
  width: 50%;
}

@media (max-width: 992px) {
  .col-lg-6,
  .col-lg-4,
  .col-md-6 {
    width: 100%;
  }
}

.mb-4 {
  margin-bottom: 30px;
}
.mb-lg-0 {
  margin-bottom: 0;
}
.mt-3 {
  margin-top: 20px;
}
.mt-4 {
  margin-top: 30px;
}
.mt-5 {
  margin-top: 50px;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.align-items-center {
  align-items: center;
}

/* ===== REUSABLE COMPONENTS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(0);
}

.btn-danger {
  background: var(--primary-red);
  color: white;
  box-shadow: 0 5px 20px rgba(226, 27, 35, 0.3);
}

.btn-danger:hover {
  background: #c5171e;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(226, 27, 35, 0.4);
}

.section-tag {
  display: inline-block;
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background: var(--primary-red);
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ===== NAVBAR WITH ADVANCED ANIMATIONS ===== */
/* .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 5%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        transition: var(--transition);
      } */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: 0.3s ease;
}

.navbar.scrolled {
  padding: 15px 5%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
   overflow: hidden;
}

.logo img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  transform: translateY(6px);
  /* margin-left: 190px; */
}

@media (max-width: 768px) {
  .navbar {
    height: 90px;
  }

  .logo img {
    max-height: 120px;
    margin-left: 0;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu li {
  position: relative;
}

.menu > li > a {
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 0;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 2px;
}

.menu > li > a:hover::after {
  width: 100%;
}

.menu > li > a:hover {
  color: var(--primary-red);
}

.dropdown > a i {
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.4s ease;
}

.dropdown:hover > a i {
  transform: rotate(180deg);
}

/* Enhanced Dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  padding: 15px 0;
  z-index: 100;
}

.submenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 25px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
}

.submenu li {
  list-style: none;
}

.submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14.5px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.submenu li a:hover {
  background: linear-gradient(
    90deg,
    rgba(226, 27, 35, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  color: var(--primary-red);
  border-left: 3px solid var(--primary-red);
  padding-left: 30px;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nested Dropdown Styling for Doors */
.dropdown .submenu .dropdown {
  position: relative;
}

.dropdown .submenu .dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown .submenu .dropdown .submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
}

.dropdown .submenu .dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.dropdown .submenu .dropdown .submenu::before {
  top: 15px;
  left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid white;
  border-bottom: 10px solid transparent;
  border-top: 10px solid transparent;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-toggle .hamburger {
  width: 100%;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--primary-red);
}

.mobile-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--primary-red);
}

/* ===== HERO SECTION WITH PARALLAX EFFECT ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 25, 49, 0.65) 0%,
    rgba(26, 26, 74, 0.4) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 25px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  padding: 16px 38px;
  font-size: 17px;
  border-radius: 8px;
  animation: pulse 2s infinite;
}

/* ===== WHO WE ARE SECTION ===== */
.who-we-are {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
  position: relative;
  overflow: hidden;
}

.who-we-are::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(226, 27, 35, 0.05) 0%,
    transparent 70%
  );
}

.who-we-are h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--primary-dark);
}

.who-we-are p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.features-list {
  list-style: none;
  margin: 25px 0 30px;
}

.features-list li {
  padding: 10px 0 10px 35px;
  position: relative;
  font-size: 16px;
  color: var(--text-dark);
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: var(--primary-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(226, 27, 35, 0.1) 0%,
    transparent 50%
  );
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.image-wrapper:hover img {
  transform: scale(1.08);
}


/* ===== WHY CHOOSE SECTION ===== */

/* ===== WHY CHOOSE SECTION - IMPROVED ===== */
.why-choose {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="%23e21b23" opacity="0.03" d="M0,0H1000V1000H0Z"/></svg>');
  background-size: 300px;
  opacity: 0.5;
  z-index: 0;
}

.why-choose .container {
  position: relative;
  z-index: 1;
}

.choose-card {
  width: 100%;
  background: white;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid rgba(226, 27, 35, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.choose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.choose-card:hover::before {
  transform: scaleX(1);
}

.choose-card i {
  font-size: 48px;
  color: var(--primary-red);
  margin-bottom: 25px;
  transition: var(--transition);
}

.choose-card h5 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choose-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.choose-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(226, 27, 35, 0.2);
}

.choose-card:hover i {
  transform: scale(1.1);
  color: #c5171e;
}

/* ===== PROCESS SECTION - IMPROVED ===== */
.process-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.process-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 27, 35, 0.3), transparent);
}

.process-card {
  width: 100%;
  background: white;
  padding: 50px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 2px solid transparent;
  height: 100%;
  position: relative;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(226, 27, 35, 0.05) 0%, transparent 100%);
  border-radius: 16px;
  z-index: -1;
}

.step-number {
  width: 70px;
  height: 70px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--primary-red), #c5171e);
  color: white;
  font-weight: 800;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(226, 27, 35, 0.3);
  transition: var(--transition);
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid rgba(226, 27, 35, 0.2);
  border-radius: 50%;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.process-card h5 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  flex-grow: 1;
}

.process-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-red);
}

.process-card:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(226, 27, 35, 0.4);
}

/* ===== FINAL CTA - IMPROVED ===== */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="white" opacity="0.03" d="M0,0H1000V1000H0Z"/></svg>');
  background-size: 400px;
  animation: floatBg 20s linear infinite;
}

@keyframes floatBg {
  0% { background-position: 0 0; }
  100% { background-position: 400px 400px; }
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-danger {
  padding: 18px 45px;
  font-size: 1.1rem;
  border-radius: 10px;
  /* box-shadow: 0 10px 30px rgba(226, 27, 35, 0.4); */
}

.promise-box {
  margin-top: 60px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.promise-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-gold);
}

.promise-box h4 {
  color: var(--accent-gold);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.promise-box p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 992px) {
  .choose-card h5,
  .process-card h5 {
    min-height: auto;
  }
  
  .choose-card,
  .process-card {
    padding: 35px 25px;
  }
}

@media (max-width: 768px) {
  .final-cta {
    padding: 80px 0;
  }
  
  .final-cta h2 {
    font-size: 2.2rem;
  }
  
  .final-cta p {
    font-size: 1rem;
  }
  
  .promise-box {
    padding: 25px;
    margin-top: 40px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .choose-card,
  .process-card {
    padding: 30px 20px;
  }
  
  .choose-card i {
    font-size: 40px;
  }
  
  .choose-card h5,
  .process-card h5 {
    font-size: 1.2rem;
  }
  
  .final-cta h2 {
    font-size: 1.8rem;
  }
}


/* ===== OUR SERVICES SECTION (UPDATED WITH LARGER IMAGES) ===== */
.our-services {
  background: white;
  position: relative;
}

.our-services h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: -1;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* UPDATED: Service Image Styling - Larger Images */
.service-image {
  width: 100%;
  height: 250px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-card h5 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ===== CONTACT SECTION (UPDATED WITH FIXED BACKGROUND & MOBILE FIXES) ===== */
.contact-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-blue) 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.1;
  z-index: 0;
}

.contact-section .section-tag {
  color: white;
  padding: 8px 20px 8px 35px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.contact-section h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: white;
  text-align: center;
  line-height: 1.2;
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 30px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
  color: var(--primary-dark);
  margin-bottom: 30px;
  font-size: 2rem;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
}

.form-control {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  transition: var(--transition);
  background: #f9f9f9;
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  background: white;
  box-shadow: 0 5px 20px rgba(226, 27, 35, 0.1);
  transform: translateY(-2px);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form .btn {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 10px;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.contact-form .btn i {
  transition: transform 0.3s ease;
}

.contact-form .btn:hover i {
  transform: translateX(5px);
}

.contact-info {
  padding: 20px 0;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-red);
  border-radius: 2px;
}

.contact-info > p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 500px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(10px);
  border-color: rgba(226, 27, 35, 0.3);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: rgba(226, 27, 35, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary-red);
  flex-shrink: 0;
  transition: var(--transition);
}

.info-item:hover .info-icon {
  background: var(--primary-red);
  color: white;
  transform: scale(1.1);
}

.info-content h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: white;
}

.info-content p {
  opacity: 0.9;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 5px;
}

.working-hours {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.working-hours h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.working-hours h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-red);
}

.working-hours p {
  margin-bottom: 12px;
  opacity: 0.9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.working-hours p:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.working-hours p strong {
  color: white;
  font-weight: 600;
}

/* ===== HOME SOLUTIONS SECTION ===== */
.home-solutions {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.home-solutions h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.sub-heading {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.solution-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.solution-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 49, 0.9) 0%,
    rgba(10, 25, 49, 0.2) 100%
  );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px;
  transition: var(--transition);
  opacity: 0.9;
}

.solution-card .overlay h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.solution-card .overlay p {
  font-size: 1rem;
  opacity: 0.8;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

.solution-card:hover .overlay h3,
.solution-card:hover .overlay p {
  transform: translateY(0);
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.solution-card:hover img {
  transform: scale(1.1);
}

.solution-card:hover .overlay {
  background: linear-gradient(
    to top,
    rgba(226, 27, 35, 0.85) 0%,
    rgba(226, 27, 35, 0.2) 100%
  );
}

/* ================= FOOTER ================= */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: start;   
}

.footer-column {
  margin-bottom: 20px;
}

.footer-column:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-column h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  margin-top: 10px;  
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-red);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-logo {
  margin-bottom: -50px;
}

.footer-logo img {
  height: 170px;  
  width: auto;
  object-fit: contain;
  display: block;
   transform: translateY(-30px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-column:first-child {
    order: -1;          
    align-items: flex-start; 
    margin-top: -20px;   
  }

  .footer-logo img {
    margin-bottom: 30px;  
    max-width: 130px;      
    transform: translateY(0);
  }

  .footer-column:first-child p {
    margin-bottom: 15px;   
  }

  .footer-column:first-child .btn {
    margin-top: 0;        
  }

  .footer-column h4 {
    text-align: left;
  }

  .footer-column h4::after {
    left: 0;
    transform: none;
  }

  .footer-links {
    text-align: left;
  }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 27, 35, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(226, 27, 35, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 27, 35, 0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .menu {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-container.active {
    right: 0;
  }

  .menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .menu > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .menu > li > a {
    padding: 18px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    border-left: 3px solid #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    margin-left: 15px;
    margin-top: 0;
    display: block;
  }

  .submenu.active {
    max-height: 500px;
    padding: 10px 0;
  }

  .submenu::before {
    display: none;
  }

  /* Nested dropdowns on mobile */
  .dropdown .submenu .dropdown .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    margin-left: 15px;
    margin-top: 0;
    display: block;
  }

  .dropdown .submenu .dropdown.active .submenu {
    max-height: 500px;
    padding: 10px 0;
  }

  .dropdown .submenu .dropdown .submenu::before {
    display: none;
  }

  .dropdown.active > a i {
    transform: rotate(180deg);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .who-we-are h2,
  .our-services h2,
  .home-solutions h2 {
    font-size: 2.2rem;
  }

  .service-image {
    height: 200px;
  }

  /* Contact Section - Tablet */
  .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .contact-info > p {
    max-width: 100% !important;
  }

  .contact-section h2 {
    font-size: 2.2rem !important;
    padding: 0 15px !important;
  }

  .contact-form,
  .contact-info {
    padding: 25px 20px !important;
  }

  .contact-form h3,
  .contact-info h3 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-padding {
    padding: 70px 0;
  }

  .solution-card {
    height: 300px;
  }

  .service-image {
    height: 180px;
  }

  /* Contact Section - Mobile */
  .info-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
  }

  .info-icon {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto !important;
  }

  .working-hours {
    padding: 20px !important;
  }

  .working-hours p {
    flex-direction: column !important;
    text-align: center !important;
    gap: 5px !important;
  }

  .contact-section h2 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 576px) {
  .contact-section .section-tag {
    font-size: 16px !important;
    padding: 5px 15px 5px 25px !important;
  }

  .form-control {
    padding: 14px 16px !important;
    font-size: 15px !important;
  }

  .contact-form .btn {
    padding: 16px !important;
    font-size: 16px !important;
  }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 5px 20px rgba(226, 27, 35, 0.3);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #c5171e;
  transform: translateY(-5px);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top: 5px solid var(--primary-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
