* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: white;
}

/* NAVBAR */
.navbar {
  width: 95%;
  margin: 10px auto;
  padding: 18px 40px;
  background: #fff;
  border: 2px solid #0033a0;
  /* ✅ FIX */
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  flex-wrap: wrap;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* MENU DESKTOP */
nav {
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav ul li a {
  text-decoration: none;
  color: #0a1f5c;
  font-weight: 600;
  position: relative;
}

/* HOVER */
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #0033a0;
  transition: 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #0033a0;
}

/* HAMBURGER */
.navbar-toggler {
  display: none;
  font-size: 26px;
  border: none;
  background: none;
  cursor: pointer;
}

/* MOBILE + TABLET */
@media (max-width:991px) {
  .navbar-toggler {
    display: block;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    background: #fff;
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
  }
}

/* DEFAULT CONTENT */
.content {
  color: #fff;
  text-align: center;
  margin-top: 120px;
}

.content h1 {
  font-size: 40px;
}

.services-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f2;
  padding: 60px 40px;
  margin: 40px;
  border-radius: 20px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.services-left {
  width: 30%;
  position: relative;
}

.services-left h1 {
  font-size: 45px;
  color: #0a3aa8;
  position: relative;
  z-index: 2;
}

/* RIGHT SIDE */
.services-right {
  width: 65%;
  display: flex;
  gap: 25px;
}



/* BOX */
.service-box {
  flex: 1;
  background: #0a3aa8;
  color: #fff;
  padding: 25px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

/* DOT DESIGN */
.dots {
  position: absolute;
  right: 20px;
  top: 85px;
  width: 30px;
  height: 30px;
  background: radial-gradient(#fff 2px, transparent 2px);
  background-size: 10px 10px;
  opacity: 0.5;
}

@media (max-width:768px) {
  .dots {
    top: 64px;
    right: 12px;
    width: 31px;
    height: 29px;
  }
}

/* SERVICES MOBILE */
@media (max-width:991px) {

  .services-left,
  .services-right {
    width: 100%;
  }

  .services-left {
    margin-bottom: 30px;
  }

  .services-right {
    flex-direction: column;
  }
}

/* ================= SLIDER ================= */
/* ===== FIX SLIDER MOBILE ===== */
/* ===== SLIDER FINAL FIX ===== */
.carousel {
  width: 95%;
  margin: 20px auto;
  border-radius: 25px;
  overflow: hidden;
}

/* 🔥 IMAGE FIX (NO CROP) */
.slider-img {
  width: 100%;
  height: 500px;
  aspect-ratio: 2048 / 690;
  object-fit: contain;
  /* ✅ full image show */
  background: #000;
  /* optional (empty space nice look) */
}

/* MOBILE FIX */
@media (max-width:768px) {
  .slider-img {
    height: 100px;
    max-height: 300px;
    object-fit: contain;
    /* ✅ mobile ma pan full image */
  }
}

/* Button Style (optional better look) */
.carousel-caption .btn {
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
}

/* Responsive */
@media (max-width:768px) {
  .slider-img {
    height: 300px;
  }
}

/* ===== MODERN SLIDER ===== */
.carousel {
  width: 95%;
  margin: 30 auto;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* IMAGE STYLE */
.slider-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 6s ease;
}

/* ZOOM EFFECT */
.carousel-item.active .slider-img {
  transform: scale(1.1);
}

/* GLASS CAPTION */
.carousel-caption {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0px 30px;
  border-radius: 15px;
  bottom: 20%;
}

/* TEXT STYLE */
.carousel-caption h5 {
  font-size: 28px;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 16px;
}

/* BUTTON */
.carousel-caption .btn {
  background: #0033a0;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
}

/* MOBILE */
@media (max-width:768px) {
  .slider-img {
    height: 216px;
    object-fit: cover;

  }

  @media (max-width:1024px) {
    .slider-img {
      height: 153px;
      object-fit: cover;
    }
  }




  .carousel-caption {
    bottom: 10%;
    padding: 10px;
  }

  .carousel-caption h5 {
    font-size: 18px;
  }
}

/* ===== CLIENT LOGO SLIDER ===== */
.client-slider {
  background: #f2f2f2;
  border-radius: 25px;
  padding: 50px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* TRACK */
.client-track {
  display: flex;
  gap: 50px;
  will-change: transform;
  animation: scroll 20s linear infinite;
  /* 🔥 auto scroll */
}

/* GROUP */
.logo-group {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* LOGO */
.logo-group img {
  width: 180px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: 0.3s;
}

/* HOVER */
.logo-group img:hover {
  transform: scale(1.1);
}

/* 🔥 PERFECT LOOP */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* MOBILE */
@media (max-width:768px) {
  .logo-group img {
    width: 110px;
    height: 60px;
  }
}


.client-slider::before,
.client-slider::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 100%;
  top: 0;
  z-index: 2;
}

.client-slider::before {
  left: 0;
  background: linear-gradient(to right, #f2f2f2, transparent);
}

.client-slider::after {
  right: 0;
  background: linear-gradient(to left, #f2f2f2, transparent);
}

.about-section {
  padding: 30px 20px;
}

.container {
  max-width: 1284px;

  /* margin: auto; */
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* IMAGE */
.about-img {
  position: relative;
  flex: 1;
}

.about-img img {
  width: 100%;
  border-radius: 20px;
}

/* CLIENT BOX */
.client-box {
  position: absolute;
  bottom: 1px;
  right: 0px;
  background: #ff5a00;
  color: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}

/* ================= ABOUT HERO (NEW ADD) ================= */
.about-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3ff;
  position: relative;
  margin: 40px;
  border-radius: 25px;
  border: 2px solid #0033a0;
  overflow: hidden;
}

/* TABLET (iPad) */
@media (max-width:1024px) {
  .about-hero {
    min-height: 60vh;
    margin: 25px;
    padding: 30px 20px;
    border-radius: 20px;
  }
}

/* MOBILE */
@media (max-width:768px) {
  .about-hero {
    min-height: auto;
    /* full height no force */
    margin: 15px;
    padding: 25px 15px;
    border-radius: 15px;
  }
}

/* CENTER BOX */
.about-hero-box {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.8);
  padding: 50px 30px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* TEXT */
.about-hero-box h1 {
  font-size: 42px;
  color: #0033a0;
  margin-bottom: 15px;
}

.about-hero-box p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

/* BUTTON */
.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #0033a0;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #001f6b;
}

/* DESIGN CIRCLES */
.about-hero::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: #0033a0;
  opacity: 0.15;
  border-radius: 50%;
  top: -50px;
  left: -50px;
}

.about-hero::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 35px solid #0033a0;
  opacity: 0.2;
  border-radius: 50%;
  bottom: -60px;
  right: -60px;
}

/* RESPONSIVE */
@media (max-width:768px) {
  .about-hero {
    margin: 20px;
    padding: 30px 15px;
  }

  .about-hero-box {
    padding: 30px 20px;
  }

  .about-hero-box h1 {
    font-size: 26px;
  }

  .about-hero-box p {
    font-size: 14px;
  }
}

.client-box h2 {
  font-size: 40px;
  margin: 0;
}

/* CONTENT */
.about-content {
  flex: 1;
}

.about-content p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* 👈 4 lines */
  overflow: hidden;
}



.about-content h2 {
  margin-top: 40px;
  /* margin:  0; */
  background: #0033a0;
  color: #ffffff;
  padding: 18px 15px;
  border-radius: 20px;
  font-size: 20px;

}



/* TABS */
.tabs {
  margin: 18px 0;
}

.tab-btn {
  background: none;
  border: none;
  margin-right: 20px;
  font-size: 16px;
  cursor: pointer;
  padding-bottom: 5px;
}

.tab-btn.active {
  color: #0033a0;
  border-bottom: 2px solid #0033a0;
}

/* TAB CONTENT */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-wrapper {
    flex-direction: column;
  }

  .about-content h2 {
    margin-top: 15px;
    font-size: 18px;
  }
}

/* SECTION */
.expertise-section {
  padding: 80px 20px;
  background: #f4f6f5;
  border: 2px solid #0033a0;
  border-radius: 40px;
  margin: 40px;
}

@media (max-width: 576px) {

  .expertise-section {
    padding: 40px 0px;
    /* top-bottom, left-right */
    margin: 5px;
    /* outer space reduce */
    margin-bottom: 20px;
    border-radius: 30px;
    /* optional: thodu compact look */
  }

}

/* TITLE */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: bold;
}

.section-title h2 span {
  color: #0033a0;
}

.section-title p {
  font-size: 14px;
  letter-spacing: 2px;
  color: #555;
}

/* GRID */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-box h1 {
  font-size: 42px;
  font-weight: 700;
  color: #0033a0;
  letter-spacing: 1px;
}

.expertise-card {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: 0.4s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
  overflow: hidden;
  /* 🔥 important */
}

/* ICON */
.expertise-card .icon {
  font-size: 28px;
  color: #0033a0;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.6s ease;
}

/* TEXT FIX */
.expertise-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  word-break: break-word;
}

.expertise-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  word-break: break-word;
}

/* HOVER */
.expertise-card:hover {
  border: 2px solid #0033a0;
  transform: translateY(-5px);
}

.expertise-card:hover .icon {
  transform: rotateY(180deg);
}

/* 🔥 MOBILE PERFECT FIX */
@media (max-width: 576px) {

  .expertise-card {
    padding: 15px;
  }

  .expertise-card h4 {
    font-size: 13px;
  }

  .expertise-card p {
    font-size: 12px;

    /* optional line limit */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

}

/* ================== FOOTER FINAL PRO ================== */

.footer-section {
  background: #123c9e;
  color: #fff;
  padding: 60px 20px 20px;
  border-radius: 25px 25px 0 0;
  position: relative;
  overflow: hidden;
}

/* CONTAINER */
.footer-section .container {
  max-width: 1200px;
  margin: auto;
}

/* GRID */
.footer-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

/* COLUMN BASE */
.footer-section .col-lg-4 {
  flex: 1;
  min-width: 280px;
}

/* LEFT INFO */
.footer-left {
  text-align: left;
}

/* LOGO */
.footer-logo {
  width: 25%;
  margin-bottom: 20px;
  /* border-radius: 50%; */
}

/* ADDRESS */
.footer-address {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* TEXT */
.footer-left p {
  font-size: 14px;
  margin-bottom: 10px;
}

/* TITLES */
.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  font-size: 14px;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer-links li:hover {
  transform: translateX(6px);
  color: #aad4ff;
}

/* LINKS STYLE */
.footer-section a {
  color: #fff;
  text-decoration: none;
}

/* COPYRIGHT */
.footer-bottom {
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 14px;
}

/* DESIGN EFFECT */
.footer-section::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -60px;
  left: -60px;
}

.footer-section::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 35px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -80px;
  right: -80px;
}

/* ================== TABLET ================== */
@media (max-width: 992px) {

  .footer-section .row {
    gap: 25px;
  }

  .footer-section .col-lg-4 {
    min-width: 45%;
  }

  .footer-left {
    text-align: left;
  }

}

/* ================== MOBILE ================== */
@media (max-width: 768px) {

  .footer-section {
    text-align: center;
    padding: 40px 15px;
  }

  .footer-section .row {
    flex-direction: column;
    gap: 25px;
  }

  .footer-section .col-lg-4 {
    width: 100%;
  }

  .footer-left {
    text-align: center;
  }

  .footer-logo {
    margin: auto;
  }

  .footer-title {
    margin-top: 10px;
  }

  .footer-links li:hover {
    transform: none;
  }

}

/* ================== SMALL MOBILE ================== */
@media (max-width: 480px) {

  .footer-title {
    font-size: 16px;
  }

  .footer-links li {
    font-size: 13px;
  }

  .footer-left p {
    font-size: 13px;
  }

}

.phase-box {
  background: #f1f3f6;
  padding: 25px 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  height: 100%;
}

/* PHASE TEXT */
.phase {
  color: #0033a0;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* TITLE */
.phase-box h5 {
  margin-top: 10px;
  font-weight: 600;
  font-size: 16px;
}

/* HOVER EFFECT 🔥 */
.phase-box:hover {
  transform: translateY(-8px);
  background: #dbe5ff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}



.csv-hero {
  background: #f5f7fb;
  padding-left: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEFT TEXT */
.hero-text {
  flex: 1;
}

.tag-line {
  letter-spacing: 3px;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 10px;
}

/* HEADING */
.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  color: #0a1f5c;
  line-height: 1.2;
}

/* 🔥 CHANGE COLOR HERE */
.hero-text h1 span {
  color: #0033a0;
  /* 👈 tamaro color code ahiya mukvo */
}

/* DESCRIPTION */
.hero-desc {
  margin-top: 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  max-width: 600px;
}

/* IMAGE */
.hero-img {
  flex: 1;
  text-align: center;
}

.hero-img img {
  width: 100%;
  max-width: 500px;
}

/* MOBILE */
@media (max-width:768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }
}

.csv-cards {
  padding-top: 30px;
  padding-bottom: 60px;
  background: #f5f7fb;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD BASE */
.csv-card {
  position: relative;
  overflow: hidden;
}

/* 🔥 TOP LINE (HIDDEN DEFAULT) */
.csv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  /* 👇 COLOR CHANGE HERE */
  background: #0033a0;
  transition: width 0.4s ease;
}

/* 🔥 ON HOVER */
.csv-card:hover::before {
  width: 100%;
}

/* CARD */
.csv-card {
  position: relative;
  padding: 30px;
  border-radius: 15px;
  /* 🔥 LIGHT BACKGROUND COLOR */
  background: rgba(0, 51, 160, 0.06);
  /* 👈 change this */
  transition: 0.3s;
  overflow: hidden;
}

/* HOVER */
.csv-card:hover {
  transform: translateY(-5px);
}

/* ICON BOX */
.icon-box {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 🔥 ICON COLOR */
  color: #0033a0;
  /* 👈 change this */
  font-size: 20px;
  margin-bottom: 20px;
}

/* NUMBER */
.card-number {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 60px;
  font-weight: 700;
  /* 🔥 LIGHT NUMBER COLOR */
  color: rgba(0, 51, 160, 0.1);
  /* 👈 change this */
}

/* TITLE */
.csv-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1f5c;
  margin-bottom: 10px;
}

/* TEXT */
.csv-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width:992px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:576px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.itgxp-section {
  padding: 50px 40px;
}

/* TEXT */
.itgxp-content h2 {
  font-size: 32px;
  color: #0033a0;
  font-weight: 700;
  margin-bottom: 15px;
}

.itgxp-content p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* LIST */
.itgxp-content ul {
  list-style: none;
  padding: 0;
}

.itgxp-content ul li {
  margin-bottom: 10px;
  font-size: 13px;
  color: #333;
  position: relative;
  padding-left: 25px;
}

/* ✔ ICON */
.itgxp-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0033a0;
  font-weight: bold;
}

/* IMAGE */
.itgxp-img img {
  width: 100%;
  max-width: 500px;
}

/* MOBILE */
@media (max-width:768px) {
  .itgxp-content {
    text-align: center;
    margin-bottom: 30px;
  }

  .itgxp-content h2 {
    font-size: 28px;
  }

  .itgxp-content ul li {
    text-align: left;
  }
}

.simple-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  /* optional border */
  border: 1px solid #ddd;
  /* optional shadow */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  /* width: 1200px; */
  margin: 20px auto;
}

/* Heading */
.simple-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
  color: #0033a0;
  /* change if needed */
}

/* Paragraph */
.simple-card p {
  font-size: 16px;
  color: black;
  line-height: 1.6;
}

.simple-card li {
  font-size: 16px;
}

.map-frame {
  width: 100%;
  height: 314px;
  border: 0;
  border-radius: 15px;
  border: 4px solid #0033a0;
}

/* CARD */
.job-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  border: 1px solid #eee;
}

.job-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* HEADER */
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-header h4 {
  margin: 0;
}

/* ARROW */
.arrow {
  transition: 0.3s;
}

/* DETAILS (HIDDEN DEFAULT) */
.job-details {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
}

/* OPEN STATE */
.job-card.active .job-details {
  max-height: 200px;
  margin-top: 15px;
}

.job-card.active .arrow {
  transform: rotate(180deg);
}

/* APPLY BUTTON */
.apply-btn {
  display: inline-block;
  margin-top: 10px;
  background: #0033a0;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
}

.apply-btn:hover {
  background: #001f6b;
}

.no-job {
  padding: 60px 20px;
  background: #f5f7fb;
  border-radius: 20px;
}

.no-job-icon {
  font-size: 50px;
  color: #0033a0;
  margin-bottom: 15px;
}

.no-job h3 {
  font-weight: 600;
  margin-bottom: 10px;
}

.no-job p {
  color: #666;
  max-width: 500px;
  margin: auto;
  margin-bottom: 20px;
}


.custom-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Hover lift */
.custom-card:hover {
     transform: translateY(-6px);;
}

/* TEXT */
.custom-card h2 {
    font-size: 40px;
    font-weight: bold;
    color: #1e3a8a;
}

.custom-card p {
    color: #555;
}

/* IMAGE HIDDEN */
.card-image {
     position: absolute;
    top: -100%;   /* 🔥 start above */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
    z-index: 1;
}



/* Optional overlay */
.custom-card h2,
.custom-card p {
    position: relative;
    z-index: 3;
    transition: color 0.4s ease; /* 🔥 smooth text change */
}

/* DARK OVERLAY */
.custom-card.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

/* IMAGE ABOVE BG */
.card-image {
    z-index: 1;
}


/* IMAGE HIDDEN */
.card-image {
    position: absolute;
    top: 0;              /* 🔥 bottom hatao */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(100%);   /* hide below */
    transition: 0.5s ease;
    z-index: 1;
}

/* 🔥 HOVER EFFECT */
.custom-card:hover .card-image {
   top: 0;
    transform: scale(1.05);
}

/* TEXT WHITE ON HOVER */
.custom-card:hover h2,
.custom-card:hover p {
    color: #fff;
    position: relative;
    z-index: 2;
}

/* DARK OVERLAY */
.custom-card:hover::after {
     display: none;
}

/* IMAGE ABOVE BG */
.card-image {
    z-index: 1;
}

.custom-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0); /* start transparent */
    transition: background 0.5s ease; /* 🔥 smooth shadow */
    z-index: 2;
}

.linkedin-float {
  position: fixed !important;
  bottom: 90px;
  right: 15px;

  width: 55px;
  height: 55px;

  background: #0077b5;
  color: #fff;

  border-radius: 50%;
  z-index: 99999; /* 🔥 very high */

  display: flex !important;
  align-items: center;
  justify-content: center;

  font-size: 22px;

  box-shadow: 0 5px 15px rgba(0,0,0,0.3);

  animation: float 2s ease-in-out infinite;
}

/* animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* 📱 MOBILE + TABLET FIX */
@media (max-width: 1024px) {
  .linkedin-float {
    display: flex !important;   /* 🔥 force show */
    opacity: 1 !important;      /* 🔥 force visible */
    visibility: visible !important;

    bottom: 80px;
    right: 12px;

    width: 48px;
    height: 48px;

    font-size: 18px;
  }
}