:root {
    --bg-dark: #05161a;      
    --bg-card: #072e33;      
    --accent-orange: #ff6b35; 
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* --- Navbar (পিসি এবং মোবাইল দুই জায়গার জন্য ফিক্স) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(5, 22, 26, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo { 
    font-size: 1.6rem; 
    font-weight: 800; 
    display: flex; 
    align-items: center;
    white-space: nowrap;
}
.logo span { color: var(--accent-orange); margin-left: 5px; }

/* নেভিগেশন লিঙ্কগুলো সব সময় পাশাপাশি থাকবে */
.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center;
}
.nav-links li { margin: 0 1rem; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-white); 
    font-size: 0.9rem; 
    font-weight: 600;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--accent-orange); }

.nav-cta {
    background: var(--accent-orange);
    color: white;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4); }

/* --- Hero Section --- */
.hero-split {
    display: flex;
    align-items: center;
    padding: 80px 8%;
    min-height: 85vh;
}
.hero-text { flex: 1; }
.headline { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; }
.highlight { color: var(--accent-orange); }
.designer-name { color: var(--accent-orange); letter-spacing: 6px; font-size: 0.9rem; margin-bottom: 2rem; font-weight: 600; }
.description { color: var(--text-muted); font-size: 1.1rem; max-width: 500px; margin-bottom: 2.5rem; }

/* View Portfolio Button (Same as Let's Talk) */
.btn-primary { 
    background: var(--accent-orange); 
    color: white; 
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3); }

.hero-visual { flex: 1; display: flex; justify-content: flex-end; }
.portrait-wrapper { position: relative; width: 350px; height: 450px; }
.portrait-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; position: relative; z-index: 2; }
.shadow-box { position: absolute; width: 100%; height: 100%; border: 2px solid var(--accent-orange); top: 20px; right: -20px; border-radius: 15px; opacity: 0.3; }

/* --- Certificates (Style & Animation) --- */
.cert-section { padding: 80px 8%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 4rem; }
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.cert-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}
.cert-card:hover { 
    transform: translateY(-12px) scale(1.02); 
    border-color: var(--accent-orange); 
}
.cert-card i { font-size: 2.5rem; color: var(--accent-orange); margin-bottom: 1.5rem; }

/* --- Projects --- */
.projects-section { padding: 100px 8%; background: #041216; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}
.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}
.project-card:hover { transform: translateY(-8px); }
.project-image img { width: 100%; height: 250px; object-fit: cover; }
.project-content { padding: 2rem; }

/* --- About Us --- */
.about-split {
    display: flex;
    align-items: center;
    padding: 100px 8%;
    gap: 5rem;
}
.portrait-wrapper-round { width: 380px; height: 380px; border-radius: 50%; overflow: hidden; border: 8px solid var(--bg-card); }
.portrait-wrapper-round img { width: 100%; height: 100%; object-fit: cover; }
.section-title-left { font-size: 2.8rem; margin-bottom: 1.5rem; color: var(--accent-orange); }

/* --- Mobile Responsive (বাটনগুলো এক লাইনে রাখার জন্য) --- */
@media (max-width: 768px) {
    .navbar { padding: 1rem 3%; }
    
    .logo { font-size: 1.2rem; }
    
    .nav-links li { margin: 0 0.5rem; } /* গ্যাপ কমানো হয়েছে */
    .nav-links a { font-size: 0.75rem; } /* ফন্ট একটু ছোট করা হয়েছে যাতে ফিট হয় */
    
    /* হোমে 'Home' এবং 'Certificates' হাইড করে শুধু 'About' r 'Projects' রাখা হয়েছে মোবাইলে */
    .nav-links li:nth-child(1), 
    .nav-links li:nth-child(2) { display: none; }

    .nav-cta { padding: 0.5rem 0.8rem; font-size: 0.7rem; }

    .hero-split, .about-split {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }
    .headline { font-size: 2.2rem; }
    .hero-visual, .about-visual { margin-top: 3rem; justify-content: center; }
    .portrait-wrapper { width: 260px; height: 320px; }
    .portrait-wrapper-round { width: 220px; height: 220px; }
    .section-title-left { text-align: center; font-size: 2rem; }
}
/* --- View Case Study Button Style --- */
.project-link {
    text-decoration: none;
    color: white;
    background: var(--accent-orange);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex; /* Button type look */
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.project-link:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.project-link i {
    transition: var(--transition);
}

.project-link:hover i {
    transform: translateX(5px);
}

/* --- Footer Alignment & Spacing --- */
footer {
    padding: 80px 8% 100px 8%; /* Top 80px, Bottom 100px space dewa hoyeche */
    text-align: center; /* Sobkisu majh-borabor thakbe */
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--bg-dark);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem; /* Text theke icons-er gap */
}

.social-mini {
    display: flex;
    justify-content: center; /* Icons gulo majhe thakbe */
    align-items: center;
    gap: 25px; /* Protiti icon-er moddhe faka jaga */
    margin-top: 1rem;
}

.social-mini a {
    color: var(--text-white);
    font-size: 1.5rem; /* Icon size ektu boro kora hoyeche */
    transition: var(--transition);
    display: inline-block;
}

.social-mini a:hover {
    color: var(--accent-orange);
    transform: translateY(-5px); /* Hover korle ektu upore uthbe */
}

/* Mobile responsive check for footer */
@media (max-width: 768px) {
    footer {
        padding: 60px 5% 80px 5%;
    }
    .social-mini {
        gap: 20px;
    }
    .social-mini a {
        font-size: 1.3rem;
    }
}
