*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  font-family: "Roboto Slab", serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

html,
body {
  font-family: "Roboto Slab", serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  width: 100%;
  overflow-x: hidden;
}

p {
  font-size: 14px;
  line-height: 25px !important;
  text-align: justify !important;
  hyphens: auto;
}

h2 {
  font-size: clamp(20px, 1.8vw, 28px);
}

h5 {
  font-size: clamp(14px, 1vw, 18px);
}

a {
  text-decoration: none;
  font-family: "Roboto Slab", serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

/* top bar start here  */
body {
  padding-top: 125px;
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
}

.top-bar {
  background-color: #f8f9fa;
  padding: 10px 0;
  font-size: 14px;
}

.logo-text-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar img {
  max-height: 50px;
}

.navbar-nav .nav-item .nav-link {
  position: relative;
  color: #fff;
  font-size: 14px;
  transition: color 0.3s ease;
  margin-right: 20px;
}

@media (max-width: 768px) {
  .top-bar .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.nav-bar {
  background: linear-gradient(to right, #E91E63, #E91E63, #E91E63, #E91E63);
}

.nav-link {
  color: white !important;
  font-weight: 500;
  position: relative;
  /* For hover effect */
}

.social-icons {
  position: relative;
  z-index: 10;
}

.social-icons a {
  color: white;
  margin-right: 10px;
}

.fa-phone-alt {
  transform: rotate(132deg);
}

/* Top bar end here */
/* Navbar start here */

/* Hover effect */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff8a00, #ffd700);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:focus,
.nav-link:hover {
  color: rgb(28 9 9 / 80%);
  color: #f4ff3b !important;
  font-weight: bold;
}

/* navbar end here  */

/* why section start here  */

.why-us-section {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* why section end here  */

/* objective section start here  */

.objective {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* objective section end here  */

/* major objective section start here */

.major-objective {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* major objective section end here  */

/* od section start here */
.od-class {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
}

/* od section end here  */
/* --- About Section (70/30 Split Design) --- */
.about-ref-section {
  position: relative;
  padding: 40px 0;
  background: #ffffff;
}

.about-content-box p {
  color: #333;
  text-align: justify !important;
  font-size: 14.5px;
  line-height: 1.8;
}

.ref-vp-box {
  background: transparent;
  border: none;
  width: 100%;
}

.ref-vp-header {
  background-color: #3b71ca;
  color: #fff;
  text-align: center;
  padding: 6px 15px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
  /* Rectangular style from ref image */
  border-radius: 2px;
}

.ref-vp-content ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.ref-vp-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #444;
  text-align: justify;
}

.ref-vp-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #222;
  font-weight: bold;
}

.about-image-side-wrapper {
  position: sticky;
  top: 100px;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #3b71ca;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 113, 202, 0.1);
  color: #3b71ca;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 20px;
}

.glass-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0a192f;
}

.glass-card p,
.glass-card ul li {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  text-align: left !important;
}

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

.glass-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.glass-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3b71ca;
  font-weight: bold;
}

/* Graphic Presentation */
.premium-graphic-wrapper {
  position: relative;
  z-index: 1;
}

.graphic-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 113, 202, 0.2), transparent 70%);
  z-index: -1;
}

.floating-img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* hero section start here  */

#package_section {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../img/banner.jpg');
  background-size: cover;
  background-position: center;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#selectPackageToggle {
  transform: translateY(-50%) rotate(89deg);
  transform-origin: right center;
  z-index: 1050;
  background: #ef4d53;
  border-color: #ef4d53;
}

.overlay {
  background: rgb(0 0 0 / 77%);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.overlay h2 {
  margin-bottom: 20px;
}

.package-container {
  max-width: 800px;
}

.modal-header {
  background: #0d6dfb;
  color: #fff;
}

.btn-close {
  filter: invert(1);
  opacity: 1;
}

.fixed-btn {
  position: fixed;
  right: 16px;
  top: 55%;
  z-index: 1050;
}

/* hero section end here  */


/* why us section start here  */

.section-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: block;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 5px;
  background-color: #e91e63;
  display: block;
  margin: 0.5rem auto;
  border-radius: 10px;
}

.highlight {
  color: #419cd6;
  font-weight: bold;
}

.card-custom {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 20px;
  transition: all 0.3s ease-in-out;
  height: 350px;
}

.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: #419cd6;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 1rem auto;
}

.card-custom h5 {
  margin-bottom: 0.5rem;
}

.card-custom p {
  color: #000;
  text-align: justify;
  line-height: 30px;
}

.about-text-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
}

.line-height-class {
  line-height: 30px;
}

.content-text {
  line-height: 1.8;
}

.content-image img {
  max-width: 100%;
  height: auto;
  margin-left: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-para {
  text-align: justify;
}

#about .card {
  border-radius: 30px;
  transition: transform 0.3s ease-in-out;
}

#about .card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

.cfc-section {
  padding: 60px 0;
  background: linear-gradient(to right, #ffffff, #f8f9fa);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#about h2 {
  text-transform: uppercase;
}

.decor-line {
  width: 120px;
  height: 4px;
  background: #ffc107;
  margin: 0 auto 20px auto;
}

#about p {
  text-align: justify;
}

#about .img-fluid {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  min-height: 630px;
}

.bordered-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bordered-text span {
  position: relative;
  font-weight: bold;
  color: #ff6c16;
}

.bordered-text span::before,
.bordered-text span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  /* Length of the border */
  height: 1px;
  background-color: #6c757d;
}

.bordered-text span::before {
  left: -120px;
  /* Adjust this for spacing from text */
  transform: translateY(-50%);
}

.bordered-text span::after {
  right: -120px;
  /* Adjust this for spacing from text */
  transform: translateY(-50%);
}

/* why us section end here  */

@keyframes zoomInOut {
  0% {
    transform: scale(1);
    /* Normal size */
  }

  50% {
    transform: scale(1.2);
    /* Zoom in */
  }

  100% {
    transform: scale(1);
    /* Back to normal size */
  }
}

/* Apply the animation to images */
.whatsapp_btn img {
  display: block;
  margin: auto;
  transition: transform 0.5s ease;
  animation: zoomInOut 3s infinite;
  /* 3 seconds animation, infinite loop */
}

.whatsapp_btn img {
  position: fixed;
  left: 20px;
  width: 45px;
  z-index: 999;
  bottom: 20px;
}


/* Service section start here  */

/* infra section start here  */

.infra {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
}

.infra-material {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F8C0C3;
}

.infra-R-D-Lab {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #A4C2F4;
}

.infra-R-D-Lab .slider .card,
.infra-material .slider .card {
  height: 540px;
}

/* infra section end here  */

/* Services Section Styles */

.services-section {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  /* Dark gradient background */
  color: #fff;
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-title {
  font-weight: 700;
  color: #ffc107;
  /* Highlighted title */
  margin-bottom: 1rem;
}

.section-description {
  color: #ddd;
  max-width: 600px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  /* Transparent card with slight white tint */
  backdrop-filter: blur(8px);
  /* Frosted glass effect */
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Subtle border */
  border-radius: 15px;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  /* Elevated hover shadow */
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e4508e, #e33e20);
  /* Vibrant gradient circle */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.service-icon {
  font-size: 2rem;
  color: #fff;
  /* Icon in white */
}

.service-title {
  font-weight: bold;
  color: #ffc107;
  margin: 1rem 0 0.5rem;
}

.service-card p {
  color: #ddd;
  line-height: 1.6;
  text-align: justify;
}

@media (max-width: 768px) {
  .service-card {
    margin-bottom: 1.5rem;
  }

  .service-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .service-icon {
    font-size: 1.8rem;
  }
}

/* Service section end here */


/* Contact us section start here  */

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #ffc107;
  margin: 10px auto 0;
}

.contact-card,
.working-hours-card {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.working-hours-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-title {
  font-weight: bold;
  color: #333;
  padding-bottom: 5px;
}

.contact-info li,
.working-hours li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info li i,
.working-hours li strong {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #ec1b23 !important;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-para {
  text-align: justify;
  line-height: 30px;
}

@media (max-width: 768px) {

  .contact-card,
  .working-hours-card {
    margin-bottom: 20px;
  }
}

/* Contact us section end here  */


/* footer section start here  */

.footer-section {
  background-color: #1a1a1a;
  /* Slightly darker shade for modern look */
  color: #ddd;
  padding: 50px 0;
}

.footer-title {
  font-weight: bold;
  color: #fff;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-link {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  /* Highlight color on hover */
  transform: translateX(5px);
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #333;
  border-radius: 50%;
  color: #ddd;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  background: #13486f;
  color: #fff;
}

.footer-section .container {
  max-width: 1200px;
}

/* Copyright Styling */
.footer-section .row.mt-4 p {
  border-top: 1px solid #444;
  padding-top: 10px;
  margin-top: 20px;
  color: #bbb;
}

/* footer section end here  */


/* slider css start here  */
.infra .card-body {
  padding: 0px !important;
}

.slider .card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
  position: relative;
  margin: 15px;
  height: 490px;
  position: relative;
}

.slider .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Card Image */
.slider .card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-bottom: 5px solid #f97316;
  /* Accent touch */
  transition: transform 0.4s ease, filter 0.3s ease;
  border-bottom: 3px solid #f97316;
}

/* Card Title */
.slider .card h5 {
  font-weight: bold;
  text-align: center;
  background: linear-gradient(90deg, #f97316, #f72585);
  /* Vibrant Gradient */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 12px 0 6px 0px;
}

/* Card Description */
.slider .card p {
  color: #000 !important;
  text-align: center;
  line-height: 1.6;
  margin: 0 10px 5px;
  text-align: justify;
}

/* Button (Read More) */
.slider .card .btn-warning {
  display: inline-block;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  padding: 10px 15px;
  background: linear-gradient(90deg, #f97316, #f72585);
  /* Matching vibrant gradient */
  margin: 0 auto 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  display: none;
}

.slider .card .card-sub-title {
  color: #2e80c0 !important;
  hyphens: auto;
  font-size: 13px;
  line-height: 22px !important;
  text-align: center !important;
}

.slider .card .btn-warning:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(90deg, #f72585, #f97316);
  /* Reverse gradient */
}

.infra-title h2 {
  background: linear-gradient(90deg, #ff7a59, #f54b9c);
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 10px;
  display: inline-block;
  font-weight: normal;
  text-transform: capitalize;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.infra-title h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  z-index: 2;
  animation: shine 2s infinite;
}

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

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.infra-title {
  text-align: left;
  margin-top: 20px;
  position: relative;
}

.infra-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 6px;
  border-radius: 50px;
  margin: 10px auto 0 auto;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.lightblue {
  background: #A4C2F4 !important;
  border: none !important;
  border-radius: 20px;
}

.lightgreen {
  background: #89DDCD !important;
  border: none !important;
  border-radius: 20px;
}

.lightpurple {
  background: #F8C0C3 !important;
  border: none !important;
  border-radius: 20px;
}

.lightgreycolor {
  background: #EFEFEF !important;
  border: none !important;
  border-radius: 20px;
}

.lightpurple_two {
  background: #fca7e5 !important;
  border: none !important;
  border-radius: 20px;
}

.lightgreen_two {
  background: #e4f09d !important;
  border: none !important;
  border-radius: 20px;
}

/* slider css end here  */

.icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e4508e, #e33e20);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.icon .bi {
  font-size: 2.5rem;
}

.od-class img {
  max-width: 86%;
}

.about-img {
  border-radius: 50px;
  max-width: 300px;
  float: left;
  padding-right: 0px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.first-heading {
  padding-top: 25px;
}

.vertical-title {
  writing-mode: vertical-rl;
  /* Rotates text vertically */
  text-orientation: mixed;
  transform: rotate(180deg);
  /* Adjusts text to read from top to bottom */
  font-weight: bold;
  color: #2c3e50;
  margin-right: 30px;
  /* Adds space between title and slider */
  display: flex;
  align-items: center;
}

.circle {
  position: absolute;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
}

.top-left {
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
}

.bottom-right {
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
}

.slick-prev:before,
.slick-next:before {
  color: #e91e63 !important;
}

.contact-us-section {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.text-wrapper {
  max-width: 580px;
}

.form-margin {
  margin-bottom: 39px;
}


.contact-us-section .social-link {
  width: 30px;
  height: 30px;
  line-height: 30px;
}

.industry-partner {
  background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
}

/* Adjust Wrapper to Match Image Height */

/* Right Section: Partner Slider */
.partner-slider {
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
  overflow: hidden;
}

/* Individual Partner Logos */
.partner-slider div {
  text-align: center;
}

.partner-slider img {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  object-fit: contain;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.partner-slider img:hover {
  transform: scale(1.1);
}

.infra-title h2 {
  height: auto;
  min-height: 300px;
  /* Default for smaller screens */
}

/* For large screens */
@media (min-width: 1200px) {
  .infra-title h2 {
    min-height: 502px;
  }
}

/* For medium-large screens */
@media (max-width: 1199px) {
  .infra-title h2 {
    min-height: 450px;
  }
}

/* For tablets and smaller screens */
@media (max-width: 992px) {
  .infra-title h2 {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .infra-title h2 {
    min-height: 250px;
  }
}

.industry-partner {
  position: relative;
  min-height: calc(100vh - 123px);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Ultra-Premium Certification Section Styles --- */
.certification-section {
  background: radial-gradient(circle at top right, #fdfdfd, #f5f7fa);
  padding: 100px 0;
}

.certification-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  /* Subtle Gold Border */
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.cert-img-wrapper {
  position: relative;
  overflow: hidden;
  padding: 20px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-img-wrapper img {
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.85);
  /* Deep Navy */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}

.cert-overlay i {
  color: #d4af37;
  /* Gold Icon */
  margin-bottom: 15px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cert-overlay span {
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: 0.1s;
}

/* Hover States */
.certification-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.certification-card:hover .cert-overlay {
  opacity: 1;
}

.certification-card:hover .cert-overlay i,
.certification-card:hover .cert-overlay span {
  transform: translateY(0);
}

.cert-content {
  padding: 24px;
  background: #ffffff;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 15;
}

.cert-title {
  color: #0a192f;
  /* Deep Navy text */
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.3px;
  text-transform: capitalize;
  transition: color 0.3s ease;
  text-align: center;
}

.certification-card:hover .cert-title {
  color: #e91e63;
  /* Gold on hover */
}

/* --- Section Title Enhancements --- */
.certification-section .section-title {
  color: #0a192f;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.5px;
}

@media (max-width: 991px) {
  .certification-card {
    margin-bottom: 40px;
  }

  .cert-img-wrapper {
    height: 300px;
  }
}