/* CSS Variables for Color Palette */
:root {
  --primary-yellow: #eee30e;
  --black: #000000;
  --white: #ffffff;
  --dark-gray: #1a1a1a;
  --light-gray: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
}

/* Section 1: Hero */
.hero-section {
  position: relative;
  min-height: 60vh;
  background: url("../images/solutions/banner/banner-solution.png") center/cover;
  display: flex;
  align-items: center;
  color: var(--white);
}

.breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.solution-banner {
  position: relative;
  z-index: 2;
  text-align: start;
  color: #ffffff;
}

.solution-banner h1 {
  margin-top: 12px;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
}
.hero-section {
  padding: 60px 20px;
}
.solution-space {
  padding: 80px 0px;
}

.breadcrumb a:hover {
  opacity: 0.8;
  color: var(--primary-yellow);
}

.breadcrumb span {
  color: var(--white);
}

.hero-title {
  font-size: 45px;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Section 2: Intro */
.intro-section {
  background: var(--white);
}

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

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-primary-yellow {
  background: var(--primary-yellow);
  color: var(--black);
  padding: 12px 30px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-yellow:hover {
  background: #d4c80c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(238, 227, 14, 0.3);
}

/* Section 3: Gates & Security */
.gates-security-section {
  background: var(--light-gray);
}

.project-card {
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.project-info {
  padding: 1.5rem;
  color: var(--white);
}

.project-info h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.project-details span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-details i {
  color: var(--primary-yellow);
}

/* Sections 4-7: Service Cards */
.service-cards-section {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary-yellow);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.service-card:hover .service-icon {
  background: var(--primary-yellow);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-yellow);
  transition: color 0.3s;
}

.service-card:hover .service-icon i {
  color: var(--black);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 1rem;
}

/* Section 8: How It Works */
.how-it-works-section {
  background: var(--light-gray);
}

.offer-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.offer-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.offer-content {
  padding: 1.5rem;
}

.offer-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
}

.offer-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.read-more:hover {
  opacity: 0.8;
}

/* Section 9: Benefits */
.benefits-section {
  background: var(--white);
}

.benefits-box {
  background: var(--black);
  border-radius: 15px;
  padding: 2.5rem;
  color: var(--white);
  position: relative;
}

.benefits-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--white);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-item img {
  width: 40px;
}

.benefit-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.benefit-item p {
  color: #cccccc;
  margin: 0;
  font-size: 0.95rem;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

/* Section 10: Final CTA */
.cta-section {
  color: var(--white);
  padding: 5rem 0;
  background-image: url(../images/solutions/cta-banner.png);
  background-size: cover;
  background-position: center;
}

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

.cta-subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-yellow-solid {
  background: var(--primary-yellow);
  color: var(--black);
  padding: 15px 35px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-yellow-solid:hover {
  background: #d4c80c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(238, 227, 14, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}

/* Common Styles */
.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* =========================================
   ANIMATIONS & HOVER EFFECTS
   ========================================= */

/* Subtle Hover Zoom for Images */
.intro-section img,
.service-image img,
.process-step-card__img-wrap img,
.benefits-section img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.intro-section .col-lg-6:hover img,
.service-card:hover .service-image img,
.process-step-card:hover .process-step-card__img-wrap img,
.benefits-section .col-lg-6:hover img {
  transform: scale(1.05);
}

/* Subtle Lift Effect for Cards */
.service-card,
.process-step-card,
.offer-card,
.project-card {
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover,
.process-step-card:hover,
.offer-card:hover,
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Smooth Fade In for Content */
.service-content,
.process-step-card__content,
.solution-box {
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Scroll Reveal Base (AOS already handles most, but we can enhance) */
[data-aos] {
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .benefits-box {
    padding: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

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

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

/* Process Step Card Style */
.process-step-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative; /* Ensure card is the reference for icon */
}

.process-step-card:hover {
  transform: translateY(-10px);
}

.process-step-card__img-wrap {
  position: relative;
  overflow: hidden; /* Keep image within clip */
  border-radius: 15px 15px 0 0;
}

.process-step-card__img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.process-step-card__icon {
  position: absolute;
  top: 175px; /* Adjust to overlap image bottom */
  left: 20px;
  width: 50px;
  height: 50px;
  background: black;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 3px solid var(--white);
  z-index: 10; /* High z-index to stay on top */
}
.process-step-card__icon img {
  width: 30px;
}

.process-step-card__content {
  padding: 40px 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.process-step-card__content h4 {
  color: black;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.process-step-card__content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.process-step-card__content .learn-more {
  color: #e31e24; /* Reddish color from image for 'Learn more' */
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.process-step-card__content .learn-more:hover {
  color: #0a3d74;
}

/* View All Services Button */
.btn-view-all {
  background: #e31e24;
  color: var(--white) !important;
  padding: 10px 10px 10px 25px;
  border-radius: 35px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  text-transform: capitalize;
  font-size: 1rem;
}

.btn-view-all:hover {
  background: #0a3d74;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-view-all__icon {
  width: 35px;
  height: 35px;
  background: #0a3d74;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-view-all:hover .btn-view-all__icon {
  background: #e31e24;
}

/* =========================================
SECTION TITLE
========================================= */

.service-main-title {
  margin-bottom: 50px;
}

.service-main-title h2 {
  color: black;
  font-size: 48px;
  font-weight: 700;
  margin-top: 15px;
  line-height: 1.2;
}

.section__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  background-color: var(--primary-yellow);
  padding: 10px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
}

/* =========================================
SERVICE CARD
========================================= */

.service-section {
  background: #f7f8f3;
  padding: 80px 0px;
}
.spiral-section,
.window-grills-section {
  background-color: white;
}

.service-card {
  background: #0b0b0b;
  border: 1px solid rgba(240, 227, 15, 0.15);
  border-left: 5px solid #f0e30f;
  border-radius: 30px;
  padding: 40px;
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #f0e30f;
}

/* =========================================
IMAGE
========================================= */

.service-image {
  position: relative;
  overflow: visible; /* Changed to visible to allow border effects */
  border-radius: 24px;
}

.service-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 24px;
  transition: 0.5s ease;
}

/* =========================================
FUTURISTIC CUT DESIGN
========================================= */

.cut-design {
  position: relative;
  padding: 3px; /* Space for the border effect */
  background: #000000; /* Outer dark black border */
  clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
  border-radius: 10px;
}

.cut-design::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #1a1a1a; /* Inner light black 'glow' line */
  clip-path: polygon(59.5px 0, 100% 0, 100% 100%, 0 100%, 0 59.5px);
  z-index: 1;
  border-radius: 8px;
}

.cut-design img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  clip-path: polygon(58px 0, 100% 0, 100% 100%, 0 100%, 0 58px);
  border-radius: 6px;
}

/* Remove old image-cut div style if it exists */
.image-cut {
  display: none;
}

.service-content {
  padding-left: 30px;
}

.service-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
  text-align: start;
}

.solution-box h5 {
  color: #f0e30f;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: start;
}

.solution-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-box ul li {
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-left: 72px;
  min-height: 52px;
  display: flex;
  align-items: center;
  text-align: start;
  font-size: 16px;
  line-height: 1.5;
}

.solution-box ul li img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  padding: 10px;
  background: #f0e30f;
  border: 1px solid #f0e30f;
  border-radius: 50%;
  object-fit: contain;
}

@media (max-width: 991px) {
  .service-main-title h2 {
    font-size: 36px;
  }
  .service-content {
    padding-left: 0;
    padding-top: 35px;
  }
  .service-image img {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .service-section {
    padding: 70px 0;
  }
  .service-main-title h2 {
    font-size: 30px;
  }
  .service-card {
    padding: 22px;
  }
  .service-image img {
    height: 250px;
  }
  .solution-box ul li {
    padding-left: 65px;
    font-size: 15px;
  }
  .solution-box ul li img {
    width: 42px;
    height: 42px;
    padding: 8px;
  }
}
.service-para {
  color: black !important;
}
.how-solutions-work h2,
.how-solutions-work p {
  color: white;
}
@media (max-width: 600px) {
  .hero-section.banner-hero-sec {
    position: relative;
    min-height: 60vh;
    background: url("../images/solutions/mobile-solution-banner.png")
      center/cover !important;
    display: flex;
    align-items: center;
    color: var(--white);
  }
  .solution-banner h1 {
    margin-top: 12px;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.2;
    width: 347px;
  }
  #fixedWhatsAppIcon {
    z-index: 998;
  }
  .service-content {
    padding-top: 0px;
  }
  .how-solutions-work{
    padding-bottom: 80px;
  }
  .cta-title {
    font-size: 30px;
   
}
.footer__link {
    font-size: 17px !important;
}
.footer-contact-info {
   
    font-size: 17px;
}

}

#scrollup {
  width: 48px;
  height: 50px;
  position: fixed;
  bottom: 15px;
  right: 5px;
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

#scrollup.show {
  opacity: 1;
  pointer-events: auto;
}

#scroll-top i {
  font-size: 30px;
  color: black;
}

.scroll-to-top {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #cfc10d;
  font-size: 20px;
  padding: 0;
  line-height: 20px;
  color: #fff;
  outline: none;
  border: none;
  text-decoration: none;
  transform: translateY(150%);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

#scrollup.show .scroll-to-top {
  transform: translateY(0);
}

