* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Refined keyboard navigation without changing the visual design. */
:focus-visible {
  outline: 3px solid rgba(65, 144, 173, 0.7);
  outline-offset: 4px;
}

/* Keep the experience comfortable for visitors who request less motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: #f5f5f5;
    overflow-x: hidden;
}

/* =============================================
   SCROLL-TRIGGER ANIMATION SYSTEM
   ============================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes navbarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Elements start invisible, JS adds .visible class */
.animate-fadeup {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.animate-slideLeft {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.animate-slideRight {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.animate-scaleIn {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.animate-fadeup.visible,
.animate-slideLeft.visible,
.animate-slideRight.visible,
.animate-scaleIn.visible {
  opacity: 1;
  transform: none;
}
/* Stagger delays for grid children */
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.Hero-Div {
  margin: 22.78px 20px 0px 20px;
  background: linear-gradient(
    180deg,
    rgba(197, 255, 253, 0.6) 32.43%,
    #4190ad 119.75%
  );
  border-radius: 38px;
  padding: 25.22px 22px 0px 22px;
}

.Navbar-Div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0px 13.06px 30px 0px #00000014;
  border-radius: 65.28px;
  padding-right: 13px;
  animation: navbarSlideDown 0.6s ease both;
  position: relative;
  z-index: 1000;
}
.logo {
  padding-left: 41px;
  padding-bottom: 1.5px;
  padding-top: 1.5px;
}
.nav-links {
  display: flex;
  flex-direction: row;
  gap: 40px;
  list-style: none;
}

/* Contact Us link in nav — hidden on desktop, shown in mobile menu */
.nav-contact-link {
  display: none;
}
.itemfont {
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 20px;
  leading-trim: CAP_HEIGHT;
  line-height: 45.69px;
  letter-spacing: 0%;
  text-align: center;
  color: #000000;
  text-decoration: none;
}
.itemfont {
  position: relative;
  transition: color 0.25s ease;
}
.itemfont::after {
  display: none;
}
.itemfont:hover {
  color: #4190ad;
}
.itemfont.active {
  color: #4190ad;
  font-weight: 700;
}

/* Section links (About, Career, Education) — never show selected state */
.nav-links a[href$="#about"],
.nav-links a[href$="#career"],
.nav-links a[href$="#education"] {
  -webkit-tap-highlight-color: transparent;
}
.nav-links a[href$="#about"].active,
.nav-links a[href$="#career"].active,
.nav-links a[href$="#education"].active,
.nav-links a[href$="#about"]:focus,
.nav-links a[href$="#career"]:focus,
.nav-links a[href$="#education"]:focus {
  color: #000000;
  font-weight: 600;
  background: transparent;
  outline: none;
}
@media (hover: none) {
  .nav-links a[href$="#about"]:hover,
  .nav-links a[href$="#career"]:hover,
  .nav-links a[href$="#education"]:hover {
    color: #000000;
    background: transparent;
  }
}
.contact-btn-navbar {
  height: 65px;
  padding: 0 43px;
  border-radius: 43.45px;
  background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
  box-shadow: 0 4px 16px rgba(65, 140, 167, 0.35);
  white-space: nowrap;
}
.contact-btn-navbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(65, 140, 167, 0.5);
  opacity: 0.92;
}

.hero-bottom-content {
  padding: 90px 30px 88px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  background: #ffffff99;
  border: 1.31px solid #4190ad47;
  padding: 18px 27px;
  font-family: Montserrat;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  leading-trim: CAP_HEIGHT;
  line-height: 20px;
  letter-spacing: 15%;
  text-align: center;
  text-transform: uppercase;
  color: #4190ad;
  border-radius: 65.28px;
  margin-bottom: 45px;
}

.hero-title {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 120px;
  leading-trim: CAP_HEIGHT;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: #000000;
  margin-bottom: 50px;
}

.hero-desc {
  font-family: Montserrat;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  leading-trim: CAP_HEIGHT;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
  color: #2c2c2c;
  max-width: 951px;
}

.hero-image {
  position: relative;
  background-color: #ffffff33;
  border: 1.31px solid #ffffff;
  border-top-left-radius: 32.64px;
  border-top-right-radius: 32.64px;
  padding: 20px 20px 0px 20px;
  margin-left: 60px;
  margin-right: 60px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-top-left-radius: 32.64px;
  border-top-right-radius: 32.64px;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.imageheronew {
  min-width: 100%;
  height: 646px;
  object-fit: cover;
  border-top-left-radius: 32.64px;
  border-top-right-radius: 32.64px;
}

.carousel-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 34px;
  height: 9px;
  background: #ffffff40;
  border-radius: 100px;
  transition: 0.3s ease;
}

.dot.active {
  width: 57px;
  height: 9px;
  background: #ffffff;
}

.Keyeast {
  background-color: #d7f4f080;
  border-radius: 38px;

  display: flex;

  margin: 20px;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  padding: 44px 22px 40px 41px;
}

.keyeast-left h2,
.keyeast-right h2 {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 58px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000000;
  margin-bottom: 32px;
}

.designation {
  font-family: Montserrat;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: CAP_HEIGHT;
  line-height: 24px;
  letter-spacing: 15%;
  text-transform: uppercase;
  color: #4190ad;
}

.email-box {
  display: flex;
  align-items: start;
  gap: 19.49px;
  margin-top: 48px;
}

.email-box span {
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: CAP_HEIGHT;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #828282;
}

.email-box h4 {
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 30px;
  leading-trim: CAP_HEIGHT;
  line-height: 100%;
  letter-spacing: 6%;
  vertical-align: middle;
  margin-top: 10px;
  color: #000000;
}

.nbct-logo {
  width: 215px;
  margin-top: 40px;
}

.keyeast-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.keyeast-logo {
  width: 100%;
  max-width: 620px;
  margin-top: 76px;
}

.about-section {
  margin: 20px;
  display: flex;
  flex-direction: row;
  gap: 29px;
  align-items: end;
}

.about-image img {
  max-width: 783px;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
}

.about-tag {
  font-family: Montserrat;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: CAP_HEIGHT;
  line-height: 26px;
  letter-spacing: 15%;
  text-transform: uppercase;
  color: #4190ad;
}

.about-content h2 {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 58px;
  leading-trim: NONE;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000000;
  margin-top: 32px;
  margin-bottom: 34px;
}

.about-content p {
  font-family: Montserrat;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 153%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #545454;
}

.service-grid {
  margin-top: 41px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-card {
  text-decoration: none;
  background: #f3f3f333;
  border: 1px solid #9898984d;
  box-shadow: 0px 4px 4px 0px #00000012;
  border-radius: 20px;
  padding: 31px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition:
    background 0.35s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(65, 140, 167, 0.22);
}

.service-card:hover {
  background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
  text-decoration: none;
}

/* Icon */
.icon {
  position: relative;
  width: 82px;
  height: 82px;
}

.icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.icon-hover {
  opacity: 0;
}

.service-card:hover .icon-normal {
  opacity: 0;
}

.service-card:hover .icon-hover {
  opacity: 1;
}
.service-card h3 {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #4d4d4d;
  text-decoration: none;
}

.service-card p {
  font-family: Montserrat;
  font-weight: 400;
  font-style: Regular;
  font-size: 22px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #989898;
  margin-top: 20px;
}

.career-section {
  margin: 20px;
  padding: 60px 54px;
  border-radius: 38px;
  background: #f3f3f3cc;
}

.section-tag {
  font-family: Montserrat;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: CAP_HEIGHT;
  line-height: 24px;
  letter-spacing: 15%;
  text-transform: uppercase;
  color: #4190ad;
}

.section-title {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 58px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000000;
  margin-top: 32px;
  margin-bottom: 70px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;

  background: url("Images/homepage/linedotted.svg") repeat-y center top;
  background-size: 2px auto;
}

.timeline-item {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
  position: relative;
  transition: transform 0.3s ease;
}
.timeline-item:hover {
  transform: translateX(6px);
}
.timeline-item:hover .timeline-content h3 {
  color: #4190ad;
}

.timeline-content h3 {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #4d4d4d;
  margin-bottom: 22px;
}

.timeline-content h4 {
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #4190ad;
  margin-bottom: 28px;
}

.timeline-content p {
  font-family: Montserrat;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 153%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #545454;
  max-width: 1295px;
}

.timeline-year {
  white-space: nowrap;
  justify-self: center;
  background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
  color: #fff;
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  vertical-align: middle;
  padding: 14px 26px;
  border-radius: 70px;
}

.newtimeline {
  width: 100%;
  display: flex;
  gap: 72px;
  justify-content: space-between;
  align-items: center;
}

.academic-section {
  margin: 55px 20px 20px 20px;
  text-align: center;
}
.emailiconhome {
  width: 72px;
  height: auto;
}
.academic-tag {
  font-family: Montserrat;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: CAP_HEIGHT;
  line-height: 24px;
  letter-spacing: 15%;
  text-align: center;
  text-transform: uppercase;
  color: #4190ad;
}

.academic-title {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 58px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000000;
  margin-top: 32px;
  margin-bottom: 70px;
}

.academic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.academic-card {
  background: #d7f4f04d;
  border-bottom: 6px solid #4190ad8c;
  box-shadow: 0px 4px 4px 0px #00000012;
  border-radius: 20px;
  padding: 32px 22px;
}

.academic-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(65, 140, 167, 0.2);
  background: #c4ecf080;
}

.academic-card h3 {
  font-family: Georgia;
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #4d4d4d;
}

.academic-card h4 {
  margin: 27px 0 27px;
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #4190ad;
}

.year {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
  border-radius: 50px;
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 2%;
  text-align: right;
  vertical-align: middle;
  color: #ffffff;
  padding: 14.5px 48px;
}

.contact-section {
  position: relative;
  margin: 20px;
  height: 479px;
  border-radius: 28px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.contact-section:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.contact-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 42, 53, 0.55);
}

.contact-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-content span {
  font-family: Montserrat;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: CAP_HEIGHT;
  line-height: 24px;
  letter-spacing: 15%;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 32px;
}

.contact-content h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 58px;
  line-height: 100%;
  text-align: center;
  text-transform: capitalize;
  color: #ffffff;
  margin-bottom: 76px;
  text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.75);
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13.45px;
  background: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 22px;
  leading-trim: CAP_HEIGHT;
  line-height: 100%;
  letter-spacing: 0%;
  color: #386f83;
  padding: 30px 60px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-btn img {
  width: 0.66em;
  height: auto;
  flex-shrink: 0;
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.contact-btn:hover {
  background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(65, 140, 167, 0.4);
}

.contact-btn:hover img {
  filter: brightness(0) invert(1);
  transform: translate(2px, -2px);
}

/* Footer */

.footer {
  height: 54px;
  background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Montserrat;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 2%;
  text-align: center;
  vertical-align: middle;
  color: #ffffff;
  padding: 12px;
}

@media (max-width: 1700px) {
  .footer {
    font-size: 20px;
  }
  .itemfont {
    font-size: 18px;
  }
  .about-section {
    align-items: center;
  }
  .about-image img {
    width: 100%;
  }
  .animate-slideRight {
    width: 50%;
  }
  .contact-btn-navbar {
    font-size: 18px;
  }
  .nav-links {
    gap: 30px;
  }

  .emailiconhome {
    width: 60px;
    height: auto;
  }
  .email-box h4 {
    font-size: 24px;
  }
  .email-box span {
    font-size: 18px;
  }
  .keyeast-left h2,
  .keyeast-right h2,
  .about-content h2 {
    font-size: 50px;
    margin-bottom: 20px;
  }
  .section-title,
  .academic-title,
  .contact-content h2 {
    font-size: 50px;
  }
  .contact-btn {
    padding: 30px;
  }
  .about-content h2,
  .timeline-content h4,
  .academic-card h4,
  .year {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .academic-card h3 {
    font-size: 35px;
  }
  .academic-card {
    padding: 20px;
  }

  .timeline-content p {
    font-size: 16px;
  }
  .timeline-year {
    font-size: 20px;
  }
  .service-card h3 {
    font-size: 30px;
  }
  .service-card p {
    font-size: 18px;
    margin-top: 10px;
  }
  .icon img,
  .icon {
    width: 70px;
    height: 70px;
  }
  .service-card {
    gap: 18px;
  }
  .service-card {
    padding: 20px;
  }
  .designation,
  .about-tag,
  .section-tag,
  .academic-tag,
  .contact-content span {
    font-size: 20px;
  }
  .nbct-logo {
    width: 180px;
  }
  .keyeast-logo {
    width: 500px;
  }
  .hero-badge {
    margin-bottom: 40px;
    font-size: 18px;
    padding: 15px 25px;
  }
  .hero-title {
    font-size: 100px;
    margin-bottom: 40px;
  }
  .hero-desc {
    font-size: 18px;
  }
  .hero-bottom-content {
    padding: 70px 30px 70px 30px;
  }
}

@media (max-width: 1500px) {
  .itemfont {
    font-size: 16px;
  }

  .contact-btn-navbar {
    font-size: 16px;
  }
  .nav-links {
    gap: 24px;
  }

  .hero-badge {
    margin-bottom: 30px;
    font-size: 16px;
  }
  .hero-title {
    font-size: 90px;
    margin-bottom: 30px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-bottom-content {
    padding: 60px 30px 60px 30px;
  }
  .imageheronew {
    height: 600px;
  }
}

@media (max-width: 1450px) {
  .footer {
    font-size: 18px;
  }
  .hero-badge {
    margin-bottom: 20px;
    font-size: 15px;
  }
  .hero-title {
    font-size: 80px;
    margin-bottom: 30px;
  }
  .hero-desc {
    font-size: 15px;
  }

  .imageheronew {
    height: 550px;
  }
  .nav-links {
    gap: 20px;
  }
  .career-section {
    padding: 30px;
  }
  .navbarlogo {
    width: 90px;
  }
  .contact-btn-navbar {
    height: 55px;
    padding: 0 30px;
  }

  .keyeast-left h2,
  .keyeast-right h2,
  .about-content h2 {
    font-size: 45px;
    margin-bottom: 20px;
  }
  .section-title,
  .academic-title {
    font-size: 45px;
  }
  .academic-title {
    margin-top: 30px;
    margin-bottom: 60px;
  }
  .year {
    margin: 0;
  }
  .designation,
  .about-tag,
  .section-tag,
  .timeline-content h4,
  .timeline-year,
  .academic-tag {
    font-size: 18px;
  }
  .cap {
    height: 60px;
    width: 60px;
  }
  .about-content p {
    font-size: 16px;
  }
  .keyeast-logo {
    width: 400px;
  }
  .nbct-logo {
    width: 150px;
  }
  .email-box h4 {
    font-size: 20px;
  }
  .timeline::before {
    left: 30px;
  }
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 8px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.hamburger-btn:hover {
  background: rgba(65, 140, 167, 0.08);
  border-color: rgba(65, 140, 167, 0.2);
}

.hamburger-line {
  width: 24px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Active Hamburger — X animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: #4190ad;
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: #4190ad;
}
@media (max-width: 1350px) {
  .hero-desc {
    max-width: 700px;
  }
  .hero-badge {
    margin-bottom: 20px;
    font-size: 14px;
    padding: 12px 20px;
  }
  .hero-title {
    font-size: 70px;
    margin-bottom: 20px;
  }
  .hero-desc {
    font-size: 13px;
    line-height: 20px;
  }
  .service-grid {
    flex-direction: column;
	text-decoration: none;
  }
  .hero-bottom-content {
    padding: 40px 20px 40px 20px;
  }
  .imageheronew {
    height: 500px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1200px) {
  .footer {
    font-size: 16px;
  }
  .nav-links {
    gap: 15px;
  }
  .about-section {
    flex-direction: column;
  }
  .about-image img {
    border-radius: 20px;
  }
  .navbarlogo {
    width: 90px;
  }
  .contact-btn-navbar {
    height: 50px;
    padding: 0 30px;
  }
  .hero-title {
    font-size: 60px;
  }
  .academic-card h3 {
    font-size: 30px;
  }
  .academic-card h4,
  .year {
    font-size: 18px;
  }
  .hero-badge {
    margin-bottom: 15px;
    font-size: 13px;
  }
  .Keyeast {
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }
  .keyeast-logo {
    margin-top: 10px;
  }
  .break {
    display: none;
  }
  .animate-slideRight {
    width: 100%;
  }
  .keyeast-left h2,
  .keyeast-right h2 {
    font-size: 40px;
    margin-bottom: 15px;
  }
  .designation {
    font-size: 16px;
  }
  .email-box h4 {
    font-size: 18px;
  }
  .keyeast-logo {
    width: 300px;
  }
  .nbct-logo {
    width: 120px;
  }
}

@media (max-width: 1150px) {
  .hamburger-btn {
    display: flex;
    margin-right: 8px;
  }

  /* Hide the desktop nav-links & contact button */
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 10px;
    right: 10px;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    padding: 20px 18px;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 1001;
    /* Smooth open animation */
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.25s ease both;
  }

  /* Each menu item in mobile */
  .nav-links .itemfont {
    font-size: 17px;
    padding: 10px 16px;
    border-radius: 14px;
    text-align: left;
    line-height: 1.4;
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }
  .nav-links .itemfont::after {
    display: none;
  }
  .nav-links .itemfont:hover {
    background: rgba(65, 140, 167, 0.08);
    color: #4190ad;
  }
  .nav-links .itemfont.active {
    background: rgba(65, 140, 167, 0.1);
  }

  /* Contact Us inside menu */
  .nav-contact-link {
    display: flex !important;
    background: linear-gradient(177.7deg, #418ca7 -1.74%, #386f83 98.07%);
    color: #ffffff !important;
    border-radius: 43px;
    padding: 13px 30px;
    justify-content: center;
    font-weight: 700 !important;
    text-decoration: none;
    margin-top: 6px;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .nav-contact-link:hover {
    opacity: 0.85;
    color: #ffffff !important;
    transform: translateY(-2px);
  }
  .nav-contact-link::after {
    display: none !important;
  }

  /* Hide navbar standalone Contact Us button */
  .contact-btn-navbar {
    display: none !important;
  }

  .Navbar-Div {
    position: relative;
    padding-right: 8px;
  }
}

@media (max-width: 1000px) {
  .hero-title {
    font-size: 50px;
    line-height: 60px;
  }
  .hero-desc {
    max-width: 500px;
  }
  .imageheronew {
    height: 380px;
  }
}

/* ── Small tablets & large phones ── */
/* ── Small tablets & large phones ── */
@media (max-width: 768px) {
  .Hero-Div {
    margin: 12px 10px 0 10px;
    padding: 16px 12px 0 12px;
    border-radius: 24px;
  }
  .hero-image {
    margin-left: 10px;
    margin-right: 10px;
  }
  .imageheronew {
    height: 260px;
  }
  .hero-badge {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 14px;
    padding: 10px 16px;
  }
  .hero-title {
    font-size: 44px;
    line-height: 48px;
  }
  .hero-desc {
    font-size: 14px;
    line-height: 22px;
  }
  .hero-bottom-content {
    padding: 30px 16px 30px 16px;
  }

  /* Keyeast */
  .Keyeast {
    flex-direction: column;
    gap: 28px;
    margin: 12px;
    padding: 28px 18px;
  }
  .keyeast-left h2,
  .keyeast-right h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .keyeast-logo {
    width: 100%;
    max-width: 340px;
    margin-top: 20px;
  }
  .nbct-logo {
    width: 140px;
    margin-top: 20px;
  }
  .designation {
    font-size: 16px;
  }
  .email-box {
    margin-top: 24px;
  }
  .email-box span {
    font-size: 18px;
  }
  .email-box h4 {
    font-size: 20px;
  }

  /* About */
  .about-section {
    flex-direction: column;
    margin: 12px;
    gap: 20px;
  }
  .about-image {
    width: 100%;
    text-align: center;
  }
  .about-image img {
    width: 450px;
    max-width: 100%;
    border-radius: 20px;
  }
  .about-content h2 {
    font-size: 34px;
    margin-top: 16px;
  }
  .about-content p {
    font-size: 15px;
  }
  .about-tag {
    font-size: 18px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .service-card {
    padding: 24px 16px;
    gap: 18px;
  }
  .service-card h3 {
    font-size: 24px;
  }
  .service-card p {
    font-size: 15px;
  }
  
  .service-card a{
    text-decoration: none !important;
  }
  
  .icon {
    width: 64px;
    height: 64px;
  }

  /* Career */
  .career-section {
    margin: 12px;
    padding: 28px 16px;
    border-radius: 24px;
  }
  .section-tag {
    font-size: 18px;
  }
  .section-title {
    font-size: 34px;
    margin-top: 16px;
    margin-bottom: 36px;
  }
  .timeline-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .timeline-content h4 {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .timeline-content p {
    font-size: 14px;
  }
  .newtimeline {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .timeline-year {
    align-self: flex-start;
    font-size: 18px;
    padding: 10px 20px;
  }
  .timeline-item {
    gap: 16px;
    margin-bottom: 28px;
  }

  /* Academic */
  .academic-section {
    margin: 12px;
  }
  .academic-tag {
    font-size: 18px;
  }
  .academic-title {
    font-size: 34px;
    margin-top: 16px;
    margin-bottom: 36px;
  }
  .academic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .academic-card {
    padding: 24px 16px;
  }
  .academic-card h3 {
    font-size: 24px;
  }
  .academic-card h4 {
    font-size: 18px;
    margin: 14px 0;
  }
  .year {
    font-size: 18px;
    padding: 10px 28px;
  }

  /* Contact */
  .contact-section {
    margin: 12px;
    height: 280px;
  }
  .contact-content span {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .contact-content h2 {
    font-size: 32px;
    margin-bottom: 36px;
  }
  .contact-btn {
    font-size: 16px;
    padding: 18px 30px;
  }

  .footer {
    font-size: 14px;
  }

  .carousel-dots {
    gap: 6px;
  }
  .dot {
    width: 28px;
    height: 8px;
  }
  .dot.active {
    width: 46px;
    height: 8px;
  }
}

/* ── Mobile phones ── */
@media (max-width: 480px) {
  .Hero-Div {
    margin: 8px 6px 0 6px;
    padding: 12px 8px 0 8px;
    border-radius: 16px;
  }
  .imageheronew {
    height: 220px;
  }
  .hero-bottom-content {
    padding: 24px 12px 24px 12px;
  }
  .hero-title {
    font-size: 34px;
    line-height: 40px;
  }
  .hero-badge {
    font-size: 11px;
    padding: 8px 14px;
    margin-bottom: 8px;
  }
  .hero-desc {
    font-size: 13px;
    line-height: 20px;
  }
  .hero-image {
    margin-left: 6px;
    margin-right: 6px;
    padding: 10px 10px 0px 10px;
  }
  .timeline::before {
    left: 20px;
  }
  .Keyeast {
    margin: 8px 6px;
    padding: 20px 14px;
    gap: 20px;
  }
  .keyeast-left h2,
  .keyeast-right h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }
  .designation {
    font-size: 14px;
  }
  .email-box {
    margin-top: 16px;
    gap: 12px;
  }
  .email-box span {
    font-size: 16px;
  }
  .email-box h4 {
    font-size: 16px;
  }
  .keyeast-logo {
    max-width: 260px;
    margin-top: 14px;
  }
  .nbct-logo {
    width: 110px;
    margin-top: 14px;
  }

  .about-section {
    margin: 8px 6px;
    gap: 14px;
  }
  .about-image img {
    width: 320px;
  }
  .about-content h2 {
    font-size: 26px;
  }
  .about-tag {
    font-size: 16px;
  }
  .about-content p {
    font-size: 14px;
  }
  .service-card {
    padding: 20px 14px;
    gap: 16px;
  }
  .service-card h3 {
    font-size: 20px;
  }
  .service-card p {
    font-size: 14px;
  }
  .icon {
    width: 54px;
    height: 54px;
  }

  .career-section {
    margin: 8px 6px;
    padding: 20px 12px;
    border-radius: 18px;
  }
  .section-tag {
    font-size: 16px;
  }
  .section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .timeline-content h3 {
    font-size: 20px;
  }
  .timeline-content h4 {
    font-size: 14px;
  }
  .timeline-content p {
    font-size: 13px;
  }
  .timeline-year {
    font-size: 15px;
    padding: 8px 16px;
  }
  .timeline-item {
    gap: 10px;
  }
  .cap {
    height: 40px;
    width: 40px;
  }
  .academic-section {
    margin: 8px 6px;
  }
  .academic-tag {
    font-size: 16px;
  }
  .academic-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .academic-card h3 {
    font-size: 20px;
  }
  .academic-card h4 {
    font-size: 16px;
  }
  .year {
    font-size: 15px;
    padding: 8px 20px;
  }

  .contact-section {
    margin: 8px 6px;
    height: 260px;
  }
  .contact-content span {
    font-size: 14px;
  }
  .contact-content h2 {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .contact-btn {
    font-size: 14px;
    padding: 14px 22px;
  }

  .footer {
    font-size: 13px;
  }
  .logo {
    padding-left: 14px;
  }
  .navbarlogo {
    width: 65px;
  }

  .carousel-dots {
    gap: 5px;
  }
  .dot {
    width: 22px;
    height: 6px;
  }
  .dot.active {
    width: 36px;
    height: 6px;
  }
}

/* ── Very small phones (≤ 375px) ── */
@media (max-width: 375px) {
  .hero-title {
    font-size: 28px;
    line-height: 34px;
  }
  .hero-badge {
    font-size: 10px;
    padding: 7px 12px;
  }
  .hero-desc {
    font-size: 12px;
  }
  .imageheronew {
    height: 180px;
  }

  .keyeast-left h2,
  .keyeast-right h2 {
    font-size: 22px;
  }
  .email-box h4 {
    font-size: 14px;
    word-break: break-all;
  }
  .keyeast-logo {
    max-width: 200px;
  }
  .nbct-logo {
    width: 90px;
  }

  .about-image img {
    width: 260px;
  }

  .about-content h2 {
    font-size: 22px;
  }
  .about-content p {
    font-size: 13px;
  }
  .service-card {
    padding: 16px 12px;
    gap: 14px;
  }
  .service-card h3 {
    font-size: 18px;
  }
  .service-card p {
    font-size: 13px;
    margin-top: 4px;
  }
  .icon {
    width: 48px;
    height: 48px;
  }

  .section-title,
  .academic-title {
    font-size: 22px;
  }
  .timeline-content h3 {
    font-size: 18px;
  }
  .academic-card h3 {
    font-size: 18px;
  }

  .contact-content h2 {
    font-size: 22px;
    margin-bottom: 18px;
  }
  .contact-btn {
    font-size: 13px;
    padding: 12px 18px;
  }
  .footer {
    font-size: 12px;
  }
  .navbarlogo {
    width: 55px;
  }

  .carousel-dots {
    gap: 4px;
  }
  .dot {
    width: 18px;
    height: 5px;
  }
  .dot.active {
    width: 28px;
    height: 5px;
  }
}

/* ── Smallest phones (≤ 320px) ── */
@media (max-width: 320px) {
  .Hero-Div {
    margin: 4px 4px 0 4px;
    padding: 8px 6px 0 6px;
    border-radius: 12px;
  }
  .hero-title {
    font-size: 24px;
    line-height: 30px;
  }
  .hero-badge {
    font-size: 9px;
    padding: 6px 10px;
    margin-bottom: 6px;
  }
  .hero-desc {
    font-size: 11px;
    line-height: 17px;
  }
  .hero-bottom-content {
    padding: 16px 8px 16px 8px;
  }
  .imageheronew {
    height: 150px;
  }

  .Keyeast {
    margin: 4px;
    padding: 14px 10px;
    gap: 14px;
    border-radius: 20px;
  }
  .keyeast-left h2,
  .keyeast-right h2 {
    font-size: 18px;
  }
  .designation {
    font-size: 11px;
  }
  .email-box h4 {
    font-size: 12px;
  }

  .about-image img {
    width: 220px;
  }

  .about-content h2 {
    font-size: 18px;
  }
  .about-content p {
    font-size: 12px;
  }
  .service-card {
    padding: 14px 10px;
    gap: 10px;
  }
  .service-card h3 {
    font-size: 16px;
  }
  .service-card p {
    font-size: 12px;
  }
  .icon {
    width: 40px;
    height: 40px;
  }

  .career-section {
    padding: 14px 8px;
    border-radius: 12px;
  }
  .section-title,
  .academic-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .timeline-content h3 {
    font-size: 15px;
  }
  .timeline-content h4 {
    font-size: 12px;
  }
  .timeline-content p {
    font-size: 11px;
  }
  .timeline-year {
    font-size: 12px;
    padding: 6px 12px;
  }

  .academic-card h3 {
    font-size: 15px;
  }
  .academic-card h4 {
    font-size: 13px;
  }
  .year {
    font-size: 12px;
    padding: 6px 14px;
  }

  .contact-section {
    height: 220px;
    margin: 4px;
    border-radius: 16px;
  }
  .contact-content h2 {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .contact-btn {
    font-size: 12px;
    padding: 10px 16px;
  }
  .footer {
    font-size: 11px;
  }
  .navbarlogo {
    width: 48px;
  }
  .logo {
    padding-left: 10px;
  }

  .carousel-dots {
    gap: 4px;
    bottom: 20px;
  }
  .dot {
    width: 14px;
    height: 4px;
  }
  .dot.active {
    width: 22px;
    height: 4px;
  }
}
