/* ==========================================
   DevlyLab.com - Core Variables & Base Styles
   ========================================== */
:root {
    --primary-color: #0f172a;   /* Professional Deep Blue/Slate */
    --secondary-color: #0ea5e9; /* Sleek Cyan/Teal Accent */
    --text-dark: #334155;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Section Padding & Global Titles */
section {
    padding: 80px 0;
}
.section-title h2 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}
.section-title h2 span {
    color: var(--secondary-color);
}
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

/* Custom Buttons */
.btn-custom {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 5px;
    transition: 0.3s;
    border: none;
}
.btn-custom:hover {
    background-color: white;
    color: var(--primary-color);
}

/* 1. Header Top Area */
.header-top {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-top a { color: #ffffff; text-decoration: none; }
.header-top a:hover { color: var(--secondary-color); }

/* 2. Navigation Area */
.navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar-brand { font-weight: 700; font-size: 24px; color: var(--primary-color) !important; }
.navbar-brand span { color: var(--secondary-color); }
.nav-link { font-weight: 500; color: var(--text-dark) !important; }
.nav-link:hover, .nav-link.active { color: var(--secondary-color) !important; }


/* 5. About Us Area */
.about-img { border-radius: 10px; width: 100%; height: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* 6. Services Section Grid */
.service-section { background-color: var(--bg-light); }
.service-card {
    border: none; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); transition: 0.3s; text-align: center; padding: 30px 20px; background: #fff; height: 100%;
    border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-bottom: 3px solid var(--secondary-color); }
.service-icon { font-size: 40px; color: var(--secondary-color); margin-bottom: 20px; }

/* 7. Working Process Area */
.process-step { text-align: center; position: relative; }
.process-icon {
    width: 80px; height: 80px; line-height: 80px; background: var(--primary-color); color: #fff; font-size: 26px; border-radius: 50%; margin: 0 auto 20px;
    border: 4px solid var(--bg-light); transition: 0.3s;
}
.process-step:hover .process-icon { background: var(--secondary-color); }

/* 8. Stats / Counter Area */
.stats-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1200') fixed center;
    color: #fff; padding: 70px 0;
}
.stat-box h2 { font-size: 45px; font-weight: 700; color: var(--secondary-color); }


/* 12. Testimonials Area */
.testimonial-item { background: var(--bg-light); padding: 40px 30px; border-radius: 10px; margin: 10px; }
.client-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--secondary-color); }

/* 13. Call To Action (CTA) */
.cta-section { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: #fff; padding: 60px 0; }

/* 14. Footers Global Layout */
.footer-top { background-color: #0b0f19; color: #94a3b8; padding: 70px 0 30px; }
.footer-top h5 { color: #ffffff; margin-bottom: 25px; font-weight: 600; }
.footer-top h5 span { color: var(--secondary-color); }
.footer-top ul { list-style: none; padding-left: 0; }
.footer-top ul li { margin-bottom: 12px; }
.footer-top ul li a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer-top ul li a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-bottom { background-color: #020617; color: #64748b; padding: 25px 0; font-size: 14px; border-top: 1px solid #1e293b; }

/* Footer Social Icons Link System */
.footer-social-links a {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

/* WhatApp chat icon */
 [wa-tooltip] { 
    position: relative; 
    cursor: default;  
    &:hover { &::before { 
        content: attr(wa-tooltip); 
        font-size: 16px; 
        text-align: center; 
        position: absolute; 
        display: block; 
        right: calc(0% - 100px); 
        left: null; 
        min-width: 200px; 
        max-width: 200px; 
        bottom: calc(100% + 40px); 
        transform: translate(-50%); 
        animation: fade-in 500ms ease; 
        background: #00E785; 
        border-radius: 4px; 
        padding: 10px; 
        color: #ffffff; 
        z-index: 1; 
    } } 
}  
@keyframes pulse { 0% { 
    transform: scale(1); 
} 50% { 
    transform: scale(1.1); 
} 100% {
     transform: scale(1); 
    } }  [wa-tooltip] { 

 } 
  @keyframes fade-in { from { 
    opacity: 0; 
} to { 
    opacity: 1; 
} }
 
[wa-tooltip] { 
    cursor: pointer;
    height: auto;
    width: auto;
    padding: 10px 10px 10px 10px;
    position: fixed !important;
    color: #fff;
    bottom: 20px;
    right: 20px;
    display: flex;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    font-family: sans-serif;
    align-items: center;
    z-index: 999999999 !important;
    background-color: #00E785;
    box-shadow: 4px 5px 10px rgba(0, 0, 0, 0.4);
    border-radius: 100px;
    animation: pulse 2.5s ease infinite;
}

/* ==========================================
   15. Our Technology Stack Section Styling
   ========================================== */
.tech-section {
    background-color: #ffffff; /* Page template symmetry maintainer */
}

.tech-box {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.01);
}

.tech-box i {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.tech-box h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Hover Micro-interactions */
.tech-box:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    border-color: var(--secondary-color);
}

.tech-box:hover i {
    transform: scale(1.1);
}

/* ==========================================
   3. New Hero Section Styling
   ========================================== */
.hero-section {
    height: 85vh;
    min-height: 550px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=1200') no-repeat center center/cover;
    color: #ffffff;
    padding: 0; /* Align perfectly with alignment classes */
}

.hero-title {
    font-size: 52px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-desc {
    color: #cbd5e1;
    font-weight: 300;
    max-width: 650px;
}

.btn-hero-outline {
    border-color: #cbd5e1;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 25px;
    font-size: 1.25rem;
    transition: 0.3s;
}

.btn-hero-outline:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.hero-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: floatAnimation 4s ease-in-out infinite;
}

/* Smooth Micro-interaction floating animation for right side image */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        padding: 80px 0;
    }
    .hero-title {
        font-size: 38px;
    }
    .hero-buttons .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   4. Partner Logos Compact Responsive Layout
   ========================================== */
.partner-logos img {
    max-width: 100%;
    height: 25px; /* Logo size choto korar jonno height 25px kora hoyeche */
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Custom grid class for desktop screens to cleanly separate 15 logos in 2 lines */
@media (min-width: 992px) {
    .col-lg-1-5 {
        flex: 0 0 auto;
        width: 12.5%; /* Eeti desktop e proti row te perfectly logo align rakhbe */
    }
}

/* ==========================================
   9. Our Team Section Styles
   ========================================== */
#team {
    background-color: #f8f9fa; /* Matches bg-light class */
    padding: 80px 0;
}

.team-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Card Hover Effect */
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.1);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #2c3e50; /* Uses template's primary dark color */
}

.team-card img {
    width: 100%;
    height: 280px; /* Keeps all team member image heights uniform */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
    opacity: 0.8; /* Dimming image slightly to make social icons stand out */
}

/* Modern Social Overlay System */
.team-social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(44, 62, 80, 0.6); /* Semi-transparent dark overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-social-overlay {
    opacity: 1;
}

.team-social-overlay a {
    color: #ffffff;
    background: var(--secondary-color); /* Template's accent color */
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 6px;
    display: inline-block;
    font-size: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    transform: translateY(20px);
    text-align: center;
}

.team-card:hover .team-social-overlay a {
    transform: translateY(0);
}

.team-social-overlay a:hover {
    background-color: #ffffff;
    color: #2c3e50;
    transform: scale(1.1);
}

.team-card p {
    line-height: 1.6;
}

/* ৮. Portfolio Redesign Styles */
.portfolio-section {
    background-color: #ffffff;
}
/* ফিল্টার টগল বার */
.portfolio-filters {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    background-color: #f8f9fa;
    display: inline-block;
    border-radius: 50px;
    padding: 6px 12px;
    border: 1px solid rgba(0,0,0,0.05);
}
.portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #555555;
    margin-bottom: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 50px;
}
.portfolio-filters li:hover, 
.portfolio-filters li.filter-active {
    color: #ffffff;
    background-color: var(--secondary-color); /* Accent color */
}
/* প্রজেক্ট কার্ড বেস */
.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.12);
}
.project-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #2c3e50;
}
.project-img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}
/* হোভার অ্যাকশন ওভারলে */
.project-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.75); /* Dark background theme tint */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.project-card:hover .project-hover-overlay {
    opacity: 1;
}
.project-actions .action-btn {
    color: #2c3e50;
    background-color: #ffffff;
    width: 45px;
    height: 45px;
    line-height: 45px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin: 0 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}
.project-card:hover .action-btn {
    transform: translateY(0);
    opacity: 1;
}
/* ডাইনামিক ডিলে ইফেক্ট ২য় বাটনের জন্য */
.project-actions .action-btn:nth-child(2) {
    transition-delay: 0.05s;
}
.project-actions .action-btn:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.1) translateY(-2px);
}
/* কার্ড টেক্সট এরিয়া */
.project-meta-info {
    background: #ffffff;
}
.project-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}
.project-title a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: color 0.2s ease;
}
.project-title a:hover {
    color: var(--secondary-color);
}


/* ==========================================
   10. Multi-Card Testimonial Grid Slider CSS
   ========================================== */
#testiGridCarousel {
    position: relative;
    padding: 0 40px; /* Leaves room for navigation buttons on the side */
}

.testimonial-grid-card {
    background: #ffffff;
    padding: 40px 25px 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%; /* Ensures card stretches vertically if column stretches */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-grid-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: rgba(26, 188, 156, 0.15); /* Faint accent color quote mark */
}

.client-grid-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);; /* Accent frame tint */
}

/* Custom Navigation Buttons Positioning */
.carousel-control-prev-grid,
.carousel-control-next-grid {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control-prev-grid { left: -10px; }
.carousel-control-next-grid { right: -10px; }

.carousel-control-prev-grid:hover,
.carousel-control-next-grid:hover {
    background-color: var(--secondary-color);;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
}

/* Handles mobile responsive stack nicely */
@media (max-width: 767px) {
    #testiGridCarousel { padding: 0; }
    .carousel-control-prev-grid, .carousel-control-next-grid { display: none; }
}