/***
=============================================
Gallery One
=============================================
***/
.gallery-one {
    position: relative;
    display: block;
    background: var(--cleanin-white);
    padding: 30px 0px 37px;
    z-index: 1;
}
.text-black {
	color:#333 !important;
	}
.gallery-one__inner {
    position: relative;
    display: block;
}

.gallery-one__single {
    position: relative;
    display: block;
    margin-bottom: 0px;
	padding:10px;
} 
.cert img{

	border:5px solid #005aa0 !important;
}
.gallery-one__single-img {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
 
	
}

.gallery-one__single-img img {
    width: 100%;
 }

.gallery-one__single-icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--cleanin-white-rgb), 0.9);
    border: 2px solid var(--cleanin-black);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    -webkit-transition: all .8s ease;
    transition: all .8s ease;
    border-radius: 10px;
    opacity: 0;
    z-index: 1;
}

.gallery-one__single:hover .gallery-one__single-icon {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.gallery-one__single-icon a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    background: var(--cleanin-base);
    border-radius: 50%;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
    -webkit-transition: all .8s ease;
    transition: all .8s ease;
  color: #333;
}

.gallery-one__single:hover .gallery-one__single-icon a {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.gallery-one__single-icon a:hover {
    background: var(--cleanin-black);
}

.gallery-one__single-icon a span::before {
    position: relative;
    display: inline-block;
    color: var(--cleanin-white);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
}

/***
=============================================
Gallery One Gallery
=============================================
***/
.gallery-one--gallery {
    position: relative;
    display: block;
    padding-bottom: 90px;
}


.gallery-one__single {
    position: relative;
    overflow: hidden;
    text-align: center;
}
 

.gallery-desc {
  background: #052944;   /* Normal background */
  color: #fff;
  padding: 15px;
  text-align: left;
  transition: background 0.3s ease;
}

.gallery-one__single:hover .gallery-desc {
  background: #005aa0;   /* Darker on hover */
}

.gallery-desc h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px;
  text-align:center;
  color:#fff;
}

.gallery-desc p {
  font-size: 14px;
  line-height: 1.5;
   text-align:center;
  margin: 0;
}

/* Stylish Modal */
.stylish-modal {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  animation: fadeInUp 0.4s ease;
}

/* Header */
.stylish-modal .modal-header {
  background: #005aa0;
  color: #fff;
  border-bottom: none;
  padding: 20px;
}

.stylish-modal .modal-title {
  font-weight: 600;
  font-size: 20px;
}

.stylish-modal .btn-close {
  filter: invert(1);
}

/* Body */
.stylish-modal .modal-body {
  padding: 25px;
  background: #f9f9f9;
}

.stylish-modal .form-label {
  font-weight: 500;
  color: #052944;
}

.stylish-modal .form-control, 
.stylish-modal .form-select {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #ccc;
}

.stylish-modal .form-control:focus, 
.stylish-modal .form-select:focus {
  border-color: #005aa0;
  box-shadow: 0 0 5px rgba(0,90,160,0.4);
}

/* Footer */
.stylish-modal .modal-footer {
  background: #f1f1f1;
  border-top: none;
  padding: 20px;
}

.btn-submit {
  background: #005aa0;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #052944;
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.gallery-one__single-img {
  position: relative;
}

.gallery-desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(5, 41, 68, 0.85);
  padding: 10px 15px;
  text-align: center;
}

.masonry {
  column-count: 3;        /* number of columns */
  column-gap: 15px;       /* space between columns */
}

.masonry img {
  width: 100%;
  display: block;
  margin-bottom: 15px;
  border-radius: 5px;     /* optional */
}

/* Responsive */
@media (max-width: 992px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}


/* ===========================================
   CERTIFICATION GALLERY (FINAL FIX - 4 PER ROW)
   =========================================== */

/* Container for all certificate items */
.gallery-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* FORCE 4 columns */
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Each certificate block */
.gallery-item {
    width: 100% !important;        /* Full width inside grid cell */
    box-sizing: border-box !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Certificate image */
.gallery-item img {
    width: 100% !important;
    height: 350px !important;        /* FIXED HEIGHT (adjust as needed) */
    object-fit: cover !important;    /* Keeps aspect ratio without distortion */
    display: block !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
	border: 5px solid #005aa0 !important;
}

 
/* Hover effect */
.gallery-item img:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15) !important;
}

/* "+" zoom icon */
.tab-gallery-icon {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    background: #000000aa !important;
    color: #fff !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    transition: 0.2s !important;
    cursor: pointer !important;
}

.tab-gallery-icon:hover {
    background: #000 !important;
}

/* Hide placeholder cells */
.gallery-item.invisible {
    visibility: hidden !important;
}

/* ================================
   RESPONSIVE (Tablet + Mobile)
   ================================ */

/* Tablet (2 per row) */
@media screen and (max-width: 991px) {
    .gallery-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile (1 per row) */
@media screen and (max-width: 575px) {
    .gallery-row {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

 /* Section */
.careers-section {
    padding: 70px 0;
}

.careers-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

.careers-sub {
    font-size: 15px;
    color: #666;
}

/* Job Box */
.job-box {
    position: relative;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.job-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.1);
}

/* Number Badge */
.job-number {
    position: absolute;
    top: -12px;
    left: -12px;
    background: #0056d6;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Accordion Button */
.job-title {
    font-size: 18px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #eaf1ff;
    color: #0056d6;
}

/* Body */
.accordion-body {
    font-size: 15px;
    color: #444;
}

/* Apply Button */
.apply-btn {
    padding: 10px 22px;
    background: #0056d6;
    border-radius: 6px;
    border: none;
    color: #fff;
    transition: 0.2s;
}

.apply-btn:hover {
    background: #003f9c;
}

/* No Jobs */
.no-jobs {
    font-size: 18px;
    color: #777;
}
