/* ==========================================================================
   SHEKHI VERMA PORTFOLIO - DESIGN SYSTEM & STYLESHEET
   Matching design reference with warm aesthetic, rich typography & responsiveness
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-main: #F4EFE6;
    --text-primary: #242424;
    --text-muted: #555555;
    --accent-maroon: #781D1C;
    --accent-maroon-hover: #5A1413;
    --card-bg: #E2DDD2;
    --card-bg-light: #ECE7DC;
    --card-border: #D1CBBF;
    --shadow-soft: 0 10px 30px rgba(120, 29, 28, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --max-width: 1200px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* font-size: 18px; */
}

/* Base Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding: 2rem 1rem;
}

/* Main Container */
.portfolio-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Global Typography Styles */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--accent-maroon);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.bold {
    font-weight: 1000;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Card Base */
.content-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.content-card:hover {
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 1rem;
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex: 1;
}

/* Hero Left Column */
.hero-left {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
    width: 60%;
}

.hero-left-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-center {
    border: 1px solid var(--accent-maroon);
    height: 30rem;
    margin-right: 2rem;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.05;
    color: var(--text-primary);
}

.highlight-text {
    font-size: 4rem;
    color: var(--accent-maroon);
}

.accent-line {
    width: 60px;
    height: 2px;
    background-color: var(--accent-maroon);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.hero-title-group {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: -webkit-fill-available;
}

.hero-name-group {
    font-size: 2.1rem;
    margin-bottom: 4rem;
}

.short-line {
    width: 40px;
    height: 3px;
    background-color: var(--accent-maroon);
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

#text-portfolio {
    margin-top: 0.9rem;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: 200;
    color: var(--text-primary);
}

/* Hero Center Arch Photo Frame */
.profile-arch-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
}

/* Arch Background Shape (Smaller than the Person Cutout) */
.profile-arch-frame::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    height: 84%;
    background-color: #ded8ce;
    border-radius: 160px 160px 0 0;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Person Image Overlapping & Popping Out of the Arch */
.profile-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.08));
}

.profile-arch-frame:hover .profile-img {
    transform: translateY(-5px) scale(1.03);
}

/* Hero Right Column */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 40%;
    margin-bottom: 4rem;
}


.about-box,
.connect-box {
    background-color: transparent;
}

.box-heading {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    position: relative;
    /* text-align: center; */
}

.about-text {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.text {
    font-size: 1.6rem;
}

.text-2 {
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
    /* color: var(--text-primary); */
}

.color-2 {
    color: var(--text-primary);
}

.connect-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-maroon);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.connect-item:hover {
    color: var(--accent-maroon-hover);
    transform: translateX(4px);
}

.connect-item .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   2. SKILLS & EXPERIENCE SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.tools-grid #icon-meta {
    height: 2.9rem;
}

.tools-grid #icon-hootsuite {
    height: 2rem;
}

.tools-grid #icon-canva {
    height: 1.9rem;
}

.tools-grid #icon-inshot {
    height: 2.9rem;
}

.tools-grid #icon-claude {
    height: 1.7rem;
}

.tools-grid #icon-capcut {
    height: 2.1rem;
}

.tools-grid #icon-excel {
    height: 2.1rem;
}

.tools-grid #icon-word {
    height: 2.5rem;
}

.tools-grid #icon-notion {
    height: 2.6rem;
}

.tools-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.2rem 2rem;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 1rem;
    width: 100%;
    align-items: center;
}

.tool-item {
    background-color: transparent;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateY(-2px);
}

.tool-item.full-width {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Optical Sizing for Tool Logos */
.tools-grid .tool-item img {
    height: 1.6rem;
    max-width: 85%;
    object-fit: contain;
    margin: 0.4rem auto;
    display: block;
}

/* Individual Optical Adjustments for Visual Balance */
.tools-grid .tool-item:nth-child(1) img {
    height: 1.65rem;
}

/* Meta */
.tools-grid .tool-item:nth-child(2) img {
    height: 1.6rem;
}

/* Hootsuite */
.tools-grid .tool-item:nth-child(3) img {
    height: 1.38rem;
}

/* Canva */
.tools-grid .tool-item:nth-child(4) img {
    height: 1.45rem;
}

/* InShot */
.tools-grid .tool-item:nth-child(5) img {
    height: 1.6rem;
}

/* Claude */
.tools-grid .tool-item:nth-child(6) img {
    height: 1.5rem;
}

/* CapCut */
.tools-grid .tool-item:nth-child(7) img {
    height: 1.55rem;
}

/* Excel */
.tools-grid .tool-item:nth-child(8) img {
    height: 1.55rem;
}

/* Word */
.tools-grid .tool-item.full-width img {
    height: 1.6rem;
}

/* Notion */

.experience-card {
    display: flex;
    align-items: center;
    padding: 2.2rem 2.5rem;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
}

.experience-list {
    list-style-type: disc;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0;
}

.experience-list li {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.1px;
}

/* ==========================================================================
   3. PROJECTS & CASE STUDIES SECTION
   ========================================================================== */
.projects-overview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
    /* display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; */
    margin-bottom: 3rem;
}



.overview-thumb {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 20rem;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.overview-thumb:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.overview-thumb img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
}

/* Case Study Blocks */
.case-study-block {
    margin-bottom: 3.5rem;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: stretch;
}

.case-study-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.case-header {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-title {
    font-size: 1.8rem;
    color: var(--accent-maroon);
    margin: 0;
    line-height: 1;
}

.external-icon,
.external-icon .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.external-icon img {
    height: 1.9rem;
    display: block;
}

.case-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.case-field h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--accent-maroon);
}

.case-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
}

.open-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-maroon);
    color: #ffffff;
    padding: 0.55rem 1.35rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(120, 29, 28, 0.2);
}

.open-website-btn:hover {
    background-color: var(--accent-maroon-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(120, 29, 28, 0.35);
    color: #ffffff;
}


/* .case-field p {
    font-size: 0.92rem;
    color: var(--text-primary);
    line-height: 1.45;
} */

.case-visuals {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visuals-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

#project-biopractify {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.75rem;
    width: 100%;
}

#project-biopractify img {
    width: auto;
    height: 12rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

#project-biopractify img:hover {
    transform: scale(1.03);
}

#project-biopractify .container-1-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

#project-biopractify .container-1-1 :first-child {
    height: 13rem;
}

#project-biopractify .container-1-1 img {
    height: 25rem;
    width: fit-content;
}

#project-biopractify .container-1-2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* width: fit-content; */
}

#project-biopractify .container-1-2 :first-child {
    display: flex;
    align-items: center;
}


#project-biopractify .container-1-2 #arrow {
    height: 2rem;
    padding: 0.1rem;
}

#progress-arrow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 4rem;
}

#biopractify-final-state {
    height: 17rem !important;
}

#project-biopractify .container-1-2-2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

#project-biopractify .container-1-2-2 :first-child img {
    height: 23rem;
    width: fit-content;
}

#project-biopractify .container-1-2-2 :last-child {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    /* margin-top: 1rem; */
}

#project-biopractify .container-1-2-2 :last-child :first-child {
    height: 9.4rem;
}

/* Deconique India Grid Layout */
#deconique.deconique-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    width: 100%;
}

.deconique-container {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    justify-content: flex-end;
    align-items: stretch;
}

/* Phone Mockup (Column 1) */
.deconique-container:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.deconique-container:nth-child(1) img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.deconique-container:nth-child(1) img:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

/* Media Card Containers (Columns 2 - 5) */
.deconique-container span {
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.deconique-container span:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.deconique-container span img,
.deconique-container span video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Column 2 Card Proportions */
.deconique-container:nth-child(2) span:nth-child(1) {
    aspect-ratio: 3 / 4.2;
}

.deconique-container:nth-child(2) span:nth-child(2) {
    aspect-ratio: 3 / 4.2;
}

/* Column 3 Card Proportions */
.deconique-container:nth-child(3) span:nth-child(1) {
    aspect-ratio: 9 / 15;
}

.deconique-container:nth-child(3) span:nth-child(2) {
    aspect-ratio: 4 / 3.2;
}

.deconique-container:nth-child(3) span:nth-child(3) {
    aspect-ratio: 9 / 16;
}

/* Column 4 Card Proportions */
.deconique-container:nth-child(4) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deconique-container:nth-child(4) span:nth-child(1) {
    aspect-ratio: 1 / 1.05;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deconique-container:nth-child(4) span:nth-child(2) {
    aspect-ratio: 9 / 16;
}

.deconique-container:nth-child(4) span:nth-child(3) {
    aspect-ratio: 9 / 13;
}

/* Column 5 Card Proportions & Centering */
.deconique-container:nth-child(5) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.deconique-container:nth-child(5) span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.deconique-container:nth-child(5) span:nth-child(1) {
    aspect-ratio: 1 / 1.35;
}

.deconique-container:nth-child(5) span:nth-child(2) {
    aspect-ratio: 9 / 13.5;
}

.deconique-container:nth-child(5) span:nth-child(2) img {
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.deconique-container:nth-child(5) span:nth-child(3) {
    aspect-ratio: 1 / 1.35;
}




/* The mystic healers */
#themystichealers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

#themystichealers .container-1 {
    height: stretch;
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.themystic-container {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
}

.themystic-container div {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: auto;
}

.themystic-container img {
    width: auto;
    height: 12rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.themystic-container img:hover {
    transform: scale(1.03);
}

#themystichealers img {
    height: 13rem;
}

#themystichealers .container-1 img {
    height: 23rem;
    width: fit-content;
    border-radius: 7px;
}

#themystichealers .container-3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}




/* CA nishant */
#project-canishant {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.canishant-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 0.75rem;
    justify-content: flex-start;
    min-width: 0;
}

.canishant-container div {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: auto;
}

.canishant-container img {
    width: auto;
    height: 12rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.canishant-container img:hover {
    transform: scale(1.03);
}

#canishant-container-1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#canishant-container-1 #container-1-1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#canishant-container-1 #container-1-2 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

#canishant-container-1 img {
    height: 17rem;
    width: fit-content;
}

#canishant-container-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#canishant-container-2 div {
    justify-content: space-evenly;
}

#canishant-container-2 img {
    height: 12rem;
    width: auto
}

#canishant-container-3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}


#canishant-container-3 img {
    height: 19rem;
    width: auto;
}

#canishant-container-3 #container-3-2 img {
    height: 12rem;
    width: auto;
}


.clickable-img {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.clickable-img::after {
    content: '🔍 View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background-color: var(--accent-maroon);
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    pointer-events: none;
    z-index: 10;
}

.clickable-img:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Hover Overlay Buttons for Project Grid Items containing overlay-btn-group */
.overlay-btn-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 10;
    width: 90%;
    max-width: 240px;
}

/* Desktop: show on hover */
.clickable-img:hover .overlay-btn-group {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Mobile: show on tap (.tapped class added by JS) */
.clickable-img.tapped .overlay-btn-group {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.clickable-img:has(.overlay-btn-group)::after {
    display: none;
}

.overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--accent-maroon);
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
    border: none;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.overlay-btn:hover {
    background-color: var(--accent-maroon-hover);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 25px rgba(120, 29, 28, 0.4);
    color: #ffffff;
}

.overlay-btn.open-btn {
    background-color: #1a1a1a;
}

.overlay-btn.open-btn:hover {
    background-color: var(--accent-maroon);
}

.visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.visual-item:hover img {
    transform: scale(1.02);
}

.biopractify-grid,
.mystic-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
}

.ca-grid {
    width: 100%;
}

/* ==========================================================================
   4. NEW FOUND SKILL SECTION
   ========================================================================== */
.skills-subtitles {
    display: flex;
    justify-content: space-around;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-maroon);
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-align: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.creative-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    width: 100%;
}

.gallery-item {
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    background-color: #1a1a1a;
    position: relative;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item video,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: var(--transition);
}

/* Row 1: Vertical videos 1 to 4 (4 in a row) */
.creative-gallery-grid .gallery-item:nth-child(1),
.creative-gallery-grid .gallery-item:nth-child(2),
.creative-gallery-grid .gallery-item:nth-child(3),
.creative-gallery-grid .gallery-item:nth-child(4) {
    grid-column: span 3;
}

.creative-gallery-grid .gallery-item:nth-child(1) video,
.creative-gallery-grid .gallery-item:nth-child(2) video,
.creative-gallery-grid .gallery-item:nth-child(3) video,
.creative-gallery-grid .gallery-item:nth-child(4) video {
    aspect-ratio: 9 / 16;
}

/* Row 2: Horizontal videos 5 and 6 (2 in a row) */
.creative-gallery-grid .gallery-item:nth-child(5),
.creative-gallery-grid .gallery-item:nth-child(6) {
    grid-column: span 6;
}

.creative-gallery-grid .gallery-item:nth-child(5) video,
.creative-gallery-grid .gallery-item:nth-child(6) video {
    aspect-ratio: 16 / 9;
}

.social-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 1rem 0;
}

#social-bar-icon {
    height: 1.8rem;
}

.social-icon {
    color: var(--accent-maroon);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--accent-maroon-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   5. FOOTER & CONTACT SECTION
   ========================================================================== */
.footer-banner {
    margin-top: 3rem;
    position: relative;
    width: 100%;
}

/* Top Social Bar Icons */
.footer-banner .social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-bar-icon {
    height: 2.2rem;
    width: auto;
    display: block;
    transition: transform 0.25s ease;
}

.social-bar-icon:hover {
    transform: scale(1.15);
}

/* Main Gray Banner Pill Card */
.footer-pill-card {
    background-color: #d5cfc5;
    border-radius: 90px;
    padding: 3.8rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    width: 100%;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--accent-maroon);
    margin: 0;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
}

/* Bottom Overlapping Section (Polaroids + Contact Info) */
.footer-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: flex-start;
    margin-top: -4.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 5;
}

/* Left Overlapping Polaroids */
.polaroid-group {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    padding-top: 0.5rem;
}

.polaroid-card {
    background: #ffffff;
    padding: 12px 12px 42px 12px;
    border-radius: 3px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
    position: relative;
    width: 190px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.polaroid-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 4.8;
    overflow: hidden;
    background: #eaeaea;
    border-radius: 2px;
}

.polaroid-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pin icon on top center of polaroids */
.pin-wrapper {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    line-height: 1;
}

.red-pin {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.card-1 {
    transform: rotate(-10deg);
    z-index: 3;
    margin-right: -2.5rem;
}

.card-2 {
    transform: rotate(5deg) translateY(15px);
    z-index: 2;
}

.polaroid-card:hover {
    z-index: 20;
    transform: scale(1.06) rotate(0deg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

/* Right Contact Details */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 6rem;
    margin-left: 2rem;
    padding-left: 2rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-contact-link:hover {
    color: var(--accent-maroon);
    transform: translateX(4px);
}

.footer-contact-link .icon {
    width: 28px;
    height: 28px;
    stroke: #1a1a1a;
    flex-shrink: 0;
}

.footer-contact-link:hover .icon {
    stroke: var(--accent-maroon);
}

.phone-text {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.copyright-bar {
    text-align: center;
    margin-top: 3.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   6. LIGHTBOX MODAL & TOAST
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 10000;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    width: auto;
    height: auto;
}

.lightbox-caption {
    color: white;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-maroon);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 10000;
}

.toast-container.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   7. RESPONSIVE DESIGN — FULL COVERAGE (Desktop → Tablet → Mobile)
   ========================================================================== */

/* ── LARGE TABLET (≤ 1024px) ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .portfolio-container {
        gap: 3rem;
    }

    /* Hero */
    .hero-grid {
        gap: 2rem;
    }

    .hero-left {
        width: 55%;
    }

    .hero-right {
        width: 45%;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .highlight-text {
        font-size: 3.3rem;
    }

    .hero-center {
        height: 26rem;
        margin-right: 1rem;
    }

    .profile-arch-frame {
        height: 26rem;
        max-width: 300px;
    }

    /* Skills */
    .skills-grid {
        gap: 1.5rem;
    }

    /* Gallery */
    .creative-gallery-grid .gallery-item:nth-child(1),
    .creative-gallery-grid .gallery-item:nth-child(2),
    .creative-gallery-grid .gallery-item:nth-child(3),
    .creative-gallery-grid .gallery-item:nth-child(4) {
        grid-column: span 3;
    }

    .creative-gallery-grid .gallery-item:nth-child(5),
    .creative-gallery-grid .gallery-item:nth-child(6) {
        grid-column: span 6;
    }

    /* Footer */
    .footer-title {
        font-size: 2.8rem;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── TABLET (≤ 900px) ──────────────────────────────────────────────────── */
@media (max-width: 900px) {

    /* Hero – stack vertically */
    .hero-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-left {
        width: 100%;
        align-items: center;
    }

    .hero-center {
        display: none;
        /* hide the divider line */
    }

    .hero-right {
        width: 100%;
        margin-bottom: 0;
    }

    .hero-left-bottom {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-title-group {
        align-items: center;
        text-align: center;
        height: auto;
    }

    .hero-name-group {
        margin-bottom: 1rem;
        text-align: center;
    }

    .accent-line,
    .short-line {
        margin: 0 auto 1rem auto;
    }

    .profile-arch-frame {
        height: 28rem;
        max-width: 340px;
    }

    .hero-name {
        font-size: 1.6rem;
    }

    .about-box,
    .connect-box {
        text-align: left;
    }

    .contact-links {
        align-items: flex-start;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Projects overview */
    .projects-overview-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Projects overview — full image content, no clipping */
    .overview-thumb {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .overview-thumb img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        object-fit: contain !important;
        display: block;
        border-radius: var(--radius-md);
    }

    /* Case studies */
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Deconique — 2-column grid on tablet, no overflow */
    #deconique.deconique-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: visible;
        padding-bottom: 0;
        gap: 0.75rem;
        width: 100%;
    }

    /* Container 1: full width row */
    #deconique .deconique-container:nth-child(1) {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
    }

    #deconique .deconique-container:nth-child(1) img {
        max-height: 400px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    /* Containers 2+3 side by side, 4+5 side by side */
    #deconique .deconique-container:nth-child(2),
    #deconique .deconique-container:nth-child(3),
    #deconique .deconique-container:nth-child(4),
    #deconique .deconique-container:nth-child(5) {
        grid-column: span 1;
        min-width: 0;
        max-width: 100%;
    }

    /* Gallery */
    .creative-gallery-grid .gallery-item:nth-child(1),
    .creative-gallery-grid .gallery-item:nth-child(2),
    .creative-gallery-grid .gallery-item:nth-child(3),
    .creative-gallery-grid .gallery-item:nth-child(4) {
        grid-column: span 6;
    }

    .creative-gallery-grid .gallery-item:nth-child(5),
    .creative-gallery-grid .gallery-item:nth-child(6) {
        grid-column: span 12;
    }

    /* Footer */
    .footer-pill-card {
        border-radius: 50px;
        padding: 3rem 1.5rem;
    }

    .footer-title {
        font-size: 2.4rem;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .polaroid-group {
        justify-content: center;
    }

    .footer-contact-info {
        margin-top: 1rem;
        margin-left: 0;
        padding-left: 0;
        align-items: center;
    }
}

/* ── MOBILE (≤ 768px) ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        padding: 1rem 0.75rem;
    }

    .portfolio-container {
        gap: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Hero — bigger title on mobile */
    .hero-title {
        font-size: 3rem;
    }

    .highlight-text {
        font-size: 3.5rem;
    }

    #text-portfolio {
        margin-bottom: 0.9rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .profile-arch-frame {
        height: 20rem;
        max-width: 240px;
    }

    .text {
        font-size: 1.3rem;
    }

    /* Hero Right — center About Me and Let's Connect on mobile */
    .hero-right {
        text-align: center;
    }

    .box-heading {
        text-align: center;
    }

    .hero-right .accent-line {
        margin: 0 auto 1rem auto;
    }

    .hero-right .about-text {
        text-align: center;
    }

    .hero-right .contact-links {
        align-items: center;
    }

    .hero-right .connect-item {
        justify-content: center;
    }

    /* Skills */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-list li {
        font-size: 0.95rem;
    }

    /* Projects overview — images must not overflow container */
    .projects-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Center last card when it's alone in its row (odd total count) */
    .projects-overview-grid .overview-thumb:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.5rem);
        justify-self: center;
    }

    .overview-thumb {
        height: auto !important;
        min-height: 10rem;
        max-height: none !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .overview-thumb img {
        width: 100% !important;
        height: auto !important;
        max-height: 220px;
        min-height: 10rem;
        object-fit: cover;
        display: block;
        flex: 1;
        max-width: 100%;
    }

    /* Overlay buttons — column layout, centered, fits inside thumbnail */
    .overlay-btn-group {
        flex-direction: column;
        gap: 0.45rem;
        width: 80%;
        max-width: 180px;
    }

    .overlay-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Deconique — grid layout: container 1 full row, 2+3 together, 4+5 together */
    #deconique.deconique-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 0.75rem;
        overflow: visible;
        padding-bottom: 0;
        width: 100%;
    }

    /* Container 1 (phone mockup): full width row */
    #deconique .deconique-container:nth-child(1) {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
        min-width: 0;
        max-width: 100%;
    }

    /* Container 1 image: tall phone mockup */
    #deconique .deconique-container:nth-child(1) img {
        max-height: 420px;
        height: 420px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    /* Containers 2 and 3: side by side */
    #deconique .deconique-container:nth-child(2),
    #deconique .deconique-container:nth-child(3) {
        grid-column: span 1;
        min-width: 0;
        max-width: 100%;
    }

    /* Containers 4 and 5: side by side */
    #deconique .deconique-container:nth-child(4),
    #deconique .deconique-container:nth-child(5) {
        grid-column: span 1;
        min-width: 0;
        max-width: 100%;
    }

    /* Case study visuals — allow natural scroll on mobile */
    .case-visuals {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Biopractify / mystic scroll */
    .biopractify-grid,
    .mystic-grid {
        grid-template-columns: 1fr;
    }

    .visuals-grid {
        flex-direction: column;
    }

    #project-biopractify {
        flex-direction: column;
        align-items: center;
    }

    #project-biopractify img,
    #project-biopractify .container-1-1 img,
    #project-biopractify .container-1-2-2 :first-child img {
        height: auto;
        width: 100%;
        max-width: 260px;
    }

    /* Reverse image order in container-1-1 */
    #project-biopractify .container-1-1 {
        flex-direction: column-reverse;
    }

    /* container-1-2 first div: column layout (arrow above final state image) */
    #project-biopractify .container-1-2>div:first-child {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    /* Rotate arrow 90° clockwise on mobile (layout is now vertical) */
    #project-biopractify #arrow {
        transform: rotate(90deg);
    }

    #progress-arrow {
        margin-right: 0;
    }

    #themystichealers {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    #project-canishant {
        flex-direction: column;
        gap: 1rem;
    }

    .canishant-container {
        width: 100%;
    }

    .canishant-container img,
    .themystic-container img {
        height: 16rem !important;
        width: auto;
        max-width: 100%;
        object-fit: cover;
    }

    #canishant-container-1 img,
    #themystichealers .container-1 img {
        height: 26rem !important;
        width: auto;
        max-width: 100%;
    }

    /* Gallery Videos — 2 column for videos 1-4, 1-per-row for 5 & 6 */
    .creative-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .creative-gallery-grid .gallery-item:nth-child(1),
    .creative-gallery-grid .gallery-item:nth-child(2),
    .creative-gallery-grid .gallery-item:nth-child(3),
    .creative-gallery-grid .gallery-item:nth-child(4) {
        grid-column: span 1;
    }

    /* Videos 5 & 6: full row each — one per row */
    .creative-gallery-grid .gallery-item:nth-child(5),
    .creative-gallery-grid .gallery-item:nth-child(6) {
        grid-column: 1 / -1;
    }

    .creative-gallery-grid .gallery-item:nth-child(1) video,
    .creative-gallery-grid .gallery-item:nth-child(2) video,
    .creative-gallery-grid .gallery-item:nth-child(3) video,
    .creative-gallery-grid .gallery-item:nth-child(4) video {
        aspect-ratio: 9 / 16;
    }

    .creative-gallery-grid .gallery-item:nth-child(5) video,
    .creative-gallery-grid .gallery-item:nth-child(6) video {
        aspect-ratio: 16 / 9;
    }

    /* Footer */
    .footer-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .footer-pill-card {
        border-radius: 40px;
        padding: 2.5rem 1rem;
    }

    .footer-bottom-grid {
        margin-top: 1.5rem;
    }

    .polaroid-card {
        width: 155px;
    }

    .footer-contact-link {
        font-size: 1.05rem;
    }

    /* Lightbox — fully visible on mobile, image fits screen */
    .lightbox-content {
        max-width: 94vw;
        width: 94vw;
        max-height: 94vh;
        padding: 0;
    }

    .lightbox-img {
        max-width: 90vw !important;
        width: auto !important;
        max-height: 70vh;
        height: auto;
        border-radius: var(--radius-sm);
        display: block;
        margin: 0 auto;
    }

    .lightbox-caption {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }

    .lightbox-close {
        top: -36px;
        right: 0;
        font-size: 2rem;
    }
}

/* ── SMALL MOBILE (≤ 480px) ────────────────────────────────────────────── */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    body {
        padding: 0.75rem 1.2rem;
    }

    .portfolio-container {
        gap: 2rem;
    }

    .section-title {
        font-size: 1.55rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .highlight-text {
        font-size: 2.4rem;
    }

    .hero-name {
        font-size: 1.8rem;
    }

    .profile-arch-frame {
        height: 18rem;
        max-width: 210px;
    }

    /* Skills – single column icons */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-item.full-width {
        grid-column: 1 / -1;
    }

    /* Projects overview – single column */
    .projects-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .overview-thumb,
    .overview-thumb img {
        height: 18rem;
    }

    /* Gallery – single column */
    .creative-gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .creative-gallery-grid .gallery-item:nth-child(1),
    .creative-gallery-grid .gallery-item:nth-child(2),
    .creative-gallery-grid .gallery-item:nth-child(3),
    .creative-gallery-grid .gallery-item:nth-child(4),
    .creative-gallery-grid .gallery-item:nth-child(5),
    .creative-gallery-grid .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    /* Footer */
    .footer-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

    .footer-pill-card {
        border-radius: 30px;
        padding: 2rem 1rem;
    }

    .footer-bottom-grid {
        margin-top: 1.5rem;
    }

    .polaroid-group {
        justify-content: center;
    }

    .polaroid-card {
        width: 130px;
    }

    .footer-contact-link {
        font-size: 0.95rem;
        gap: 0.6rem;
    }

    .footer-contact-link .icon {
        width: 22px;
        height: 22px;
    }

    .social-bar-icon {
        height: 1.8rem;
    }

    .copyright-bar {
        font-size: 0.78rem;
    }
}

/* ── VERY SMALL MOBILE (≤ 360px) ───────────────────────────────────────── */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .highlight-text {
        font-size: 2.1rem;
    }

    .hero-name {
        font-size: 1.6rem;
    }

    .footer-title {
        font-size: 1.4rem;
    }

    .profile-arch-frame {
        height: 16rem;
        max-width: 185px;
    }
}


/* ==========================================================================
   VIDEO OVERLAY CONTROLS (PLAY, PAUSE, MUTE, UNMUTE)
   ========================================================================== */
.video-container {
    position: relative;
    cursor: pointer;
}

.video-overlay-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay-controls {
    opacity: 1;
}

.video-control-btn {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-control-btn:hover {
    background: var(--accent-maroon);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.12);
}

.video-control-btn svg {
    pointer-events: none;
}

/* ==========================================================================
   VIDEO LIGHTBOX MODAL (PRESERVES 100% EXACT ASPECT RATIO)
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 95vw;
    max-height: 95vh;
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 100001;
}

.video-modal-close:hover {
    background: var(--accent-maroon);
    border-color: var(--accent-maroon);
    transform: scale(1.1);
}

.video-modal-player {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 84vh;
    max-width: 90vw;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    background: #000000;
}

.video-modal-player video {
    max-height: 84vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-md);
}

.video-modal-controls-bar {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 30px;
    z-index: 20;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.video-progress-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.video-seek-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.video-seek-slider:hover {
    background: rgba(255, 255, 255, 0.6);
}

.video-seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-maroon);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease;
}

.video-seek-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.video-seek-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-maroon);
    border: 2px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.video-time-display {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    white-space: nowrap;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.video-modal-btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.video-modal-btn:hover {
    background: var(--accent-maroon);
    border-color: var(--accent-maroon);
    transform: scale(1.1);
}

.video-modal-caption {
    color: #ffffff;
    margin-top: 0.85rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}