body {
  margin: 0;
  background: #111;
  color: #fff;
  font-family: "Inter", "Arial", sans-serif;
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

/*********************/
/*********************/
/*****NAV BAR SECTION****/
/*********************/
/*********************/
.logo-hover:hover{
  color: #00aab3;
}
.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0.6rem;
  background-color: rgb(0, 170, 179);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.button:hover .icon {
  transform: translate(4px);
}

.button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

/* LEFT */
.nav-left h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}


.nav-center a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  transition: color 0.2s;
}
/* NAVBAR HOVER UNDERLINE ANIMATION */
.nav-center a {
  position: relative;
  text-decoration: none;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;      /* distance below the text */
  width: 0%;
  height: 2px;
  background: white; /* change to black on contact page */
  transition: width 0.3s ease;
}

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


@media (min-width: 768px) {
  .nav-center {
    display: flex;
  }
}



.nav-center a:hover {
  color:  rgb(0, 170, 179);
}



.nav-right a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}
@media (min-width: 849px) and (max-width: 1089px) {

  nav h2 {
    font-size: 1.8rem !important;
  }
  .nav-center a {
    font-size: 1.1rem !important;
    margin-right: 10px;
  }
  .nav-right .button {
    padding: 0.25rem 0.7rem !important;
    font-size: 0.9rem !important;
  }
  .nav-center {
    gap: 24px !important;
  }
}
@media (max-width: 412px) {
  .navbar {
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .button {
    padding: 0.2rem 0.5rem;
    font-size: 13px; /* shrink Apply btn */
  }

  #menu-btn {
    font-size: 26px; /* shrink hamburger */
  }
}
/* FIX alignment on 300px–600px */
@media (max-width: 600px) {
  nav h2 {
    font-size: 16px;
  }

  .button {
    padding: 2px 10px !important;
    font-size: 10px !important;
  }

  #menu-btn {
    font-size: 22px !important;
  }

  nav .flex {
    align-items: center !important; /* center-align everything */
  }
}


@media (min-width: 850px) {
  .lg\:flex {
    display: flex !important;
  }
  .lg\:hidden {
    display: none !important;
  }
}
#menu {
  flex-direction: column !important;
}
#navbar {
  opacity: 1;
  pointer-events: auto;
}

.nav-hidden {
  opacity: 0;
  pointer-events: none;
}



@media (max-width: 600px) {
  nav h2 {
    font-size: 1.4rem !important;
    line-height: 1;
  }
}


@media (max-width: 400px) {
  nav h2 {
    font-size: 1.2rem !important;
  }
}


/*********************/
/*********************/
/*****HERO SECTION****/
/*********************/
/*********************/

.hero {
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  text-align: center;
  overflow: hidden;
  /* background-color: #981f1f; */
  background-image: url("https://image2url.com/images/1763102652585-b88d85ae-3f40-4405-b675-99234da6c14a.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-texts {
  width: 100%;
  position: absolute;
  top: 60%; /* Lower position */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  position: absolute;
  color: white;
  width: 100%;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  font-size: clamp(2.5rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0;
  animation: cycleMove 15s ease-in-out infinite;
}

.hero h1:nth-child(1) {
  animation-delay: 0s;
}
.hero h1:nth-child(2) {
  animation-delay: 3s;
}
.hero h1:nth-child(3) {
  animation-delay: 6s;
}
.hero h1:nth-child(4) {
  animation-delay: 9s;
}
.hero h1:nth-child(5) {
  animation-delay: 12s;
}

@keyframes cycleMove {
  0%,
  13.33% {
    opacity: 0;
    transform: translate(-50%, 20%);
  }
  16.66%,
  33.33% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  36.66%,
  100% {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
}
.hero-subtitle {
  position: relative;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  margin-bottom: 0;
  z-index: 2;
}
.hero-scroll {
  width: 32px;
  height: 32px;
  border: 2px solid #444;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: transparent;
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 4px;
  height: 12px;
  border-radius: 3px;
  background: #fff;
  animation: moveDown 2s infinite;
}
@keyframes moveDown {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 1;
    transform: translateY(8px);
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 24px 3vw 0 3vw;
  }
  .nav-center {
    gap: 16px;
  }
  .nav-right {
    gap: 16px;
    right: 3vw;
  }
  .hero-title {
    font-size: clamp(2rem, 10vw, 4rem);
  }
  .hero-texts {
    top: 55%;
  }
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-center {
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-right {
    gap: 8px;
    right: 3vw;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-texts {
    top: 48%;
  }
}

.hero h1 {
  font-size: clamp(3.2rem, 12vw, 8rem);
  font-weight: 400 !important; /* normal weight */
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

/* Smooth subtitle scaling */
.hero-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.8rem);
}


/*********************/
/*********************/
/*****CONSULTING SECTION****/
/*********************/
/*********************/



.consulting-section {
  min-height: auto;
  width: 100%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 8vw 30px;
  box-sizing: border-box;
  gap: 40px;
}

.consulting-left {
  max-width: 520px;
}

.consulting-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.consulting-left h1 {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  line-height: 1.15;
  font-weight: 650;
  margin: 0 0 32px;
}

.consulting-body {
  font-size: 1.5rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0 0 18px;
}

.consulting-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.consulting-video {
  width: 520px;
  max-width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.consulting-left .button {
  margin-top: 50px; 
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.65)
  );
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: none;
  background: rgba(86, 0, 200, 0.9);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}


@media (max-width: 900px) {
  .consulting-section {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 96px;
  }

  .consulting-right {
    width: 100%;
    justify-content: center;
  }

  .consulting-video {
    width: 100%;
    height: 260px;
  }
}

@media (max-width: 600px) {
  .consulting-section {
    padding: 80px 6vw 60px;
    height: auto;
  }

  .consulting-left h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .consulting-body {
    font-size: 0.98rem;
  }
}

/*********************/
/*********************/
/*****WHY KELMAN****/
/*********************/
/*********************/

.why-kelman.black-theme {
  background: #000;
  color: #fff;
  padding: 40px 20px; 
  padding-top: 80px; 
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /
}

.why-kelman .container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
  position: relative;
}

.why-kelman h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 60px;
  margin-top: 20px;
  color: #fff;
  text-align: left;
}

.why-kelman .columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 60px;
  column-gap: 80px;
  margin-bottom: 80px;
}

.why-kelman .col .item {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.why-kelman .num {
  font-size: 4rem;
  font-weight: 700;
  color: rgb(0, 170, 179);
  line-height: 1;
  flex-shrink: 0;
}

.why-kelman .text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.why-kelman .text p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.why-kelman .note {
  font-size: 0.8rem;
  color: rgb(0, 170, 179);
  font-style: italic;
  vertical-align: super;
}

.why-kelman .statue {
  text-align: center;
}

.why-kelman .statue img {
  max-width: 280px;
  opacity: 0.85;
  filter: brightness(0.9);
}

.btn-contact {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
  border: 2px solid white;
}

.btn-contact:hover {
  background: #444;
}

@media (min-width: 767px) and (max-width: 1287px) {
  .why-kelman .container {
    padding-left: 40px !important; 
    padding-right: 20px; 
  }

  .why-kelman h1 {
    margin-left: 20px !important; 
  }
}


@media (max-width: 768px) {
  .why-kelman h1 {
    font-size: 2.2rem;
    text-align: center;
  }
  .why-kelman .columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-kelman .col .item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .why-kelman .num {
    font-size: 3rem;
  }
  .why-kelman .text p {
    max-width: 100%;
  }
}

.animated-circles {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  height: 200px;
  pointer-events: none; 
  z-index: 0; 
}


.animated-circles .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  background-color: rgb(0, 170, 179);
}


.circle1 {
  width: 40px;
  height: 40px;
  top: 10px;
  left: 20px;
  animation: moveCircle1 6s ease-in-out infinite;
}

.circle2 {
  width: 30px;
  height: 30px;
  top: 140px;
  left: 10px;
  animation: moveCircle2 7s ease-in-out infinite;
}

.circle3 {
  width: 20px;
  height: 20px;
  top: 80px;
  left: 120px;
  animation: moveCircle3 5s ease-in-out infinite;
}

.circle4 {
  width: 50px;
  height: 50px;
  top: 40px;
  left: 80px;
  animation: moveCircle4 8s ease-in-out infinite;
}
.circle5 {
  width: 70px;
  height: 70px;
  bottom: 30px;
  left: 80px;
  animation: moveCircle4 8s ease-in-out infinite;
}

/* Keyframes for circular, smooth movement */
@keyframes moveCircle1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 20px);
  }
}

@keyframes moveCircle2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-15px, 10px);
  }
}

@keyframes moveCircle3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -10px);
  }
}

@keyframes moveCircle4 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, -15px);
  }
}


.apply-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.animated-triangles {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 0; 
}


.triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid rgb(0, 170, 179);
  opacity: 0.3;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}


.triangle1 {
  top: 0;
  left: 10px;
  border-left-width: 30px;
  border-right-width: 30px;
  border-bottom-width: 40px;
  animation: moveTriangle1 8s infinite alternate;
}

.triangle2 {
  top: 40px;
  left: 50px;
  border-left-width: 40px;
  border-right-width: 40px;
  border-bottom-width: 50px;
  animation: moveTriangle2 10s infinite alternate;
}

.triangle3 {
  top: 80px;
  left: 20px;
  border-left-width: 20px;
  border-right-width: 20px;
  border-bottom-width: 25px;
  animation: moveTriangle3 7s infinite alternate;
}

/* Keyframes for gentle floating animation */
@keyframes moveTriangle1 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(15px, 15px) rotate(15deg);
  }
}

@keyframes moveTriangle2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-10px, 10px) rotate(-10deg);
  }
}

@keyframes moveTriangle3 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(10px, -10px) rotate(10deg);
  }
}


/*********************/
/*********************/
/*****TESTIMONIAL SECTION****/
/*********************/
/*********************/


.agneyra-testimonial {
  position: relative;
  width: 100%;
  min-height: 100vh;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image that changes per slide */
.testimonial-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.6s ease-in-out, transform 0.6s ease-out;
  transform: scale(1.03);
}

/* Darker on left, lighter on right overlay */
.testimonial-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.5) 60%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

/* Foreground content */
.testimonial-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 80px 6vw;
  box-sizing: border-box;
}

/* Carousel basics */
.testimonial-slider {
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}

/* Each slide: quote on left, empty right (background covers whole) */
.testimonial-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
}

/* Left side content */
.testimonial-left {
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Small label above quote */
.testimonial-label {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Main quote */
.testimonial-quote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

/* Name + role */
.testimonial-meta {
  margin-top: 12px;
}

.testimonial-meta .author {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-meta .role {
  margin: 2px 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Optional: subtle divider under meta */
.testimonial-meta::after {
  content: "";
  display: block;
  margin-top: 12px;
  width: 80px;
  height: 2px;
  border-radius: 999px;
  background: rgb(0, 170, 179);
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .testimonial-inner {
    padding: 60px 6vw;
  }

  .testimonial-quote {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .agneyra-testimonial {
    align-items: flex-start;
  }

  .testimonial-inner {
    padding-top: 100px;
  }
}
/* Center testimonial content in the middle of the screen on mobile */
@media (max-width: 600px) {
  .agneyra-testimonial {
    padding: 0 !important; /* remove unwanted spacing */
  }

  .testimonial-inner {
    padding: 0 !important;
    padding-top: 0 !important;
  }

  .testimonial-slide {
    height: 100vh; /* full screen */
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    padding: 0 30px !important; /* safe side padding */
  }

  .testimonial-left {
    text-align: center !important;
    align-items: center !important;
    margin: 0 !important;
  }
}
@media (max-width: 900px) {
  .testimonial-overlay {
    background: rgba(0, 0, 0, 0.78) !important;
  }
}
/* REAL TABLET FIX (600px–900px) */
/* REAL TABLET FIX (600px–900px) */
@media (min-width: 600px) and (max-width: 900px) {
  .testimonial-slide {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 6vw;
  }

  .testimonial-left {
    width: 80%;
    max-width: 600px;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 14px;
  }

  /* MUCH BIGGER quote for tablets */
  .testimonial-quote {
    font-size: 2.2rem !important;
    line-height: 1.55 !important;
    font-weight: 500;
  }

  /* Slightly larger label */
  .testimonial-label {
    font-size: 1rem !important;
    letter-spacing: 0.2em;
  }

  /* Bigger name */
  .testimonial-meta .author {
    font-size: 1.25rem !important;
    font-weight: 600;
  }

  /* Bigger role */
  .testimonial-meta .role {
    font-size: 1rem !important;
    opacity: 0.85;
  }

  /* Thicker + medium-sized underline */
  .testimonial-meta::after {
    width: 70px !important;
    height: 2.5px !important;
  }

  /* Better overlay for tablets */
  .testimonial-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.75) 35%,
      rgba(0, 0, 0, 0.45) 100%
    ) !important;
  }
}
/* FIX FOR SMALL / OLD PHONES (Microsoft Lumia, small Androids) */
@media (max-width: 400px) {
  .testimonial-slide {
    height: auto !important; /* avoid bad vh calculation */
    padding: 40px 20px !important; /* give breathing room */
    display: block !important; /* stop flex issues */
  }

  .testimonial-left {
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .testimonial-quote {
    font-size: 1.35rem !important; /* scale down */
    line-height: 1.5 !important;
  }

  .testimonial-label {
    font-size: 0.75rem !important;
    margin-bottom: 8px;
  }

  .testimonial-meta .author {
    font-size: 1rem !important;
  }

  .testimonial-meta .role {
    font-size: 0.85rem !important;
  }

  .testimonial-meta::after {
    width: 35px !important;
    height: 1.5px !important;
  }

  /* Fix background & overlay issues */
  .testimonial-bg {
    background-size: cover !important;
    background-position: center !important;
    height: 100% !important;
  }

  .testimonial-overlay {
    background: rgba(
      0,
      0,
      0,
      0.75
    ) !important; /* full dark to prevent unreadable text */
  }
}

@media (max-width: 1023px) {
  .agneyra-testimonial {
    min-height: 100svh !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .testimonial-slide {
    min-height: 100svh !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 30px !important;
  }

  .testimonial-left {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    max-width: 90% !important;
  }

  /* Extra tiny devices (iPhone SE, iPhone 5) */
  @media (max-width: 360px) {
    .testimonial-quote {
      font-size: 1.1rem !important;
      line-height: 1.3 !important;
    }
  }

  /* Medium phones (iPhone X, Pixel 4, Samsung S8) */
  @media (min-width: 361px) and (max-width: 820px) {
    .testimonial-quote {
      font-size: 1.5rem !important;
      line-height: 1.45 !important;
    }
  }

  /* Small tablets and Fold phones */
  @media (min-width: 821px) and (max-width: 1023px) {
    .testimonial-left {
      text-align: left !important;
      align-items: flex-start !important;
    }
  }
}


/*********************/
/*********************/
/*****WHY AGNEYRA****/
/*********************/
/*********************/

.why-agneyra-modern {
  background: #f9fafb;
  padding: 100px 8vw;
  color: #1a1a1a;
  position: relative;
}

.why-agneyra-modern .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.why-agneyra-modern .section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: rgb(0, 170, 179);
}

.why-agneyra-modern .section-header p {
  font-size: 1.15rem;
  color: #555;
  margin-top: 10px;
}

/* Grid layout for cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* Card styling */
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
  transition: all 0.3s ease;
  text-align: center;
}
/* Turn card black on hover */
.why-card:hover {
  background: #2a2a2a !important;
}

/* Make text white on hover */
.why-card:hover h3,
.why-card:hover p {
  color: #fff !important;
  transition: color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 170, 179, 0.18);
}

/* Image */
.why-card .why-img img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* Heading */
.why-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Text */
.why-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.show-reveal {
  opacity: 1;
  transform: translateY(0);
}



/*********************/
/*********************/
/*****APPLY SECTION****/
/*********************/
/*********************/


#apply {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 6vw;
  display: flex;
  align-items: center;
  justify-content: center;

  /* ADD YOUR BACKGROUND IMAGE HERE */
  background-image: url("https://image2url.com/images/1763532331399-b14b1b9e-9e55-4eff-96b4-d7bd0e4a3ea5.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.apply-content {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* makes responsive */
}

/* Main heading */
.apply-content h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 600px;
}

/* Right side content */
.apply-side {
  max-width: 450px;
  width: 100%;
  text-align: right;
}

/* Paragraph inside right column */
.apply-side p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Button responsiveness */
.apply-side .button {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  padding: 0.5rem 1.2rem;
}

/* -------- TABLET (below 900px) -------- */
@media (max-width: 900px) {
  .apply-content {
    flex-direction: column;
    text-align: center;
  }
  .apply-side {
    text-align: center;
  }
}

/* -------- MOBILE (below 600px) -------- */
@media (max-width: 600px) {
  #apply {
    padding: 60px 5vw;
  }
  .apply-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 100%;
  }
  .apply-side p {
    font-size: 1rem;
  }
  .apply-side {
    max-width: 100%;
  }
}


/*********************/
/*********************/
/*****FOOTER SECTION****/
/*********************/
/*********************/


.footer {
  background: #080000;
  color: white;
  padding: 40px 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: "Poppins", sans-serif;
  height: 250px;
}

.footer-left h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-left ul {
  list-style: none;
  padding: 0;
}

.footer-left ul li {
  margin: 8px 0;
}

.footer-left ul li a {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-left ul li a:hover {
  opacity: 0.6;
}

/* Right Section */
.footer-right h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: 0.3s ease;
  border: 1px solid #333;
}

.social-btn svg {
  width: 22px;
  fill: white;
}

.social-btn:hover {
  transform: scale(1.1);
  background: #222;
  border-color: white;
}
.card {
  text-align: center;
  color: aliceblue;
}

/*********************/
/*********************/
/*****POP UP ****/
/*********************/
/*********************/
/* ------------------- POPUP ------------------- */

/* .popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
} */

.popup-overlay.hidden {
  display: none;
}

/* .popup-box {
  width: 90%;
  max-width: 480px;
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
} */

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

.popup-input,
.popup-textarea {
  width: 100%;
  padding: 12px;
  background: #111;
  border: 1px solid #444;
  border-radius: 6px;
  margin-top: 12px;
  color: #fff;
}

.popup-textarea {
  resize: none;
  height: 100px;
}

.popup-row {
  display: flex;
  gap: 10px;
}

.popup-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.popup-send {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border: none;
  background: #00aab3;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.popup-send:hover {
  background: #00c6d4;
}
/* ----- POPUP TITLE + SUBTEXT ----- */

.popup-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 4px;
}

.popup-sub {
  font-size: 0.95rem;
  color: #bbbbbb;
  margin: 0 0 16px;
}

/* ----- SOCIAL ICONS ROW ----- */

.popup-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 4px;
}

.popup-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #222;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.popup-social-btn:hover {
  background: #00aab3;
  transform: translateY(-1px);
}

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

/* Default (desktop) */

/* Large screens (>1200px) */
@media (min-width: 1200px) {
  .popup-box {
    max-width: 550px;
    padding: 40px;
  }

  .popup-title {
    font-size: 40px;
  }

  .popup-sub {
    font-size: 1.05rem;
  }

  .popup-input,
  .popup-textarea {
    font-size: 1rem;
    padding: 14px;
  }

  .popup-send {
    font-size: 1.1rem;
    padding: 14px;
  }
}

/* Tablets (900px–600px) */
@media (max-width: 900px) and (min-width: 600px) {
  .popup-box {
    max-width: 420px;
    padding: 28px;
  }

  .popup-title {
    font-size: 34px;
  }

  .popup-row {
    gap: 8px;
  }

  .popup-social-btn {
    width: 30px;
    height: 30px;
  }
}

/* Mobile <600px */
@media (max-width: 600px) {
  .popup-box {
    width: 92%;
    padding: 22px;
    border-radius: 10px;
  }

  .popup-title {
    font-size: 28px;
    margin-bottom: 6px;
  }

  .popup-sub {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  /* Stack email + phone vertically */
  .popup-row {
    flex-direction: column;
    gap: 12px;
  }

  .popup-input {
    font-size: 0.9rem;
    padding: 12px;
  }

  .popup-textarea {
    height: 90px;
    font-size: 0.9rem;
  }

  .popup-social-btn {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .popup-send {
    font-size: 0.95rem;
    padding: 10px;
  }
}

/* Very small phones (350px–420px) */
@media (max-width: 420px) {
  .popup-box {
    width: 94%;
    padding: 18px;
  }

  .popup-title {
    font-size: 24px;
  }

  .popup-sub {
    font-size: 0.85rem;
  }

  .popup-input {
    padding: 10px;
  }

  .popup-social-btn {
    width: 28px;
    height: 28px;
  }
}

/* Ultra small screens (<330px) */
@media (max-width: 330px) {
  .popup-box {
    width: 96%;
    padding: 16px;
  }

  .popup-title {
    font-size: 22px;
  }

  .popup-row,
  .popup-social {
    gap: 6px;
  }

  .popup-input,
  .popup-textarea {
    font-size: 0.8rem;
    padding: 9px;
  }

  .popup-send {
    padding: 9px;
    font-size: 0.85rem;
  }
}

/*********************/
/*********************/
/*****CAREER PAGE****/
/*********************/
/*********************/
.career-hero {
  position: relative;
  overflow: hidden;
}

/* Generic cards */
.feature-card {
  background: radial-gradient(circle at top left, rgba(34,211,238,0.08), transparent 55%);
  border-radius: 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(148,163,184,0.4);
}
.feature-card h3 {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Domain blocks */
.domain-block {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.08), transparent 60%);
}
.domain-block + .domain-block {
  margin-top: 2.5rem;
}
.domain-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
}
.domain-subtitle {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-top: 0.3rem;
  margin-bottom: 1.5rem;
}

/* Role cards inside each domain */
.role-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.25rem 1.3rem;
  border-radius: 1.25rem;
  background-color: rgba(15,23,42,0.9);
  border: 1px solid rgba(51,65,85,0.9);
}
.role-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.role-about,
.role-skills,
.role-learn {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}
.role-list {
  list-style-type: disc;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
}
.role-list li {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.2rem;
}

/* How to apply steps */
.apply-step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(15,23,42,0.95);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(51,65,85,0.9);
}
.apply-step-number {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b1120;
}
.apply-step h3 {
  font-weight: 600;
  font-size: 0.95rem;
}
.apply-step p {
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .domain-block {
    padding: 1.4rem 1.1rem;
  }
  .role-card {
    padding: 1rem 0.95rem 1.05rem;
  }
  .apply-step {
    border-radius: 1.2rem;
    align-items: flex-start;
  }
}

/* Career page – horizontal course cards */

.career-course-container {
  position: relative;
  width: 100%;
  padding: 0 80px;   /* Space ONLY for arrows */
  overflow: hidden;
}
.career-courses-section {
  background: linear-gradient(to bottom, #e8f2ff, #f7fbff);
}

/* Hide default scrollbar on WebKit while keeping scroll */
.career-courses-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 1.2rem;
   width: 100%;
  max-width: 100vw;

}

.career-courses-wrapper::-webkit-scrollbar {
  height: 8px;
}
.career-courses-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.career-courses-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 999px;
}

.career-courses-track {
  display:inline-flex;
  gap: 1.8rem;
  min-width: max-content;
  padding: 0 6vw; 
}

/* Individual cards */
.career-course-card {
  flex: 0 0 320px;          /* was 260px */
  background: #0b1120;   
     /* dark like your career section */
  border-radius: 22px;
    box-sizing: border-box;
  margin: 0;  
  padding: 18px;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  
   min-width: 300px;   /* ✅ smaller boxes */
  max-width: 300px;
  flex-shrink: 0;

}
.career-course-heading {
  font-size: 40px;
  font-weight: 700;
  text-align: left;
  margin-bottom: 30px;
  color: #fff;
  padding-left: 20px;
}
.career-course-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0 6px;
  color: #fff;
}

.career-course-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #dcdcdc;
  margin-bottom: 12px;
   opacity: 0.9;
}


.career-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 55px rgba(8, 47, 73, 0.9);
  border-color: rgba(56, 189, 248, 0.8);
}


.career-course-duration {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 0.4rem;
}

.career-course-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #e5f3ff;
  margin-bottom: 0.5rem;
}

.career-course-meta {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1.3rem;
}

.career-course-link {
  align-self: flex-start;
  font-size: 0.92rem;
  font-weight: 500;
  color: #22d3ee;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.career-course-link:hover {
  color: #0369a1;
}

* Image on top of card */
.career-course-img {
  width: 100%;
  height: 150px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.15), rgba(15,23,42,1));
  display: flex;
  align-items: center;
  justify-content: center;
  
  overflow: hidden;
   margin: 0 -4px 14px; 
}

.career-course-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.career-course-card:hover .career-course-img img {
  transform: scale(1.05);
  filter: contrast(1.1) saturate(1.2);
}
.career-course-container {
  position: relative;
}



/* Smooth scrolling container */
.career-course-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  width: 100%;
  margin: auto;
}

.career-course-row::-webkit-scrollbar {
  display: none;
}
#courseRow {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* ✅ HORIZONTAL SCROLL FOR INTERNSHIPS */

.career-course-container {
  overflow-x: auto;          /* ✅ enable horizontal scroll */
  overflow-y: hidden;
  padding: 0 70px 14px;      /* ✅ equal left & right space */
  scroll-behavior: smooth;
}

/* ✅ Force one single horizontal row */
.career-course-row {
  display: flex;
  flex-wrap: nowrap;        /* ✅ NO wrapping (important) */
  gap: 24px;
  width: max-content;
}

/* ✅ Card size control */
.career-course-card {
  width: 260px;
  flex-shrink: 0;
}

/* ✅ Visible scrollbar */
.career-course-container::-webkit-scrollbar {
  height: 6px;
}

.career-course-container::-webkit-scrollbar-track {
  background: #111;
}

.career-course-container::-webkit-scrollbar-thumb {
  background: rgb(0, 170, 179);
  border-radius: 10px;
}
/* ✅ AGNEYRA INTERN BENEFITS SECTION */

.agneyra-benefits-section {
  margin-top: 80px;
  padding: 60px 8%;
  color: white;
  background: linear-gradient(to right, #0a0a0a, #050505);
}

.benefits-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  color: white;
}

.benefits-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.benefits-list li {
  font-size: 16px;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 3px solid rgb(0, 170, 179);
}

.benefits-list strong {
  color: rgb(0, 170, 179);
}
/* ✅ CREATIVE "WHO CAN APPLY" SECTION */

.agneyra-eligibility-section {
  padding: 90px 8%;
  background: radial-gradient(circle at top, #0c1a1f, #050505);
  color: white;
}

.eligibility-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.eligibility-heading {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;

  background: linear-gradient(90deg, #00aab3, #00ffd5);
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
}


.eligibility-subtext {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 50px;
}

/* ✅ Creative card layout */
.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.eligibility-card {
  padding: 26px 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 0 rgba(0,170,179,0.0);
  transition: all 0.35s ease;
}

.eligibility-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: rgb(0, 170, 179);
}

.eligibility-card p {
  font-size: 15px;
  color: #ddd;
  line-height: 1.6;
}

/* ✅ Hover Glow Effect */
.eligibility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0,170,179,0.25);
  border-color: rgba(0,170,179,0.6);
}
/* -------------------------------------------------------
   PROFESSIONAL "HOW TO APPLY" — CORPORATE TIMELINE STYLE
-------------------------------------------------------- */

.apply-steps-section {
  padding: 100px 8%;
  background: #050505;
  color: #fff;
}

.apply-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.apply-heading {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 50px;

  background: linear-gradient(90deg, #00aab3, #00ffd5);
  background-clip: text;              /* ✅ Standard version */
  -webkit-background-clip: text;      /* ✅ Safari/Chrome support */

  color: transparent;                 /* ✅ Standard version */
  -webkit-text-fill-color: transparent;
}

/* Timeline layout */
.apply-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  padding-left: 40px;
}

/* Draw line only between steps (not after last step) */
.apply-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -21px;
  top: 38px;
  width: 2px;
  height: calc(100% + 40px);
  background: rgba(0, 170, 179, 0.4);
}

/* Each step block */
.apply-step {
  position: relative;
  padding-left: 20px;
}

.step-number {
  position: absolute;
  left: -40px;
  top: 0;
  width: 38px;
  height: 38px;
  background: #00aab3;
  color: #000;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.apply-step p {
  font-size: 16px;
  line-height: 1.7;
  color: #ddd;
}

.apply-step strong {
  color: #fff;
}
.apply-btn{
  color: #00c6d4;
}

/*********************/
/*********************/
/*****BUILDING RESPONSIVE****/
/*********************/
/*********************/





@media (max-width: 900px) {
  .why-kelman .columns {
    margin-bottom: 40px !important; /* Previously 80px */
  }

  .apply-button-wrapper {
    margin-top: 10px !important; /* Reduce large blank area */
  }
}
/* FIX steps layout for 370px–767px */
@media (min-width: 370px) and (max-width: 770px) {
  .why-kelman .columns {
    grid-template-columns: 1fr; /* Single column */
    gap: 40px; /* Reduce large gap */
  }

  .why-kelman .col .item {
    flex-direction: row; /* Number + text side-by-side */
    align-items: flex-start;
    gap: 16px;
    text-align: left; /* better readability */
    margin-bottom: 20px !important;
  }

  .why-kelman .num {
    font-size: 2.8rem !important;
    min-width: 50px;
    text-align: left;
  }

  .why-kelman .text h3 {
    font-size: 1.25rem !important;
    margin-bottom: 6px;
  }

  .why-kelman .text p {
    font-size: 0.95rem !important;
    line-height: 1.55;
  }
}
/* FIX spacing for HOW IT WORKS section (top smaller, bottom slightly bigger) */
@media (min-width: 370px) and (max-width: 900px) {
  .why-kelman.black-theme {
    padding-top: 20px !important; /* reduced from ~80–120 */
    padding-bottom: 70px !important; /* increased for balance */
  }

  .why-kelman h1 {
    margin-top: 0 !important; /* remove extra top gap around the H1 */
    margin-bottom: 40px !important; /* keep spacing below clean */
  }
}
/* SIMPLE, RELIABLE FIX for HOW IT WORKS steps on small screens */
@media (max-width: 769px) {
  /* 1. Kill the grid and make it a normal block stack */
  .why-kelman .columns {
    display: block !important; /* no CSS grid below 769px */
    margin-bottom: 40px !important;
  }

  .why-kelman .col {
    margin: 0 !important; /* no extra column gap */
  }

  /* 2. Each step = same bottom gap */
  .why-kelman .col .item {
    display: flex !important;
    flex-direction: row !important; /* number + text in a row */
    align-items: flex-start !important;
    gap: 16px !important;
    margin-bottom: 28px !important; /* <<< SAME GAP for all */
  }

  /* 3. Make numbers nice but not huge */
  .why-kelman .num {
    font-size: 2.6rem !important;
    min-width: 55px !important;
    line-height: 1 !important;
  }
}
/* SUPER CLEAN LAYOUT FOR MID-SCREENS (1247px → 901px) */
@media (max-width: 1247px) and (min-width: 901px) {
  .consulting-section {
    padding: 90px 6vw 70px !important;
    gap: 40px !important;
    align-items: center !important;
  }

  /* Left text column */
  .consulting-left {
    max-width: 55% !important;
  }

  .consulting-left h1 {
    font-size: 2.2rem !important;
    line-height: 1.18 !important;
    margin-bottom: 22px !important;
  }

  .consulting-body {
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
    max-width: 95%;
  }

  .consulting-left .button {
    margin-top: 40px !important;
    transform: scale(0.92);
  }

  /* Right video column */
  .consulting-video {
    width: 330px !important;
    height: 200px !important;
    border-radius: 16px !important;
  }
}
/* PERFECT FIX: 901px – 1035px squeezed layout */
@media (min-width: 901px) and (max-width: 1035px) {
  .consulting-section {
    gap: 50px !important;
    padding: 100px 5vw 60px !important;
  }

  /* LEFT SIDE */
  .consulting-left {
    max-width: 440px !important; /* give more breathing space */
  }

  .consulting-left h1 {
    font-size: 2.3rem !important;
    line-height: 1.22 !important;
    margin-bottom: 20px !important;
  }

  .consulting-body {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
    max-width: 95% !important;
  }

  .consulting-left .button {
    margin-top: 28px !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.9rem !important;
  }

  /* RIGHT SIDE (Video) */
  .consulting-video {
    width: 360px !important;
    height: 210px !important;
    border-radius: 14px !important;
  }
}
/* =============================
   VIDEO FIX WITHOUT MOVING TEXT
   ============================= */

/* 900px – 750px → Keep side-by-side, shrink only video */
@media (max-width: 900px) and (min-width: 751px) {
  .consulting-section {
    flex-direction: row !important; /* keep text & video side by side */
    align-items: flex-start !important;
  }

  .consulting-left {
    text-align: left !important; /* keep text left aligned */
    max-width: 55% !important;
  }

  .consulting-video {
    width: 320px !important;
    height: 200px !important;
  }
}

/* BELOW 750px → stack but KEEP TEXT LEFT, and center video only */
@media (max-width: 750px) {
  .consulting-section {
    flex-direction: column !important;
    align-items: flex-start !important; /* TEXT STAYS LEFT */
    padding: 60px 6vw !important;
    gap: 32px !important;
  }

  .consulting-left {
    width: 100% !important;
    text-align: left !important;
  }

  .consulting-right {
    width: 100%;
    display: flex;
    justify-content: center; /* only video is centered */
  }

  .consulting-video {
    width: 85% !important;
    max-width: 360px !important;
    height: 210px !important;
  }
}
/* ================================================
   FIX: 600px – 750px (tablet portrait sweet spot)
   Make text smaller + video a bit bigger
   ================================================ */
@media (min-width: 600px) and (max-width: 751px) {
  .consulting-left h1 {
    font-size: 2rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  .consulting-body {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
  }

  .consulting-left .button {
    margin-top: 30px !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.85rem !important;
    margin-bottom: 20px;
  }

  .consulting-video {
    width: 90% !important;
    max-width: 380px !important; /* Slightly bigger video */
    height: 230px !important;
  }

  .consulting-right {
    justify-content: center !important;
  }
}
/* =================================================
   PERFECT FIX: 750px – 900px
   Keep video aligned with text, stop upward shift
   ================================================= */
@media (min-width: 750px) and (max-width: 900px) {
  .consulting-section {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important; /* don't stretch upward */
    padding: 90px 6vw !important;
    gap: 50px !important;
  }

  /* LEFT SIDE FIX */
  .consulting-left {
    width: 55% !important;
    max-width: 500px !important;
  }

  .consulting-left h1 {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  .consulting-body {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
  }

  /* RIGHT SIDE FIX (video stop floating upward) */
  .consulting-right {
    width: 45% !important;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* prevents vertical floating */
    padding-top: 50px !important; /* pushes video down */
    padding-right: 10px !important;
  }

  .consulting-video {
    width: 340px !important;
    height: 210px !important;
    margin-top: 40px !important; /* THIS prevents upward movement */
    border-radius: 14px !important;
  }
}
@media (min-width: 1247px) and (max-width: 1500px) {
  .consulting-video {
    width: 420px !important;
    height: 250px !important;
  }

  .consulting-right {
    padding-top: 20px !important;
    padding-right: 20px !important;
  }
}
@media (min-width: 700px) and (max-width: 760px) {
  .consulting-video {
    width: 320px !important;
    height: 200px !important;
  }
}
/* FIX HOW IT WORKS ORDER ON MOBILE */
@media (max-width: 768px) {

  .why-kelman .columns {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Ensure items behave individually */
  .why-kelman .col {
    display: contents !important;
  }

  /* Reorder items (top to bottom) */
  .why-kelman .item:nth-of-type(1) { order: 1; } /* 01 */
  .why-kelman .item:nth-of-type(2) { order: 3; } /* 03 (should come 3rd) */
  .why-kelman .item:nth-of-type(3) { order: 2; } /* 02 */
  .why-kelman .item:nth-of-type(4) { order: 4; } /* 04 */
}



/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}


/* Popup box */
.popup-box {
  background: linear-gradient(135deg, #ffffff, #f0fbfc);
  padding: 40px 30px;
  border-radius: 22px;
  text-align: center;
  width: 90%;
  max-width: 420px;

  font-family: "Poppins", "Segoe UI", sans-serif;
  color: #0f172a;

  box-shadow: 0 25px 60px rgba(0, 170, 179, 0.35);
  animation: popupZoom 0.35s ease;
}

/* Emoji / icon */
.popup-box .rocket {
  font-size: 34px;
  margin-bottom: 14px;
  animation: float 2s ease-in-out infinite;
}

/* Heading */
.popup-box h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Text */
.popup-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}

/* Button */
.popup-box button {
  margin-top: 20px;
  padding: 12px 34px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #00aab3, #00d4d8);
  color: #fff;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(0, 170, 179, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Button hover */
.popup-box button:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 35px rgba(0, 170, 179, 0.6);
}

/* Animations */
@keyframes popupZoom {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
/*  */
