.full-img-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* optional */
}

.full-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.full-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Hover effect to reveal real image */
.full-img-wrapper:hover img {
  filter: grayscale(0%);
}

.full-img-wrapper:hover::after {
  opacity: 0;
}

.about-image {
  filter: grayscale(100%);
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  transition: filter 0.5s ease, background-image 0.5s ease;
}

.about-image:hover {
  filter: grayscale(0%);
  background-image: none;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.real-image {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.image-wrapper:hover .real-image {
  filter: grayscale(0%);
}

.image-wrapper:hover .overlay {
  opacity: 0;
}

.image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.real-image {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.image-wrapper:hover .real-image {
  filter: grayscale(0%);
}

.image-wrapper:hover .overlay {
  opacity: 0;
}

.team-img img {
  display: block;
  width: 100%;
  transition: all 0.5s ease;
  filter: grayscale(100%);
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* Hover effect to remove grayscale and background overlay */
.team-img:hover img {
  filter: grayscale(0%);
  background-image: none;
}

/* Newsletter Popup Styles */
#newsletter-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 32, 38, 0.65);
  justify-content: center;
  align-items: center;
}
#newsletter-popup .newsletter-content {
  background: #fff;
  border-radius: 18px;
  max-width: 400px;
  width: 90vw;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
  position: relative;
}
#newsletter-popup .newsletter-content h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e2026;
}
#newsletter-popup .newsletter-content p {
  color: #555;
  margin-bottom: 1.2rem;
}
#newsletter-popup .newsletter-content input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  font-size: 1rem;
}
#newsletter-popup .newsletter-content button[type="submit"] {
  width: 100%;
  background: #1e2026;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
}
#newsletter-popup .newsletter-content button[type="submit"]:hover {
  background: #2d313a;
}
#newsletter-popup .newsletter-content #newsletter-success {
  color: #27ae60;
  margin-top: 1rem;
  font-weight: 600;
}
#newsletter-popup #close-newsletter-popup {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
@media (max-width: 500px) {
  #newsletter-popup .newsletter-content {
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
  }
}

/* Home4 Banner Slider Styles */
.home4-banner-section .home4-banner-slider {
  height: 100%;
}

.home4-banner-section .home4-banner-slider .swiper-wrapper {
  height: 100%;
}

.home4-banner-section .home4-banner-slider .swiper-slide {
  height: 100%;
}

.home4-banner-section .home4-banner-slider .swiper-slide .banner-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Responsive styles for home4 banner slider */
@media (max-width: 991px) {
  .home4-banner-section .home4-banner-slider .swiper-slide .banner-bg {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .home4-banner-section .home4-banner-slider .swiper-slide .banner-bg {
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .home4-banner-section .home4-banner-slider .swiper-slide .banner-bg {
    min-height: 350px;
  }
}

/* Fallback styling for banner images */
.home4-banner-section .home4-banner-slider .swiper-slide .banner-bg {
  position: relative;
  background-color: #f5f5f5;
}

.home4-banner-section .home4-banner-slider .swiper-slide .banner-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #e0e0e0 25%, transparent 25%), 
              linear-gradient(-45deg, #e0e0e0 25%, transparent 25%), 
              linear-gradient(45deg, transparent 75%, #e0e0e0 75%), 
              linear-gradient(-45deg, transparent 75%, #e0e0e0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: 0.3;
  z-index: -1;
}

.home4-banner-section .home4-banner-slider .swiper-slide .banner-bg[style*="background-image"]::before {
  display: none;
}


    .banner-content p {
  font-size: 20px;
  color: #f0f0f0; /* Light grey or white */
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin: 15px auto;
  text-align: center;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


        /* Modal Layout */
        #jobApplyModal .modal-dialog {
            max-width: 1200px;
            margin: 1.75rem auto;
        }
        
        #jobApplyModal .modal-content {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }
        
        #jobApplyModal .modal-header {
            background: transparent;
            padding: 25px 25px 0;
            border: none;
        }
        
        #jobApplyModal .btn-close {
            background: rgba(0,0,0,0.1);
            border-radius: 50%;
            padding: 10px;
            opacity: 0.7;
            transition: opacity 0.3s ease;
            z-index: 10;
        }
        
        #jobApplyModal .btn-close:hover {
            opacity: 1;
            background: rgba(0,0,0,0.2);
        }
        
        /* Left Panel - Image and Job Details */
        .left-panel {
            background: linear-gradient(135deg, #979797 0%, #000000 100%);
            color: white;
            position: relative;
            min-height: 600px;
        }
        
        .image-section {
            height: 300px;
            overflow: hidden;
            position: relative;
        }
        
        .career-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.8);
        }
        
        .job-details-section {
            padding: 40px 30px;
            position: relative;
        }
        
        .job-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 25px;
            color: white;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .job-info {
            margin-bottom: 30px;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .info-item:last-child {
            border-bottom: none;
        }
        
        .info-item i {
            font-size: 1.2rem;
            margin-right: 15px;
            color: rgba(255,255,255,0.9);
            width: 20px;
        }
        
        .info-item span {
            font-size: 1rem;
            color: rgba(255,255,255,0.95);
        }
        
        .skills-section {
            background: rgba(255,255,255,0.1);
            padding: 25px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }
        
        .skills-section h5 {
            color: white;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .skills-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .skills-list li {
            color: rgba(255,255,255,0.9);
            margin-bottom: 8px;
            padding-left: 20px;
            position: relative;
            font-size: 0.95rem;
        }
        
        /* Right Panel - Application Form */
        .right-panel {
            background: white;
            min-height: 600px;
        }
        
        .form-container {
            padding: 40px 35px;
            height: 100%;
            overflow-y: auto;
        }
        
        .form-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #333;
            margin-bottom: 10px;
        }
        
        .form-subtitle {
            color: #666;
            margin-bottom: 30px;
            font-size: 1rem;
        }
        
        /* Form Styling */
        .application-form .form-control {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 15px 18px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #fafbfc;
        }
        
        .application-form .form-control:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
            background: white;
        }
        
        .application-form .form-label {
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            font-size: 0.95rem;
        }
        
        .file-upload-wrapper {
            position: relative;
        }
        
        .file-upload-wrapper .form-control {
            padding: 12px 15px;
        }
        
        .form-text {
            color: #6c757d;
            font-size: 0.85rem;
            margin-top: 5px;
        }
        
        /* Buttons */
        .form-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: none;
            padding: 15px 35px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            color: white;
        }
        
        .btn-primary:hover {
            background: linear-gradient(135deg, #5a6fd8, #6a4190);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
            color: white;
        }
        
        .btn-secondary {
            background: #6c757d;
            border: none;
            padding: 15px 35px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .btn-secondary:hover {
            background: #5a6268;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
        }
        
        .form-check-input:checked {
            background-color: #667eea;
            border-color: #667eea;
        }
        
        .form-check-label {
            color: #555;
            font-size: 0.9rem;
        }
        
        .form-check-label a {
            color: #667eea;
            text-decoration: none;
        }
        
        .form-check-label a:hover {
            text-decoration: underline;
        }
        
        /* Success Alert */
        .alert-success {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            border: 1px solid #c3e6cb;
            color: #155724;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        /* Responsive Design */
        @media (max-width: 991px) {
            .left-panel {
                min-height: 400px;
            }
            
            .image-section {
                height: 200px;
            }
            
            .job-details-section {
                padding: 25px 20px;
            }
            
            .job-title {
                font-size: 1.8rem;
            }
            
            .form-container {
                padding: 30px 25px;
            }
        }
        
        @media (max-width: 768px) {
            #jobApplyModal .modal-dialog {
                margin: 10px;
                max-width: calc(100% - 20px);
            }
            
            .left-panel {
                min-height: 350px;
            }
            
            .image-section {
                height: 150px;
            }
            
            .job-details-section {
                padding: 20px 15px;
            }
            
            .job-title {
                font-size: 1.5rem;
                margin-bottom: 20px;
            }
            
            .form-container {
                padding: 25px 20px;
            }
            
            .form-title {
                font-size: 1.5rem;
            }
            
            .application-form .row {
                margin: 0;
            }
            
            .application-form .col-md-6 {
                padding: 0;
                margin-bottom: 15px;
            }
            
            .form-actions {
                flex-direction: column;
                gap: 15px;
            }
            
            .btn-primary, .btn-secondary {
                width: 100%;
            }
        }
        
        /* Scrollbar Styling */
        .form-container::-webkit-scrollbar {
            width: 6px;
        }
        
        .form-container::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }
        
        .form-container::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }
        
        .form-container::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

/* Service card hover animations */
.service-card {
    will-change: transform, box-shadow;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    }

    .service-card .service-icon {
        transition: transform 0.3s ease;
    }

    .service-card:hover .service-icon {
        transform: scale(1.06) rotate(2deg);
    }

    .service-card a {
        transition: color 0.25s ease;
    }

        .service-card a:hover {
            color: #b8c00a !important;
        }

        .service-card a i {
            transition: transform 0.25s ease;
        }

    .service-card:hover a i {
        transform: translateX(4px);
    }

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card .service-icon,
    .service-card a,
    .service-card a i {
        transition: none;
    }
}
#scroll-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
#scroll-btn:hover {
  transform: scale(1.05);
}

.home5-service-slider .swiper-wrapper {
    align-items: stretch;
}

.home5-service-slider .swiper-slide {
    height: auto;
    display: flex;
}

.home5-service-slider .service-card2 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .home5-service-slider .service-card2 .icon {
        flex-shrink: 0;
    }

    .home5-service-slider .service-card2 .more-btn,
    .home5-service-slider .service-card2 .arrow {
        margin-top: auto;
    }