/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Accordion / Theme Section Colors */
    --color-blue: #3a66e6;
    --color-teal: #1bc9e4;
    --color-yellow: #ffc455;
    --color-peach: #ff754a;
    --color-red: #ff4a4a;

    /* Transition defaults */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Light Theme (Default) */
    --bg-page: #f0f2f6;
    --bg-card: #ffffff;
    --bg-header: #ffffff;
    --bg-input: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 0 20px rgba(58, 102, 230, 0.15);
}

.dark-theme {
    /* Dark Theme Variables */
    --bg-page: #0a0d14;
    --bg-card: #111522;
    --bg-header: #111522;
    --bg-input: #171d2f;
    --border-color: #1f283d;
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(58, 102, 230, 0.3);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-page);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   ACCENT LINE ON TOP
   ========================================================================== */
.accent-line-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    display: flex;
    z-index: 1000;
}

.accent-line-top span {
    flex: 1;
    height: 100%;
}

.accent-color-1 { background-color: var(--color-blue); }
.accent-color-2 { background-color: var(--color-teal); }
.accent-color-3 { background-color: var(--color-yellow); }
.accent-color-4 { background-color: var(--color-peach); }
.accent-color-5 { background-color: var(--color-red); }

/* ==========================================================================
   CONTAINERS & LAYOUT
   ========================================================================== */
.body-wrap {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.page-wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   HEADER PANEL (Theme switcher & Socials)
   ========================================================================== */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-header);
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* Theme Switcher Button */
.theme-switcher-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 5px 10px;
    border-radius: 4px;
}

.theme-switcher-btn:hover {
    background-color: var(--border-color);
}

.moon-icon { display: inline-block; }
.sun-icon { display: none; }

.dark-theme .moon-icon { display: none; }
.dark-theme .sun-icon { display: inline-block; }

/* Social Links */
.header-socials {
    display: flex;
    gap: 15px;
}

.social-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-page);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-item:hover {
    color: #ffffff;
    background-color: var(--color-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(58, 102, 230, 0.3);
}

/* ==========================================================================
   ACCORDION SYSTEM
   ========================================================================== */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-slow);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

/* Accordion Header */
.accordion-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    user-select: none;
    gap: 20px;
}

.accordion-header-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.accordion-header-text {
    flex-grow: 1;
}

.accordion-header-text h2 {
    font-size: 1.4rem;
    margin: 0;
}

/* Specific Accordion Header Color Styles */
.color-1 .accordion-header-icon { background-color: var(--color-blue); }
.color-2 .accordion-header-icon { background-color: var(--color-teal); }
.color-3 .accordion-header-icon { background-color: var(--color-yellow); }
.color-4 .accordion-header-icon { background-color: var(--color-peach); }
.color-5 .accordion-header-icon { background-color: var(--color-red); }

/* Accordion Subtitle Badge */
.accordion-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    display: flex;
    align-items: center;
}

.color-1.accordion-header .accordion-subtitle { background-color: var(--color-blue); }
.color-2.accordion-header .accordion-subtitle { background-color: var(--color-teal); }
.color-3.accordion-header .accordion-subtitle { background-color: var(--color-yellow); color: var(--text-primary); }
.color-4.accordion-header .accordion-subtitle { background-color: var(--color-peach); }
.color-5.accordion-header .accordion-subtitle { background-color: var(--color-red); }

/* Chevron Toggle Indicator */
.toggle-indicator {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: transform 0.4s ease;
}

.accordion-item.active .toggle-indicator {
    transform: rotate(180deg);
}

/* Accordion Content Inner Box */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 2500px; /* high limit to accommodate dynamic height */
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SECTION 1: PROFILE STYLES
   ========================================================================== */
.profile-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-blue);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: var(--bg-page);
}

.profile-name-title h1 {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.profile-name-title p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    padding: 30px;
    gap: 40px;
}

.profile-info-cols {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.profile-details-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--bg-input);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
	
}

.details-logo {
    max-width: 300px;
    border: 3px solid #3b82f6;    /* স্কিল বারের সাথে মিলানো নীল বর্ডার */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* ছবির পেছনে সফট শ্যাডো */
	border-radius: 50%;  

}

.details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.details-list li {
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted var(--border-color);
    padding-bottom: 6px;
}

.details-list li strong {
    color: var(--text-primary);
}

.details-list li span,
.details-list li a {
    text-align: right;
    color: var(--text-secondary);
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Progress Bar Skills */
.profile-skills-cols {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.skills-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-blue);
    padding-left: 10px;
}

.skill-bar-item {
    margin-bottom: 18px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.skill-progress-bg {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

.skill-progress-fill.color-1 { background-color: var(--color-blue); }
.skill-progress-fill.color-2 { background-color: var(--color-teal); }
.skill-progress-fill.color-3 { background-color: var(--color-yellow); }
.skill-progress-fill.color-4 { background-color: var(--color-peach); }
.skill-progress-fill.color-5 { background-color: var(--color-red); }

/* Language Dots Section */
.languages-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-teal);
    padding-left: 10px;
}

.lang-dots-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.lang-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.dots-wrapper {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.dot.active.color-1 { background-color: var(--color-blue); }
.dot.active.color-2 { background-color: var(--color-teal); }
.dot.active.color-3 { background-color: var(--color-yellow); }

/* ==========================================================================
   SECTION 2: RESUME TIMELINE STYLES
   ========================================================================== */
.resume-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    padding: 30px;
    gap: 40px;
}

.resume-timeline-col {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.timeline-block {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--border-color);
}

.timeline-section-title {
    font-size: 1.25rem;
    margin-bottom: 25px;
    margin-left: -20px;
    padding-left: 20px;
    color: var(--text-primary);
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-badge {
    position: absolute;
    left: -27px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: 2px solid var(--bg-card);
}

.timeline-badge.color-1 { background-color: var(--color-blue); }
.timeline-badge.color-2 { background-color: var(--color-teal); }
.timeline-badge.color-3 { background-color: var(--color-yellow); }

.timeline-inst {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.timeline-dates {
    font-size: 0.85rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 12px;
    color: var(--text-muted);
}

.timeline-degree {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Resume actions/downloads column */
.resume-skills-col {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.resume-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.action-btn.color-2 { background-color: var(--color-teal); }
.action-btn.color-3 { background-color: var(--color-yellow); color: var(--text-primary); }

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

/* ==========================================================================
   SECTION 3: PORTFOLIO GRID STYLES
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
}

.filter-btn {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    box-shadow: 0 4px 10px rgba(58, 102, 230, 0.25);
}

.portfolio-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding: 30px;
    gap: 30px;
}

.portfolio-item-card {
    background-color: var(--bg-input);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.portfolio-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-media-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Futuristic background dynamic neon glow */
.card-bg-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: var(--transition-normal);
}

.card-bg-gradient.color-1 { background: linear-gradient(135deg, #3a66e6, #1bc9e4); }
.card-bg-gradient.color-2 { background: linear-gradient(135deg, #1bc9e4, #ffc455); }
.card-bg-gradient.color-3 { background: linear-gradient(135deg, #ffc455, #ff754a); }
.card-bg-gradient.color-4 { background: linear-gradient(135deg, #ff754a, #ff4a4a); }
.card-bg-gradient.color-5 { background: linear-gradient(135deg, #ff4a4a, #3a66e6); }

.card-icon-overlay {
    position: absolute;
    z-index: 3;
    font-size: 2.2rem;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition-normal);
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.portfolio-item-card:hover .card-icon-overlay {
    opacity: 1;
    transform: scale(1);
}

.portfolio-item-card:hover .card-bg-gradient {
    filter: brightness(0.65);
    transform: scale(1.05);
}

.project-summary-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
}

.project-summary-box h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.project-summary-box p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.project-details-hidden {
    display: none; /* hidden data structure read by modal script */
}

/* ==========================================================================
   SECTION 4: TESTIMONIALS STYLES
   ========================================================================== */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-input);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar-quote-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.test-author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.test-author-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-decor-line {
    width: 30px;
    height: 3px;
    border-radius: 2px;
}

.testimonial-decor-line.color-4 { background-color: var(--color-peach); }

.testimonial-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ==========================================================================
   SECTION 5: CONTACTS GRID STYLES
   ========================================================================== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    padding: 30px;
    gap: 40px;
}

.contacts-info-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.map-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.contact-details-list li i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.contact-details-list li i.color-5 { color: var(--color-red); }

/* Right Form & QR code Column */
.contacts-form-col {
    display: flex;
    flex-direction: column;
}

.form-qr-split {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 30px;
}

.contact-form-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 6px;
    font-family: inherit;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 10px rgba(255, 74, 74, 0.1);
}

.submit-btn {
    align-self: flex-start;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.submit-btn.color-5 { background-color: var(--color-red); }

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.form-feedback {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.form-feedback.success { color: #2ecc71; }
.form-feedback.error { color: #e74c3c; }

/* QR Code Mockup Widget */
.qr-code-widget {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.qr-code-card {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 0px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    object-fit: contain;
	width: 10px;

}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.bottom-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 720px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-yellow);
}

.lightbox-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
}

.lightbox-media-side {
    background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
    padding: 40px 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    position: relative;
}

.lightbox-header-title h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.project-tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-info-side {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-info-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-info-table th {
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 0;
    width: 30%;
}

.modal-info-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 8px 0;
}

.modal-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
}

.modal-description h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.modal-description p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE DESIGN
   ========================================================================== */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .profile-grid,
    .resume-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .body-wrap {
        padding: 20px 10px;
    }

    .top-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 15px;
    }

    .accordion-header {
        padding: 20px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .accordion-subtitle {
        display: none; /* Hide subtitle badge on small screens to save space */
    }

    .profile-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .profile-avatar-img {
        width: 50px;
        height: 50px;
    }

    .profile-name-title h1 {
        font-size: 1.3rem;
    }

    .profile-grid,
    .resume-grid,
    .contacts-grid {
        padding: 20px 15px;
    }

    .form-qr-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .qr-code-widget {
        justify-content: flex-start;
    }

    .lightbox-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-media-side {
        min-height: 180px;
        padding: 20px;
    }

    .lightbox-info-side {
        padding: 25px 20px;
    }
}

.profile-pic-container {
    display: flex;
    justify-content: center; /* ছবিটিকে মাঝখানে (Center) রাখার জন্য */
    margin-bottom: 25px;    /* নিচের লেখার সাথে দূরত্ব বজায় রাখার জন্য */
}

.round-profile-pic {
    width: 300px;           /* ছবির চওড়া (প্রয়োজনমতো পরিবর্তন করতে পারেন) */
    height: 250px;          /* ছবির উচ্চতা (চওড়া ও উচ্চতা সমান হতে হবে) */
    border-radius: 5%;     /* ছবিটিকে সম্পূর্ণ রাউন্ড বা গোল করার মূল কোড */
    object-fit: cover;      /* ছবি যাতে চ্যাপ্টা বা নষ্ট না হয়ে পারফেক্টলি ফিট হয় */
    border: 3px solid #ffffff; /* চারদিকে একটি সুন্দর সাদা বর্ডার (ঐচ্ছিক) */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* নিচে হালকা শ্যাডো বা ছায়া */
}
	
/* মাউস পয়েন্টার ছবির ওপর নিলে সামান্য বড় হবে (Hover Effect) */
.round-profile-pic:hover {
    transform: scale(1.05);
}




