.bg-video, .bg-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }
  
    
   /* Services */
.services {
    padding: 80px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header span {
    font-size: 28px;
    color: #0b3c89;
    font-weight: 600;
}

.services-header h2 {
    font-size: 24px;
    color: #0b3c89;
    font-weight: 700;
}

/* Divider */
.services-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 25px auto 35px;
}

.services-line span {
    width: 100px;
    height: 2px;
    background: #44a5ff;
}

.services-line i {
    width: 10px;
    height: 10px;
    background: #44a5ff;
    border-radius: 50%;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card container */
.card-container {
    perspective: 1000px;
    height: 420px;
    overflow: hidden; /* 🔥 VERY IMPORTANT */
}

/* Card */
.service-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Desktop hover */
@media (hover: hover) {
    .card-container:hover .service-card {
        transform: rotateY(180deg);
    }
}

/* Front & Back */
.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 30px 25px 40px;
    display: flex;
    flex-direction: column;
}

/* Front */
.card-front {
    background: #5cc0f6;
    border-top: 4px solid #a7e0fe;
    overflow: hidden;
}
.success-msg {
  margin-top: 15px;
  padding: 12px;
  background: #e6f7ff;
  color: #055160;
  border: 1px solid #b6effb;
  border-radius: 6px;
  font-weight: 500;
}

/* Icons */
.icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: rgba(255,255,255,.15);
}

.icon i {
    font-size: 28px;
    color: #fff;
}

.card-front h3,
.card-front p {
    color: #fff;
}

/* Decorative circles (FIXED 🔥) */
.card-front-circles {
    position: absolute;
    bottom: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    pointer-events: none;
}

.card-front-circles .circle {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,.18);
    border-radius: 50%;
}

/* Back */
.card-back {
    transform: rotateY(180deg);
    padding: 0;
    background: #000;
}

.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1;
}

.card-back-content {
    position: absolute;
    inset: 0;
    padding: 30px 25px 40px;
    z-index: 2;
    color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .card-container {
        height: 390px;
    }

    .card-front-circles .circle {
        width: 120px;
        height: 120px;
    }
}

/* iPad Landscape (1024px to 1366px) – FORCE 3 CARDS */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {

    .services {
        padding: 70px 20px 50px; /* reduce side padding */
    }

    .services-grid {
        width: 100%;
        max-width: 1140px; /* exact safe width */
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 🔥 KEY FIX */
        gap: 20px;
    }

    .card-container {
        height: 420px;
    }
}
.career-title {
  font-size: 1.4rem;     /* smaller H text */
  font-weight: 500;
  line-height: 1.4;
  color: #0d5fa8;
}

.career-label {
  display: block;
  font-size: 1.8rem;     /* slightly bigger than h2, not too big */
  font-weight: 600;
  letter-spacing: 3px;
  color: #0d5fa8;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.career-label::after {
  content: "";
  display: block;
  width: 40px;          /* smaller divider */
  height: 2px;
  background: #0d5fa8;
  margin: 8px auto 0;
}

