

/* ==================================== */
/* ========= গ্লোবাল স্টাইলস ========= */
/* ==================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    /* পার্ট ১ এর ডিফল্ট ফন্ট ব্যবহার করা হয়েছে */
    font-family: 'Merriweather', serif;
}

/* পার্ট ১ থেকে * কে গ্লোবাল করা হয়েছে */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* পার্ট ১ এর গ্লোবাল কী-ফ্রেম (Keyframes) */
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes neonGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px #00BFFF); 
    }
    50% { 
        filter: drop-shadow(0 0 20px #00FFFF); 
    }
}

@keyframes scroll-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}


/* ==================================== */
/* ========= পার্ট ১ এর স্টাইল ========= */
/* ==================================== */

#part1 {
    font-family: 'Merriweather', serif;
    font-size: 1.1em;
    color: #fff;
}

/* === পার্ট ১: ল্যান্ডিং পেজ === */
#part1 .landing-page {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://i.imgur.com/jDPteIr.jpg') fixed center/cover;
    cursor: pointer;
    position: relative; 
    z-index: 10; /* এটি ব্যাকগ্রাউন্ড ইমেজের উপরে থাকবে */
}

#part1 .logo-animated {
    width: 300px;
    height: 300px;
    background: url('https://i.ibb.co/zhbZfPbP/Jar-Denim.png') no-repeat center/contain;
    animation: floatLogo 4s ease-in-out infinite, neonGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.5)); /* Electric Blue গ্লো */
}

/* === পার্ট ২: কন্টেন্ট === */

/* এই div টি পার্ট ১ এবং পার্ট ২ কে আলাদা করে */
#part1 #scroll-target {
    height: 0; /* এর কোনো উচ্চতা নেই, শুধু একটি মার্কার */
}

/* পার্ট ২ এর ব্যাকগ্রাউন্ড */
#part1 .background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* এটি সবকিছুর পেছনে থাকবে */
}

#part1 .background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1; /* <-- ছবি সব সময় 100% দৃশ্যমান */
}

/* ডার্ক লাইটিং ইফেক্টের জন্য নতুন CSS রুল */
#part1 #bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* কালো ওভারলে */
    opacity: 0.2; /* শুরুতে হালকা অন্ধকার (JS এটি কন্ট্রোল করবে) */
    transition: opacity 0.3s ease; /* স্মুথ ইফেক্টের জন্য */
    z-index: 1; /* ছবির উপরে থাকবে */
}


#part1 #hero {
    height: 60vh; 
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    position: relative; 
    padding: 20px;
    box-sizing: border-box; 
    z-index: 5; /* ওভারলে-এর উপরে থাকবে */
}

#part1 .hero-logo {
    width: 90%;
    max-width: 230px; 
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* পার্ট ২ এর কন্টেন্ট */
#part1 .content-wrapper {
    position: relative;
    z-index: 5; /* ওভারলে-এর উপরে থাকবে */
    padding: 0 30px;
}

#part1 .spacer {
    height: 100vh; /* <-- আপনার অনুরোধে 100vh রাখা হয়েছে */
}

#part1 .content-section {
    width: 100%;
    padding: 50px 0;
    opacity: 0; 
    transition: transform 0.3s ease, opacity 1s ease;
    position: relative;
}

#part1 .content-section:not(:last-child) {
     /* গ্যাপ এখন .spacer দিয়ে কন্ট্রোল হচ্ছে */
}


#part1 .content-section.active {
    opacity: 1;
}

/* বক্স সাইজ এবং ফন্ট সাইজ স্ট্যান্ডার্ড করা হয়েছে */
#part1 .text-container {
    max-width: 750px; 
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    
    background: rgba(20, 20, 20, 0.6); 
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%); 
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 40px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* প্যারাগ্রাফের মাঝের গ্যাপ কমানো হয়েছে */
#part1 .text-container p:not(:last-child) {
    margin-bottom: 1.5em; /* <-- 2em থেকে 1.5em করা হয়েছে */
}

#part1 .text-container:hover {
    border-color: rgba(0, 170, 255, 0.5); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 
                0 0 25px rgba(0, 170, 255, 0.5);
}

/* হেডিং সাইজ ও মার্জিন অ্যাডজাস্ট করা হয়েছে */
#part1 .content-section h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 2rem; /* <-- 2.2rem থেকে 2rem করা হয়েছে */
    margin-bottom: 1.25em; /* <-- 20px থেকে 1.25em করা হয়েছে */
    text-align: left;
    position: relative;
    z-index: 2;
}

/* প্যারাগ্রাফ ফন্ট সাইজ সুনির্দিষ্ট করা হয়েছে */
#part1 .content-section p {
    color: #fff;
    font-weight: 300;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    
    font-size: 1.1rem; /* <-- স্ট্যান্ডার্ড সাইজ সেট করা হয়েছে (17.6px) */
    line-height: 1.7; /* <-- লাইন হাইট এখানে আনা হয়েছে */
}

#part1 .content-section p:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 190, 255, 0.8),
                 0 0 12px rgba(0, 190, 255, 0.6);
}

/* স্ক্রল ডাউন অ্যারো (পার্ট ২ এর লোগোর নিচে) */
#part1 .scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

#part1 .mouse-icon {
    width: 28px;
    height: 48px;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
    opacity: 0.7;
}

#part1 .mouse-wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

/* রেসপন্সিভ ডিজাইন */
@media (max-width: 600px) {
    #part1 {
        font-size: 1rem; /* 16px */
    }
    
    #part1 .text-container {
        padding: 30px;
    }

    #part1 .content-section h1 {
        font-size: 1.8rem; /* মোবাইলের জন্য h1 অ্যাডজাস্ট করা হয়েছে */
    }
    
    #part1 .content-section p {
        font-size: 1rem; /* মোবাইলের জন্য p অ্যাডজাস্ট করা হয়েছে */
    }
}


/* ==================================== */
/* ========= দ্বিতীয় অংশ শুরু ========= */
/* ==================================== */

#part2 {
    margin: 0;
    padding: 0;
    height: 100vh; 
    font-family: 'Arial', sans-serif;
    background: #333;
    color: #f2ede3;
    font-size: 16px;
    position: relative; 
}

/* ========== নতুন হেডিং স্টাইল যোগ করা হয়েছে ========== */
#part2 h1, #part2 h2, #part2 h3, #part2 h4, #part2 h5, #part2 h6 {
    font-family: 'Raleway', 'Arial', sans-serif;
    font-weight: 600;
}
/* -------------------------------------------------- */

#part2 .container, #part2 #bl-main {
    height: 100%; 
    overflow: hidden;
}

#part2 #bl-main > section {
    position: absolute;
    width: 50%;
    height: 50%;
    transition: all 0.5s ease;
}

#part2 #bl-main > section:nth-child(1) { top: 0; left: 0; background: #5E7C88; } /* Blog */
#part2 #bl-main > section:nth-child(2) { top: 0; left: 50%; background: #6D8299; } /* Works */
#part2 #bl-main > section:nth-child(3) { top: 50%; left: 0; background: #2F4858; } /* About Us */
#part2 #bl-main > section:nth-child(4) { top: 50%; left: 50%; background: #3C2F2F; } /* Contact Us */

#part2 .bl-box {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#part2 .bl-box h2 {
    margin: 0;
    font-size: 1.8em;
    text-transform: uppercase;
    transition: transform 0.2s ease;
    color: #fff;
    font-weight: 400; /* Main grid heading weight */
}

#part2 .bl-box:hover h2 {
    transform: translateY(-10px);
}

#part2 .bl-content {
    position: absolute;
    top: 60px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

/* ========== .bl-content h2 আপডেট করা হয়েছে ========== */
#part2 .bl-content h2 {
    font-size: 2.5rem; 
    margin-bottom: 20px;
    color: #fff;
}
/* -------------------------------------------------- */

/* ========== .bl-content p (মূল সমস্যা) আপডেট করা হয়েছে ========== */
#part2 .bl-content p {
    font-size: 1rem; 
    line-height: 1.7; 
}
/* --------------------------------------------------------- */

#part2 .bl-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5em;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
    color: #fff;
    z-index: 1001;
}

#part2 .bl-close:hover {
    color: #ff5e14;
}

#part2 #bl-main > section.expand {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

#part2 #bl-main > section.expand .bl-content,
#part2 #bl-main > section.expand .bl-close {
    opacity: 1;
    pointer-events: auto;
}

#part2 #bl-main.expand-item > section:not(.expand) {
    transform: scale(0.5);
    opacity: 0;
}

/* Works Section - Client Showcase */
#part2 #bl-work-section .bl-content {
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    overflow-y: auto;
}

/* Main Header Styles */
#part2 .main-header {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#part2 .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#part2 .main-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#part2 .main-header p {
    font-size: 1.1rem; 
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

#part2 .main-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/diamond-upholstery.png');
    opacity: 0.1;
    z-index: 1;
}

/* Clients Section */
#part2 .clients-section {
    margin-top: 0;
    padding: 50px 0;
    background-color: #e6f0fa;
}

#part2 .clients-container {
    text-align: center;
    padding: 20px 0;
}

/* Client Logos */
#part2 .clients {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

#part2 .clients-border > li {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 41px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#part2 .clients li img {
    max-width: 90%;
    max-height: 90%;
    z-index: 9;
    transform: rotate(45deg);
    transition: all 0.35s ease-in-out;
}

#part2 .clients li img.grayscale {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

#part2 .clients li img.color-logo {
    filter: none;
    -webkit-filter: none;
}

#part2 .clients-border > li:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    border: 1px solid #eee;
    left: 0;
    transform: rotate(45deg);
    background: #fff;
    top: 0;
    z-index: 1;
}

#part2 .second-row, #part2 .third-row {
    margin-top: 60px;
}

/* Stories Section */
#part2 .stories-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c3e50, #4a6491);
}

#part2 .story-box {
    width: 300px;
    background-color: #121212;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 15px 30px rgba(0, 0, 0, 0.7);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #ffffff;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

#part2 .story-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0) 50%);
    z-index: -1;
    border-radius: 12px;
}

#part2 .story-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 12px 30px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.9);
}

#part2 .story-box p {
    font-size: 1rem; 
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* About Us - Executive Team Section (আপনার মূল রঙিন ডিজাইন) */
#part2 .about-us-content {
    background: none;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#part2 .teamSection {
    width: 100%;
    height: calc(100% - 80px);
    margin-top: 80px;
    overflow: hidden;
    background: #f5f5f5;
    font-family: 'Raleway', sans-serif;
}

#part2 .teamSection .teamMember {
    width: 25%;
    height: 100%;
    position: relative;
    float: left;
    background: #e3f2fd;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
}

#part2 .teamSection .teamMember:hover {
    background: #bbdefb;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
}

#part2 .teamSection .teamMember:nth-child(odd) {
    background: #f1f8e9;
}

#part2 .teamSection .teamMember:nth-child(odd):hover {
    background: #dcedc8;
}

#part2 .teamSection .teamMember .area {
    width: 80%;
    margin: 0 10%;
    float: left;
    height: 100%;
    position: relative;
    padding: 20px 0;
}

#part2 .teamSection .teamMember .area img {
    width: 80%;
    float: left;
    position: absolute;
    transition: all 0.4s ease;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    aspect-ratio: 3/4;
}

#part2 .teamSection .teamMember .area .hiddenText {
    width: 100%;
    float: left;
    padding: 50px 0 10px;
    transform: translateX(150px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#part2 .teamSection .teamMember .area .hiddenText h1 {
    width: 100%;
    float: left;
    margin: 0;
    font-weight: 400; 
    font-size: 18pt; 
    letter-spacing: 0.5px;
}

#part2 .teamSection .teamMember .area .hiddenText h2 {
    width: 100%;
    float: left;
    margin: 5px 0 0; 
    font-weight: 300;
    font-size: 14pt; 
    color: #555;
}

#part2 .teamSection .teamMember .area .hiddenText h3 {
    width: 100%;
    float: left;
    margin: 0 0 10px 0;
    font-weight: 600; 
    font-size: 17pt; 
    color: #555; 
    text-transform: none; 
    letter-spacing: 0; 
}

#part2 .teamSection .teamMember .area .hiddenText a {
    width: 100%;
    float: left;
    margin: 5px 0 0; 
    font-size: 12pt;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
}

#part2 .teamSection .teamMember .area .hiddenText a:hover {
    text-decoration: underline;
}

#part2 .teamSection .teamMember .area:hover .hiddenText {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.4s ease 0.2s;
}

#part2 .teamSection .teamMember .area:hover img {
    top: 50%;
    transition-delay: 0.2s;
}

#part2 .teamSection .teamMember:nth-child(odd) .hiddenText {
    padding: 10px 0 50px;
    transform: translateX(-150px);
    bottom: 0;
    position: absolute;
    opacity: 0;
}

#part2 .teamSection .teamMember:nth-child(odd) .hiddenText h1,
#part2 .teamSection .teamMember:nth-child(odd) .hiddenText h2,
#part2 .teamSection .teamMember:nth-child(odd) .hiddenText h3,
#part2 .teamSection .teamMember:nth-child(odd) .hiddenText a {
    text-align: right;
}

#part2 .teamSection .teamMember:nth-child(odd) img {
    top: auto;
    bottom: 5%;
    margin-bottom: 20px;
}

#part2 .teamSection .teamMember:nth-child(odd) .area:hover img {
    top: auto;
    bottom: 50%;
}

#part2 .teamSection .teamMember:nth-child(1) .hiddenText h1 { color: #5e35b1; }
#part2 .teamSection .teamMember:nth-child(1) .hiddenText a:hover { color: #5e35b1; }
#part2 .teamSection .teamMember:nth-child(2) .hiddenText h1 { color: #00796b; }
#part2 .teamSection .teamMember:nth-child(2) .hiddenText a:hover { color: #00796b; }
#part2 .teamSection .teamMember:nth-child(3) .hiddenText h1 { color: #d81b60; }
#part2 .teamSection .teamMember:nth-child(3) .hiddenText a:hover { color: #d81b60; }
#part2 .teamSection .teamMember:nth-child(4) .hiddenText h1 { color: #e65100; }
#part2 .teamSection .teamMember:nth-child(4) .hiddenText a:hover { color: #e65100; }

/* Header Bar for About Us */
#part2 .headerBar {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#part2 .headerBar h1 {
    font-size: 24pt;
    font-weight: 300;
    color: #fff;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif;
}

/* Contact Us - Footer Section */
#part2 .contact-us-content {
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

#part2 .footer {
    background: #1a1a1a;
    color: #fff;
    font-family: 'Arial', sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#part2 .contact-info {
    border-bottom: 1px solid #333;
    padding: 50px 0;
    flex-shrink: 0; 
}

#part2 .contact-info .icon {
    font-size: 30px;
    color: #ff5e14;
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

#part2 .contact-info h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

#part2 .contact-info p {
    color: #8a8a8a;
    margin: 0;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1.5;
}

#part2 .contact-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

#part2 .contact-link:hover .icon,
#part2 .contact-link:hover h4,
#part2 .contact-link:hover p {
    color: #ff5e14;
}

#part2 .non-clickable {
    cursor: default;
}

#part2 .non-clickable:hover h4,
#part2 .non-clickable:hover p {
    color: inherit;
}

#part2 .footer .main-content {
    flex-grow: 1; 
    overflow-y: auto; 
    padding-top: 50px;
    padding-bottom: 50px;
}

/* লোগো সেকশনকে উল্লম্বভাবে কেন্দ্র এবং বামে অ্যালাইন করা হয়েছে */
#part2 .logo-section {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: flex-start; 
    padding-left: 20px; 
    height: 100%; 
}

#part2 .logo {
    max-width: 180px;
    display: block;
    margin-left: 0; 
    margin-bottom: 15px; 
}


#part2 .tagline {
    color: #8a8a8a;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left; 
    font-size: 14px; 
    /* padding-left: 20px; <-- এই অতিরিক্ত প্যাডিং মুছে ফেলা হয়েছে */
    max-width: 400px; 
}

#part2 .social {
    margin-top: 30px;
    padding-left: 20px; /* <-- এটি 20px করা হয়েছে */
}

#part2 .social h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: left;
}

#part2 .social-icons {
    display: flex;
    gap: 15px;
}

#part2 .social-icons a {
    color: #8a8a8a;
    font-size: 20px;
    transition: 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2e2e2e;
}

#part2 .social-icons a:hover {
    color: #fff;
    background: #ff5e14;
}

#part2 .heading {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

#part2 .heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff5e14;
}

#part2 .links-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

#part2 .links-list li {
    margin-bottom: 10px;
}

#part2 .links-list a {
    color: #8a8a8a;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    font-size: 15px;
}

#part2 .links-list a:hover {
    color: #ff5e14;
    padding-left: 5px;
}

#part2 .sub-text {
    color: #8a8a8a;
    margin-bottom: 15px;
    text-align: left;
    font-size: 15px;
}

#part2 .subscribe-form {
    position: relative;
    max-width: 300px;
}

#part2 .subscribe-form input {
    width: 100%;
    padding: 12px 20px;
    background: #2e2e2e;
    border: none;
    color: #fff;
    border-radius: 25px;
    text-align: left;
}

#part2 .subscribe-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff5e14;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
}

#part2 .copyright {
    flex-shrink: 0; 
    background-color: #3c2f2f; 
    padding-top: 20px; 
    padding-bottom: 20px; 
}

#part2 .copyright p, #part2 .copyright a {
    font-size: 13px;
    color: #f2ede3; 
}

#part2 .copyright p {
    margin-bottom: 0;
}

#part2 .copyright a {
    text-decoration: none;
}
#part2 .copyright a:hover {
    color: #ff5e14;
    text-decoration: underline;
}


/* Blog Section - Jean Anatomy (অপরিবর্তিত, শুধু #part2 যোগ করা হয়েছে) */
#part2 :root {
    --fgcolor: #c8b47d;
}

#part2 #anatomy {
    margin-top: -2rem;
    padding-top: 2rem;
}

#part2 #anatomy .anatomy-inner {
    background: #f1f1f1 none repeat scroll 0 0;
    overflow: hidden;
    position: relative;
}

#part2 #anatomy .anatomy-contain {
    margin: 0 auto;
    max-width: 1600px;
    position: relative;
}

#part2 #anatomy .anatomy-title {
    margin: 0 auto 1rem;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: block;
}

#part2 #anatomy .anatomy-title h2 {
    text-align: center;
}

#part2 #anatomy .anatomy-title h2 span {
    font-size: 2.5rem;
    color: #000000;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
}

#part2 #anatomy .anatomy-hover {
    background-color: #000;
    border: 2px solid transparent;
    border-radius: 1.05rem;
    height: 2.1rem;
    margin-left: -1.05rem;
    margin-top: -1.05rem;
    position: absolute;
    transition: all 250ms ease-out 0s;
    width: 2.1rem;
    z-index: 1;
}

#part2 #anatomy .anatomy-hover .icon {
    display: block;
    left: 25%;
    position: absolute;
    top: 25%;
    width: 50%;
}

#part2 #anatomy .anatomy-hover .icon svg {
    display: block;
    transition: all 250ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover .icon svg > path {
    fill: #fff;
    transition: fill 250ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover:hover .icon svg > path {
    fill: #c8b47d;
    transition: fill 200ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover::before {
    border-top: 2px solid #c8b47d;
    content: "";
    display: none;
    margin-top: -2px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transition: opacity 250ms ease-out 0s;
    width: 1000%;
}

#part2 #anatomy .anatomy-hover.active {
    background-color: transparent;
    border: 2px solid #c8b47d;
    transition: all 400ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover.active::before {
    opacity: 1;
    transition: opacity 400ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover.active .icon svg {
    transform: rotateZ(45deg) scale(0.85);
    transition: all 400ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover.active .icon svg > path {
    fill: #c8b47d;
    transition: fill 400ms ease-out 0s;
}

#part2 #anatomy .anatomy-hover[data-hover="patch"] {
    left: 63%;
    top: 12.25%;
}

#part2 #anatomy .anatomy-hover[data-hover="denim"] {
    left: 77%;
    top: 89%;
}

#part2 #anatomy .anatomy-hover[data-hover="waistband"] {
    left: 37%;
    top: 8%;
}

#part2 #anatomy .anatomy-hover[data-hover="waistband"]::before {
    right: 100%;
}

#part2 #anatomy .anatomy-hover[data-hover="pocketbags"] {
    left: 68%;
    top: 25%;
}

#part2 #anatomy .anatomy-hover[data-hover="pocketbags"]::before {
    left: 100%;
}

#part2 #anatomy .anatomy-hover[data-hover="details"] {
    left: 30%;
    top: 31.5%;
}

#part2 #anatomy .anatomy-hover[data-hover="details"]::before {
    right: 100%;
}

#part2 #anatomy .anatomy-info-contain {
    position: relative;
    z-index: 5;
}

#part2 #anatomy .anatomy-onboarding {
    bottom: 1.5rem;
    left: 0;
    position: absolute;
}

#part2 #anatomy .anatomy-info {
    background-color: rgba(255, 255, 255, 0.8);
    bottom: 1rem;
    display: none;
    left: 1rem;
    padding: 1.5rem;
    position: absolute;
    right: 1rem;
    top: 1rem; 
    z-index: 3;
}

#part2 #anatomy .anatomy-info .p-small {
    text-align: justify;
    text-justify: inter-word;
}

#part2 #anatomy .anatomy-info.active {
    display: block;
}

#part2 #anatomy .anatomy-info h6 {
    margin-bottom: 0.5rem;
}

#part2 #anatomy .anatomy-img {
    overflow: hidden;
    padding-bottom: 130%;
    position: relative;
}

#part2 #anatomy .anatomy-img img {
    display: block;
    height: 100%;
    left: -47%;
    margin: 0 auto;
    max-width: none;
    position: absolute;
    top: 0;
    width: auto;
}

/* =================================
  MOBILE & TABLET RESPONSIVE FIXES
  (max-width: 768px)
  =================================
*/
@media (max-width: 768px) {
    
    /* ভেতরের কন্টেন্টের প্যাডিং কমানো */
    #part2 .bl-content {
        left: 15px;
        right: 15px;
        padding: 10px;
    }
    
    /* * ফিক্স ১: ক্লায়েন্ট লোগোগুলোকে র‍্যাপ (wrap) করা
    */
    #part2 .clients-container ul.clients {
        display: flex;
        flex-wrap: wrap; /* লোগো যেন পরের লাইনে যেতে পারে */
        justify-content: center;
        gap: 20px; /* লোগোর মাঝে গ্যাপ */
    }

    #part2 .clients-border > li {
        margin: 0 10px; /* সাইডের মার্জিন কমানো */
    }

    #part2 .second-row, #part2 .third-row {
        margin-top: 30px; /* সারির মাঝের গ্যাপ কমানো */
    }

    /* মোবাইল ভিউতে ফুটার অ্যালাইনমেন্ট বাম দিকে করা */
    #part2 .contact-info .col-md-4 {
        margin-bottom: 30px;
    }
    #part2 .links-list {
        margin-bottom: 30px;
    }
    #part2 .logo-section, #part2 .social {
        text-align: left; 
        padding-left: 0;
    }
    #part2 .social-icons {
        justify-content: flex-start; 
    }
    #part2 .tagline {
        text-align: left; 
        padding-left: 0;
    }
    #part2 .main-header h1 {
        font-size: 2.2rem;
    }
    #part2 .main-header p {
        font-size: 1rem;
    }
    
    #part2 .stories-container {
        padding: 40px 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    #part2 .story-box {
        width: 85%;
        padding: 20px;
        box-shadow: 
            0 3px 6px rgba(0, 0, 0, 0.3),
            0 5px 15px rgba(0, 0, 0, 0.5);
    }
    #part2 .story-box:hover {
        transform: translateY(-5px);
        box-shadow: 
            0 5px 10px rgba(0, 0, 0, 0.4),
            0 8px 20px rgba(0, 0, 0, 0.6);
    }
    
    /* * ফিক্স ২: "Blog" সেকশনের ভেতরের কন্টেন্ট ফিক্স
       (আপনার অনুরোধ অনুযায়ী ডেস্কটপ ভিউ অক্ষুণ্ণ রাখা হয়েছে)
    */
    #part2 #anatomy .anatomy-info {
        top: auto !important; /* <-- এটিই মূল ফিক্স। এটি বক্সটিকে ওপর থেকে স্ট্রেচ হওয়া বন্ধ করবে */
        bottom: 1rem !important; /* এটি নিশ্চিত করবে যে বক্সটি নিচে থাকবে */
        max-width: 90% !important; /* একটি সেফটি গ্যাপ রাখার জন্য */
        margin: 0 auto !important; /* এটি 90% প্রস্থের বক্সটিকে মাঝে আনবে */
    }
    #part2 #anatomy .anatomy-hover {
        transform: scale(1.2) !important; /* + বাটনগুলো একটু বড় করা */
    }

    /* * ফিক্স ৩: "About Us" সেকশনের ভেতরের কন্টেন্ট ফিক্স
    */
    #part2 .teamSection {
         height: calc(100% - 80px) !important; /* কন্টেন্টকে স্ক্রলযোগ্য করা */
         overflow-y: auto !important; 
         overflow-x: hidden !important; /* সাইড-স্ক্রল বন্ধ করা */
    }
    #part2 .teamSection .teamMember {
        width: 100% !important;
        height: auto !important; /* উচ্চতা কন্টেন্ট অনুযায়ী হবে */
        padding: 30px 0 !important;
        float: none !important;
    }
    #part2 .teamSection .teamMember .area img {
        position: relative !important;
        width: 60% !important; 
        margin: 0 auto 15px auto !important; /* ছবি মাঝে আনা */
        display: block !important;
        float: none !important; 
        top: auto !important; bottom: auto !important; left: auto !important; right: auto !important;
    }
    /* Show the text, centered */
    #part2 .teamSection .teamMember .area .hiddenText,
    #part2 .teamSection .teamMember:nth-child(odd) .hiddenText {
        transform: none !important; 
        opacity: 1 !important; 
        position: relative !important; 
        padding: 10px !important;
        text-align: center !important;
        width: 100% !important;
        bottom: auto !important;
    }
    /* Center all text inside */
    #part2 .teamSection .teamMember .area .hiddenText h1,
    #part2 .teamSection .teamMember .area .hiddenText h2,
    #part2 .teamSection .teamMember .area .hiddenText h3,
    #part2 .teamSection .teamMember .area .hiddenText a,
    #part2 .teamSection .teamMember:nth-child(odd) .hiddenText h1,
    #part2 .teamSection .teamMember:nth-child(odd) .hiddenText h2,
    #part2 .teamSection .teamMember:nth-child(odd) .hiddenText h3,
    #part2 .teamSection .teamMember:nth-child(odd) .hiddenText a {
        text-align: center !important; 
    }
    /* Remove hover effects for image positioning */
    #part2 .teamSection .teamMember .area:hover img,
    #part2 .teamSection .teamMember:nth-child(odd) .area:hover img {
        top: auto !important;
        bottom: auto !important;
    }

    /* * ফিক্স ৪: "Contact Us" সেকশনের ভেতরের কন্টেন্ট ফিক্স
    */
    #part2 .footer {
        height: 100% !important; /* কন্টেন্টকে স্ক্রলযোগ্য করা */
    }
    #part2 .footer .main-content {
        flex-grow: 1 !important; /* এটি নিশ্চিত করে যে কন্টেন্ট স্ক্রল হবে */
        overflow-y: auto !important;
    }
}


@media (max-width: 600px) {
    /* * ফিক্স: 100vh স্পেসার কমানো
    */
    #part1 .spacer {
        height: 40vh; /* 100vh থেকে কমিয়ে 40vh করা হলো */
    }

    /* #part2 গ্রিডের বক্সগুলোর ফন্ট সাইজ কমানো */
    #part2 .bl-box h2 {
        font-size: 1.5em;
    }

    /* "About Us" এর অপ্রয়োজনীয় কোডগুলো মুছে ফেলা হয়েছে (768px এ হ্যান্ডেল করা) */

    #part2 .headerBar h1 {
        font-size: 18pt;
    }
    #part2 .teamSection .teamMember .area .hiddenText h1 {
        font-size: 16pt;
    }
    #part2 .teamSection .teamMember .area .hiddenText h2 {
        font-size: 12pt;
    }
    #part2 .main-header {
        padding: 40px 0;
    }
    #part2 .main-header h1 {
        font-size: 1.8rem;
    }
    #part2 .clients-border > li {
        width: 60px;
        height: 60px;
        margin: 0 15px;
    }
    #part2 .story-box {
        width: 90%;
    }
}

@media screen and (min-width: 1024px) {
    #part2 #anatomy .anatomy-title {
        margin: 0 auto 2rem;
    }
    #part2 #anatomy .anatomy-hover::before {
        display: block;
    }
    #part2 #anatomy .anatomy-hover[data-hover="patch"] {
        left: 56.3%;
    }
    #part2 #anatomy .anatomy-hover[data-hover="denim"] {
        left: 66%;
        top: 86%;
    }
    #part2 #anatomy .anatomy-hover[data-hover="waistband"] {
        left: 41%;
        top: 10.5%;
    }
    #part2 #anatomy .anatomy-hover[data-hover="pocketbags"] {
        left: 59%;
        top: 26.5%;
    }
    #part2 #anatomy .anatomy-hover[data-hover="details"] {
        left: 40%;
    }
    #part2 #anatomy .anatomy-info-contain {
        background: #f1f1f1 none repeat scroll 0 0;
        height: 100%;
        position: absolute;
        top: 0;
        width: 27%;
        z-index: 2;
    }
    #part2 #anatomy .anatomy-info-contain.right {
        right: 2rem;
    }
    #part2 #anatomy .anatomy-info-contain.right .anatomy-info {
        border-left: 2px solid #c8b47d;
        padding-left: 1rem;
    }
    #part2 #anatomy .anatomy-info-contain.left {
        left: 2rem;
    }
    #part2 #anatomy .anatomy-info-contain.left .anatomy-info {
        border-right: 2px solid #c8b47d;
        padding-right: 1rem;
    }
    #part2 #anatomy .anatomy-info {
        background-color: transparent;
        bottom: auto;
        left: 0;
        padding: 0;
        right: auto;
        top: 0;
        transform: translateY(-2%);
        transition-duration: 400ms;
        transition-property: transform;
        transition-timing-function: ease-out;
        width: 100%;
    }
    #part2 #anatomy .anatomy-info[data-hover="pocketbags"] {
        top: 22.5%;
    }
    #part2 #anatomy .anatomy-info[data-hover="details"] {
        top: 27%;
    }
    #part2 #anatomy .anatomy-info[data-hover="denim"] {
        bottom: 13%;
        top: auto;
    }
    #part2 #anatomy .anatomy-info[data-hover="waistband"] {
        top: 6.5%;
    }
    #part2 #anatomy .anatomy-info[data-hover="patch"] {
        top: 8%;
    }
    #part2 #anatomy .anatomy-img {
        padding-bottom: 0;
        position: static;
    } 
    #part2 #anatomy .anatomy-img img {
        height: auto;
        left: auto;
        max-width: 100%;
        position: static;
        top: auto;
    }
}

@media screen and (min-width: 1280px) {
    #part2 #anatomy .anatomy-info h6 {
        font-size: 0.75rem;
    }
}

#part2 #anatomy .anatomy-info h6,
#part2 #anatomy .anatomy-info .p-small,
#part2 #anatomy .anatomy-onboarding h5 {
    color: #333; 
}