@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;600;700&display=swap');

:root {
  --primary-blue: #007bff;
  --accent-green: #28a745;
  --secondary-blue: #0056b3;

  --dark-gray: #1f2933;
  --mid-gray: #6c757d;
  --light-gray: #f8f9fa;
  --border-gray: #dee2e6;

  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 font-family: "source-sans-pro", "Calibri", "Candara", "optima", "Arial", "sans-serif";
}

h1, h2, h3, h4, h5, h6 {
  font-family: "source-sans-pro", "Calibri", "Candara", "optima", "Arial", "sans-serif";
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 13px 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
  flex-shrink: 0;
}

.logo {
  height: 50px;              /* default */
  width: auto;
  max-width: 142px;
  transition: 
    height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* When navbar is scrolled */
.navbar.scrolled .logo {
  height: 30px;
  opacity: 0.85;             /* subtle fade */
  transform: scale(0.95);    /* smooth feel */
}

.navbar nav a {
  margin-left: 30px;
  /* color: var(--dark-gray); */
  color:#ffffff;
  text-decoration: none;
  font-size: 15px;
}



.navbar nav {
  display: flex;
  align-items: center;
}

.navbar nav a:hover {
  color: var(--primary-blue);
}

.navbar nav a.active {
  color: var(--primary-blue);
  font-weight: bold;
}

/* Scrolled navbar styles */
.navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.navbar.scrolled nav a {
  color: #000000;
}

.navbar.scrolled nav a:hover {
  color: var(--primary-blue);
}

/* MAIN */
/* main {
  margin-top: 80px;
} */
/* ================= HERO SLIDER ================= */
/* HERO SECTION */
.hero {
  position:relative;
  height: 65vh;
  min-height: 610px;
  max-height: 700px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slides {
  display: flex;
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.8s ease-in-out;
}

/* dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid #fff;
  cursor: pointer;
}

.hero-dots span.active {
  background: #fff;
  transform: scale(1.4);
}

/* Dark overlay – lighter now */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to right, rgb(34 70 149 / 85%), rgb(27 157 31 / 45%)); */
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.45)
  );
}

/* Hero Video */
.hero-video {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 730px;
  height: 340px;
  border-radius: 20px;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: rgba(15, 23, 42, 0.5); /* Optional overlay */
}

/* Intro Slider Section */
.intro-slider-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 500px;
  overflow: hidden;
  margin: 50px 0;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: #ffffff;
  padding: 80px 70px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  color: #e5e7eb;
}

.hero-btn {
  display: inline-block;
  padding: 12px 34px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  border-radius: 10px;
}

.hero-btn:hover {
  background: var(--accent-green);
}
/* =========================
   INTRO VIDEO SECTION
   ========================= */

.intro-video-section {
  padding: 60px 10% 30px;
  margin-bottom: 0;
  background: #f6f6f6;
}

.intro-video-box {
  background: #ffffff;
  border-radius: 40px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text-1{
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.intro-text-1 h2 {
  font-size: 34px;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.intro-text-2{
  width: 100%;
  max-width: 700px;
  color: #3e3e3e;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: center;
}

.intro-text-3{
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  object-fit: cover;
}

.intro-text-4{
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

/* Left text */
.intro-text h2 {
  font-size: 34px;
  color: #2b2b2b;
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 16px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Button */
.intro-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 10px 34px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.35);
}

/* Right video */
/* .intro-video iframe {
  width: 100%;
  height: 320px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
} */

/* Responsive */
/* @media (max-width: 900px) {
  .intro-video-box {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .intro-text h2 {
    font-size: 28px;
  }

  .intro-video video {
    height: 260px;
  }
} */

/* CONTACT CTA */
.contact-cta {
  position: relative;
  background-image: url("images/have-any-query.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;

  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  overflow: hidden;
}

.contact-cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #ffffff;
}

.contact-cta p {
  margin-bottom: 25px;
  color: #d1d5db;
  margin-bottom: 28px;
  line-height: 1.6;
}
.contact-cta h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Dark overlay (PNG still visible) */
.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.75); /* softer overlay */
  z-index: 0;
}
/* Keep content above overlay */
.contact-cta h2,
.contact-cta p,
.contact-cta a {
  position: relative;
  z-index: 1;
}
/* Button */
.contact-cta a {
  display: inline-block;
  padding: 5px 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 0.4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.35);
}

.logo-slider {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 35px ;
  
}

.track {
  display: flex;
  width: calc(200px * 10); /* logo width × total logos */
  animation: scroll 20s linear infinite;
}

.track img {
  width: 190px;
  height: 50px;
  object-fit: contain;
  padding: 0 30px;
}

.track img:hover {
  filter: grayscale(0%);
}
/* .logo-slider:hover .logo-track {
  animation-play-state: paused;
} */

/* animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ================= privacy policy= term&conditions ================= */

.privacy{
  padding: 40px 10% 30px;
  font-size: 14px;
}

.terms{
  text-align: center;
}

.submenu {
  padding-left: 50px;   /* left spacing */
  margin-top: 5px;     /* parent se gap */
}

.terms-conditions-cta{
  position: relative;
    background-image: url(images/query.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    overflow: hidden;
    height: 300px;
}

.privacy-policy-cta{
  position: relative;
    background-image: url(images/privacy.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    overflow: hidden;
    height: 300px;
}



/* ================= FOOTER ================= */

/* ===========================
   FOOTER – ENERGY THEME
   SAME AS IMPORTANCE SECTION
   =========================== */

.footer {
  position: relative;
  padding: 45px 8% 35px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;

  background-color: #f5f5f5;
  background-size: cover;
  background-position: center;

  color: #000000;
  overflow: hidden;
}

/* Light overlay for footer - removed for light background */
.footer::before {
  display: none;
}

/* Bring content above overlay */
.footer > * {
  position: relative;
  z-index: 1;
}

/* ===========================
   LEFT SIDE
   =========================== */
.footer-left,
.footer-right {
  padding-top: 10px;
}

.footer-left {
  flex: 1;
  text-align: center;
  padding-top: 0;
}

/* .logo-icun {
  width: 205px;
  margin-bottom: 0px;
  height: 50px;
  margin-top: -25px;
}
.logo-imag{
  max-width: 84%;
  height: 82px;
  display: block;
} */


.footer-left h3 {
  display: none;
}

.footer-left p {
  font-size: 16px; /* Increased */
  color: #000000;
  margin-bottom: 8px;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.office-section {
  margin-bottom: 30px;
  text-align: left;
}

.office-section h4 {
  font-size: 18px;
  color: #0581e8;
  margin-bottom: 10px;
}

.office-section p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 5px;
  color: #404041;
}

.footer-logo {
  margin-top: 20px;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

/* Expert Help Button */
.expert-help-btn {
  position: fixed;
  left: 0;
  bottom: 150px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: white;
  padding: 10px 5px;
  border-radius: 5px 0 0 5px;
  border: unset;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1001;
  font-size: 12px;
  font-weight: bold;
  transition: background 0.3s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.expert-help-btn:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 1001;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn a {
  display: block;
  background: #25d366;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.whatsapp-btn a:hover {
  background: #128c7e;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Expert Modal */
.expert-modals {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.expert-modal {
 position: fixed;
  bottom: 100px;
  right: 0px;
  left: 0px;
  bottom: 0px;
 width: 100%;
  height: 100%;
  padding: 20px;
  background-color: rgba(0,0,0,0.5);  
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 0.3s ease;
  z-index: 1002;
  justify-content: center;
  align-items: center; 
}

.expert-modal.active {
  transform: scale(1);
}

.expert-modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.expert-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.expert-close-h3 {
 text-align: center;
 margin-bottom: 10px;
}

.expert-close:hover {
  color: #000;
}

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

.expert-form input,
.expert-form textarea {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
}

.expert-form textarea {
  resize: vertical;
  min-height: 100px;
}

.expert-form button {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: white;
  padding: 12px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.expert-form button:hover {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 0px;
  margin-left: 0px;
  text-align: center;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-blue), var(--accent-green));
  border: 1px solid rgba(255, 255, 255, 0.25);

  color: #ffffff;
  font-size: 18px;

  transition: all 0.35s ease;
}

.footer-social a:hover {
  background: linear-gradient(145deg, var(--secondary-blue), var(--accent-green));
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

/* ===========================
   middle SIDE 
   =========================== */
.footer-middle {
   width: 30%;
   flex-shrink: 0;
   padding-top: 0;
   text-align: center;
}

.footer-middle ul {
   list-style-type: none;
   

}

.footer-right h3 {
  font-size: 24px;
  color: var(--accent-green);
  margin-bottom: 20px;
}
   

/* ===========================
   RIGHT SIDE 
   =========================== */

.footer-right {
   width: 30%;
   flex-shrink: 0;
   padding-top: 0;
   text-align: center;

}

.footer-right h4 {
  font-size: 18px;
  color: #0581e8;
  margin-bottom: 20px;
}

.Certification-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.Certification-logo {
  width: 100px;
  height: 66px;
  opacity: 1.7;
  transition: opacity 0.3s ease;
 
}

.Certification-logo:hover {
  opacity: 1;
}

.footer-right h3 {
  font-size: 24px;
  color: var(--accent-green);
  margin-bottom: 20px;
}



/* Footer Bottom Bar */
.footer-bottom {
  background: #ffffff;
  padding: 0px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom-left {
  font-size: 14px;
  color: #666;
}

.footer-bottom-right a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  margin-left: 10px;
}

.footer-bottom-right a:hover {
  color: var(--primary-blue);
}




/* ================= SERVICES HOME PAGE ================= */

/* Section */
.home-services-cards {
  display: flex;
  justify-content: center;
  padding: 100px 0;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;   /* 👈 THIS creates left/right gap */
  height: 360px;
  margin: 0 auto;
  padding: 30px 0;
}

.slider-wrapper-img{
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 55%;
  opacity: 0;
  z-index: 1;
  transition: all 0.8s ease;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card title as TEXT OVERLAY on image */
.slide .card-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CENTER */
.slide.active {
  width: 70%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 5;

  padding: 10px 0;
  margin: auto;
}

/* LEFT */
.slide.prev {
  transform: translate(-120%, -50%) scale(0.85);
  opacity: 1;
  z-index: 3;
}

/* RIGHT */
.slide.next {
  transform: translate(20%, -50%) scale(0.85);
  opacity: 1;
  z-index: 3;
}

/* HIDDEN OTHERS */
.slide:not(.active):not(.prev):not(.next) {
  opacity: 0;
  pointer-events: none;
}

/* Mobile Slider */
@media(max-width:768px){
  .slider-wrapper {
    max-width: 900px;
    height: 320px;
  }

  .slide{
    border-radius: 16px;
    max-height: 220px;
    overflow: hidden !important;
  }

  .slide.active{
    width: 85%;
    max-width: none;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    z-index: 10;
  }

  .slide.prev{
    transform: translateX(-65%) scale(0.85);
  }

  .slide.next{
    transform: translateX(15%) scale(0.85);
  }
  
  .slide:not(.active):not(.prev):not(.next) {
    opacity: 0;
    transform: translateX(-25%);
  }
  
  .slide .card-title {
    font-size: 14px;
    bottom: 15px;
    padding: 8px;
  }
}



/* ===== GRID LAYOUT (3 cards per row ALWAYS) ===== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 30px;
}

/* Card */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Image */
.service-card img {
  width: 100%;
  height: 240px; /* FIXED HEIGHT – no shrinking */
  object-fit:  fill;
  transition: transform 0.5s ease;
}

/* ===== FIXED TITLE (slightly above bottom) ===== */
.card-title {
  position: absolute;
  bottom: -20px; /* ⬅ moved UP */
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}

/* ===== HOVER OVERLAY (SMALL HEIGHT like before) ===== */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 110px; /* ⬅ SMALL overlay height */
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.95),
    rgba(40, 167, 69, 0.95)
  );
  color: #ffffff;
  padding: 18px 16px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  text-align: center;
  z-index: 2;
}

.card-content p {
  font-size: 14px;
  line-height: 1.4;
}

/* ===== HOVER EFFECTS ===== */
.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .card-content {
  transform: translateY(0);
}

.service-card:hover .card-title {
  opacity: 0;
}
.explore-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.95),
    rgba(40, 167, 69, 0.95)
  );
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.95),
    rgba(40, 167, 69, 0.95)
  );
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
  }
}

@media (max-width: 600px) {
  .cards-container {
    grid-template-columns: 1fr; /* 1 per row */
  }
}
/* =========================
   FEATURED AREAS GRID importance of energy management
   ========================= */

.featured-areas {
  padding: 60px 0;
  background: #fafafa;
}

.featured-areas h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-blue);
}

.featured-areas h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  margin: 14px auto 0;
}

.featured-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 in a row */
  gap: 0; /* no spacing between cards */
  width: 100%;
  margin: auto;
}

.featured-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 280px; /* adjust per design */
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.featured-card:hover {
  transform: scale(1.03);
}

/* Text overlay */
.featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark semi overlay */
  color: #fff;
  text-align: center;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* h3 at bottom by default */
  transition: all 0.35s ease;
}

.featured-overlay h3 {
  font-size: 22px;
  margin-bottom: 0;
  font-weight: 600;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.featured-overlay p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;
}

.featured-card:hover .featured-overlay h3 {
  transform: translateY(-30px); /* slide up */
}

.featured-card:hover .featured-overlay p {
  opacity: 1;
  transform: translateY(0);
}

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

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

/* ================= TESTIMONIALS ================= */

.testimonials {
  padding: 80px 10%;
  background: var(--light-gray);
  text-align: center;
}

.testimonials h2 {
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary-blue);
}

.testimonials h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
  margin: 14px auto 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.testimonial p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mid-gray);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial cite {
  font-weight: 600;
  color: var(--primary-blue);
}

/* ================= SERVICES RENDER PAGE ================= */

.services {
  padding: 40px 10% 90px;
  background: #ffffff;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.services-header p {
  max-width: 700px;
  margin: auto;
  color: #555;
  line-height: 1.7;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 90px;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-row img {
  width: 45%;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  height: 242px;
}

.service-content {
  width: 55%;
  height: 284px;
 /* height jisme scroll aayega */
  overflow-y: auto;
  padding: 20px;
  border-radius: 12px;
  scroll-behavior: smooth;

  /* Firefox */
  scrollbar-width: none;
}


/* Chrome, Edge, Safari */
.service-content::-webkit-scrollbar {
  width: 6px;
}

.service-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

.service-content::-webkit-scrollbar-track {
  background: transparent;
}

/* Default state → scrollbar hidden */
.service-content {
  scrollbar-width: none;
}
.service-content::-webkit-scrollbar {
  display: none;
}

/* Hover ya scroll pe scrollbar show */
.service-conten:hover {
  scrollbar-width: thin;
}
.service-content:hover::-webkit-scrollbar {
  display: block;
}

.service-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #081d33;
}

.service-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-row img,
  .service-content {
    width: 100%;
  }
}
/* SERVICES ANIMATION BASE */
.service-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px auto;
  max-width: 1100px;

  opacity: 0;
  transform: translateX(100px); /* default from right */
  transition: all 0.8s ease-out;
}

/* From LEFT */
.service-row.reverse {
  flex-direction: row-reverse;
  transform: translateX(-100px);
}

/* When visible */
.service-row.show {
  opacity: 1;
  transform: translateX(0);
}

/* Images */
.service-row img {
  width: 45%;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  height: 242px;
}

/* Content */
.service-content {
  width: 55%;
}

.service-content ul{
  list-style: none;
  font-size: 16px;
  color: #555;
}
.service-content h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
.challenge {
  font-weight: bold;
}

/*About Section*/
.about {
  padding: 40px 10% 90px;
  background: #ffffff;
}
.about-section {
  background: #f9fbfd;
  padding-bottom: 100px;
}

/* When visible */
.about-row.show {
  opacity: 1;
  transform: translateX(0);
}

/* Content */
.about-content {
  width: 55%;
}

.about-content ul{
  list-style: none;
  font-size: 16px;
}
.about-content h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.focus-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.focus-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.focus-card h3 {
  font-size: 18px;
  color: #081d33;
  margin-bottom: 8px;
}

.focus-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
/* ===== Focus Card Popup ===== */
.focus-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 45, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup box */
.focus-modal-content {
  background: #ffffff;
  width: 75%; /* ⬅ increased width */
  max-width: 850px; /* ⬅ bigger popup */
  border-radius: 16px;
  padding: 32px 36px; /* ⬅ more spacing */
  text-align: center;
  position: relative;
  animation: popupFade 0.35s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* Popup image */
.focus-modal-content img {
  width: 100%;
  height: 300px; /* ⬅ taller image */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 22px;
}

/* Popup heading */
.focus-modal-content h3 {
  font-size: 26px; /* ⬅ larger text */
  color: var(--primary-blue);
  margin-bottom: 14px;
}

/* Popup text */
.focus-modal-content p {
  font-size: 16px; /* ⬅ improved readability */
  color: #555;
  line-height: 1.75;
}

/* Close Button */
.focus-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px; /* ⬅ slightly bigger */
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 10;
}
.focus-modal-close:hover {
  background: var(--accent-green);
  transform: scale(1.12);
}

/* Cursor on image hover */
.focus-card img {
  cursor: pointer;
}

.focus-modal-close:hover {
  background: #f4631e;
  transform: scale(1.12);
}

/* Animation */
@keyframes popupFade {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .focus-modal-content {
    width: 90%;
    padding: 24px;
  }

  .focus-modal-content img {
    height: 220px;
  }

  .focus-modal-content h3 {
    font-size: 22px;
  }

  .focus-modal-content p {
    font-size: 15px;
  }
}
/* =========================
   CONTACT PAGE STYLING
   ========================= */

/* =========================
   CONTACT HEADER
========================= */
.contact-header {
  text-align: center;
  padding: 40px 10% 20px;
  background: #f4f7fb;
}

.contact-header h1 {
  font-size: 40px;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 16px;
  color: #555;
  max-width: 850px;
  margin: 0 auto 6px;
  line-height: 1.7;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  padding: 30px 10% 60px;
  background: #f7f9fc;
}

.contact-container {
  display: flex;
  gap: 60px;
  background: #ffffff;
  padding: 60px;
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

/* LEFT SIDE */
.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #0a2540;
}

.contact-info p {
  font-size: 15px;
  color: #555;
  margin-bottom: 22px;
  line-height: 1.7;
}

/* INFO BLOCK WITH ICON */
.info-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.info-block .icon {
  font-size: 22px;
  color: #1e90ff;
  margin-top: 4px;
}

.info-block h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #0a2540;
}

.info-block p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

/* RIGHT SIDE FORM */
.contact-form {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #cfd6e4;
  font-size: 15px;
  background: #ffffff;
}

.contact-form textarea {
  resize: none;
  min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e90ff;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.contact-form button {
  padding: 14px 36px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-green)
  );
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-blue),
    var(--accent-green)
  );
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    padding: 40px;
  }
}
