/* =======================================
   Hero Section
   ======================================= */
.hero { display: flex; align-items: center; justify-content: space-between; padding: 80px 5%; min-height: 80vh; color: var(--white); position: relative; overflow: hidden; z-index: 1; }
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; background: var(--deep-blue); }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 0.4; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, var(--deep-blue) 0%, transparent 100%); z-index: -1; }
.hero-content { flex: 1; max-width: 50%; z-index: 1; }
.hero-content h1 { font-size: 45px; line-height: 1.3; margin-bottom: 20px; }
.hero-content h1 span { color: var(--yellow); }
.hero-content p { font-size: 16px; margin-bottom: 30px; color: #ddd; }
.hero-media { flex: 1; display: flex; justify-content: center; z-index: 1; }
.video-box { width: 100%; max-width: 500px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 4px solid var(--yellow); }
.video-box video { width: 100%; display: block; }

/* =======================================
   About Us Section 
   ======================================= */
.snippet-section { padding: 80px 5%; background: var(--light-bg); }
.about-wrapper { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--blue); }
.about-text-content { width: 60%; }
.about-text-content h3 { color: var(--deep-blue); font-size: 26px; margin-bottom: 15px; }
.about-text-content p { color: #555; line-height: 1.8; margin-bottom: 15px; font-size: 15px; }
.about-image-content { width: 40%; text-align: center; }
.about-image-content img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* =======================================
   Clients Section
   ======================================= */
.clients-section { padding: 60px 5%; overflow: hidden; border-top: 5px solid var(--yellow); border-bottom: 5px solid var(--yellow); background-color: var(--deep-blue); background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px); background-size: 30px 30px; }
.clients-section .section-title h2 { color: var(--white); }
.client-slider { display: flex; gap: 40px; align-items: center; animation: scroll 40s linear infinite; white-space: nowrap; }
.client-box { background: var(--white); padding: 20px 40px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; }
.client-box img { height: 90px; width: auto; object-fit: contain; transition: 0.3s; filter: grayscale(100%); }
.client-box:hover img { filter: grayscale(0%); transform: scale(1.05); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* =======================================
   Services Section 
   ======================================= */
.services-section { padding: 80px 5%; background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service-card { background: var(--light-bg); padding: 40px 30px; border-radius: 10px; text-align: center; border: 1px solid #eee; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column; justify-content: space-between;}
.service-card:hover { transform: translateY(-10px); background: var(--deep-blue); color: var(--white); border-color: var(--yellow); }
.service-card i { font-size: 45px; color: var(--yellow); margin-bottom: 20px; }
.service-card h3 { font-size: 22px; margin-bottom: 15px; }
.service-card p { color: #666; line-height: 1.7; margin-bottom: 25px; flex-grow: 1;}
.service-card:hover p { color: #ddd; }
.service-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--white); background: var(--blue); text-decoration: none; padding: 12px 25px; border-radius: 30px; transition: 0.3s; border: 2px solid transparent;}
.service-card:hover .service-link { color: var(--deep-blue); background: var(--yellow); border-color: var(--yellow); }
.service-link i { font-size: 14px !important; color: inherit !important; margin: 0 !important; }

/* =======================================
   Projects Section
   ======================================= */
.projects-section { padding: 80px 5%; background: var(--light-bg); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.project-card img { width: 100%; height: 250px; object-fit: cover; display: block; transition: 0.5s; }
.project-card:hover img { transform: scale(1.1); }
.project-info { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(10, 25, 47, 0.9); padding: 15px; color: var(--yellow); text-align: center; transform: translateY(100%); transition: 0.4s; }
.project-card:hover .project-info { transform: translateY(0); }

/* =======================================
   Advanced Testimonial Section (UPDATED DESIGN)
   ======================================= */
.testimonial-advanced { 
    position: relative; 
    padding: 80px 5%; 
    /* গ্যালারি থেকে আলাদা করার জন্য নতুন কালার ও হলুদ টেক্সচার */
    background-color: #131c2d; 
    background-image: radial-gradient(rgba(255, 193, 7, 0.08) 2px, transparent 2px); 
    background-size: 30px 30px;
    overflow: hidden; 
    color: var(--white); 
    text-align: center; 
    /* গ্যালারির সাথে মিশে না যাওয়ার জন্য নিচে একটি বর্ডার */
    border-bottom: 5px solid var(--yellow);
}
.testimonial-advanced .section-title h2 { color: var(--white); margin-bottom: 35px; }

/* Floating Avatars Animation */
.floating-avatars { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.float-avatar { position: absolute; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); object-fit: cover; animation: floatAnim 10s infinite ease-in-out alternate; }
.float-avatar:nth-child(1) { width: 60px; height: 60px; top: 15%; left: 10%; animation-delay: 0s; }
.float-avatar:nth-child(2) { width: 90px; height: 90px; top: 60%; left: 8%; animation-delay: 2s; }
.float-avatar:nth-child(3) { width: 50px; height: 50px; top: 20%; right: 15%; animation-delay: 4s; }
.float-avatar:nth-child(4) { width: 75px; height: 75px; top: 65%; right: 10%; animation-delay: 1s; }
.float-avatar:nth-child(5) { width: 100px; height: 100px; top: 40%; left: 20%; animation-delay: 3s; opacity: 0.4; filter: blur(1px); }
.float-avatar:nth-child(6) { width: 70px; height: 70px; top: 45%; right: 25%; animation-delay: 5s; opacity: 0.5; filter: blur(1px); }

@keyframes floatAnim {
    0% { transform: translateY(0px) scale(1); opacity: 0.4; }
    50% { opacity: 0.9; }
    100% { transform: translateY(-30px) scale(1.1); opacity: 0.4; }
}

/* Big Testimonial Card (Flatter & Wider) */
.testi-focus-slider { 
    position: relative; 
    z-index: 2; 
    max-width: 950px; /* কার্ড চওড়া করা হলো */
    margin: 0 auto; 
    padding-bottom: 50px; 
}
.testi-focus-card { 
    background: rgba(255,255,255,0.04); 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 35px 40px; /* উচ্চতা (লম্বাটে ভাব) কমানো হলো */
    border-radius: 15px; 
    backdrop-filter: blur(8px); 
}
.testi-focus-img { 
    width: 110px; height: 110px; 
    border-radius: 50%; object-fit: cover; 
    border: 3px solid var(--yellow); 
    margin: 0 auto 15px auto; display: block; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); 
}
.testi-focus-text { 
    font-size: 15px; /* কমেন্ট সাইজ ছোট করা হলো */
    font-style: italic; 
    line-height: 1.6; 
    color: #d1d5db; 
    margin-bottom: 18px; 
    padding: 0 15px;
}
.testi-focus-name { font-size: 24px; color: var(--white); font-weight: 700; margin-bottom: 5px; }
.testi-focus-desi { color: var(--yellow); font-size: 14px; margin-bottom: 12px; display: block; }
.testi-see-more { margin-top: 25px; position: relative; z-index: 2; }
.swiper-pagination-bullet { background: #fff !important; opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--yellow) !important; opacity: 1; transform: scale(1.2); }

/* =======================================
   Blog Section
   ======================================= */
.blog-section { padding: 80px 5%; background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.blog-card { background: var(--light-bg); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.04); transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--yellow); }
.blog-img { width: 100%; height: 220px; object-fit: cover; transition: 0.4s; }
.blog-card:hover .blog-img { transform: scale(1.05); }
.blog-img-wrapper { overflow: hidden; }
.blog-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 10px; display: block; }
.blog-content h3 { font-size: 20px; color: var(--deep-blue); margin-bottom: 15px; line-height: 1.4; font-weight: 700; }
.blog-content p { font-size: 15px; color: #666; margin-bottom: 20px; line-height: 1.6; flex-grow: 1; }
.blog-read-more { font-size: 15px; font-weight: 700; color: var(--deep-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; margin-top: auto; }
.blog-read-more:hover { color: var(--blue); }
.blog-see-more-btn { text-align: center; margin-top: 50px; }

/* =======================================
   Gallery Section
   ======================================= */
.gallery-section { padding: 80px 5%; background: var(--deep-blue); }
.gallery-section .section-title h2 { color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; border: 3px solid transparent; transition: 0.3s; background: #071222; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: 0.3s; cursor: zoom-in; }
.gallery-item:hover { border-color: var(--yellow); }
.gallery-item:hover img { transform: scale(1.1); opacity: 0.6; }
.gallery-label { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(10, 25, 47, 0.9); color: var(--yellow); text-align: center; padding: 15px; font-weight: 700; font-size: 16px; border-top: 2px solid var(--yellow); z-index: 10; transition: 0.3s; }
.gallery-item:hover .gallery-label { background: var(--yellow); color: var(--deep-blue); }

/* =======================================
   Map Section
   ======================================= */
.map-section { padding: 40px 0 0 0; background: var(--white); }
.map-container iframe { filter: grayscale(20%) contrast(1.2); }

/* =======================================
   Responsive Breakpoints
   ======================================= */
@media (max-width: 1024px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-wrapper { flex-direction: column; text-align: center; }
    .about-text-content, .about-image-content { width: 100%; }
}

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding: 100px 5% 40px 5%; }
    .hero-content { max-width: 100%; margin-bottom: 40px; }
    .hero-media { max-width: 100%; width: 100%; }
    .client-slider { animation: scroll 20s linear infinite; }
    .service-grid, .project-grid, .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
    .testi-focus-img { width: 90px; height: 90px; }
    .testi-focus-text { font-size: 14px; }
}
