/* #gallery {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
}

.section-heading {
text-align: center;
max-width: 800px;
margin: 0 auto 60px;
}

.eyebrow {
font-size: 0.9rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
color: #0066cc;
margin-bottom: 15px;
}

.section-heading h2 {
font-size: 2.5rem;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 20px;
line-height: 1.3;
}

.section-heading p {
font-size: 1.1rem;
color: #666;
line-height: 1.7;
}

/* Projects Gallery Grid */
.projects-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
margin-top: 50px;
}

/* Project Card */
.project-card {
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}

.project-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

/* Project Header */
.project-header {
padding: 25px 20px 20px;
background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
color: white;
text-align: center;
position: relative;
overflow: hidden;
}

.project-header::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 0.5; }
50% { transform: scale(1.1); opacity: 0.8; }
}

.project-icon {
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 15px;
backdrop-filter: blur(10px);
border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-icon i {
font-size: 1.8rem;
color: white;
}

.project-title {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 5px;
position: relative;
z-index: 1;
}

.project-subtitle {
font-size: 0.95rem;
opacity: 0.9;
margin: 0;
position: relative;
z-index: 1;
}

/* Project Images */
.project-images {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
padding: 0;
}

.image-wrapper {
position: relative;
overflow: hidden;
aspect-ratio: 4/3;
cursor: pointer;
}

.image-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 68, 153, 0.9));
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.4s ease;
}

.image-overlay i {
font-size: 2rem;
color: white;
transform: scale(0.5);
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-wrapper:hover img {
transform: scale(1.15);
}

.image-wrapper:hover .image-overlay {
opacity: 1;
}

.image-wrapper:hover .image-overlay i {
transform: scale(1);
}

/* Lightbox */





@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

.lightbox-content {
max-width: 1200px;
max-height: 90vh;
width: 90%;
display: flex;
flex-direction: column;
align-items: center;
}

.lightbox-image-wrapper {
position: relative;
max-height: 75vh;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.lightbox-image-wrapper img {
max-width: 100%;
max-height: 75vh;
object-fit: contain;
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}

.lightbox-info {
margin-top: 25px;
text-align: center;
color: white;
}

.lightbox-info h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 10px;
}

.lightbox-info p {
font-size: 0.95rem;
color: #aaa;
margin: 0;
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-nav {
position: absolute;
background: rgba(255, 255, 255, 0.1);
border: 2px solid rgba(255, 255, 255, 0.2);
color: white;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
z-index: 10001;
}

.lightbox-close {
top: 30px;
right: 30px;
font-size: 1.5rem;
}

.lightbox-close:hover {
background: rgba(255, 0, 0, 0.8);
border-color: rgba(255, 0, 0, 0.9);
transform: rotate(90deg);
}

.lightbox-nav {
top: 50%;
transform: translateY(-50%);
font-size: 1.5rem;
}

.lightbox-prev {
left: 30px;
}

.lightbox-next {
right: 30px;
}

.lightbox-nav:hover {
background: rgba(0, 102, 204, 0.9);
border-color: rgba(0, 102, 204, 1);
transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
transform: translateY(-50%) scale(0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
.projects-gallery {
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}
}

@media (max-width: 768px) {
#gallery {
padding: 60px 0;
}

.section-heading h2 {
font-size: 2rem;
}

.projects-gallery {
grid-template-columns: 1fr;
gap: 20px;
}

.project-title {
font-size: 1.2rem;
}

.lightbox-close {
top: 15px;
right: 15px;
width: 45px;
height: 45px;
}

.lightbox-nav {
width: 45px;
height: 45px;
}

.lightbox-prev {
left: 15px;
}

.lightbox-next {
right: 15px;
}

.lightbox-info h3 {
font-size: 1.2rem;
}
}

@media (max-width: 480px) {
.project-images {
grid-template-columns: 1fr;
}

.image-wrapper {
aspect-ratio: 16/10;
}
}

/* Reveal Animation */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}

.reveal.active {
opacity: 1;
transform: translateY(0);
}

/* লাইটবক্সের মেইন কন্টেইনার */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    cursor: zoom-out; /* বাইরে ক্লিক করলে বন্ধ হবে এমন সংকেত */
}

/* ক্লোজ বাটনটিকে সবকিছুর উপরে রাখার জন্য !important ব্যবহার করুন */
.lightbox-close {
    z-index: 10005 !important; 
    pointer-events: auto !important; /* নিশ্চিত করে যেন ক্লিকটি বাটন গ্রহণ করে */
}

.lightbox-content {
    cursor: default; /* ইমেজের ওপর মাউস নিলে নরমাল দেখাবে */
    pointer-events: none; /* যাতে ক্লিক এর ভেতর দিয়ে ব্যাকগ্রাউন্ডে পৌঁছাতে পারে */
}

/* কন্টেন্টের ভেতরের ইমেজ এবং তথ্যকে আবার ক্লিকেবল করা */
.lightbox-image-wrapper, .lightbox-info {
    pointer-events: auto;
} 
