@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Poppins:wght@500;600;700&family=Inter:wght@300;400;500;600&family=Merriweather:wght@400;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", Georgia, serif;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  background: linear-gradient(
      180deg,
      rgba(242, 246, 252, 0.85) 0%,
      rgba(237, 243, 249, 0.85) 50%,
      rgba(242, 246, 252, 0.85) 100%
    ),
    url("assets/images/bodyBg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}


img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(240, 244, 250, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f54a1;
  font-size: 25px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
}

.logo img {
  width: 70px;
  height: 70px;
  padding: 3px;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

/* Animated underline nav links */
.nav-links a,
.nav-links > li > span {
  color: #0f54a1;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f7941d, #f15a24);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links > li > span:hover {
  opacity: 0.9;
}

.menu-btn {
  display: none;
  font-size: 28px;
  color: #0f54a1;
  cursor: pointer;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 100;
  border: 1px solid rgba(15, 84, 161, 0.1);
}

.dropdown-menu.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.dropdown-menu a {
  display: block;
  padding: 14px 20px;
  color: #0f54a1;
  font-size: 14px;
  transition: 0.3s;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(15, 84, 161, 0.1);
  padding-left: 25px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO  */
.hero {
  min-height: 100vh;
  /* background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('assets/images/hero_bg.png') center/cover fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #f7941d 25%,
    #fff 50%,
    #f7941d 75%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(247, 148, 29, 0.3));
}

.hero-content p {
  font-size: clamp(16px, 2vw, 22px);
  margin-bottom: 35px;
  opacity: 0.95;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

/* BUTTONS */
.btn {
  background: linear-gradient(135deg, #f7941d 0%, #f15a24 100%);
  color: #fff;
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: 0.3s;
  box-shadow: 0 4px 20px rgba(247, 148, 29, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(247, 148, 29, 0.5);
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-gray {
  /* background: #f8f9fa; */
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.section-gray > .services-grid,
.section-gray > .projects-carousel-container,
.section-gray > .service-detail-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 50px;
  position: relative;
  background: linear-gradient(
    90deg,
    #0f54a1 0%,
    #1565c0 25%,
    #f7941d 50%,
    #1565c0 75%,
    #0f54a1 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f7941d, #f15a24);
  border-radius: 2px;
}

/* ABOUT */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #f7941d;
  transition: 0.3s;
}

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

.feature-card h4 {
  color: #0f54a1;
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
}

/* SERVICES GRID (Homepage) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid .service-link {
  grid-column: span 2;
}

.services-grid .service-link:nth-child(7) {
  grid-column: 2 / 4;
}

.services-grid .service-link:nth-child(8) {
  grid-column: 4 / 6;
}

.service-card {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
}

.service-card h4 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-size: 17px;
  z-index: 2;
  border-bottom: 3px solid #f7941d;
  padding-bottom: 10px;
}

/* INDUSTRIES GRID */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(15, 84, 161, 0.12);
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 50%,
    rgba(15, 84, 161, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(247, 148, 29, 0.5);
  box-shadow: 0 14px 45px rgba(247, 148, 29, 0.25);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0) saturate(100%) invert(33%) sepia(77%) saturate(2110%)
    hue-rotate(191deg) brightness(93%) contrast(92%);
}

.industry-card:hover img {
  transform: translateY(-8px) rotate(10deg) scale(1.15);
  filter: drop-shadow(0 8px 16px rgba(247, 148, 29, 0.4));
}

.industry-card h4 {
  color: #0f54a1;
  font-size: 17px;
  transition: all 0.3s;
  position: relative;
}

.industry-card:hover h4 {
  color: #f7941d;
  transform: translateY(-3px);
}

/* PROJECTS CAROUSEL */
.projects-carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.projects-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 40px;
  list-style: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.project-card-carousel {
  width: 380px;
  min-width: 380px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: center;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.project-card-carousel img {
  width: 380px;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-carousel:hover img {
  transform: scale(1.04);
}

.project-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.05) 70%,
    transparent 100%
  );
  padding: 60px 20px 20px;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.project-card-carousel:hover .project-meta {
  background: linear-gradient(
    to top,
    rgba(15, 84, 161, 0.95) 0%,
    rgba(15, 84, 161, 0.85) 70%,
    transparent 100%
  );
}

.project-meta h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  color: #0f54a1;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
  background: rgba(247, 148, 29, 0.9);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aaa;
  opacity: 0.6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 22px;
  background: #f7941d;
  opacity: 1;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  border-left: 4px solid #f7941d;
}

.contact-info-box p {
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: 0.3s;
}

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

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* FOOTER */
.footer {
  background: #1a1a2e;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer h4 {
  color: #f7941d;
  margin-bottom: 20px;
  font-size: 20px;
}

.footer p {
  line-height: 1.8;
  opacity: 0.85;
  font-size: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin: 12px 0;
}

.footer-links a {
  color: #fff;
  opacity: 0.85;
  transition: 0.3s;
  font-size: 14px;
}

.footer-links a:hover {
  opacity: 1;
  color: #f7941d;
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* SERVICE PAGE HERO */
.service-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 140px 20px 80px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.service-hero.hero-service1 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("assets/images/service1hero_bg.webp") center/cover fixed;
}

.service-hero.hero-service2 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("assets/images/service2hero_bg.webp") center/cover fixed;
}

.service-hero.hero-service3 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("assets/images/service3hero_2_bg.webp") center/cover fixed;
}

.service-hero.hero-service4 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("assets/images/energy_solutions.jpg") center/cover fixed;
}

.service-hero-content {
  max-width: 800px;
}

.service-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f7941d 0%, #f15a24 100%);
  color: #fff;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.service-hero-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #f7941d 25%,
    #fff 50%,
    #f7941d 75%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
  filter: drop-shadow(0 0 20px rgba(247, 148, 29, 0.3));
}

.service-hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* INTRO BOX */
.intro-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4ff 100%);
  padding: 40px;
  border-radius: 16px;
  border-left: 5px solid #f7941d;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.intro-box p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  text-align: justify;
  margin: 0;
}

.service-detail-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  counter-reset: service-counter;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  counter-increment: service-counter;
}

/* Animated gradient border */
.service-detail-card::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    45deg,
    #f7941d,
    #f15a24,
    #0f54a1,
    #1565c0,
    #f7941d
  );
  background-size: 400% 400%;
  border-radius: 23px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  animation: gradientBorder 3s ease infinite;
}

/* Glow shadow */
.service-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 84, 161, 0.2),
    0 0 40px rgba(247, 148, 29, 0.15);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-detail-card:hover {
  transform: translateY(-12px);
}

.service-detail-card:hover::before {
  opacity: 1;
}

.service-detail-card:hover::after {
  opacity: 1;
}

.service-detail-card.reverse {
  direction: rtl;
}

.service-detail-card.reverse > * {
  direction: ltr;
}

.sdc-image {
  height: 100%;
  min-height: 300px;
  max-height: 450px;
  overflow: hidden;
  position: relative;
}

.sdc-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 84, 161, 0.3) 0%,
    transparent 50%,
    rgba(247, 148, 29, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.5s;
}

.service-detail-card:hover .sdc-image::after {
  opacity: 1;
}

.sdc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-detail-card:hover .sdc-image img {
  transform: scale(1.12);
}

/* Content section */
.sdc-content {
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
  min-height: 300px;
}

.sdc-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(247, 148, 29, 0.08) 50%
  );
  transition: all 0.4s;
}

.service-detail-card:hover .sdc-content::before {
  width: 150px;
  height: 150px;
}

.sdc-content::after {
  content: "0" counter(service-counter);
  position: absolute;
  bottom: 20px;
  right: 25px;
  font-size: 60px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: rgba(15, 84, 161, 0.06);
  transition: all 0.4s;
  line-height: 1;
}

.service-detail-card:hover .sdc-content::after {
  color: rgba(247, 148, 29, 0.15);
  transform: scale(1.1);
}

.sdc-content h3 {
  font-size: 28px;
  color: #0f54a1;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 18px;
  transition: all 0.3s;
}

.sdc-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f7941d, #f15a24);
  border-radius: 2px;
  transition: width 0.4s;
}

.service-detail-card:hover .sdc-content h3::after {
  width: 100px;
}

.service-detail-card:hover .sdc-content h3 {
  transform: translateX(5px);
}

/* Tagline */
.sdc-tagline {
  font-style: italic;
  color: #f7941d;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 500;
  position: relative;
  padding-left: 25px;
  transition: all 0.3s;
}

.sdc-tagline::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 0.5;
    transform: translateY(-50%) scale(1.2);
  }
}

.service-detail-card:hover .sdc-tagline {
  transform: translateX(5px);
  color: #f15a24;
}

.sdc-content > p:last-of-type {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  text-align: justify;
  transition: all 0.3s;
}

.service-detail-card:hover .sdc-content > p:last-of-type {
  color: #333;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #0f54a1 0%, #1565c0 50%, #0f54a1 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 60%
  );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 15px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: none;
}

.btn-outline-white:hover {
  background: #fff;
  color: #0f54a1;
  transform: translateY(-3px);
}

/* Active link in dropdown */
.dropdown-menu a.active-link {
  background: rgba(247, 148, 29, 0.2);
  border-left: 3px solid #f7941d;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-carousel-container {
    padding: 0 50px;
  }

  .industry-card {
    width: calc(50% - 15px);
  }
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-card.reverse {
    direction: ltr;
  }

  .sdc-image {
    min-height: 280px;
  }

  .sdc-content {
    padding: 35px;
  }

  .sdc-content h3 {
    font-size: 24px;
  }

  .sdc-content::after {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid rgba(15, 84, 161, 0.1);
  }

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

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    margin-top: 10px;
    box-shadow: none;
  }

  .about-features {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 16px;
    opacity: 0.7;
  }

  .carousel-nav.prev {
    left: 0;
  }

  .carousel-nav.next {
    right: 0;
  }

  .carousel-dots{
    margin-top: 12px;
  }

  .carousel-dot.active{
    width: 18px;
  }

  .industry-card {
    width: calc(50% - 12px);
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-carousel-container {
    padding: 0 14px;
  }

  .projects-carousel {
    gap: 18px;
    padding-bottom: 22px;
  }

  .project-card-carousel {
    width: 80vw;
    min-width: 80vw;
    max-width: 80vw;
    border-radius: 14px;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 15px 60px;
  }

  .section {
    padding: 60px 15px;
  }

  .industry-card {
    width: 100%;
    min-width: unset;
  }

  .service-hero {
    min-height: 60vh;
    padding: 120px 15px 60px;
  }

  .intro-box {
    padding: 25px;
  }

  .intro-box p {
    font-size: 15px;
  }

  .sdc-image {
    min-height: 220px;
  }

  .sdc-content {
    padding: 28px;
  }

  .sdc-content h3 {
    font-size: 21px;
  }

  .sdc-content p {
    font-size: 14px;
  }

  .sdc-tagline {
    font-size: 14px;
  }

  .sdc-content::after {
    font-size: 40px;
    bottom: 15px;
    right: 15px;
  }

  .cta-banner {
    padding: 60px 15px;
  }

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

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

/* LET'S BUILD TOGETHER SECTION */
.build-together-section {
  background: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.build-together-content {
  max-width: 900px;
  margin: 0 auto;
}

.build-together-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  color: #0f54a1;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.build-together-content .lead-text {
  font-size: clamp(16px, 2vw, 20px);
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.build-together-content .tagline-text {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #f7941d;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 600px) {
  .build-together-section {
    padding: 60px 15px;
  }
}

/* Mobile Dropdown */
@media (max-width: 768px) {
  .menu-btn {
    width: 32px;
    height: 24px;
    cursor: pointer;
    position: relative;
    display: block;
    z-index: 2000;
  }

  /* Three bars */
  .menu-btn::before,
  .menu-btn::after,
  .menu-btn span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0f54a1;
    transition: 0.35s ease;
    border-radius: 2px;
  }

  .menu-btn::before {
    top: 0;
  }

  .menu-btn::after {
    bottom: 0;
  }

  .menu-btn span {
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-btn.active::before {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-btn.active::after {
    transform: translateY(-10px) rotate(-45deg);
  }

  .menu-btn.active span {
    opacity: 0;
  }
}

.section {
  padding: 40px 20px 60px !important;
}

/* Hero video */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}

/*  Dark overlay  */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Mobile  */
@media (max-width: 600px) {
  .hero {
    height: 65vh;
    padding-top: 120px;
  }

  .hero-video {
    width: 180%;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }
}

/* Grid for mobile */
@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
  }

  .industry-card {
    height: 180px;
    padding: 15px;
  }

  .industry-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .industry-card h4 {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .industry-card {
    height: 160px;
    padding: 12px;
  }

  .industry-card img {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
  }

  .industry-card h4 {
    font-size: 13px;
    line-height: 1.3;
  }
}

/* HERO MOBILE FIX */
@media (max-width: 600px) {
  .hero {
    height: 70vh;
    min-height: 500px;
    padding: 120px 15px 60px;
  }

  .hero-video {
    width: auto;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
  }

  .hero-content {
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .hero .btn {
    padding: 14px 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 65vh;
    min-height: 450px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .industries-grid {
    gap: 12px;
  }

  .industry-card {
    height: 150px;
    padding: 10px;
  }

  .industry-card img {
    width: 40px;
    height: 40px;
  }

  .industry-card h4 {
    font-size: 12px;
  }
}

/* SERVICES GRID - Mobile Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .services-grid .service-link {
    grid-column: span 1 !important;
  }

  .services-grid .service-link:nth-child(7),
  .services-grid .service-link:nth-child(8) {
    grid-column: span 1 !important;
  }

  .service-card {
    height: 240px;
  }

  .service-card h4 {
    font-size: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .services-grid .service-link {
    grid-column: span 1 !important;
  }

  .service-card {
    height: 220px;
  }

  .service-card h4 {
    font-size: 16px;
    bottom: 18px;
    left: 18px;
    right: 18px;
    padding-bottom: 8px;
    border-bottom-width: 2.5px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    gap: 15px;
  }

  .service-card {
    height: 200px;
    border-radius: 10px;
  }

  .service-card h4 {
    font-size: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }
}

/* CONTACT IMAGE SECTION */
.contact-image {
  position: relative;
  height: 550px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(15, 84, 161, 0.92) 0%,
    rgba(15, 84, 161, 0.8) 50%,
    transparent 100%
  );
  padding: 40px 30px 30px;
}

.contact-overlay h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #f7941d 25%,
    #fff 50%,
    #f7941d 75%,
    #fff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(247, 148, 29, 0.3));
}

.contact-overlay p {
  color: #fff;
  font-size: 16px;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .contact-image {
    height: 300px;
  }

  .contact-overlay {
    padding: 30px 25px 25px;
  }

  .contact-overlay h3 {
    font-size: 22px;
  }

  .contact-overlay p {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .contact-image {
    height: 250px;
    margin-bottom: 20px;
  }

  .contact-overlay {
    padding: 25px 20px 20px;
  }

  .contact-overlay h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .contact-overlay p {
    font-size: 13px;
  }
}

/*  HERO FIX FOR TABLETS  */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
  }
}

/*  TABLET FIX: SERVICES GRID  */
@media (min-width: 768px) and (max-width: 1024px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 20px;
  }

  .services-grid .service-link {
    grid-column: span 1 !important;
  }

  .service-card {
    height: 260px;
    border-radius: 14px;
  }

  .service-card img {
    height: 100%;
    object-fit: cover;
  }

  .service-card h4 {
    font-size: 16px;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
}

/*  TABLET FIX: INDUSTRIES GRID  */
@media (min-width: 768px) and (max-width: 1024px) {
  .industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 0 20px;
  }

  .industry-card {
    width: 100%;
    height: 200px;
    padding: 18px;
  }

  .industry-card img {
    width: 55px;
    height: 55px;
    margin-bottom: 14px;
  }

  .industry-card h4 {
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
  }
}

/* PERFORMANCE FIX */
@media (max-width: 1024px) {
  body,
  .service-hero {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .industry-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
  }
}

@media (hover: none) {
  .industry-card:hover,
  .service-card:hover,
  .project-card-carousel:hover {
    transform: none;
    box-shadow: none;
  }
}