/* ================================TOPBAR MAIN DESIGN============================== */
#site-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

#topbar,
#header {
  position: relative;
  /* purana fixed/absolute ho to hata dein */
  top: 0;
}

.topbar {
  width: 100%;
  min-height: 45px;
  background: #101820;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  position: fixed;
  z-index: 999;
  overflow: hidden;
  border-bottom: 1px solid rgba(109, 195, 238, 0.25);
}

:root {
  --topbar-h: 40px;
  /* apne topbar ki asli height likhein */
  --header-h: 80px;
  /* apne header ki asli height likhein */
}

/* 1. Topbar: sabse upar */
#topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-h);
  z-index: 998;
  /* header se ek upar */
  display: flex;
  align-items: center;
  background: var(--ink, #0b2a33);
  color: #fff;
  transition: transform 0.35s ease;
}

#header {
  position: fixed;
  top: var(--topbar-h);
  /* topbar ki height jitna neeche */
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 997;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(10, 111, 128, 0.12);
  transition: top 0.35s ease;
}

/* 3. Content header ke peeche na chhupe */
html {
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h));
}

#hero {
  padding-top: calc(var(--topbar-h) + var(--header-h) + 40px);
}

body.scrolled #topbar {
  transform: translateY(-100%);
}

body.scrolled #header {
  top: 0;
}

/* TOPBAR CONTAINER */

.topbar .container {
  max-width: 1400px;
  padding-top: 11px;
  padding-bottom: 11px;
}

/* LEFT & RIGHT CONTENT */

.topbar .d-flex {
  flex-wrap: wrap;
}

.topbar .align-items-center {
  align-items: center !important;
}

.topbar .gap-3 {
  gap: 15px !important;
}

/* =====================================
   TAGLINE DESIGN
===================================== */

.topbar .badge-tagline {
  display: inline-block;
  color: #6dc3ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  animation: taglineFade 1.2s ease both;
}

/* =====================================
   GST BADGE DESIGN
===================================== */

.topbar .badge-gst {
  display: inline-flex;
  align-items: center;
  background: rgba(109, 195, 238, 0.12);
  color: #ffffff;
  padding: 5px 12px;
  border: 1px solid rgba(109, 195, 238, 0.35);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.35s ease;
}

.topbar .badge-gst i {
  color: #6dc3ee;
  font-size: 13px;
}

.topbar .badge-gst:hover {
  background: #6dc3ee;
  color: #101820;
  border-color: #6dc3ee;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(109, 195, 238, 0.25);
}

.topbar .badge-gst:hover i {
  color: #101820;
}

/* =====================================
   LOCATION DESIGN
===================================== */

.topbar .fa-map-marker-alt {
  color: #6dc3ee !important;
  font-size: 14px;
  animation: locationPulse 2s infinite;
}

.topbar .text-danger {
  color: #6dc3ee !important;
}

/* =====================================
   PHONE & WHATSAPP LINKS
===================================== */

.topbar a {
  color: #d5e0e7;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar a i {
  color: #6dc3ee;
  font-size: 14px;
  transition: all 0.3s ease;
}

.topbar a:hover {
  color: #6dc3ee;
  transform: translateY(-2px);
}

.topbar a:hover i {
  transform: scale(1.2);
  color: #ffffff;
}

/* PHONE ICON ANIMATION */

.topbar .fa-phone {
  animation: phoneRing 2.5s infinite;
}

/* WHATSAPP ICON */

.topbar .fa-whatsapp {
  font-size: 16px;
}

/* =====================================
   TOPBAR ANIMATIONS
===================================== */

@keyframes taglineFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

@keyframes locationPulse {

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

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

@keyframes phoneRing {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-12deg);
  }

  20%,
  40% {
    transform: rotate(12deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

/* =====================================
   TOPBAR HOVER LINE EFFECT
===================================== */

.topbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      #6dc3ee,
      #ffffff,
      #6dc3ee,
      transparent);
  animation: topbarLine 5s linear infinite;
}

@keyframes topbarLine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

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

/* LARGE LAPTOP */

@media (max-width: 1200px) {

  .topbar {
    font-size: 11px;
  }

  .topbar .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar .gap-3 {
    gap: 10px !important;
  }
}

/* TABLET */

@media (max-width: 991px) {

  .topbar .d-flex {
    gap: 8px;
  }

  .topbar .badge-tagline {
    font-size: 10px;
  }

  .topbar .badge-gst {
    font-size: 10px;
    padding: 4px 8px;
  }

  .topbar a {
    font-size: 11px;
  }
}

/* MOBILE */

@media (max-width: 767px) {

  .topbar {
    display: none !important;
  }

}

/* SMALL LAPTOP */

@media (min-width: 768px) and (max-width: 850px) {

  .topbar .container {
    max-width: 100%;
  }

  .topbar .d-flex {
    gap: 6px !important;
  }

  .topbar .badge-tagline {
    letter-spacing: 0;
  }
}

/* REDUCE MOTION FOR ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  .topbar *,
  .topbar::after {
    animation: none !important;
    transition: none !important;
  }

}

@media (max-width: 575.98px) {
  :root {
    --topbar-h: 0px;
  }

  #topbar {
    display: none;
  }
}

/*----------------------------------------*/
/* ==================================
   GLOBAL NAVBAR
================================== */

:root {
  --primary: #6dc3ee;
  --black: #101820;
  --dark: #18232d;
  --gray: #687782;
  --white: #ffffff;
}

#header {
  width: 100%;
  height: 85px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(16, 24, 32, 0.97);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(109, 195, 238, 0.2);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

/* CONTAINER */

#header .container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================
   LOGO DESIGN
================================== */

.navbar-logo {
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: logoAnimation 1s ease;
}

.navbar-logo span {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}

.navbar-logo:hover {
  color: var(--white);
}

/* ==================================
   NAVIGATION MENU
================================== */

#header .navbar {
  padding: 0;
}

#header .navbar ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#header .navbar ul li {
  position: relative;
  animation: menuAnimation 0.7s ease both;
}

#header .navbar ul li:nth-child(1) {
  animation-delay: .1s;
}

#header .navbar ul li:nth-child(2) {
  animation-delay: .2s;
}

#header .navbar ul li:nth-child(3) {
  animation-delay: .3s;
}

#header .navbar ul li:nth-child(4) {
  animation-delay: .4s;
}

#header .navbar ul li:nth-child(5) {
  animation-delay: .5s;
}

#header .navbar ul li:nth-child(6) {
  animation-delay: .6s;
}

#header .navbar ul li:nth-child(7) {
  animation-delay: .7s;
}

/* NAV LINKS */

#header .nav-link {
  color: #dce5eb;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 12px;
  display: block;
  text-decoration: none;
  position: relative;
  transition: all .35s ease;
}

/* ANIMATED UNDERLINE */

#header .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 5px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width .35s ease;
  border-radius: 20px;
}

#header .nav-link:hover::after,
#header .nav-link.active::after {
  width: 65%;
}

/* LINK HOVER */

#header .nav-link:hover,
#header .nav-link.active {
  color: var(--primary);
  transform: translateY(-3px);
}

/* ==================================
   GET STARTED BUTTON
================================== */

#header .getstarted {
  background: var(--primary);
  color: var(--black);
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-left: 10px;
  transition: all .4s ease;
  border: 1px solid var(--primary);
}

#header .getstarted i {
  transition: transform .4s ease;
}

#header .getstarted:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(109, 195, 238, .2);
}

#header .getstarted:hover i {
  transform: translate(4px, -4px);
}

/* ==================================
   MOBILE MENU ICON
================================== */

.mobile-toggle {
  display: none;
  color: var(--primary);
  font-size: 32px;
  cursor: pointer;
  transition: .3s ease;
}

.mobile-toggle:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* ==================================
   NAVBAR ANIMATIONS
================================== */

@keyframes logoAnimation {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuAnimation {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1199px) {

  #header .container {
    padding: 0 18px;
  }

  .navbar-logo {
    font-size: 23px;
  }

  #header .navbar ul {
    gap: 2px;
  }

  #header .nav-link {
    font-size: 12px;
    padding: 12px 8px;
  }

  #header .getstarted {
    padding: 11px 13px;
    font-size: 12px;
  }
}

/* ==================================
   MOBILE NAVBAR
================================== */

@media (max-width: 991px) {

  #header {
    height: 75px;
  }

  .mobile-toggle {
    display: block;
  }

  #header .navbar {
    position: absolute;
    top: 85px;
    left: 15px;
    right: 15px;
    width: auto;
    background: var(--dark);
    border: 1px solid rgba(109, 195, 238, .25);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all .35s ease;
  }

  #header .navbar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  #header .navbar ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    animation: none;
  }

  #header .navbar ul li:last-child {
    border: none;
  }

  #header .nav-link {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    color: var(--white);
  }

  #header .nav-link::after {
    display: none;
  }

  #header .nav-link:hover,
  #header .nav-link.active {
    background: rgba(109, 195, 238, .12);
    color: var(--primary);
    padding-left: 22px;
    transform: none;
    border-radius: 5px;
  }

  #header .getstarted {
    width: 100%;
    justify-content: center;
    margin: 12px 0 0;
  }
}

/* ==================================
   SMALL MOBILE
================================== */

@media (max-width: 575px) {

  #header {
    height: 70px;
  }

  #header .container {
    padding: 0 16px;
  }

  .navbar-logo {
    font-size: 22px;
    gap: 5px;
  }

  .navbar-logo span {
    font-size: 11px;
  }

  .mobile-toggle {
    font-size: 29px;
  }

  #header .navbar {
    top: 78px;
    left: 10px;
    right: 10px;
  }
}

/* ==================================
   REDUCED MOTION
================================== */

/* ==================================
   GLOBAL NAVBAR
================================== */

:root {
  --primary: #6dc3ee;
  --black: #101820;
  --dark: #18232d;
  --gray: #687782;
  --white: #ffffff;
}

#header {
  width: 100%;
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(16, 24, 32, 0.97);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(109, 195, 238, 0.2);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

/* CONTAINER */

#header .container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================
   LOGO DESIGN
================================== */

.navbar-logo {
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: logoAnimation 1s ease;
}

.navbar-logo span {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}

.navbar-logo:hover {
  color: var(--white);
}

/* ==================================
   NAVIGATION MENU
================================== */

#header .navbar {
  padding: 0;
}

#header .navbar ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#header .navbar ul li {
  position: relative;
  animation: menuAnimation 0.7s ease both;
}

#header .navbar ul li:nth-child(1) {
  animation-delay: .1s;
}

#header .navbar ul li:nth-child(2) {
  animation-delay: .2s;
}

#header .navbar ul li:nth-child(3) {
  animation-delay: .3s;
}

#header .navbar ul li:nth-child(4) {
  animation-delay: .4s;
}

#header .navbar ul li:nth-child(5) {
  animation-delay: .5s;
}

#header .navbar ul li:nth-child(6) {
  animation-delay: .6s;
}

#header .navbar ul li:nth-child(7) {
  animation-delay: .7s;
}

/* NAV LINKS */

#header .nav-link {
  color: #dce5eb;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 12px;
  display: block;
  text-decoration: none;
  position: relative;
  transition: all .35s ease;
}

/* ANIMATED UNDERLINE */

#header .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 5px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width .35s ease;
  border-radius: 20px;
}

#header .nav-link:hover::after,
#header .nav-link.active::after {
  width: 65%;
}

/* LINK HOVER */

#header .nav-link:hover,
#header .nav-link.active {
  color: var(--primary);
  transform: translateY(-3px);
}

/* ==================================
   GET STARTED BUTTON
================================== */

#header .getstarted {
  background: var(--primary);
  color: var(--black);
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-left: 10px;
  transition: all .4s ease;
  border: 1px solid var(--primary);
}

#header .getstarted i {
  transition: transform .4s ease;
}

#header .getstarted:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(109, 195, 238, .2);
}

#header .getstarted:hover i {
  transform: translate(4px, -4px);
}

/* ==================================
   MOBILE MENU ICON
================================== */

.mobile-toggle {
  display: none;
  color: var(--primary);
  font-size: 32px;
  cursor: pointer;
  transition: .3s ease;
}

.mobile-toggle:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* ==================================
   NAVBAR ANIMATIONS
================================== */

@keyframes logoAnimation {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuAnimation {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1199px) {

  #header .container {
    padding: 0 18px;
  }

  .navbar-logo {
    font-size: 23px;
  }

  #header .navbar ul {
    gap: 2px;
  }

  #header .nav-link {
    font-size: 12px;
    padding: 12px 8px;
  }

  #header .getstarted {
    padding: 11px 13px;
    font-size: 12px;
  }
}

/* ==================================
   MOBILE NAVBAR
================================== */

@media (max-width: 991px) {

  #header {
    height: 75px;
  }

  .mobile-toggle {
    display: block;
  }

  #header .navbar {
    position: absolute;
    top: 85px;
    left: 15px;
    right: 15px;
    width: auto;
    background: var(--dark);
    border: 1px solid rgba(109, 195, 238, .25);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all .35s ease;
  }

  #header .navbar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  #header .navbar ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    animation: none;
  }

  #header .navbar ul li:last-child {
    border: none;
  }

  #header .nav-link {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    color: var(--white);
  }

  #header .nav-link::after {
    display: none;
  }

  #header .nav-link:hover,
  #header .nav-link.active {
    background: rgba(109, 195, 238, .12);
    color: var(--primary);
    padding-left: 22px;
    transform: none;
    border-radius: 5px;
  }

  #header .getstarted {
    width: 100%;
    justify-content: center;
    margin: 12px 0 0;
  }
}

/* ==================================
   SMALL MOBILE
================================== */

@media (max-width: 575px) {

  #header {
    height: 70px;
  }

  #header .container {
    padding: 0 16px;
  }

  .navbar-logo {
    font-size: 22px;
    gap: 5px;
  }

  .navbar-logo span {
    font-size: 11px;
  }

  .mobile-toggle {
    font-size: 29px;
  }

  #header .navbar {
    top: 78px;
    left: 10px;
    right: 10px;
  }
}

/* ==================================
   REDUCED MOTION
================================== */

/* ==================================
   GLOBAL NAVBAR
================================== */

:root {
  --primary: #6dc3ee;
  --black: #101820;
  --dark: #18232d;
  --gray: #687782;
  --white: #ffffff;
}

#header {
  width: 100%;
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(16, 24, 32, 0.97);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(109, 195, 238, 0.2);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

/* CONTAINER */

#header .container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================
   LOGO DESIGN
================================== */

.navbar-logo {
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: logoAnimation 1s ease;
}

.navbar-logo span {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}

.navbar-logo:hover {
  color: var(--white);
}

/* ==================================
   NAVIGATION MENU
================================== */

#header .navbar {
  padding: 0;
}

#header .navbar ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#header .navbar ul li {
  position: relative;
  animation: menuAnimation 0.7s ease both;
}

#header .navbar ul li:nth-child(1) {
  animation-delay: .1s;
}

#header .navbar ul li:nth-child(2) {
  animation-delay: .2s;
}

#header .navbar ul li:nth-child(3) {
  animation-delay: .3s;
}

#header .navbar ul li:nth-child(4) {
  animation-delay: .4s;
}

#header .navbar ul li:nth-child(5) {
  animation-delay: .5s;
}

#header .navbar ul li:nth-child(6) {
  animation-delay: .6s;
}

#header .navbar ul li:nth-child(7) {
  animation-delay: .7s;
}

/* NAV LINKS */

#header .nav-link {
  color: #dce5eb;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 12px;
  display: block;
  text-decoration: none;
  position: relative;
  transition: all .35s ease;
}

/* ANIMATED UNDERLINE */

#header .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 5px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width .35s ease;
  border-radius: 20px;
}

#header .nav-link:hover::after,
#header .nav-link.active::after {
  width: 65%;
}

/* LINK HOVER */

#header .nav-link:hover,
#header .nav-link.active {
  color: var(--primary);
  transform: translateY(-3px);
}

/* ==================================
   GET STARTED BUTTON
================================== */

#header .getstarted {
  background: var(--primary);
  color: var(--black);
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-left: 10px;
  transition: all .4s ease;
  border: 1px solid var(--primary);
}

#header .getstarted i {
  transition: transform .4s ease;
}

#header .getstarted:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(109, 195, 238, .2);
}

#header .getstarted:hover i {
  transform: translate(4px, -4px);
}

/* ==================================
   MOBILE MENU ICON
================================== */

.mobile-toggle {
  display: none;
  color: var(--primary);
  font-size: 32px;
  cursor: pointer;
  transition: .3s ease;
}

.mobile-toggle:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* ==================================
   NAVBAR ANIMATIONS
================================== */

@keyframes logoAnimation {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuAnimation {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1199px) {

  #header .container {
    padding: 0 18px;
  }

  .navbar-logo {
    font-size: 23px;
  }

  #header .navbar ul {
    gap: 2px;
  }

  #header .nav-link {
    font-size: 12px;
    padding: 12px 8px;
  }

  #header .getstarted {
    padding: 11px 13px;
    font-size: 12px;
  }
}

/* ==================================
   MOBILE NAVBAR
================================== */

@media (max-width: 991px) {

  #header {
    height: 75px;
  }

  .mobile-toggle {
    display: block;
  }

  #header .navbar {
    position: absolute;
    top: 85px;
    left: 15px;
    right: 15px;
    width: auto;
    background: var(--dark);
    border: 1px solid rgba(109, 195, 238, .25);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all .35s ease;
  }

  #header .navbar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  #header .navbar ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    animation: none;
  }

  #header .navbar ul li:last-child {
    border: none;
  }

  #header .nav-link {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    color: var(--white);
  }

  #header .nav-link::after {
    display: none;
  }

  #header .nav-link:hover,
  #header .nav-link.active {
    background: rgba(109, 195, 238, .12);
    color: var(--primary);
    padding-left: 22px;
    transform: none;
    border-radius: 5px;
  }

  #header .getstarted {
    width: 100%;
    justify-content: center;
    margin: 12px 0 0;
  }
}

/* ==================================
   SMALL MOBILE
================================== */

@media (max-width: 575px) {

  #header {
    height: 70px;
  }

  #header .container {
    padding: 0 16px;
  }

  .navbar-logo {
    font-size: 22px;
    gap: 5px;
  }

  .navbar-logo span {
    font-size: 11px;
  }

  .mobile-toggle {
    font-size: 29px;
  }

  #header .navbar {
    top: 78px;
    left: 10px;
    right: 10px;
  }
}

/* ==================================
   REDUCED MOTION
================================== */

/* ==================================
   GLOBAL NAVBAR
================================== */

:root {
  --primary: #6dc3ee;
  --black: #101820;
  --dark: #18232d;
  --gray: #687782;
  --white: #ffffff;
}

#header {
  width: 100%;
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(16, 24, 32, 0.97);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(109, 195, 238, 0.2);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}

/* CONTAINER */

#header .container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================
   LOGO DESIGN
================================== */

.navbar-logo {
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: logoAnimation 1s ease;
}

.navbar-logo span {
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
}

.navbar-logo:hover {
  color: var(--white);
}

/* ==================================
   NAVIGATION MENU
================================== */

#header .navbar {
  padding: 0;
}

#header .navbar ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#header .navbar ul li {
  position: relative;
  animation: menuAnimation 0.7s ease both;
}

#header .navbar ul li:nth-child(1) {
  animation-delay: .1s;
}

#header .navbar ul li:nth-child(2) {
  animation-delay: .2s;
}

#header .navbar ul li:nth-child(3) {
  animation-delay: .3s;
}

#header .navbar ul li:nth-child(4) {
  animation-delay: .4s;
}

#header .navbar ul li:nth-child(5) {
  animation-delay: .5s;
}

#header .navbar ul li:nth-child(6) {
  animation-delay: .6s;
}

#header .navbar ul li:nth-child(7) {
  animation-delay: .7s;
}

/* NAV LINKS */

#header .nav-link {
  color: #dce5eb;
  font-size: 13px;
  font-weight: 600;
  padding: 13px 12px;
  display: block;
  text-decoration: none;
  position: relative;
  transition: all .35s ease;
}

/* ANIMATED UNDERLINE */

#header .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 5px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width .35s ease;
  border-radius: 20px;
}

#header .nav-link:hover::after,
#header .nav-link.active::after {
  width: 65%;
}

/* LINK HOVER */

#header .nav-link:hover,
#header .nav-link.active {
  color: var(--primary);
  transform: translateY(-3px);
}

/* ==================================
   GET STARTED BUTTON
================================== */

#header .getstarted {
  background: var(--primary);
  color: var(--black);
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-left: 10px;
  transition: all .4s ease;
  border: 1px solid var(--primary);
}

#header .getstarted i {
  transition: transform .4s ease;
}

#header .getstarted:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(109, 195, 238, .2);
}

#header .getstarted:hover i {
  transform: translate(4px, -4px);
}

/* ==================================
   MOBILE MENU ICON
================================== */

.mobile-toggle {
  display: none;
  color: var(--primary);
  font-size: 32px;
  cursor: pointer;
  transition: .3s ease;
}

.mobile-toggle:hover {
  color: var(--white);
  transform: rotate(90deg);
}

/* ==================================
   NAVBAR ANIMATIONS
================================== */

@keyframes logoAnimation {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes menuAnimation {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1199px) {

  #header .container {
    padding: 0 18px;
  }

  .navbar-logo {
    font-size: 23px;
  }

  #header .navbar ul {
    gap: 2px;
  }

  #header .nav-link {
    font-size: 12px;
    padding: 12px 8px;
  }

  #header .getstarted {
    padding: 11px 13px;
    font-size: 12px;
  }
}

/* ==================================
   MOBILE NAVBAR
================================== */

@media (max-width: 991px) {

  #header {
    height: 75px;
  }

  .mobile-toggle {
    display: block;
  }

  #header .navbar {
    position: absolute;
    top: 85px;
    left: 15px;
    right: 15px;
    width: auto;
    background: var(--dark);
    border: 1px solid rgba(109, 195, 238, .25);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all .35s ease;
  }

  #header .navbar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #header .navbar ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  #header .navbar ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    animation: none;
  }

  #header .navbar ul li:last-child {
    border: none;
  }

  #header .nav-link {
    width: 100%;
    padding: 15px;
    font-size: 14px;
    color: var(--white);
  }

  #header .nav-link::after {
    display: none;
  }

  #header .nav-link:hover,
  #header .nav-link.active {
    background: rgba(109, 195, 238, .12);
    color: var(--primary);
    padding-left: 22px;
    transform: none;
    border-radius: 5px;
  }

  #header .getstarted {
    width: 100%;
    justify-content: center;
    margin: 12px 0 0;
  }
}

/* ==================================
   SMALL MOBILE
================================== */

@media (max-width: 575px) {

  #header {
    height: 70px;
  }

  #header .container {
    padding: 0 16px;
  }

  .navbar-logo {
    font-size: 22px;
    gap: 5px;
  }

  .navbar-logo span {
    font-size: 11px;
  }

  .mobile-toggle {
    font-size: 29px;
  }

  #header .navbar {
    top: 78px;
    left: 10px;
    right: 10px;
  }
}

/* ==================================
   REDUCED MOTION
================================== */

/* =========================================
   HEADER MAIN DESIGN
========================================= */

#header {
  width: 100%;
  height: 85px;
  background: #101820;
  position: absolute;
  top: 51px;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(109, 195, 238, 0.15);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

/* HEADER CONTAINER */

#header .container {
  max-width: 1400px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   LOGO DESIGN
========================================= */

#header .logo {
  margin: 0;
  padding: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  animation: logoFade 1s ease;
}

#header .logo a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

#header .logo a::before {
  content: "NILUSKY";
  color: #ffffff;
}

#header .logo a::after {
  content: " INDUSTRIES";
  color: #6dc3ee;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* =========================================
   NAVBAR MAIN
========================================= */

#header .navbar {
  padding: 0;
  display: flex;
  align-items: center;
}

#header .navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
}

/* NAVIGATION LINKS */

#header .navbar ul li {
  position: relative;
  white-space: nowrap;
}

#header .navbar ul li a {
  display: inline-flex;
  align-items: center;
  padding: 12px 13px;
  color: #d8e1e8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.35s ease;
}

/* UNDERLINE ANIMATION */

#header .navbar ul li:not(:last-child) .nav-link::before {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #6dc3ee;
  transform: translateX(-50%);
  transition: width 0.35s ease;
  border-radius: 10px;
}

#header .navbar ul li .nav-link:hover::before,
#header .navbar ul li .nav-link.active::before {
  width: 65%;
}

/* HOVER EFFECT */

#header .navbar ul li a:hover,
#header .navbar ul li a.active {
  color: #6dc3ee;
  transform: translateY(-2px);
}

/* =========================================
   GET STARTED BUTTON
========================================= */

#header .navbar .getstarted {
  background: #6dc3ee;
  color: #101820 !important;
  padding: 12px 22px;
  border-radius: 5px;
  margin-left: 12px;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid #6dc3ee;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

#header .navbar .getstarted::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transition: all 0.4s ease;
  z-index: -1;
}

#header .navbar .getstarted:hover::before {
  left: 0;
}

#header .navbar .getstarted:hover {
  color: #101820 !important;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(109, 195, 238, 0.25);
}

/* =========================================
   MOBILE TOGGLE ICON
========================================= */

#header .mobile-nav-toggle {
  display: none;
  font-size: 30px;
  color: #6dc3ee;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 15px;
}

#header .mobile-nav-toggle:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

/* =========================================
   HEADER ANIMATIONS
========================================= */

@keyframes logoFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

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

@keyframes menuFade {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

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

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

@media (max-width: 1199px) {

  #header {
    height: 80px;
  }

  #header .container {
    padding-left: 25px;
    padding-right: 25px;
  }

  #header .logo {
    font-size: 24px;
  }

  #header .navbar ul li a {
    padding: 10px 9px;
    font-size: 12px;
  }

  #header .navbar .getstarted {
    padding: 11px 15px;
    margin-left: 5px;
  }
}

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

@media (max-width: 991px) {

  #header {
    height: 75px;
  }

  #header .container {
    justify-content: space-between;
  }

  #header .mobile-nav-toggle {
    display: block;
  }

  #header .navbar {
    position: static;
  }

  /* MOBILE MENU */

  #header .navbar ul {
    display: none;
    position: absolute;
    top: 85px;
    left: 15px;
    right: 15px;
    padding: 15px;
    background: #18232d;
    border: 1px solid rgba(109, 195, 238, 0.25);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    animation: menuFade 0.35s ease;
  }

  /* MENU OPEN CLASS */

  #header .navbar.mobile-nav-active ul {
    display: flex;
  }

  #header .navbar ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  #header .navbar ul li:last-child {
    border-bottom: none;
  }

  #header .navbar ul li a {
    width: 100%;
    display: flex;
    padding: 14px 15px;
    font-size: 14px;
    color: #ffffff;
  }

  #header .navbar ul li .nav-link::before {
    display: none;
  }

  #header .navbar ul li a:hover,
  #header .navbar ul li a.active {
    background: rgba(109, 195, 238, 0.12);
    color: #6dc3ee;
    padding-left: 22px;
    transform: none;
    border-radius: 4px;
  }

  #header .navbar .getstarted {
    width: 100%;
    justify-content: center;
    margin: 12px 0 0;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575px) {

  #header {
    height: 70px;
  }

  #header .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  #header .logo {
    font-size: 23px;
  }

  #header .logo a::after {
    font-size: 12px;
  }

  #header .mobile-nav-toggle {
    font-size: 28px;
  }

  #header .navbar ul {
    top: 80px;
    left: 10px;
    right: 10px;
  }
}

/* =========================================
   SCROLL OFFSET
========================================= */

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

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  #header *,
  #header *::before,
  #header *::after {
    animation: none !important;
    transition: none !important;
  }

}



/*================Hero==============*/
/* =========================================================
   HERO SECTION  –  Bottling / Energy-efficient tech theme
   Fonts: Bricolage Grotesque (headings) + Figtree (body)
   Works with Bootstrap 5 + AOS (AOS wali animation ko
   disturb nahi karta, kyunki hum sirf andar ke elements
   ko animate kar rahe hain)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600&display=swap");

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #0b2a33;
  /* deep teal-navy: text */
  --water: #12a4b8;
  /* main brand accent */
  --water-deep: #0a6f80;
  --cap: #ffb000;
  /* bottle-cap amber: CTA */
  --mist: #eaf5f7;
  /* light background */
  --white: #ffffff;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Hero wrapper ---------- */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(90px, 12vh, 140px) 0 clamp(70px, 9vh, 110px);
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(18, 164, 184, 0.22), transparent 70%),
    radial-gradient(45% 45% at 5% 90%, rgba(255, 176, 0, 0.14), transparent 70%),
    linear-gradient(160deg, #f7fcfd 0%, var(--mist) 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: bgDrift 18s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  from {
    background-position: 0% 0%, 100% 100%, 0 0;
  }

  to {
    background-position: 100% 30%, 0% 70%, 0 0;
  }
}

/* Rising bubbles (pure CSS, no extra HTML) */
#hero::before,
#hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-repeat: repeat-x;
  opacity: 0.55;
}

#hero::before {
  background-image:
    radial-gradient(circle at 10% 90%, rgba(18, 164, 184, .35) 0 6px, transparent 7px),
    radial-gradient(circle at 30% 95%, rgba(18, 164, 184, .28) 0 10px, transparent 11px),
    radial-gradient(circle at 55% 92%, rgba(18, 164, 184, .32) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 97%, rgba(18, 164, 184, .25) 0 12px, transparent 13px),
    radial-gradient(circle at 92% 93%, rgba(18, 164, 184, .3) 0 7px, transparent 8px);
  background-size: 100% 100%;
  animation: bubbles 14s linear infinite;
}

#hero::after {
  background-image:
    radial-gradient(circle at 20% 92%, rgba(255, 176, 0, .28) 0 4px, transparent 5px),
    radial-gradient(circle at 45% 98%, rgba(18, 164, 184, .25) 0 8px, transparent 9px),
    radial-gradient(circle at 68% 94%, rgba(255, 176, 0, .22) 0 5px, transparent 6px),
    radial-gradient(circle at 88% 99%, rgba(18, 164, 184, .28) 0 9px, transparent 10px);
  animation: bubbles 22s linear infinite;
  animation-delay: -8s;
}

@keyframes bubbles {
  0% {
    transform: translateY(30%);
    opacity: 0;
  }

  15% {
    opacity: 0.6;
  }

  85% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-45%);
    opacity: 0;
  }
}

/* Conveyor belt strip at the bottom: bottling line ka feel */
#hero .container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -64px;
  height: 10px;
  border-radius: 99px;
  background:
    repeating-linear-gradient(90deg,
      var(--water-deep) 0 28px,
      transparent 28px 44px);
  opacity: 0.35;
  animation: conveyor 1.8s linear infinite;
}

@keyframes conveyor {
  to {
    background-position: 44px 0;
  }
}

#hero .container {
  position: relative;
}

#hero .row {
  align-items: center;
  row-gap: 2.5rem;
}

/* ---------- 3. Left content ---------- */

/* Logo (h1.logo) */
#hero h1.logo {
  margin: 0 0 1.25rem;
  line-height: 1;
  animation: riseIn 0.9s var(--ease-out) both;
  filter: none;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(11, 42, 51, 0.25);
}

#hero h1.logo a {
  display: inline-block;
}

#hero h1.logo img {
  display: block;
  height: auto !important;
  width: clamp(150px, 20vw, 250px) !important;
  max-width: 100%;
  margin: 0 !important;
  transition: transform 0.5s var(--ease-out), filter 0.5s ease;
}

#hero h1.logo a:hover img {
  transform: scale(1.05) rotate(-1deg);
  filter: drop-shadow(0 10px 18px rgba(18, 164, 184, 0.35));
}

/* Slogan */
#hero h1.slogan {
  position: relative;
  margin: 0 0 1rem;
  padding-bottom: 0.9rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 40%, var(--water-deep) 60%, var(--ink) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    riseIn 1s 0.15s var(--ease-out) both,
    textSheen 6s 1.5s ease-in-out infinite;
}

/* Slogan ke neeche ek "liquid fill" line */
#hero h1.slogan::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 90px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform-origin: left;
  animation: lineGrow 1.2s 0.9s var(--ease-out) both;
}

@keyframes textSheen {

  0%,
  100% {
    background-position: 100% 0;
  }

  50% {
    background-position: 0% 0;
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Sub heading */
#hero h2 {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: rgba(11, 42, 51, 0.78);
  animation: riseIn 1s 0.3s var(--ease-out) both;
}

/* Button wrapper */
#hero .d-flex.justify-content-lg-start {
  animation: riseIn 1s 0.45s var(--ease-out) both;
}

/* ---------- 4. CTA button ---------- */
#hero .btn-get-started {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  overflow: hidden;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  background: var(--cap);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(255, 176, 0, 0.38);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    background-color 0.3s ease;
  animation: pulseGlow 2.8s 2s ease-in-out infinite;
}

/* shine sweep */
#hero .btn-get-started::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

/* arrow icon (CSS only) */
#hero .btn-get-started::after {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}

#hero .btn-get-started:hover,
#hero .btn-get-started:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(255, 176, 0, 0.5);
  background: #ffc02e;
}

#hero .btn-get-started:hover::before {
  left: 130%;
}

#hero .btn-get-started:hover::after {
  transform: translateX(5px) rotate(45deg);
}

#hero .btn-get-started:active {
  transform: translateY(-1px) scale(0.98);
}

#hero .btn-get-started:focus-visible {
  outline: 3px solid var(--water-deep);
  outline-offset: 4px;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 10px 24px rgba(255, 176, 0, 0.38);
  }

  50% {
    box-shadow: 0 10px 34px rgba(255, 176, 0, 0.65), 0 0 0 10px rgba(255, 176, 0, 0.12);
  }
}

/* ---------- 5. Right image ---------- */
#hero .hero-img {
  position: relative;
  display: flex;
  justify-content: center;
}

/* image ke peeche glowing circle */
#hero .hero-img::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 164, 184, 0.35), transparent 68%);
  filter: blur(30px);
  animation: breathe 6s ease-in-out infinite;
}

#hero .hero-img img {
  width: 100%;
  max-width: 640px;
  height: auto;
  filter: drop-shadow(0 28px 36px rgba(10, 111, 128, 0.3));
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(0.8deg);
  }
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* ---------- 6. Shared entrance animation ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }

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

/* ---------- 7. Responsive ---------- */

/* Large laptops */
@media (max-width: 1199.98px) {
  #hero .hero-img img {
    max-width: 560px;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  #hero {
    min-height: auto;
    padding: 110px 0 90px;
    text-align: center;
  }

  #hero h1.slogan::after {
    left: 50%;
    margin-left: -45px;
    transform-origin: center;
  }

  #hero h2 {
    margin-left: auto;
    margin-right: auto;
  }

  #hero h1.logo {
    display: flex;
    justify-content: center;
  }

  /* image pehle dikhana ho to uncomment karein:
  #hero .hero-img { order: -1; } */

  #hero .hero-img img {
    max-width: 480px;
  }
}

/* Mobiles */
@media (max-width: 575.98px) {
  #hero {
    padding: 90px 0 80px;
  }

  #hero .btn-get-started {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
  }

  #hero .d-flex.justify-content-lg-start {
    width: 100%;
  }

  #hero .hero-img img {
    max-width: 100%;
  }

  #hero .container::after {
    bottom: -44px;
  }
}

/* ---------- 8. Accessibility: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {

  #hero,
  #hero *,
  #hero::before,
  #hero::after,
  #hero .container::after {
    animation: none !important;
    transition: none !important;
  }

  #hero h1.slogan {
    -webkit-text-fill-color: var(--ink);
    background: none;
  }
}





:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 1. Section ---------- */
#clients.clients {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 0;
  overflow: hidden;
  background:
    radial-gradient(50% 120% at 50% 0%, rgba(18, 164, 184, 0.10), transparent 70%),
    var(--mist);
}

/* upar aur neeche patli rang-birangi line, jo dheere dheere sarakti hai */
#clients.clients::before,
#clients.clients::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent,
      var(--water),
      var(--cap),
      var(--water),
      transparent);
  background-size: 200% 100%;
  opacity: 0.55;
  animation: lineSlide 6s linear infinite;
}

#clients.clients::before {
  top: 0;
}

#clients.clients::after {
  bottom: 0;
  animation-direction: reverse;
}

@keyframes lineSlide {
  to {
    background-position: -200% 0;
  }
}

/* ---------- 2. Logo grid ---------- */
#clients .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
  align-items: stretch;
}

/* Har logo ek "tile" mein */
#clients .row>div {
  position: relative;
  padding: 0 calc(var(--bs-gutter-x) * 0.5);
}

#clients .row>div>img {
  width: 100%;
  max-width: 170px;
  height: 90px;
  padding: 16px 20px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.08);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(10, 111, 128, 0.07);

  /* shuru mein halka grey, hover par asli rang */
  filter: grayscale(1) opacity(0.65);
  transition:
    transform 0.45s var(--ease-out),
    filter 0.4s ease,
    box-shadow 0.45s ease,
    border-color 0.3s ease;
}

/* Hover: logo uthta hai aur rang aa jata hai */
#clients .row>div>img:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-8px) scale(1.06);
  border-color: rgba(18, 164, 184, 0.55);
  box-shadow:
    0 18px 34px rgba(10, 111, 128, 0.22),
    0 0 0 4px rgba(18, 164, 184, 0.12);
}

/* Modern CSS :has() - ek logo par mouse jaye to baaki dheere ho jayein */
@supports selector(:has(*)) {
  #clients .row:has(img:hover)>div>img:not(:hover) {
    filter: grayscale(1) opacity(0.35);
    transform: scale(0.96);
  }
}

/* Keyboard / touch ke liye */
#clients .row>div>img:active {
  transform: translateY(-3px) scale(1.02);
}

/* ---------- 3. Entrance animation ---------- */

/* Note: .row par AOS (zoom-in) lagi hai, isliye animation
   hum bachchon (columns) par laga rahe hain. */
@keyframes logoIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.9);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Naye browsers: scroll karte hi ek-ek karke aate hain */
@supports (animation-timeline: view()) {
  #clients .row>div {
    animation: logoIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}

/* Purane browsers: page load par stagger */
@supports not (animation-timeline: view()) {
  #clients .row>div {
    animation: logoIn 0.8s var(--ease-out) both;
  }

  #clients .row>div:nth-child(1) {
    animation-delay: 0.05s;
  }

  #clients .row>div:nth-child(2) {
    animation-delay: 0.15s;
  }

  #clients .row>div:nth-child(3) {
    animation-delay: 0.25s;
  }

  #clients .row>div:nth-child(4) {
    animation-delay: 0.35s;
  }

  #clients .row>div:nth-child(5) {
    animation-delay: 0.45s;
  }

  #clients .row>div:nth-child(6) {
    animation-delay: 0.55s;
  }
}

/* Idle: logos halke se upar-neeche (har ek alag speed) */
@keyframes bob {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

#clients .row>div>img {
  animation: bob 5s ease-in-out infinite;
}

#clients .row>div:nth-child(2)>img {
  animation-duration: 6s;
  animation-delay: -1s;
}

#clients .row>div:nth-child(3)>img {
  animation-duration: 5.5s;
  animation-delay: -2s;
}

#clients .row>div:nth-child(4)>img {
  animation-duration: 6.5s;
  animation-delay: -3s;
}

#clients .row>div:nth-child(5)>img {
  animation-duration: 5.2s;
  animation-delay: -4s;
}

#clients .row>div:nth-child(6)>img {
  animation-duration: 6.2s;
  animation-delay: -5s;
}

/* Hover par bobbing ruk jaye */
#clients .row>div>img:hover {
  animation-play-state: paused;
}

/* AOS safety: AOS init na ho to bhi 2.5s baad row dikh jayegi */
#clients [data-aos]:not(.aos-animate) {
  animation: aosSafeClients 0.01s 2.5s forwards;
}

@keyframes aosSafeClients {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 4. Responsive ---------- */

/* Tablet: 4 logos ek line mein (Bootstrap col-md-3) */
@media (max-width: 991.98px) {
  #clients .row>div>img {
    height: 84px;
    max-width: 160px;
  }
}

/* Mobile: 2 logos ek line mein (col-6) */
@media (max-width: 575.98px) {
  #clients.clients {
    padding: 44px 0;
  }

  #clients .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  #clients .row>div>img {
    height: 76px;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    /* mobile par hover nahi hota, isliye logos thode saaf dikhayein */
    filter: grayscale(0.6) opacity(0.85);
  }
}

/* Touch devices par hover wale effects na chalein */
@media (hover: none) {
  #clients .row>div>img:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(10, 111, 128, 0.07);
  }
}

/* ---------- 5. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {

  #clients *,
  #clients.clients::before,
  #clients.clients::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   ABOUT US SECTION
   Bootstrap 5 + AOS ke saath chalta hai.
   hero.css / clients.css jaise hi colors aur style.
   ========================================================= */

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 1. Section ---------- */
#about.about {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(18, 164, 184, 0.10), transparent 70%),
    radial-gradient(35% 40% at 0% 100%, rgba(255, 176, 0, 0.10), transparent 70%),
    #fff;
}

/* ---------- 2. Section title ---------- */
#about .section-title {
  position: relative;
  margin-bottom: clamp(32px, 5vw, 56px);
  text-align: center;
}

#about .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* neeche ki line: beech se dono taraf failti hai */
#about .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  transform-origin: center;
  animation: titleLine 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* ---------- 3. Layout ---------- */
#about .row.content {
  row-gap: 2.5rem;
}

/* ---------- 4. Image ---------- */
#about .row.content>div:first-child {
  position: relative;
  padding-right: clamp(0px, 2vw, 28px);
}

/* image ke peeche offset frame (dotted, dheere ghoomta glow) */
#about .row.content>div:first-child::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: calc(clamp(0px, 2vw, 28px) - 22px);
  bottom: -22px;
  z-index: 0;
  border: 2px dashed rgba(18, 164, 184, 0.55);
  border-radius: 40px 0 40px 0;
  animation: framePulse 5s ease-in-out infinite;
}

/* chhota amber block: "bottle cap" jaisa accent */
#about .row.content>div:first-child::after {
  content: "";
  position: absolute;
  right: calc(clamp(0px, 2vw, 28px) - 14px);
  top: -14px;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 0 22px 0 22px;
  background: linear-gradient(135deg, var(--cap), #ffd35c);
  box-shadow: 0 10px 22px rgba(255, 176, 0, 0.4);
  animation: capFloat 4.5s ease-in-out infinite;
}

@keyframes framePulse {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.7;
  }

  50% {
    transform: translate(6px, 6px);
    opacity: 1;
  }
}

@keyframes capFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-9px) rotate(8deg);
  }
}

/* Asli image (inline style ko !important se override) */
#about .row.content img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 11 / 7;
  object-fit: cover;
  border-radius: 40px 0 40px 0 !important;
  box-shadow: 0 24px 50px rgba(10, 111, 128, 0.25);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s ease;
}

#about .row.content img:hover {
  transform: translateY(-6px) rotate(-0.6deg) scale(1.02);
  box-shadow: 0 34px 64px rgba(10, 111, 128, 0.34);
}

/* ---------- 5. Text ---------- */
#about .row.content p {
  margin: 0 !important;
  max-width: 38rem;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.85;
  color: rgba(11, 42, 51, 0.82);
  text-align: left !important;
  /* justify se gaps bante hain */
  hyphens: auto;
}

#about .row.content p b {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--water-deep);
  /* company naam ke neeche halki highlight patti */
  background: linear-gradient(transparent 62%, rgba(255, 176, 0, 0.35) 62%);
  padding: 0 2px;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: highlight 1.1s 0.8s var(--ease-out) forwards;
}

@keyframes highlight {
  to {
    background-size: 100% 100%;
  }
}

/* p ke baad wali <br> ka gap thoda kam */
#about .row.content br {
  display: block;
  content: "";
  margin-top: 0.4rem;
}

/* ---------- 6. Learn More button ---------- */
#about .btn-learn-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--water-deep);
  border: 2px solid var(--water);
  border-radius: 14px;
  transition: color 0.4s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

/* hover par neeche se paani bharta hai */
#about .btn-learn-more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}

/* arrow */
#about .btn-learn-more::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}

#about .btn-learn-more:hover,
#about .btn-learn-more:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(18, 164, 184, 0.35);
}

#about .btn-learn-more:hover::before,
#about .btn-learn-more:focus-visible::before {
  transform: translateY(0);
}

#about .btn-learn-more:hover::after,
#about .btn-learn-more:focus-visible::after {
  transform: translateX(5px) rotate(45deg);
}

#about .btn-learn-more:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 4px;
}

/* ---------- 7. Entrance animations ---------- */
/* Note: .container par AOS (fade-up) hai, isliye hum
   andar ke elements ko animate kar rahe hain. */

@keyframes imgReveal {
  from {
    clip-path: inset(0 100% 0 0 round 40px 0 40px 0);
    opacity: 0;
  }

  to {
    clip-path: inset(0 0 0 0 round 40px 0 40px 0);
    opacity: 1;
  }
}

@keyframes textIn {
  from {
    opacity: 0;
    transform: translateX(34px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Naye browsers: scroll ke saath image khulti hai */
@supports (animation-timeline: view()) {
  #about .row.content img {
    animation: imgReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 35%;
  }

  #about .row.content>div:last-child {
    animation: textIn linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
  }
}

/* Purane browsers: page load par chalega */
@supports not (animation-timeline: view()) {
  #about .row.content img {
    animation: imgReveal 1.1s 0.2s var(--ease-out) both;
  }

  #about .row.content>div:last-child {
    animation: textIn 1s 0.4s var(--ease-out) both;
  }
}

/* AOS safety: AOS init na ho to bhi 2.5s baad dikh jayega */
#about [data-aos]:not(.aos-animate) {
  animation: aosSafeAbout 0.01s 2.5s forwards;
}

@keyframes aosSafeAbout {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 8. Responsive ---------- */

/* Tablet aur chhote: HTML mein dusra column "col-6" hai, usse poori width dein */
@media (max-width: 991.98px) {
  #about .row.content>div {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #about .row.content>div:first-child {
    padding-right: 0;
    margin-bottom: 1.5rem;
  }

  #about .row.content>div:first-child::before {
    right: -12px;
    left: 16px;
  }

  #about .row.content>div:first-child::after {
    right: -8px;
  }

  #about .row.content p {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  #about.about {
    padding: 54px 0 70px;
  }

  #about .row.content>div:first-child::before {
    top: 14px;
    left: 12px;
    bottom: -14px;
  }

  #about .row.content>div:first-child::after {
    width: 46px;
    height: 46px;
    top: -10px;
  }

  #about .row.content img {
    border-radius: 28px 0 28px 0 !important;
  }

  #about .btn-learn-more {
    width: 100%;
    justify-content: center;
  }
}

/* Touch devices par hover effects hatao */
@media (hover: none) {
  #about .row.content img:hover {
    transform: none;
    box-shadow: 0 24px 50px rgba(10, 111, 128, 0.25);
  }
}

/* ---------- 9. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {

  #about *,
  #about *::before,
  #about *::after {
    animation: none !important;
    transition: none !important;
  }

  #about .row.content p b {
    background-size: 100% 100%;
  }
}

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   A. COMMON: section spacing + title
   ========================================================= */
#portfolio.portfolio,
#product-detail.product {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
}

#portfolio .section-title,
#product-detail .section-title {
  margin-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}

#portfolio .section-title h2,
#product-detail .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

#portfolio .section-title h2::after,
#product-detail .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  animation: titleLine2 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine2 {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

#portfolio .section-title p,
#product-detail .section-title p {
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(11, 42, 51, 0.78);
}

/* naam wali <b> ka inline style override */
#portfolio .section-title p b,
#product-detail .section-title p b {
  font-family: var(--font-head);
  font-size: 1.05em !important;
  color: var(--water-deep) !important;
}

/* mobile par <br> se line tootna band, text khud wrap ho */
@media (max-width: 767.98px) {

  #portfolio .section-title p br,
  #product-detail .section-title p br {
    display: none;
  }
}

/* =========================================================
   B. GALLERY (#portfolio)
   ========================================================= *//* =========================================================
   GALLERY (#portfolio)  +  PRODUCT DETAIL (#product-detail)
   Bootstrap 5 + AOS (+ Isotope/GLightbox) ke saath chalta hai.
   Same colors/fonts jo hero.css, clients.css, about.css mein hain.

   Note: .portfolio-item par transform nahi lagaya, kyunki
   Isotope filter usi par transform/position use karta hai.
   Animations andar ke elements (.portfolio-img, .product-card)
   par hain.
   ========================================================= */

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   A. COMMON: section spacing + title
   ========================================================= */
#portfolio.portfolio,
#product-detail.product {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
}

#portfolio .section-title,
#product-detail .section-title {
  margin-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}

#portfolio .section-title h2,
#product-detail .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

#portfolio .section-title h2::after,
#product-detail .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  animation: titleLine2 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine2 {
  from { transform: translateX(-50%) scaleX(0); }
  to   { transform: translateX(-50%) scaleX(1); }
}

#portfolio .section-title p,
#product-detail .section-title p {
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(11, 42, 51, 0.78);
}

/* naam wali <b> ka inline style override */
#portfolio .section-title p b,
#product-detail .section-title p b {
  font-family: var(--font-head);
  font-size: 1.05em !important;
  color: var(--water-deep) !important;
}

/* mobile par <br> se line tootna band, text khud wrap ho */
@media (max-width: 767.98px) {
  #portfolio .section-title p br,
  #product-detail .section-title p br { display: none; }
}

/* =========================================================
   B. GALLERY (#portfolio)
   ========================================================= */

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   A. COMMON: section spacing + title
   ========================================================= */
#portfolio.portfolio,
#product-detail.product {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
}

#portfolio .section-title,
#product-detail .section-title {
  margin-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}

#portfolio .section-title h2,
#product-detail .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

#portfolio .section-title h2::after,
#product-detail .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  animation: titleLine2 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine2 {
  from { transform: translateX(-50%) scaleX(0); }
  to   { transform: translateX(-50%) scaleX(1); }
}

#portfolio .section-title p,
#product-detail .section-title p {
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(11, 42, 51, 0.78);
}

/* naam wali <b> ka inline style override */
#portfolio .section-title p b,
#product-detail .section-title p b {
  font-family: var(--font-head);
  font-size: 1.05em !important;
  color: var(--water-deep) !important;
}

/* mobile par <br> se line tootna band, text khud wrap ho */
@media (max-width: 767.98px) {
  #portfolio .section-title p br,
  #product-detail .section-title p br { display: none; }
}

/* =========================================================
   B. GALLERY (#portfolio)
   ========================================================= */
#portfolio.portfolio {
  background:
    radial-gradient(40% 40% at 0% 0%, rgba(18, 164, 184, 0.10), transparent 70%),
    #fff;
}

/* ---- Filter pills ---- */
#portfolio #portfolio-flters {
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: 0;
  list-style: none;
}

#portfolio #portfolio-flters li {
  position: relative;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--water-deep);
  background: var(--mist);
  border: 1px solid rgba(18, 164, 184, 0.25);
  border-radius: 99px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

#portfolio #portfolio-flters li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.25);
}

#portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(18, 164, 184, 0.35);
}

/* ---- Grid items ---- */
#portfolio .portfolio-item {
  position: relative;
  padding-bottom: 24px;
}

#portfolio .portfolio-img {
  position: relative;
  overflow: hidden;
  border-radius: 24px 0 24px 0;     /* About section jaisa corner style */
  background: var(--mist);
  box-shadow: 0 14px 30px rgba(10, 111, 128, 0.16);
  transition: box-shadow 0.5s ease, transform 0.5s var(--ease-out);
}

/* inline "border: solid darkgrey 7px" ko hata kar ek sa size */
#portfolio .portfolio-img img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;    /* photo apni asli shape mein, kategi nahi */
  object-fit: contain !important;
  border: 0 !important;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
}

#portfolio .portfolio-item:hover .portfolio-img {
  box-shadow: 0 24px 46px rgba(10, 111, 128, 0.3);
  transform: translateY(-6px);
}
#portfolio .portfolio-item:hover .portfolio-img img {
  transform: none;                  /* zoom band: kinare na katein */
  filter: saturate(1.1);
}

/* ---- Hover overlay (portfolio-info) ---- */
#portfolio .portfolio-info {
  position: absolute;
  top: 0;
  bottom: 24px;
  left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 24px 0 24px 0;
  background: linear-gradient(160deg, rgba(10, 111, 128, 0.78), rgba(11, 42, 51, 0.82));
  opacity: 0;
  transition: opacity 0.45s ease;
}

#portfolio .portfolio-item:hover .portfolio-info,
#portfolio .portfolio-item:focus-within .portfolio-info { opacity: 1; }

/* Khali <a> ke andar icon CSS se banaya hai */
#portfolio .portfolio-info a {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(22px) scale(0.7);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.4s ease,
    background 0.3s ease,
    color 0.3s ease;
}

#portfolio .portfolio-info a.preview-link::before { content: "+"; }
#portfolio .portfolio-info a.details-link::before { content: "\2197"; font-size: 1.3rem; }

#portfolio .portfolio-item:hover .portfolio-info a,
#portfolio .portfolio-item:focus-within .portfolio-info a {
  transform: none;
  opacity: 1;
}
#portfolio .portfolio-item:hover .portfolio-info a.details-link { transition-delay: 0.08s; }

#portfolio .portfolio-info a:hover,
#portfolio .portfolio-info a:focus-visible {
  background: var(--cap);
  color: var(--ink);
  transform: scale(1.12) rotate(8deg);
  outline: none;
}

/* ---- Scroll par card khulte hain (naye browsers) ---- */
@keyframes cardPop {
  from { opacity: 0; scale: 0.9; translate: 0 30px; }
  to   { opacity: 1; scale: 1;   translate: 0 0; }
}

@supports (animation-timeline: view()) {
  #portfolio .portfolio-img {
    animation: cardPop linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

/* =========================================================
   C. PRODUCT DETAIL (#product-detail)
   ========================================================= */

/* Blueprint grid background jo dheere sarakta hai (machinery ka feel) */
#product-detail.product {
  background-color: #f4fafb;
  background-image:
    linear-gradient(rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    radial-gradient(45% 40% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 70%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  animation: blueprintDrift 40s linear infinite;
}

@keyframes blueprintDrift {
  to { background-position: 36px 36px, 36px 36px, 0 0; }
}

/* ---- Card ---- */
#product-detail .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(10, 111, 128, 0.08);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}

/* upar ki rang-birangi patti: hover par left se bharti hai */
#product-detail .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

/* shine sweep */
#product-detail .product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 3;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s ease;
}

#product-detail .product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(18, 164, 184, 0.45);
  box-shadow: 0 26px 48px rgba(10, 111, 128, 0.24);
}
#product-detail .product-card:hover::before { transform: scaleX(1); }
#product-detail .product-card:hover::after  { left: 140%; }

#product-detail .product-card:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* ---- Image area (alag alag inline sizes ko ek jaisa karta hai) ---- */
#product-detail .product-card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(18, 164, 184, 0.16), transparent 65%),
    linear-gradient(180deg, #f2fafb, #e4f3f6);
}

#product-detail .product-card-img-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(10, 111, 128, 0.28));
  animation: machineBob 5s ease-in-out infinite;
  transition: transform 0.6s var(--ease-out);
}

#product-detail .product-card:hover .product-card-img-wrap img {
  transform: scale(1.1) rotate(-2deg);
  animation-play-state: paused;
}

@keyframes machineBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -7px; }
}

/* ---- Badge (inline background rang waisa hi rahega) ---- */
#product-detail .product-card-badge-cap {
  z-index: 2;
  max-width: calc(100% - 1rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem !important;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  border-radius: 12px !important;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 164, 184, 0.45); }
  50%      { box-shadow: 0 0 0 7px rgba(18, 164, 184, 0); }
}

/* ---- Body ---- */
#product-detail .product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1rem 1.1rem;
}

#product-detail .product-card-title {
  margin: 0;
  min-height: 2.6em;                 /* sab cards ki height barabar */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Spec list ---- */
#product-detail .product-card-spec {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(11, 42, 51, 0.78);
}

#product-detail .product-card-spec > div {
  padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(18, 164, 184, 0.28);
}
#product-detail .product-card-spec > div:last-child { border-bottom: 0; }

#product-detail .product-card-spec strong {
  font-weight: 700;
  color: var(--water-deep);
}

/* ---- Button ---- */
#product-detail .btn-primary-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.32);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, color 0.3s ease;
}

/* hover par amber paani bharta hai */
#product-detail .btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
#product-detail .btn-primary-custom:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255, 176, 0, 0.42); }
#product-detail .btn-primary-custom:hover::before { transform: translateY(0); }
#product-detail .btn-primary-custom:active { transform: scale(0.97); }

#product-detail .btn-primary-custom:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* IMPORTANT: HTML mein text "d-none d-sm-inline" span mein hai,
   isliye mobile par button khali dikhta tha. Yeh use theek karta hai. */
#product-detail .btn-prod-quote .d-none.d-sm-inline { display: inline !important; }

/* button ke andar wala <a> poora clickable area le */
#product-detail .btn-prod-quote a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   D. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  #product-detail .product-card-img-wrap { height: 170px; }
}

@media (max-width: 575.98px) {
  #portfolio .portfolio-item { padding-bottom: 16px; }
  #portfolio .portfolio-info { bottom: 16px; }
  #portfolio .portfolio-img,
  #portfolio .portfolio-info { border-radius: 18px 0 18px 0; }

  #product-detail .product-card { border-radius: 16px; }
  #product-detail .product-card-img-wrap { height: 135px; padding: 12px; }
  #product-detail .product-card-body { padding: 0.75rem 0.7rem 0.85rem; gap: 0.5rem; }
  #product-detail .product-card-title { font-size: 0.86rem; }
  #product-detail .product-card-spec { font-size: 0.72rem; }
  #product-detail .btn-primary-custom { font-size: 0.82rem; }
  #product-detail .product-card-badge-cap { font-size: 0.6rem !important; }
}

/* Touch screens: hover nahi hota, isliye overlay hamesha neeche dikhe */
@media (hover: none) {
  #portfolio .portfolio-info {
    top: auto;
    height: 64px;
    opacity: 1;
    align-items: center;
    background: linear-gradient(0deg, rgba(11, 42, 51, 0.7), transparent);
    border-radius: 0;
  }
  #portfolio .portfolio-info a {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    transform: none;
    opacity: 1;
  }
  #product-detail .product-card:hover { transform: none; }
}

/* =========================================================
   E. REDUCE MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  #portfolio *,
  #product-detail,
  #product-detail * {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   C. PRODUCT DETAIL (#product-detail)
   ========================================================= */

/* Blueprint grid background jo dheere sarakta hai (machinery ka feel) */
#product-detail.product {
  background-color: #f4fafb;
  background-image:
    linear-gradient(rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    radial-gradient(45% 40% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 70%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  animation: blueprintDrift 40s linear infinite;
}

@keyframes blueprintDrift {
  to { background-position: 36px 36px, 36px 36px, 0 0; }
}

/* ---- Card ---- */
#product-detail .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(10, 111, 128, 0.08);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}

/* upar ki rang-birangi patti: hover par left se bharti hai */
#product-detail .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

/* shine sweep */
#product-detail .product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 3;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s ease;
}

#product-detail .product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(18, 164, 184, 0.45);
  box-shadow: 0 26px 48px rgba(10, 111, 128, 0.24);
}
#product-detail .product-card:hover::before { transform: scaleX(1); }
#product-detail .product-card:hover::after  { left: 140%; }

#product-detail .product-card:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* ---- Image area (alag alag inline sizes ko ek jaisa karta hai) ---- */
#product-detail .product-card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(18, 164, 184, 0.16), transparent 65%),
    linear-gradient(180deg, #f2fafb, #e4f3f6);
}

#product-detail .product-card-img-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(10, 111, 128, 0.28));
  animation: machineBob 5s ease-in-out infinite;
  transition: transform 0.6s var(--ease-out);
}

#product-detail .product-card:hover .product-card-img-wrap img {
  transform: scale(1.1) rotate(-2deg);
  animation-play-state: paused;
}

@keyframes machineBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -7px; }
}

/* ---- Badge (inline background rang waisa hi rahega) ---- */
#product-detail .product-card-badge-cap {
  z-index: 2;
  max-width: calc(100% - 1rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem !important;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  border-radius: 12px !important;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 164, 184, 0.45); }
  50%      { box-shadow: 0 0 0 7px rgba(18, 164, 184, 0); }
}

/* ---- Body ---- */
#product-detail .product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1rem 1.1rem;
}

#product-detail .product-card-title {
  margin: 0;
  min-height: 2.6em;                 /* sab cards ki height barabar */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Spec list ---- */
#product-detail .product-card-spec {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(11, 42, 51, 0.78);
}

#product-detail .product-card-spec > div {
  padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(18, 164, 184, 0.28);
}
#product-detail .product-card-spec > div:last-child { border-bottom: 0; }

#product-detail .product-card-spec strong {
  font-weight: 700;
  color: var(--water-deep);
}

/* ---- Button ---- */
#product-detail .btn-primary-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.32);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, color 0.3s ease;
}

/* hover par amber paani bharta hai */
#product-detail .btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
#product-detail .btn-primary-custom:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255, 176, 0, 0.42); }
#product-detail .btn-primary-custom:hover::before { transform: translateY(0); }
#product-detail .btn-primary-custom:active { transform: scale(0.97); }

#product-detail .btn-primary-custom:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* IMPORTANT: HTML mein text "d-none d-sm-inline" span mein hai,
   isliye mobile par button khali dikhta tha. Yeh use theek karta hai. */
#product-detail .btn-prod-quote .d-none.d-sm-inline { display: inline !important; }

/* button ke andar wala <a> poora clickable area le */
#product-detail .btn-prod-quote a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   D. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  #product-detail .product-card-img-wrap { height: 170px; }
}

@media (max-width: 575.98px) {
  #portfolio .portfolio-item { padding-bottom: 16px; }
  #portfolio .portfolio-info { bottom: 16px; }
  #portfolio .portfolio-img,
  #portfolio .portfolio-info { border-radius: 18px 0 18px 0; }

  #product-detail .product-card { border-radius: 16px; }
  #product-detail .product-card-img-wrap { height: 135px; padding: 12px; }
  #product-detail .product-card-body { padding: 0.75rem 0.7rem 0.85rem; gap: 0.5rem; }
  #product-detail .product-card-title { font-size: 0.86rem; }
  #product-detail .product-card-spec { font-size: 0.72rem; }
  #product-detail .btn-primary-custom { font-size: 0.82rem; }
  #product-detail .product-card-badge-cap { font-size: 0.6rem !important; }
}

/* Touch screens: hover nahi hota, isliye overlay hamesha neeche dikhe */
@media (hover: none) {
  #portfolio .portfolio-info {
    top: auto;
    height: 64px;
    opacity: 1;
    align-items: center;
    background: linear-gradient(0deg, rgba(11, 42, 51, 0.7), transparent);
    border-radius: 0;
  }
  #portfolio .portfolio-info a {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    transform: none;
    opacity: 1;
  }
  #product-detail .product-card:hover { transform: none; }
}

/* =========================================================
   E. REDUCE MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  #portfolio *,
  #product-detail,
  #product-detail * {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   C. PRODUCT DETAIL (#product-detail)
   ========================================================= */

/* Blueprint grid background jo dheere sarakta hai (machinery ka feel) */
#product-detail.product {
  background-color: #f4fafb;
  background-image:
    linear-gradient(rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    radial-gradient(45% 40% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 70%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  animation: blueprintDrift 40s linear infinite;
}

@keyframes blueprintDrift {
  to { background-position: 36px 36px, 36px 36px, 0 0; }
}

/* ---- Card ---- */
#product-detail .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(10, 111, 128, 0.08);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}

/* upar ki rang-birangi patti: hover par left se bharti hai */
#product-detail .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

/* shine sweep */
#product-detail .product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 3;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s ease;
}

#product-detail .product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(18, 164, 184, 0.45);
  box-shadow: 0 26px 48px rgba(10, 111, 128, 0.24);
}
#product-detail .product-card:hover::before { transform: scaleX(1); }
#product-detail .product-card:hover::after  { left: 140%; }

#product-detail .product-card:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* ---- Image area (alag alag inline sizes ko ek jaisa karta hai) ---- */
#product-detail .product-card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(18, 164, 184, 0.16), transparent 65%),
    linear-gradient(180deg, #f2fafb, #e4f3f6);
}

#product-detail .product-card-img-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(10, 111, 128, 0.28));
  animation: machineBob 5s ease-in-out infinite;
  transition: transform 0.6s var(--ease-out);
}

#product-detail .product-card:hover .product-card-img-wrap img {
  transform: scale(1.1) rotate(-2deg);
  animation-play-state: paused;
}

@keyframes machineBob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -7px; }
}

/* ---- Badge (inline background rang waisa hi rahega) ---- */
#product-detail .product-card-badge-cap {
  z-index: 2;
  max-width: calc(100% - 1rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem !important;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  border-radius: 12px !important;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 164, 184, 0.45); }
  50%      { box-shadow: 0 0 0 7px rgba(18, 164, 184, 0); }
}

/* ---- Body ---- */
#product-detail .product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1rem 1.1rem;
}

#product-detail .product-card-title {
  margin: 0;
  min-height: 2.6em;                 /* sab cards ki height barabar */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Spec list ---- */
#product-detail .product-card-spec {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(11, 42, 51, 0.78);
}

#product-detail .product-card-spec > div {
  padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(18, 164, 184, 0.28);
}
#product-detail .product-card-spec > div:last-child { border-bottom: 0; }

#product-detail .product-card-spec strong {
  font-weight: 700;
  color: var(--water-deep);
}

/* ---- Button ---- */
#product-detail .btn-primary-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.32);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, color 0.3s ease;
}

/* hover par amber paani bharta hai */
#product-detail .btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
#product-detail .btn-primary-custom:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255, 176, 0, 0.42); }
#product-detail .btn-primary-custom:hover::before { transform: translateY(0); }
#product-detail .btn-primary-custom:active { transform: scale(0.97); }

#product-detail .btn-primary-custom:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* IMPORTANT: HTML mein text "d-none d-sm-inline" span mein hai,
   isliye mobile par button khali dikhta tha. Yeh use theek karta hai. */
#product-detail .btn-prod-quote .d-none.d-sm-inline { display: inline !important; }

/* button ke andar wala <a> poora clickable area le */
#product-detail .btn-prod-quote a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   D. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  #product-detail .product-card-img-wrap { height: 170px; }
}

@media (max-width: 575.98px) {
  #portfolio .portfolio-item { padding-bottom: 16px; }
  #portfolio .portfolio-info { bottom: 16px; }
  #portfolio .portfolio-img,
  #portfolio .portfolio-info { border-radius: 18px 0 18px 0; }

  #product-detail .product-card { border-radius: 16px; }
  #product-detail .product-card-img-wrap { height: 135px; padding: 12px; }
  #product-detail .product-card-body { padding: 0.75rem 0.7rem 0.85rem; gap: 0.5rem; }
  #product-detail .product-card-title { font-size: 0.86rem; }
  #product-detail .product-card-spec { font-size: 0.72rem; }
  #product-detail .btn-primary-custom { font-size: 0.82rem; }
  #product-detail .product-card-badge-cap { font-size: 0.6rem !important; }
}

/* Touch screens: hover nahi hota, isliye overlay hamesha neeche dikhe */
@media (hover: none) {
  #portfolio .portfolio-info {
    top: auto;
    height: 64px;
    opacity: 1;
    align-items: center;
    background: linear-gradient(0deg, rgba(11, 42, 51, 0.7), transparent);
    border-radius: 0;
  }
  #portfolio .portfolio-info a {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    transform: none;
    opacity: 1;
  }
  #product-detail .product-card:hover { transform: none; }
}

/* =========================================================
   E. REDUCE MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  #portfolio *,
  #product-detail,
  #product-detail * {
    animation: none !important;
    transition: none !important;
  }
}




















/* =========================================================
   C. PRODUCT DETAIL (#product-detail)
   ========================================================= */

/* Blueprint grid background jo dheere sarakta hai (machinery ka feel) */
#product-detail.product {
  background-color: #f4fafb;
  background-image:
    linear-gradient(rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    radial-gradient(45% 40% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 70%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  animation: blueprintDrift 40s linear infinite;
}

@keyframes blueprintDrift {
  to {
    background-position: 36px 36px, 36px 36px, 0 0;
  }
}

/* ---- Card ---- */
#product-detail .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(10, 111, 128, 0.08);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}

/* upar ki rang-birangi patti: hover par left se bharti hai */
#product-detail .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

/* shine sweep */
#product-detail .product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 3;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s ease;
}

#product-detail .product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(18, 164, 184, 0.45);
  box-shadow: 0 26px 48px rgba(10, 111, 128, 0.24);
}

#product-detail .product-card:hover::before {
  transform: scaleX(1);
}

#product-detail .product-card:hover::after {
  left: 140%;
}

#product-detail .product-card:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* ---- Image area (alag alag inline sizes ko ek jaisa karta hai) ---- */
#product-detail .product-card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(18, 164, 184, 0.16), transparent 65%),
    linear-gradient(180deg, #f2fafb, #e4f3f6);
}

#product-detail .product-card-img-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(10, 111, 128, 0.28));
  animation: machineBob 5s ease-in-out infinite;
  transition: transform 0.6s var(--ease-out);
}

#product-detail .product-card:hover .product-card-img-wrap img {
  transform: scale(1.1) rotate(-2deg);
  animation-play-state: paused;
}

@keyframes machineBob {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

/* ---- Badge (inline background rang waisa hi rahega) ---- */
#product-detail .product-card-badge-cap {
  z-index: 2;
  max-width: calc(100% - 1rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem !important;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  border-radius: 12px !important;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(18, 164, 184, 0.45);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(18, 164, 184, 0);
  }
}

/* ---- Body ---- */
#product-detail .product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1rem 1.1rem;
}

#product-detail .product-card-title {
  margin: 0;
  min-height: 2.6em;
  /* sab cards ki height barabar */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Spec list ---- */
#product-detail .product-card-spec {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(11, 42, 51, 0.78);
}

#product-detail .product-card-spec>div {
  padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(18, 164, 184, 0.28);
}

#product-detail .product-card-spec>div:last-child {
  border-bottom: 0;
}

#product-detail .product-card-spec strong {
  font-weight: 700;
  color: var(--water-deep);
}

/* ---- Button ---- */
#product-detail .btn-primary-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.32);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, color 0.3s ease;
}

/* hover par amber paani bharta hai */
#product-detail .btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}

#product-detail .btn-primary-custom:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 176, 0, 0.42);
}

#product-detail .btn-primary-custom:hover::before {
  transform: translateY(0);
}

#product-detail .btn-primary-custom:active {
  transform: scale(0.97);
}

#product-detail .btn-primary-custom:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* IMPORTANT: HTML mein text "d-none d-sm-inline" span mein hai,
   isliye mobile par button khali dikhta tha. Yeh use theek karta hai. */
#product-detail .btn-prod-quote .d-none.d-sm-inline {
  display: inline !important;
}

/* button ke andar wala <a> poora clickable area le */
#product-detail .btn-prod-quote a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   D. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  #product-detail .product-card-img-wrap {
    height: 170px;
  }
}

@media (max-width: 575.98px) {
  #portfolio .portfolio-item {
    padding-bottom: 16px;
  }

  #portfolio .portfolio-info {
    bottom: 16px;
  }

  #portfolio .portfolio-img,
  #portfolio .portfolio-info {
    border-radius: 18px 0 18px 0;
  }

  #product-detail .product-card {
    border-radius: 16px;
  }

  #product-detail .product-card-img-wrap {
    height: 135px;
    padding: 12px;
  }

  #product-detail .product-card-body {
    padding: 0.75rem 0.7rem 0.85rem;
    gap: 0.5rem;
  }

  #product-detail .product-card-title {
    font-size: 0.86rem;
  }

  #product-detail .product-card-spec {
    font-size: 0.72rem;
  }

  #product-detail .btn-primary-custom {
    font-size: 0.82rem;
  }

  #product-detail .product-card-badge-cap {
    font-size: 0.6rem !important;
  }
}

/* Touch screens: hover nahi hota, isliye overlay hamesha neeche dikhe */
@media (hover: none) {
  #portfolio .portfolio-info {
    top: auto;
    height: 64px;
    opacity: 1;
    align-items: center;
    background: linear-gradient(0deg, rgba(11, 42, 51, 0.7), transparent);
    border-radius: 0;
  }

  #portfolio .portfolio-info a {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    transform: none;
    opacity: 1;
  }

  #product-detail .product-card:hover {
    transform: none;
  }
}

/* =========================================================
   E. REDUCE MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

  #portfolio *,
  #product-detail,
  #product-detail * {
    animation: none !important;
    transition: none !important;
  }
}



:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   A. COMMON: section spacing + title
   ========================================================= */
#portfolio.portfolio,
#product-detail.product {
  position: relative;
  padding: clamp(56px, 8vw, 100px) 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
}
#portfolio .portfolio-info a.preview-link {
  display: none !important;
}
#portfolio .portfolio-info a.details-link {
  display: none !important;
}

#portfolio .section-title,
#product-detail .section-title {
  margin-bottom: clamp(28px, 4vw, 48px);
  text-align: center;
}

#portfolio .section-title h2,
#product-detail .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 1.25rem;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

#portfolio .section-title h2::after,
#product-detail .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  animation: titleLine2 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine2 {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

#portfolio .section-title p,
#product-detail .section-title p {
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(11, 42, 51, 0.78);
}

/* naam wali <b> ka inline style override */
#portfolio .section-title p b,
#product-detail .section-title p b {
  font-family: var(--font-head);
  font-size: 1.05em !important;
  color: var(--water-deep) !important;
}

/* mobile par <br> se line tootna band, text khud wrap ho */
@media (max-width: 767.98px) {

  #portfolio .section-title p br,
  #product-detail .section-title p br {
    display: none;
  }
}

/* =========================================================
   B. GALLERY (#portfolio)
   ========================================================= */
#portfolio.portfolio {
  background:
    radial-gradient(40% 40% at 0% 0%, rgba(18, 164, 184, 0.10), transparent 70%),
    #fff;
}

/* ---- Filter pills ---- */
#portfolio #portfolio-flters {
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding: 0;
  list-style: none;
}

#portfolio #portfolio-flters li {
  position: relative;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--water-deep);
  background: var(--mist);
  border: 1px solid rgba(18, 164, 184, 0.25);
  border-radius: 99px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

#portfolio #portfolio-flters li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.25);
}

#portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(18, 164, 184, 0.35);
}

/* ---- Grid items ---- */
#portfolio .portfolio-item {
  position: relative;
  padding-bottom: 24px;
}

#portfolio .portfolio-img {
  position: relative;
  overflow: hidden;
  border-radius: 24px 0 24px 0;
  /* About section jaisa corner style */
  background: var(--mist);
  box-shadow: 0 14px 30px rgba(10, 111, 128, 0.16);
  transition: box-shadow 0.5s ease, transform 0.5s var(--ease-out);
}

/* inline "border: solid darkgrey 7px" ko hata kar ek sa size */
#portfolio .portfolio-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0 !important;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
}

#portfolio .portfolio-item:hover .portfolio-img {
  box-shadow: 0 24px 46px rgba(10, 111, 128, 0.3);
  transform: translateY(-6px);
}

#portfolio .portfolio-item:hover .portfolio-img img {
  transform: scale(1.12);
  filter: saturate(1.1);
}

/* ---- Hover overlay (portfolio-info) ---- */
#portfolio .portfolio-info {
  position: absolute;
  top: 0;
  bottom: 24px;
  left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 24px 0 24px 0;
  background: linear-gradient(160deg, rgba(10, 111, 128, 0.78), rgba(11, 42, 51, 0.82));
  opacity: 0;
  transition: opacity 0.45s ease;
}

#portfolio .portfolio-item:hover .portfolio-info,
#portfolio .portfolio-item:focus-within .portfolio-info {
  opacity: 1;
}

/* Khali <a> ke andar icon CSS se banaya hai */
#portfolio .portfolio-info a {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(22px) scale(0.7);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.4s ease,
    background 0.3s ease,
    color 0.3s ease;
}

#portfolio .portfolio-info a.preview-link::before {
  content: "+";
}

#portfolio .portfolio-info a.details-link::before {
  content: "\2197";
  font-size: 1.3rem;
}

#portfolio .portfolio-item:hover .portfolio-info a,
#portfolio .portfolio-item:focus-within .portfolio-info a {
  transform: none;
  opacity: 1;
}

#portfolio .portfolio-item:hover .portfolio-info a.details-link {
  transition-delay: 0.08s;
}

#portfolio .portfolio-info a:hover,
#portfolio .portfolio-info a:focus-visible {
  background: var(--cap);
  color: var(--ink);
  transform: scale(1.12) rotate(8deg);
  outline: none;
}

/* ---- Scroll par card khulte hain (naye browsers) ---- */
@keyframes cardPop {
  from {
    opacity: 0;
    scale: 0.9;
    translate: 0 30px;
  }

  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@supports (animation-timeline: view()) {
  #portfolio .portfolio-img {
    animation: cardPop linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

/* =========================================================
   C. PRODUCT DETAIL (#product-detail)
   ========================================================= */

/* Blueprint grid background jo dheere sarakta hai (machinery ka feel) */
#product-detail.product {
  background-color: #f4fafb;
  background-image:
    linear-gradient(rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 164, 184, 0.09) 1px, transparent 1px),
    radial-gradient(45% 40% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 70%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  animation: blueprintDrift 40s linear infinite;
}

@keyframes blueprintDrift {
  to {
    background-position: 36px 36px, 36px 36px, 0 0;
  }
}

/* ---- Card ---- */
#product-detail .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(10, 111, 128, 0.08);
  transition:
    transform 0.5s var(--ease-out),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}

/* upar ki rang-birangi patti: hover par left se bharti hai */
#product-detail .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 5px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

/* shine sweep */
#product-detail .product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 3;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s ease;
}

#product-detail .product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(18, 164, 184, 0.45);
  box-shadow: 0 26px 48px rgba(10, 111, 128, 0.24);
}

#product-detail .product-card:hover::before {
  transform: scaleX(1);
}

#product-detail .product-card:hover::after {
  left: 140%;
}

#product-detail .product-card:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* ---- Image area (alag alag inline sizes ko ek jaisa karta hai) ---- */
#product-detail .product-card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(18, 164, 184, 0.16), transparent 65%),
    linear-gradient(180deg, #f2fafb, #e4f3f6);
}

#product-detail .product-card-img-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(10, 111, 128, 0.28));
  animation: machineBob 5s ease-in-out infinite;
  transition: transform 0.6s var(--ease-out);
}

#product-detail .product-card:hover .product-card-img-wrap img {
  transform: scale(1.1) rotate(-2deg);
  animation-play-state: paused;
}

@keyframes machineBob {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

/* ---- Badge (inline background rang waisa hi rahega) ---- */
#product-detail .product-card-badge-cap {
  z-index: 2;
  max-width: calc(100% - 1rem);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem !important;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  border-radius: 12px !important;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(18, 164, 184, 0.45);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(18, 164, 184, 0);
  }
}

/* ---- Body ---- */
#product-detail .product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1rem 1.1rem;
}

#product-detail .product-card-title {
  margin: 0;
  min-height: 2.6em;
  /* sab cards ki height barabar */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Spec list ---- */
#product-detail .product-card-spec {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(11, 42, 51, 0.78);
}

#product-detail .product-card-spec>div {
  padding: 0.38rem 0;
  border-bottom: 1px dashed rgba(18, 164, 184, 0.28);
}

#product-detail .product-card-spec>div:last-child {
  border-bottom: 0;
}

#product-detail .product-card-spec strong {
  font-weight: 700;
  color: var(--water-deep);
}

/* ---- Button ---- */
#product-detail .btn-primary-custom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 164, 184, 0.32);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, color 0.3s ease;
}

/* hover par amber paani bharta hai */
#product-detail .btn-primary-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}

#product-detail .btn-primary-custom:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 176, 0, 0.42);
}

#product-detail .btn-primary-custom:hover::before {
  transform: translateY(0);
}

#product-detail .btn-primary-custom:active {
  transform: scale(0.97);
}

#product-detail .btn-primary-custom:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 3px;
}

/* IMPORTANT: HTML mein text "d-none d-sm-inline" span mein hai,
   isliye mobile par button khali dikhta tha. Yeh use theek karta hai. */
#product-detail .btn-prod-quote .d-none.d-sm-inline {
  display: inline !important;
}

/* button ke andar wala <a> poora clickable area le */
#product-detail .btn-prod-quote a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   D. RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  #product-detail .product-card-img-wrap {
    height: 170px;
  }
}

@media (max-width: 575.98px) {
  #portfolio .portfolio-item {
    padding-bottom: 16px;
  }

  #portfolio .portfolio-info {
    bottom: 16px;
  }

  #portfolio .portfolio-img,
  #portfolio .portfolio-info {
    border-radius: 18px 0 18px 0;
  }

  #product-detail .product-card {
    border-radius: 16px;
  }

  #product-detail .product-card-img-wrap {
    height: 135px;
    padding: 12px;
  }

  #product-detail .product-card-body {
    padding: 0.75rem 0.7rem 0.85rem;
    gap: 0.5rem;
  }

  #product-detail .product-card-title {
    font-size: 0.86rem;
  }

  #product-detail .product-card-spec {
    font-size: 0.72rem;
  }

  #product-detail .btn-primary-custom {
    font-size: 0.82rem;
  }

  #product-detail .product-card-badge-cap {
    font-size: 0.6rem !important;
  }
}

/* Touch screens: hover nahi hota, isliye overlay hamesha neeche dikhe */
@media (hover: none) {
  #portfolio .portfolio-info {
    top: auto;
    height: 64px;
    opacity: 1;
    align-items: center;
    background: linear-gradient(0deg, rgba(11, 42, 51, 0.7), transparent);
    border-radius: 0;
  }

  #portfolio .portfolio-info a {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    transform: none;
    opacity: 1;
  }

  #product-detail .product-card:hover {
    transform: none;
  }
}

/* =========================================================
   E. REDUCE MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

  #portfolio *,
  #product-detail,
  #product-detail * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   PRODUCT DEMO SECTION (videos)
   ========================================================= */

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 1. Section ---------- */
#product-demo.product-demo {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-body);
  color: #fff;
  background:
    radial-gradient(50% 55% at 15% 0%, rgba(18, 164, 184, 0.35), transparent 70%),
    radial-gradient(45% 50% at 100% 100%, rgba(255, 176, 0, 0.16), transparent 70%),
    linear-gradient(170deg, #0d3340 0%, var(--ink) 60%, #071c22 100%);
}

/* peeche dheere ghoomti roshni (light beam) */
#product-demo.product-demo::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  z-index: -1;
  width: 140%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(18, 164, 184, 0.12) 40deg,
      transparent 90deg,
      transparent 200deg,
      rgba(255, 176, 0, 0.08) 250deg,
      transparent 300deg);
  transform: translateX(-50%);
  animation: beamSpin 40s linear infinite;
  pointer-events: none;
}

@keyframes beamSpin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* ---------- 2. Title ---------- */
#product-demo .section-title {
  margin-bottom: clamp(28px, 4vw, 52px);
  text-align: center;
}

#product-demo .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: #fff;
}

#product-demo .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  animation: titleLine3 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine3 {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* ---------- 3. Video grid ---------- */
#product-demo .gird-container,
#product-demo .grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.5vw, 30px);
}

@media (min-width: 768px) {

  #product-demo .gird-container,
  #product-demo .grid-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 4. Video card ---------- */
/* HTML ke height="250px" width="300px" ko override karte hain */
#product-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border-radius: 28px 0 28px 0;
  /* baaki sections jaisa corner style */
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 0 rgba(18, 164, 184, 0);
  transition:
    transform 0.55s var(--ease-out),
    box-shadow 0.55s ease,
    border-color 0.4s ease,
    opacity 0.4s ease,
    filter 0.4s ease;
}

/* Hover: video upar uthti hai aur teal glow aata hai */
#product-demo video:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(18, 164, 184, 0.7);
  box-shadow:
    0 30px 56px rgba(0, 0, 0, 0.5),
    0 0 0 5px rgba(18, 164, 184, 0.22),
    0 0 50px rgba(18, 164, 184, 0.35);
}

/* Modern CSS :has() - ek video par mouse jaye to baaki dheere ho jayein */
@supports selector(:has(*)) {

  #product-demo .gird-container:has(video:hover) video:not(:hover),
  #product-demo .grid-container:has(video:hover) video:not(:hover) {
    opacity: 0.45;
    filter: saturate(0.6);
    transform: scale(0.98);
  }
}

/* Naya :playing selector: jo video chal rahi hai uske chaaron taraf amber glow */
@supports selector(:playing) {
  #product-demo video:playing {
    border-color: rgba(255, 176, 0, 0.8);
    box-shadow:
      0 30px 56px rgba(0, 0, 0, 0.5),
      0 0 0 5px rgba(255, 176, 0, 0.25),
      0 0 60px rgba(255, 176, 0, 0.35);
    animation: playingGlow 2.4s ease-in-out infinite;
  }
}

@keyframes playingGlow {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.06);
  }
}

#product-demo video:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 4px;
}

/* ---------- 5. Entrance ---------- */
/* .container par AOS hai, isliye animation videos par lagayi hai */
@keyframes videoPop {
  from {
    opacity: 0;
    scale: 0.88;
    translate: 0 36px;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    scale: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@supports (animation-timeline: view()) {
  #product-demo video {
    animation: videoPop linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 85%;
  }
}

/* AOS safety: AOS init na ho to bhi 2.5s baad dikh jayega */
#product-demo [data-aos]:not(.aos-animate) {
  animation: aosSafeDemo 0.01s 2.5s forwards;
}

@keyframes aosSafeDemo {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 6. Responsive ---------- */
@media (max-width: 767.98px) {
  #product-demo video {
    border-radius: 22px 0 22px 0;
  }
}

@media (max-width: 575.98px) {
  #product-demo.product-demo {
    padding: 52px 0 64px;
  }

  #product-demo video {
    border-radius: 18px 0 18px 0;
  }
}

/* Touch devices par hover effects nahi */
@media (hover: none) {
  #product-demo video:hover {
    transform: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.14);
  }
}

/* ---------- 7. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {

  #product-demo *,
  #product-demo.product-demo::before {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================================
   CONTACT SECTION
   Bootstrap 5 + Bootstrap Icons + AOS + php-email-form
   (validate.js) ke saath chalta hai.
   Same colors/fonts jo baaki sections mein hain.

   Layout: left mein dark "info" card (address, email, call,
   map), right mein safed form card.
   ========================================================= */

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --mist: #eaf5f7;
  --danger: #d92d4b;
  --success: #12936b;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 1. Section ---------- */
#contact.contact {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(40% 45% at 100% 0%, rgba(18, 164, 184, 0.12), transparent 70%),
    radial-gradient(35% 40% at 0% 100%, rgba(255, 176, 0, 0.10), transparent 70%),
    radial-gradient(rgba(11, 42, 51, 0.07) 1px, transparent 1.5px) 0 0 / 22px 22px,
    #f7fcfd;
}

/* ---------- 2. Title ---------- */
#contact .section-title {
  margin-bottom: clamp(28px, 4vw, 52px);
  text-align: center;
}

#contact .section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

#contact .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 90px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--water), var(--cap));
  transform: translateX(-50%);
  animation: titleLine4 1.2s 0.3s var(--ease-out) both;
}

@keyframes titleLine4 {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* ---------- 3. Info card (left) ---------- */
#contact .info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
  padding: clamp(24px, 3.2vw, 40px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 28px 0 28px 0;
  background:
    radial-gradient(70% 50% at 0% 0%, rgba(18, 164, 184, 0.45), transparent 70%),
    linear-gradient(165deg, #0d3340 0%, var(--ink) 70%, #071c22 100%);
  box-shadow: 0 28px 56px rgba(10, 111, 128, 0.28);
}

/* peeche dheere ghoomti roshni */
#contact .info::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -35%;
  z-index: -1;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 176, 0, 0.18), transparent 60%);
  animation: infoSpin 18s linear infinite;
  pointer-events: none;
}

@keyframes infoSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Har contact item (address / email / phone) */
#contact .info .address,
#contact .info .email,
#contact .info .phone {
  position: relative;
  min-height: 56px;
  padding-left: 74px;
  transition: transform 0.4s var(--ease-out);
}

#contact .info .address:hover,
#contact .info .email:hover,
#contact .info .phone:hover {
  transform: translateX(8px);
}

/* icon gol dibbe mein */
#contact .info i {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  color: var(--cap);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px 0 18px 0;
  backdrop-filter: blur(6px);
  transition: background 0.35s ease, color 0.35s ease, transform 0.5s var(--ease-out);
}

#contact .info .address:hover i,
#contact .info .email:hover i,
#contact .info .phone:hover i {
  color: var(--ink);
  background: var(--cap);
  transform: rotate(-8deg) scale(1.08);
}

/* Call icon ke chaaron taraf ring pulse (phone ghanti jaisa) */
#contact .info .phone i::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 2px solid var(--cap);
  border-radius: 18px 0 18px 0;
  opacity: 0;
  animation: ring 2.6s ease-out infinite;
}

@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

#contact .info h4 {
  margin: 0 0 0.2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cap);
}

#contact .info p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

#contact .info a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

/* link ke neeche line left se bharti hai */
#contact .info a p {
  background: linear-gradient(var(--cap), var(--cap)) left bottom / 0% 2px no-repeat;
  transition: background-size 0.45s var(--ease-out), color 0.3s ease;
}

#contact .info a:hover p,
#contact .info a:focus-visible p {
  background-size: 100% 2px;
  color: #fff;
}

#contact .info a:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---- Map ---- */
#contact .info iframe {
  display: block;
  flex: 1;
  width: 100% !important;
  /* HTML ke width="450" ko override */
  height: auto !important;
  min-height: 240px;
  margin-top: 0.4rem;
  border: 0 !important;
  border-radius: 20px 0 20px 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  filter: grayscale(0.7) contrast(1.05);
  transition: filter 0.6s ease, transform 0.6s var(--ease-out);
}

#contact .info iframe:hover {
  filter: grayscale(0) contrast(1);
  transform: scale(1.015);
}

/* ---------- 4. Form card (right) ---------- */
#contact .php-email-form {
  position: relative;
  width: 100%;
  padding: clamp(24px, 3.2vw, 44px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 42, 51, 0.07);
  border-radius: 28px 0 28px 0;
  box-shadow: 0 24px 50px rgba(10, 111, 128, 0.14);
}

/* upar ki patti: rang dheere behta hai */
#contact .php-email-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--water), var(--cap), var(--water));
  background-size: 200% 100%;
  animation: barFlow 5s linear infinite;
}

@keyframes barFlow {
  to {
    background-position: -200% 0;
  }
}

#contact .php-email-form .form-group {
  margin-bottom: 1.15rem;
}

/* ---- Labels ---- */
#contact .php-email-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: rgba(11, 42, 51, 0.78);
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}

/* field par focus aaye to label teal ho jaye */
#contact .php-email-form .form-group:focus-within label {
  color: var(--water-deep);
  transform: translateX(4px);
}

/* ---- Inputs ---- */
#contact .php-email-form .form-control {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #f4fafb;
  border: 1.5px solid rgba(11, 42, 51, 0.12);
  border-radius: 14px;
  box-shadow: none;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--ease-out);
}

#contact .php-email-form textarea.form-control {
  min-height: 190px;
  resize: vertical;
}

#contact .php-email-form .form-control:hover {
  border-color: rgba(18, 164, 184, 0.5);
}

#contact .php-email-form .form-control:focus {
  outline: 0;
  background: #fff;
  border-color: var(--water);
  box-shadow: 0 0 0 5px rgba(18, 164, 184, 0.16), 0 10px 22px rgba(18, 164, 184, 0.14);
  transform: translateY(-2px);
}

/* Naye browsers: user type kar chuke ho tabhi sahi/galat dikhao */
@supports selector(:user-valid) {
  #contact .php-email-form .form-control:user-valid {
    border-color: var(--success);
    background-image: linear-gradient(135deg, transparent 0 0);
  }

  #contact .php-email-form .form-control:user-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 5px rgba(217, 45, 75, 0.12);
    animation: shake 0.4s ease;
  }
}

@keyframes shake {

  0%,
  100% {
    translate: 0;
  }

  25% {
    translate: -5px;
  }

  75% {
    translate: 5px;
  }
}

/* ---- Submit button ---- */
#contact .php-email-form button[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 220px;
  padding: 1rem 2.4rem;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--water), var(--water-deep));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(18, 164, 184, 0.38);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, color 0.3s ease;
}

/* hover par amber paani bharta hai */
#contact .php-email-form button[type="submit"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}

/* "send" ka teer */
#contact .php-email-form button[type="submit"]::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}

#contact .php-email-form button[type="submit"]:hover,
#contact .php-email-form button[type="submit"]:focus-visible {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(255, 176, 0, 0.45);
}

#contact .php-email-form button[type="submit"]:hover::before,
#contact .php-email-form button[type="submit"]:focus-visible::before {
  transform: translateY(0);
}

#contact .php-email-form button[type="submit"]:hover::after {
  transform: translate(6px, -6px) rotate(45deg);
}

#contact .php-email-form button[type="submit"]:active {
  transform: scale(0.97);
}

#contact .php-email-form button[type="submit"]:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 4px;
}

/* ---------- 5. Form status messages (validate.js) ---------- */
#contact .php-email-form .loading,
#contact .php-email-form .error-message,
#contact .php-email-form .sent-message {
  display: none;
  padding: 0.9rem 1.2rem;
  margin: 0;
  font-weight: 600;
  text-align: center;
  border-radius: 14px;
}

/* validate.js inme "d-block" lagata hai, tab dikhte hain */
#contact .php-email-form .d-block {
  display: block !important;
  animation: msgIn 0.5s var(--ease-out) both;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

#contact .php-email-form .loading {
  color: var(--water-deep);
  background: var(--mist);
}

/* gol ghoomta spinner */
#contact .php-email-form .loading::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin: 0 0.6em -0.2em 0;
  border: 3px solid rgba(18, 164, 184, 0.3);
  border-top-color: var(--water);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#contact .php-email-form .error-message {
  color: #fff;
  background: var(--danger);
}

#contact .php-email-form .sent-message {
  color: #fff;
  background: var(--success);
}

#contact .php-email-form .sent-message::before {
  content: "\2713\00a0\00a0";
  font-weight: 800;
}

/* ---------- 6. Entrance (scroll par) ---------- */
/* .container par AOS hai, isliye animation andar ke cards par */
@keyframes slideFromLeft {
  from {
    opacity: 0;
    translate: -50px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    translate: 50px 0;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@supports (animation-timeline: view()) {
  #contact .info {
    animation: slideFromLeft linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }

  #contact .php-email-form {
    animation: slideFromRight linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}

/* AOS safety: AOS init na ho to bhi 2.5s baad dikh jayega */
#contact [data-aos]:not(.aos-animate) {
  animation: aosSafeContact 0.01s 2.5s forwards;
}

@keyframes aosSafeContact {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 7. Responsive ---------- */
@media (max-width: 991.98px) {
  #contact .info iframe {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  #contact.contact {
    padding: 52px 0 64px;
  }

  #contact .info,
  #contact .php-email-form {
    border-radius: 22px 0 22px 0;
  }

  #contact .info .address,
  #contact .info .email,
  #contact .info .phone {
    padding-left: 66px;
  }

  #contact .info i {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }

  #contact .info .address:hover,
  #contact .info .email:hover,
  #contact .info .phone:hover {
    transform: none;
  }

  #contact .php-email-form button[type="submit"] {
    width: 100%;
    min-width: 0;
  }

  #contact .php-email-form textarea.form-control {
    min-height: 150px;
  }
}

/* Touch screens par hover wale lift effects band */
@media (hover: none) {
  #contact .php-email-form .form-control:focus {
    transform: none;
  }

  #contact .info iframe {
    filter: none;
  }
}

/* ---------- 8. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {

  #contact *,
  #contact *::before,
  #contact *::after {
    animation: none !important;
    transition: none !important;
  }
}



/* =========================================================
   FOOTER
   Same colors/fonts jo baaki sections mein hain.
   Upar conveyor-belt jaisi chalti patti (hero se match)
   ========================================================= */

:root {
  --ink: #0b2a33;
  --water: #12a4b8;
  --water-deep: #0a6f80;
  --cap: #ffb000;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 1. Footer wrapper ---------- */
#footer {
  position: relative;
  padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(50% 120% at 0% 100%, rgba(18, 164, 184, 0.28), transparent 70%),
    radial-gradient(40% 100% at 100% 0%, rgba(255, 176, 0, 0.12), transparent 70%),
    linear-gradient(180deg, #0d3340 0%, var(--ink) 55%, #071c22 100%);
}

/* upar: rang behti hui patti */
#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--water), var(--cap), var(--water));
  background-size: 200% 100%;
  animation: footerFlow 6s linear infinite;
}

/* us patti ke neeche conveyor belt ke dashes */
#footer::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: -1;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(18, 164, 184, 0.35) 0 26px, transparent 26px 42px);
  animation: footerBelt 2s linear infinite;
}

@keyframes footerFlow {
  to {
    background-position: -200% 0;
  }
}

@keyframes footerBelt {
  to {
    background-position: 42px 0;
  }
}

/* ---------- 2. Layout ---------- */
#footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 18px;
}

/* clearfix ke khali pseudo-elements flex mein jagah na lein */
#footer .footer-bottom::before,
#footer .footer-bottom::after {
  display: none;
}

/* ---------- 3. Copyright ---------- */
#footer .copyright {
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

#footer .copyright strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
}

/* company ke naam par amber highlight patti, dheere bharti hai */
#footer .copyright strong span {
  padding: 0 3px;
  color: var(--cap);
  background: linear-gradient(rgba(255, 176, 0, 0.22), rgba(255, 176, 0, 0.22)) left bottom / 0% 100% no-repeat;
  animation: nameFill 1.2s 0.6s var(--ease-out) forwards;
}

@keyframes nameFill {
  to {
    background-size: 100% 100%;
  }
}

/* ---------- 4. Credits ---------- */
#footer .credits {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  line-height: 1.6;
}

/* Designer ka link ek pill button jaisa */
#footer .credits a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 1rem !important;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  backdrop-filter: blur(6px);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

/* inline <b style="color:#fff"> ko hover par rang badalne dein */
#footer .credits a b {
  font-family: var(--font-head);
  font-weight: 700;
  color: inherit !important;
  transition: color 0.3s ease;
}

/* WhatsApp jaisa hara "online" dot jo dhadakta hai */
#footer .credits a::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: onlineDot 2s ease-out infinite;
}

/* hover par amber paani bharta hai */
#footer .credits a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cap);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}

#footer .credits a:hover,
#footer .credits a:focus-visible {
  color: var(--ink);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 176, 0, 0.35);
}

#footer .credits a:hover::after,
#footer .credits a:focus-visible::after {
  transform: translateY(0);
}

#footer .credits a:hover b {
  color: var(--ink) !important;
}

#footer .credits a:focus-visible {
  outline: 3px solid var(--cap);
  outline-offset: 4px;
}

@keyframes onlineDot {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(37, 211, 102, 0);
  }
}

/* ---------- 5. Entrance (scroll par) ---------- */
@keyframes footerIn {
  from {
    opacity: 0;
    translate: 0 22px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@supports (animation-timeline: view()) {

  #footer .copyright,
  #footer .credits {
    animation: footerIn linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

/* ---------- 6. Responsive ---------- */
@media (max-width: 767.98px) {
  #footer {
    padding-top: 28px;
  }

  #footer .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  #footer {
    font-size: 0.88rem;
  }

  #footer .credits {
    flex-direction: column;
    gap: 8px;
  }
}

/* Touch screens par hover lift band */
@media (hover: none) {
  #footer .credits a:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ---------- 7. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {

  #footer *,
  #footer::before,
  #footer::after {
    animation: none !important;
    transition: none !important;
  }

  #footer .copyright strong span {
    background-size: 100% 100%;
  }
}