.popup-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    z-index: 9999;
}

/* Centering the image */
.popup-gallery img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.moral {
	font-size: 1.5em;
}

/* Close button styling */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3em;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

/* Close button hover effect */
.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.thumbnail-slider {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	h1 * {
    font-size: 2.5rem;
	}
   .popup-close {
        font-size: 1.5em;
        padding: 5px 10px;
    }
}

/* Scale Up Effect */
h1:hover, h2:hover, h3:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Color Change Effect */ h1:hover, h2:hover, h3:hover {
    color: #3498db; /* Change to your preferred color */
    transition: color 0.3s ease;
}

/* Underline Slide-In Effect */
/* h1::after, h2::after, h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    bottom: -10px;
    background: linear-gradient(to right, #ff0000, #ffa500, #ffff00);
    background-size: 200% 100%;
    animation: fireEffect 2s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
} */

h1:hover::after, h2:hover::after, h3:hover::after {
    opacity: 1;
}

@keyframes fireEffect {
    0% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Optional: Add a glow effect */
h1:hover, h2:hover, h3:hover {
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    transition: text-shadow 0.3s ease;
}


/* Letter Spacing Effect */
/* p:hover {
    letter-spacing: 0.5px;
    transition: letter-spacing 0.3s ease;
} */

/* Zoom-In Effect */
img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    border-radius: 8px;
}

/* Grayscale to Color */
img {
/*     filter: grayscale(100%); */
    transition: filter 0.4s ease;
}

img:hover {
    filter: grayscale(0%);
}

/* Shadow and Lift */
img {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

img:hover {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
/*    a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease, border-bottom 0.3s ease;
} */

a:hover {
    color: #ffc107;
    border-bottom: 2px solid #ffc107; /* Underline effect */
}
 transform: translateY(-5px);
}

/* other slider modals */
.slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
/*     height: 100%; */
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.slider-content {
    width: 90%;
    max-width: 1200px;
    background: #fff;
    padding: 20px;
    position: relative;
    border-radius: 5px;
}

.slick-slider img {
    width: 100%;
    height: aut;
    display: block;
}

.close-slider {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1.2em;
}



/* Optional: Add smooth transitions */
.slick-slider img {
    transition: transform 0.3s ease-in-out;
}

.slick-slider img:hover {
    transform: scale(1.05);
}


.slider-caption {
    text-align: center;
    font-size: 1em;
    color: #333;
    margin-top: 10px;
}


/* Resource section */
.resource-hero {
color: #fff;
}

.resource-text-side{
display: grid;
color: #fff;
}
.resource-exerpt {
padding: 30px 0;
}




/* Swis721 Cn BT for paragraphs */
@font-face {
    font-family: 'Swis721 BdCn BT';
    src: url('/fonts/swissck.ttf')        format('truetype');
    font-weight: normal;
}

h1.title {
                                    font-family: 'Swis721 BdCnOul BT', sans-serif;  
text-transform: uppercase;
	line-height: normal;
}
/* Media query for mobile screens */
@media (max-width: 768px) {
    h1.title {
        font-size: 45px; /* Adjust the size as needed */
    }
}

p {
    font-family: 'Swis721Regular', sans-serif;
    font-weight: normal;
		text-align: justify;
}
.title {
	 font-family: 'Swis721 BdCn BT', sans-serif;
	font-weight: 600;
}

.excerpt {
	color: white;
}
.event-meta {
	color: gray;
	display: flex; 
	justify-content: space-between;
	margin: 20px 0;
	font-weight: 300;
}
.blog__grid {
    padding-top: 47px;
    padding-bottom: 76px;
    position: relative;
}

.blog__grid:before {
    content: '\A';
    position: absolute;
    width: 100%;
    height: 404px;
    max-width: 446px;
    background: linear-gradient(213.73deg, #ABC2E3 0%, rgba(171, 194, 227, 0) 79.98%);
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: auto !important;
    opacity: .08;
    filter: alpha(opacity = 8);
    top: 0;
    left: 40%;
}

h4 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}
li {
    margin-bottom: 0.5rem;
}
em {
    font-style: italic;
}

.timeline-slider {
	overflow: hidden;
}

/* Custom bullet styling for the entire list */

.hammer-bullets {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.hammer-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
		list-style: none;
}

.hammer-bullets li::before {
    content: '⬩';
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.nuts-bullets {
		display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.nuts-bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
		list-style: none;
}

.nuts-bullets li::before {
    content: '⬩';
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

.flex-miz {
	justify-content: space-between
}

form .submit-btn input[type="submit"]{
	width: auto;
}

form label span.wpcf7-form-control-wrap textarea {
    background: transparent;
    order: 2;
    width: 100%;
    border: none;
    border-bottom: 1px solid #FFAB80;
    font-family: "Cairo", sans-serif;
    font-weight: 400;
    font-size: 1.375rem;
    line-height: 2.1875rem;
    color: #fff;
		margin-top: 10px;
}

.rokfinSmart {
	margin-bottom: 20px;
	max-width: 700px;
}

/* .unique-text-container.animate {
    background-color: rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 10px;
} */
/* .unique-text-container.animate {
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  padding: 6px 12px;
	margin: 15px
} */

/* .unique-text-container.animate {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
	margin: 15px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.2);
} */

/* .unique-text-container.animate {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
	margin: 15px;
} */

//* 30 april */
.cert-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  font-family: sans-serif;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}


/* Certificate Thumbnail Styling */
.cert-card {
  text-decoration: none;
  color: #333;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  width: 70px;
}

.cert-card:hover {
  transform: translateY(-8px);
}

.cert-thumb {
  width: 100px;
  height: 130px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Decorative "Paper" lines */
.cert-lines {
  margin-top: 20px;
  border-top: 2px solid #eee;
  box-shadow: 0 10px 0 #eee, 0 20px 0 #eee, 0 30px 0 #eee, 0 40px 0 #eee;
}

/* Certificate Seal */
.cert-seal {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  background: gold;
  border-radius: 50%;
  border: 2px dotted #b8860b;
}

.hse-seal { background: #2ecc71; border-color: #27ae60; } /* Green for HSE */

.cert-label {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: #333333;
  line-height: 1.3;
}

/* Welder Animation & Mascot */
.welder-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.welder-character {
  font-size: 50px;
  position: relative;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.2));
}

/* Spark Animation */
.spark {
  position: absolute;
  bottom: 5px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: #00f2ff;
  border-radius: 50%;
  animation: weld-spark 0.6s infinite alternate;
  box-shadow: 0 0 15px #00f2ff;
}

@keyframes weld-spark {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0.5; box-shadow: 0 0 25px #00f2ff; }
}

/* Speech Bubble Styling */
.speech-bubble {
  background: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #333;
  transform: translateY(-50%);
}* .unique-text-container.animate {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  animation: shimmer 3s infinite;
  color: white;
  padding: 10px 18px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
	margin: 15px;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
} */

/* new update division section */
.unique-slide-description:hover {
	background-color:#000;
}

/* for slider */
p.unique-slide-description:hover {
	background-color: black; 
	padding: 20px;
	border-radius: inherit;
}

.description ul li {
	margin-bottom: 10px !important;
}