/* Content Creation Portfolio Specific Styles */

/* Override main portfolio cursor settings */
body {
    cursor: auto !important;
}

*, *::before, *::after {
    cursor: inherit;
}

/* Content Theme Variables - Chrome Gradient System */
/* Extends main portfolio CSS variables from style.css */
:root {
    /* Content-specific chrome gradient colors */
    --content-chrome-start: #141416;
    --content-chrome-mid: #D4AF37;
    --content-chrome-end: #FF8C42;
    --content-dark: #0A0A0A;
    --content-accent: #D4AF37;
    --content-chrome-gradient: linear-gradient(135deg, #141416, #D4AF37, #FF8C42);
    --content-chrome-reverse: linear-gradient(135deg, #FF8C42, #D4AF37, #141416);
    --content-chrome-shine: linear-gradient(45deg, #141416, #2A2A2D, #D4AF37, #FF8C42, #FFFFFF);
    --content-metallic: linear-gradient(135deg, #141416, #D4AF37, #FF8C42, #E67E22);
    
    /* Inherit main portfolio variables for consistency */
    --cosmic-silver: #FFFFFF;
    --silver-light: #F5F5FA;
    --deep-space: #141416;
    --nebula-purple: #D4AF37;
    --cosmic-cyan: #FF8C42;
    --stardust: #E8E8E8;
    --void-dark: #0A0A0A;
    --galaxy-bg: #1C1C1F;
    --text-white: #FFFFFF;
    --text-dark: #2A2A3E;
}

/* Content Portfolio Body Styling - Consistent with main portfolio */
.content-portfolio {
    background: var(--galaxy-bg);
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

.content-portfolio::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(20, 20, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography - Consistent with main portfolio */
.content-portfolio h1,
.content-portfolio h2,
.content-portfolio h3,
.content-portfolio h4,
.content-portfolio h5,
.content-portfolio h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.content-portfolio .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #D4AF37, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-portfolio .section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--stardust);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Content Hero Section */
.content-portfolio .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
}

.content-hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 500px;
    min-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-visual-placeholder {
    width: 400px;
    height: 400px;
    background: var(--content-chrome-gradient);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.content-visual-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--content-chrome-shine);
    background-size: 200% 200%;
    opacity: 0.1;
    animation: chromeShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.content-visual-placeholder i {
    font-size: 6rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #D4AF37, #FF8C42, #141416);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-visual-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Chrome Gradient Text Effect */
.chrome-gradient-text {
    background: var(--content-chrome-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    position: relative;
}

.chrome-gradient-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.4), rgba(255, 140, 66, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: chromeGlow 3s ease-in-out infinite;
}

/* Content Project Cards - Consistent with main portfolio */
.content-project-card,
.project-card {
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(28, 28, 31, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content-project-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    background: rgba(35, 35, 38, 0.5);
}

/* Design Showcase */
.design-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.design-card {
    background: rgba(20, 20, 22, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.design-card:hover {
    transform: translateY(-5px);
    background: rgba(20, 20, 22, 0.15);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.design-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 140, 66, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.design-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.design-info {
    padding: 25px;
}

.design-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.design-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.design-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-tag {
    padding: 6px 12px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Partnerships Showcase */
.partnerships-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partnership-card {
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.partnership-card:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.partnership-logo-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(255, 140, 66, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.8);
}

.partnership-logo-placeholder i {
    font-size: 2.5rem;
}

.partnership-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.partnership-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.partnership-results {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.result-metric {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Creative Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: rgba(20, 20, 22, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(20, 20, 22, 0.15);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37, #FF8C42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.process-icon i {
    font-size: 2rem;
    color: #141416;
}

.process-step h3 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Content Skills Section */
.content-portfolio .skills-category-title {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.content-portfolio .skills-category-title i {
    color: var(--content-chrome-mid);
}

.content-portfolio .skill-item {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.content-portfolio .skill-item:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Content Navigation Cards */
.content-portfolio .nav-card {
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.1), rgba(212, 175, 55, 0.05));
}

.content-portfolio .nav-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.content-portfolio .nav-card i {
    color: var(--content-chrome-mid);
}

/* Case Studies Section */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.case-study-card {
    background: rgba(20, 20, 22, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--content-chrome-shine);
    opacity: 0.05;
    transition: left 0.6s ease;
    pointer-events: none;
}

.case-study-card:hover::before {
    left: 100%;
}

.case-study-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 22, 0.15);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.5);
}

.case-study-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background: var(--content-chrome-gradient);
    background-size: 200% 200%;
    animation: chromeFlow 8s ease-in-out infinite;
}

.case-study-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.case-study-icon i {
    font-size: 1.8rem;
    color: #FFFFFF;
}

.case-study-meta h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
}

.case-study-type {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.case-study-duration {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.case-study-content {
    padding: 30px;
}

.case-study-content h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--content-chrome-mid);
}

.case-study-content h4 i {
    font-size: 1rem;
}

.case-study-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 25px;
}

.case-study-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.case-study-content li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.case-study-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--content-chrome-mid);
    font-weight: bold;
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.metric-item {
    text-align: center;
    padding: 15px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(128, 128, 128, 0.2);
    transform: scale(1.05);
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--content-chrome-end);
    margin-bottom: 5px;
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.tools-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tool-badge {
    padding: 8px 16px;
    background: var(--content-chrome-gradient);
    color: #FFFFFF;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.3);
}

/* Enhanced Process Timeline */
.process-details {
    margin-top: 15px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.process-step:hover .process-details {
    opacity: 1;
    max-height: 200px;
}

.process-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-details li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.process-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--content-chrome-mid);
}

/* Behind the Scenes Section */
.behind-scenes-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.subsection-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.behind-scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.behind-scenes-card {
    background: rgba(232, 232, 232, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.behind-scenes-card:hover {
    transform: translateY(-5px);
    background: rgba(232, 232, 232, 0.08);
    box-shadow: 0 15px 40px rgba(232, 232, 232, 0.1);
}

.behind-scenes-icon {
    width: 60px;
    height: 60px;
    background: var(--content-metallic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.behind-scenes-icon i {
    font-size: 1.5rem;
    color: #2C2C2C;
}

.behind-scenes-card h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
}

.behind-scenes-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Chrome Animation Keyframes */
@keyframes chromeShimmer {
    0%, 100% { 
        background-position: 0% 50%; 
        opacity: 0.1;
    }
    50% { 
        background-position: 100% 50%; 
        opacity: 0.2;
    }
}

@keyframes chromeGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

@keyframes chromeFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Enhanced Button Styling - Consistent with main portfolio */
.content-button,
.button-primary,
.button-secondary {
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.content-button,
.button-primary {
    background: var(--content-chrome-gradient);
    border: 1px solid rgba(128, 128, 128, 0.3);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.content-button::before,
.button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--content-chrome-shine);
    opacity: 0.2;
    transition: left 0.5s ease;
}

.content-button:hover::before,
.button-primary:hover::before {
    left: 100%;
}

.content-button:hover,
.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 128, 128, 0.3);
}

.button-secondary {
    background: rgba(232, 232, 232, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 184, 208, 0.3);
    color: var(--cosmic-silver);
}

.button-secondary:hover {
    background: rgba(232, 232, 232, 0.1);
    border-color: var(--content-chrome-mid);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

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

.modal-dialog {
    position: relative;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    background: var(--content-chrome-gradient);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: rgba(44, 44, 44, 0.2);
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.modal-header h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #FFFFFF;
}

.modal-content {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
    color: #FFFFFF;
}

.modal-content h3 {
    color: var(--content-chrome-end);
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.modal-content li {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.modal-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--content-chrome-mid);
    font-weight: bold;
}

.project-meta,
.design-meta,
.partnership-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-type,
.design-type,
.partnership-type,
.project-client,
.design-client,
.partnership-partner,
.project-status,
.design-status,
.partnership-duration {
    padding: 6px 12px;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.metrics-grid,
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.metric-card,
.result-item {
    text-align: center;
    padding: 20px 15px;
    background: rgba(232, 232, 232, 0.1);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.metric-card:hover,
.result-item:hover {
    background: rgba(232, 232, 232, 0.15);
    transform: translateY(-2px);
}

.metric-value,
.result-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--content-chrome-end);
    margin-bottom: 5px;
}

.metric-label,
.result-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.tools-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tool-badge-large {
    padding: 10px 18px;
    background: var(--content-metallic);
    color: #2C2C2C;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-badge-large:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.3);
}

.partnership-testimonial {
    margin-top: 30px;
    padding: 25px;
    background: rgba(232, 232, 232, 0.05);
    border-left: 4px solid var(--content-chrome-mid);
    border-radius: 10px;
}

.partnership-testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Project Details Button Styling */
.project-details-btn,
.design-details-btn,
.partnership-details-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--content-chrome-gradient);
    color: #FFFFFF;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.project-details-btn:hover,
.design-details-btn:hover,
.partnership-details-btn:hover {
    background: var(--content-chrome-shine);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.testimonials-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(232, 232, 232, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(232, 232, 232, 0.08);
    box-shadow: 0 15px 40px rgba(232, 232, 232, 0.1);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 25px;
}

.testimonial-quote .fa-quote-left {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 1.5rem;
    color: var(--content-chrome-mid);
    opacity: 0.5;
}

.testimonial-quote .fa-quote-right {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 1.5rem;
    color: var(--content-chrome-mid);
    opacity: 0.5;
}

.testimonial-quote p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-info h4 {
    margin: 0 0 5px 0;
    color: #FFFFFF;
    font-weight: 600;
}

.author-position,
.author-company {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #FFD700;
}

/* Video Gallery Modal */
.video-gallery-modal .modal-dialog {
    max-width: 900px;
}

.video-player-container {
    margin-bottom: 30px;
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background: var(--content-chrome-gradient);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(128, 128, 128, 0.3);
}

.video-placeholder i {
    font-size: 4rem;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.video-placeholder p {
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.video-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric-icon {
    color: var(--content-chrome-mid);
    width: 20px;
}

.metric-text {
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    aspect-ratio: 1;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-placeholder:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: scale(1.05);
}

.gallery-placeholder i {
    font-size: 2rem;
    color: var(--content-chrome-mid);
    margin-bottom: 10px;
}

.gallery-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
}

/* Portfolio Transition Effect */
.portfolio-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--content-chrome-gradient);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.portfolio-transition.active {
    opacity: 1;
    transform: scale(1);
}

.transition-content {
    text-align: center;
    color: #FFFFFF;
}

.transition-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: transitionPulse 2s ease-in-out infinite;
}

.transition-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.transition-loader {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 2px;
    animation: loaderProgress 1.5s ease-out forwards;
}

/* Case Study Modal Enhancements */
.case-study-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding-bottom: 20px;
}

.case-nav-btn {
    padding: 10px 20px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.case-nav-btn.active,
.case-nav-btn:hover {
    background: var(--content-chrome-gradient);
    color: #FFFFFF;
    border-color: rgba(128, 128, 128, 0.5);
}

.case-section {
    display: none;
}

.case-section.active {
    display: block;
}

.process-timeline-detailed {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.process-step-detailed {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--content-chrome-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 10px 0;
    color: #FFFFFF;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.results-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.result-showcase-item {
    text-align: center;
    padding: 25px;
    background: rgba(232, 232, 232, 0.1);
    border: 1px solid rgba(232, 232, 232, 0.2);
    border-radius: 15px;
}

.result-value-large {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--content-chrome-end);
    margin-bottom: 10px;
}

.result-label-large {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Client Metrics Display */
.client-metrics-display {
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.client-metrics-display h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.achievement-card {
    background: rgba(44, 44, 44, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background: rgba(44, 44, 44, 0.15);
    box-shadow: 0 15px 40px rgba(128, 128, 128, 0.1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--content-metallic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.achievement-icon i {
    font-size: 1.5rem;
    color: #2C2C2C;
}

.achievement-card h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
}

.achievement-org {
    color: var(--content-chrome-mid);
    font-weight: 500;
    margin-bottom: 5px;
}

.achievement-year {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.achievement-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   SEGMENT THEMES SECTION
   ======================================== */

.segment-themes-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.8));
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.segment-card {
    background: rgba(44, 44, 44, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.segment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.segment-card:hover::before {
    left: 100%;
}

.segment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(128, 128, 128, 0.3);
    border-color: rgba(128, 128, 128, 0.5);
}

.segment-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s ease;
}

.segment-thumbnail {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.segment-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.segment-card:hover .segment-thumbnail img {
    transform: scale(1.05);
}

.segment-card:hover .segment-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.segment-icon i {
    font-size: 2.5rem;
    color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.segment-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #FFFFFF;
}

.segment-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-size: 0.95rem;
}

.segment-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.segment-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(128, 128, 128, 0.15);
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.segment-stats i {
    font-size: 0.9rem;
    color: var(--content-chrome-mid);
}

.btn-view-segment {
    padding: 12px 30px;
    background: var(--content-chrome-gradient);
    color: #FFFFFF;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-view-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--content-chrome-shine);
    opacity: 0.3;
    transition: left 0.5s ease;
}

.btn-view-segment:hover::before {
    left: 100%;
}

.btn-view-segment:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 128, 128, 0.4);
    border-color: rgba(128, 128, 128, 0.5);
}

.btn-view-segment:active {
    transform: translateY(0);
}

/* Video Gallery Modal */
.video-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-gallery-modal.active {
    display: flex;
    opacity: 1;
}

.video-gallery-modal .modal-content {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-gallery-modal.active .modal-content {
    transform: scale(1);
}

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

.video-gallery-modal .modal-content {
    position: relative;
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.95), rgba(26, 26, 26, 0.95));
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.video-gallery-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 35px;
    background: rgba(44, 44, 44, 0.3);
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.video-gallery-modal .modal-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.6rem;
    font-weight: 700;
}

.video-gallery-modal .modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.video-gallery-modal .modal-close:hover {
    color: #FFFFFF;
    background: rgba(128, 128, 128, 0.2);
    transform: rotate(90deg);
}

.video-gallery-body {
    padding: 35px;
    overflow-y: auto;
    flex: 1;
    position: relative;
}

.video-gallery-body.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(128, 128, 128, 0.2);
    border-top-color: var(--content-chrome-mid);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.video-item {
    background: rgba(44, 44, 44, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(128, 128, 128, 0.2);
    border-color: rgba(128, 128, 128, 0.4);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.2), rgba(232, 232, 232, 0.1));
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    font-size: 3.5rem;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.video-item:hover .video-overlay i {
    transform: scale(1.2);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.video-info {
    padding: 20px;
}

.video-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.video-date,
.video-views {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.video-tag {
    padding: 4px 10px;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Video Player Modal */
.video-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-modal.active {
    display: flex;
    opacity: 1;
}

.video-player-modal .video-player-container {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-player-modal.active .video-player-container {
    transform: scale(1);
}

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

.video-player-container {
    position: relative;
    max-width: 1400px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.video-player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(44, 44, 44, 0.95);
    border-radius: 15px;
    margin-top: 15px;
}

.video-player-info {
    flex: 1;
}

.video-player-title {
    margin: 0 0 5px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFFFFF;
}

.video-player-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.video-nav-btn,
.video-close-btn {
    padding: 10px 20px;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-nav-btn:hover,
.video-close-btn:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-2px);
}

.video-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.video-nav-btn:disabled:hover {
    transform: none;
}

/* ========================================
   ADVANCINGX SECTION STYLES
   ======================================== */

.advancingx-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(42, 42, 42, 0.9));
    position: relative;
}

.advancingx-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(128, 128, 128, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.advancingx-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tenure-badge {
    display: inline-block;
    margin-left: 15px;
    padding: 8px 20px;
    background: var(--content-chrome-gradient);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
}

.subsection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 12px;
}

.subsection-title i {
    color: var(--content-chrome-mid);
    font-size: 1.6rem;
}

.subsection-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* Social Media Links Showcase */
.social-media-showcase {
    margin-bottom: 80px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(44, 44, 44, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.social-link-card:hover::before {
    left: 100%;
}

.social-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(128, 128, 128, 0.25);
    border-color: rgba(128, 128, 128, 0.5);
}

.social-platform-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-link-card:hover .social-platform-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-platform-icon.linkedin {
    background: linear-gradient(135deg, #0077B5, #005582);
    color: #FFFFFF;
}

.social-platform-icon.twitter {
    background: linear-gradient(135deg, #000000, #333333);
    color: #FFFFFF;
}

.social-platform-icon.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
    color: #FFFFFF;
}

.social-info {
    flex: 1;
}

.social-platform {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.social-handle {
    display: block;
    font-size: 0.95rem;
    color: var(--content-chrome-mid);
    margin-bottom: 8px;
}

.social-role {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.social-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-stat {
    padding: 4px 12px;
    background: rgba(128, 128, 128, 0.15);
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-radius: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Carousel Posts Section */
.carousel-posts-section {
    margin-bottom: 80px;
}

.platform-filter-tabs {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.platform-tab {
    padding: 12px 25px;
    background: rgba(44, 44, 44, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-tab:hover {
    background: rgba(44, 44, 44, 0.3);
    border-color: rgba(128, 128, 128, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

.platform-tab.active {
    background: var(--content-chrome-gradient);
    border-color: rgba(128, 128, 128, 0.5);
    color: #FFFFFF;
}

.carousel-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.carousel-post-card {
    background: rgba(44, 44, 44, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.carousel-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.carousel-post-card:hover::before {
    left: 100%;
}

.carousel-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(128, 128, 128, 0.3);
    border-color: rgba(128, 128, 128, 0.5);
}

.carousel-preview {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-post-card:hover .carousel-preview {
    transform: scale(1.05);
}

.carousel-post-info {
    padding: 25px;
}

.carousel-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.carousel-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.carousel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.carousel-date,
.carousel-slides {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.carousel-platform-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.carousel-platform-badge.platform-x {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.carousel-platform-badge.platform-linkedin {
    background: rgba(0, 119, 181, 0.2);
    border: 1px solid rgba(0, 119, 181, 0.4);
    color: #5DADE2;
}

.carousel-engagement {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    flex-wrap: wrap;
}

.carousel-engagement span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.carousel-engagement i {
    color: var(--content-chrome-mid);
}

.btn-view-carousel {
    width: 100%;
    padding: 12px;
    background: var(--content-chrome-gradient);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 15px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 128, 128, 0.3);
}

/* Carousel Viewer Modal */
.carousel-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-viewer-modal.active {
    display: flex;
    opacity: 1;
}

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

.carousel-viewer-container {
    position: relative;
    max-width: 1200px;
    width: 95%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.carousel-viewer-modal.active .carousel-viewer-container {
    transform: scale(1);
}

.carousel-viewer-modal .modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 44, 0.9);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-viewer-modal .modal-close:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: rotate(90deg);
}

.carousel-viewer {
    position: relative;
    width: 100%;
    background: #000000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

.carousel-slides-container {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%);
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 44, 0.8);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(128, 128, 128, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(128, 128, 128, 0.4);
    border: 1px solid rgba(128, 128, 128, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(128, 128, 128, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--content-chrome-mid);
    border-color: var(--content-chrome-end);
    transform: scale(1.3);
}

.carousel-info {
    background: rgba(44, 44, 44, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-top: 15px;
}

.carousel-info .carousel-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.carousel-info .carousel-description {
    margin-bottom: 15px;
}

.carousel-info .carousel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    margin-bottom: 15px;
}

.carousel-counter {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.view-original-post {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-original-post:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-2px);
}

.carousel-info .carousel-engagement {
    border-top: none;
    padding-top: 0;
}

/* AdvancingX Videos Section */
.advancingx-videos-section {
    margin-bottom: 40px;
}

/* Animation Keyframes */
@keyframes transitionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loaderProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ========================================
   RESPONSIVE DESIGN FOR CONTENT PORTFOLIO
   ======================================== */

/* Large Desktop Styles (> 1440px) */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .segment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .video-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .carousel-posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Styles (1025px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
    .segment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .video-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .carousel-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Styles (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    /* General Layout */
    .content-portfolio .hero-section {
        padding: 80px 0 40px;
    }
    
    .content-hero-image {
        padding: 30px;
    }
    
    .content-visual-placeholder {
        width: 350px;
        height: 350px;
    }
    
    /* Segment Themes */
    .segment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .segment-card {
        padding: 30px;
    }
    
    .segment-icon {
        width: 90px;
        height: 90px;
    }
    
    .segment-icon i {
        font-size: 2.2rem;
    }
    
    /* Video Gallery */
    .video-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .video-gallery-modal .modal-content {
        width: 92%;
    }
    
    .video-gallery-body {
        padding: 30px;
    }
    
    /* AdvancingX Section */
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .carousel-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .platform-filter-tabs {
        gap: 12px;
    }
    
    .platform-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Events Section */
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Modals */
    .carousel-viewer-container {
        width: 92%;
    }
    
    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .image-gallery-container {
        width: 95%;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    /* General Components */
    .design-showcase,
    .partnerships-showcase,
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .behind-scenes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Styles (< 768px) */
@media (max-width: 768px) {
    /* General Layout */
    .content-portfolio .hero-section {
        min-height: auto;
        padding: 60px 0 30px;
    }
    
    .content-hero-image {
        padding: 20px;
    }
    
    .content-visual-placeholder {
        width: 280px;
        height: 280px;
    }
    
    .content-visual-placeholder i {
        font-size: 3.5rem;
    }
    
    .content-visual-placeholder p {
        font-size: 1rem;
    }
    
    /* Section Spacing */
    .segment-themes-section,
    .advancingx-section,
    .events-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    /* Segment Themes Responsive */
    .segment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .segment-card {
        padding: 25px;
    }
    
    .segment-icon {
        width: 80px;
        height: 80px;
    }
    
    .segment-icon i {
        font-size: 2rem;
    }
    
    .segment-name {
        font-size: 1.3rem;
    }
    
    .segment-description {
        font-size: 0.9rem;
    }
    
    .segment-stats {
        gap: 12px;
    }
    
    .segment-stats span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .btn-view-segment {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    /* Video Gallery */
    .video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item {
        border-radius: 12px;
    }
    
    .video-info {
        padding: 15px;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-meta {
        font-size: 0.8rem;
        gap: 10px;
    }
    
    /* Video Gallery Modal */
    .video-gallery-modal .modal-content {
        width: 98%;
        max-height: 92vh;
        border-radius: 20px;
    }
    
    .video-gallery-modal .modal-header {
        padding: 18px 20px;
    }
    
    .video-gallery-modal .modal-title {
        font-size: 1.2rem;
    }
    
    .video-gallery-modal .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }
    
    .video-gallery-body {
        padding: 20px;
    }
    
    /* Video Player */
    .video-player-container {
        width: 98%;
    }
    
    .video-player-controls {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .video-player-title {
        font-size: 1.1rem;
    }
    
    .video-player-description {
        font-size: 0.85rem;
    }
    
    .video-player-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .video-nav-btn,
    .video-close-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* AdvancingX Section Responsive */
    .advancingx-section .section-header {
        margin-bottom: 40px;
    }
    
    .tenure-badge {
        display: block;
        margin: 15px auto 0;
        width: fit-content;
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .subsection-title {
        font-size: 1.4rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .subsection-title i {
        font-size: 1.4rem;
    }
    
    .subsection-description {
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 25px;
    }
    
    /* Social Media Links */
    .social-media-showcase {
        margin-bottom: 60px;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-link-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .social-platform-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .social-platform {
        font-size: 1.2rem;
    }
    
    .social-handle {
        font-size: 0.9rem;
    }
    
    .social-role {
        font-size: 0.8rem;
    }
    
    .social-stats {
        justify-content: center;
        gap: 10px;
    }
    
    /* Platform Filter Tabs */
    .platform-filter-tabs {
        justify-content: center;
        gap: 10px;
    }
    
    .platform-tab {
        flex: 1;
        min-width: 110px;
        padding: 10px 18px;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    /* Carousel Posts */
    .carousel-posts-section {
        margin-bottom: 60px;
    }
    
    .carousel-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .carousel-post-card {
        border-radius: 18px;
    }
    
    .carousel-preview {
        height: 200px;
    }
    
    .carousel-post-info {
        padding: 20px;
    }
    
    .carousel-title {
        font-size: 1.1rem;
    }
    
    .carousel-description {
        font-size: 0.85rem;
    }
    
    .carousel-meta {
        gap: 12px;
    }
    
    .carousel-date,
    .carousel-slides {
        font-size: 0.8rem;
    }
    
    .carousel-engagement {
        gap: 12px;
        padding-top: 12px;
    }
    
    .carousel-engagement span {
        font-size: 0.8rem;
    }
    
    .btn-view-carousel {
        padding: 10px;
        font-size: 0.9rem;
        margin-top: 12px;
    }
    
    /* Carousel Viewer Modal */
    .carousel-viewer-container {
        width: 98%;
        max-height: 92vh;
    }
    
    .carousel-viewer-modal .modal-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .carousel-viewer {
        border-radius: 12px;
    }
    
    .carousel-slides-container {
        padding-top: 100%; /* Square aspect ratio for mobile */
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        padding: 15px 0;
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-info {
        padding: 18px;
        border-radius: 12px;
        margin-top: 12px;
    }
    
    .carousel-info .carousel-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .carousel-info .carousel-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .carousel-info .carousel-meta {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .carousel-counter {
        font-size: 0.85rem;
    }
    
    .view-original-post {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    /* Events Section */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .event-card {
        border-radius: 20px;
    }
    
    .event-image-preview {
        height: 220px;
    }
    
    .event-image-count {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .event-category-badge {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
    
    .event-info {
        padding: 25px;
    }
    
    .event-name {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .event-meta {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .event-date,
    .event-location,
    .event-role {
        font-size: 0.85rem;
    }
    
    .event-description {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .event-outcome {
        padding: 8px 15px;
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .event-highlights-list li {
        font-size: 0.8rem;
    }
    
    .btn-view-event {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* Image Gallery Modal */
    .image-gallery-container {
        width: 98%;
        max-height: 95vh;
    }
    
    .image-gallery-modal .modal-close {
        top: -50px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .image-gallery-viewer {
        border-radius: 12px;
        min-height: 400px;
    }
    
    .gallery-main-image-container {
        height: 50vh;
    }
    
    .image-caption {
        font-size: 0.9rem;
        padding: 25px 15px 15px;
    }
    
    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-thumbnails {
        padding: 15px;
        border-radius: 12px;
        margin-top: 12px;
    }
    
    .thumbnail-strip {
        gap: 12px;
        min-height: 70px;
    }
    
    .gallery-thumbnail {
        width: 100px;
        height: 70px;
        border-radius: 8px;
    }
    
    .gallery-controls {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 15px;
        gap: 12px;
        border-radius: 12px;
        margin-top: 12px;
    }
    
    .gallery-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-counter {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
    
    .gallery-info {
        padding: 15px 20px;
        border-radius: 12px;
        margin-top: 12px;
    }
    
    .gallery-event-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .gallery-event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .gallery-event-meta span {
        font-size: 0.85rem;
    }
    
    /* General Components */
    .design-showcase,
    .partnerships-showcase,
    .process-timeline,
    .case-studies-grid,
    .behind-scenes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-card {
        border-radius: 20px;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .case-study-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 55px;
        height: 55px;
    }
    
    .case-study-icon i {
        font-size: 1.6rem;
    }
    
    .case-study-meta h3 {
        font-size: 1.2rem;
    }
    
    .case-study-content {
        padding: 25px;
    }
    
    .results-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .metric-item {
        padding: 12px;
    }
    
    .metric-number {
        font-size: 1.3rem;
    }
    
    .partnership-results {
        justify-content: center;
    }
    
    .process-details {
        opacity: 1;
        max-height: none;
    }
    
    .process-step {
        padding: 25px;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
    }
    
    .process-icon i {
        font-size: 1.8rem;
    }
    
    /* Modal General Styles */
    .modal-dialog {
        width: 95%;
        max-height: 92vh;
        border-radius: 18px;
    }
    
    .modal-header {
        padding: 18px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-close {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 20px;
        max-height: 70vh;
    }
    
    .project-meta,
    .design-meta,
    .partnership-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .metrics-grid,
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .metric-card,
    .result-item {
        padding: 15px 12px;
    }
    
    .metric-value,
    .result-value {
        font-size: 1.2rem;
    }
    
    /* Testimonials */
    .testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    /* Achievements */
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 20px;
    }
    
    .achievement-icon {
        width: 55px;
        height: 55px;
    }
    
    .achievement-icon i {
        font-size: 1.3rem;
    }
    
    /* Touch-Friendly Buttons */
    button,
    .btn,
    .btn-view-segment,
    .btn-view-carousel,
    .btn-view-event,
    .video-nav-btn,
    .video-close-btn,
    .carousel-nav,
    .gallery-nav,
    .gallery-control-btn,
    .modal-close {
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: rgba(128, 128, 128, 0.2);
    }
    
    /* Improve tap targets */
    .video-item,
    .carousel-post-card,
    .event-card,
    .segment-card,
    .social-link-card {
        -webkit-tap-highlight-color: rgba(128, 128, 128, 0.1);
    }
}

/* Small Mobile Styles (< 480px) */
@media (max-width: 480px) {
    /* Hero Section */
    .content-portfolio .hero-section {
        padding: 50px 0 25px;
    }
    
    .content-visual-placeholder {
        width: 240px;
        height: 240px;
    }
    
    .content-visual-placeholder i {
        font-size: 3rem;
    }
    
    .content-visual-placeholder p {
        font-size: 0.9rem;
    }
    
    /* Section Spacing */
    .segment-themes-section,
    .advancingx-section,
    .events-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .section-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    /* Segment Cards */
    .segment-card {
        padding: 20px;
    }
    
    .segment-icon {
        width: 70px;
        height: 70px;
    }
    
    .segment-icon i {
        font-size: 1.8rem;
    }
    
    .segment-name {
        font-size: 1.2rem;
    }
    
    .segment-description {
        font-size: 0.85rem;
    }
    
    .segment-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .segment-stats span {
        width: 100%;
        justify-content: center;
    }
    
    .btn-view-segment {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Video Gallery */
    .video-gallery-modal .modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .video-gallery-modal .modal-header {
        padding: 15px 18px;
    }
    
    .video-gallery-modal .modal-title {
        font-size: 1.1rem;
    }
    
    .video-gallery-modal .modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    
    .video-gallery-body {
        padding: 18px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-title {
        font-size: 0.95rem;
    }
    
    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    /* Video Player */
    .video-player-container {
        width: 100%;
    }
    
    .video-player-controls {
        padding: 12px;
    }
    
    .video-player-title {
        font-size: 1rem;
    }
    
    .video-player-description {
        font-size: 0.8rem;
    }
    
    .video-nav-btn,
    .video-close-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    /* AdvancingX Section */
    .tenure-badge {
        padding: 5px 14px;
        font-size: 0.8rem;
    }
    
    .subsection-title {
        font-size: 1.3rem;
    }
    
    .subsection-title i {
        font-size: 1.2rem;
    }
    
    .subsection-description {
        font-size: 0.9rem;
    }
    
    /* Social Links */
    .social-media-showcase {
        margin-bottom: 50px;
    }
    
    .social-link-card {
        padding: 20px;
    }
    
    .social-platform-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
    
    .social-platform {
        font-size: 1.1rem;
    }
    
    .social-handle {
        font-size: 0.85rem;
    }
    
    .social-role {
        font-size: 0.75rem;
    }
    
    .social-stats {
        gap: 8px;
    }
    
    .social-stat {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    /* Platform Tabs */
    .platform-filter-tabs {
        gap: 8px;
    }
    
    .platform-tab {
        min-width: 100px;
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    /* Carousel Posts */
    .carousel-posts-section {
        margin-bottom: 50px;
    }
    
    .carousel-posts-grid {
        gap: 20px;
    }
    
    .carousel-post-card {
        border-radius: 15px;
    }
    
    .carousel-preview {
        height: 180px;
    }
    
    .carousel-post-info {
        padding: 18px;
    }
    
    .carousel-title {
        font-size: 1rem;
    }
    
    .carousel-description {
        font-size: 0.8rem;
    }
    
    .carousel-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .carousel-engagement {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .carousel-engagement span {
        font-size: 0.75rem;
    }
    
    .btn-view-carousel {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Carousel Viewer */
    .carousel-viewer-container {
        width: 100%;
    }
    
    .carousel-viewer-modal .modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .carousel-viewer {
        border-radius: 10px;
    }
    
    .carousel-slides-container {
        padding-top: 110%; /* Taller for small screens */
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-indicators {
        padding: 12px 0;
        gap: 6px;
    }
    
    .indicator {
        width: 7px;
        height: 7px;
    }
    
    .carousel-info {
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .carousel-info .carousel-title {
        font-size: 1.1rem;
    }
    
    .carousel-info .carousel-description {
        font-size: 0.8rem;
    }
    
    .carousel-info .carousel-meta {
        gap: 10px;
    }
    
    .carousel-counter {
        font-size: 0.8rem;
    }
    
    .view-original-post {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Events Section */
    .events-grid {
        gap: 20px;
    }
    
    .event-card {
        border-radius: 18px;
    }
    
    .event-image-preview {
        height: 200px;
    }
    
    .event-image-count {
        padding: 6px 12px;
        font-size: 0.75rem;
        bottom: 12px;
        right: 12px;
    }
    
    .event-category-badge {
        padding: 4px 10px;
        font-size: 0.65rem;
        top: 12px;
        left: 12px;
    }
    
    .event-info {
        padding: 20px;
    }
    
    .event-name {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .event-meta {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .event-date,
    .event-location,
    .event-role {
        font-size: 0.8rem;
    }
    
    .event-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .event-outcome {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
    
    .event-highlights-list li {
        font-size: 0.75rem;
        padding: 4px 0;
    }
    
    .btn-view-event {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    /* Image Gallery */
    .image-gallery-container {
        width: 100%;
    }
    
    .image-gallery-modal .modal-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .image-gallery-viewer {
        border-radius: 10px;
        min-height: 350px;
    }
    
    .gallery-main-image-container {
        height: 40vh;
    }
    
    .image-caption {
        font-size: 0.85rem;
        padding: 20px 12px 12px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    .gallery-thumbnails {
        padding: 12px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .thumbnail-strip {
        gap: 10px;
        min-height: 60px;
    }
    
    .gallery-thumbnail {
        width: 80px;
        height: 60px;
        border-radius: 6px;
    }
    
    .gallery-controls {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .gallery-control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .image-counter {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    
    .gallery-info {
        padding: 12px 15px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .gallery-event-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .gallery-event-meta span {
        font-size: 0.8rem;
    }
    
    /* General Components */
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-card {
        border-radius: 18px;
    }
    
    .case-study-header {
        padding: 20px;
    }
    
    .case-study-icon {
        width: 50px;
        height: 50px;
    }
    
    .case-study-icon i {
        font-size: 1.5rem;
    }
    
    .case-study-meta h3 {
        font-size: 1.1rem;
    }
    
    .case-study-content {
        padding: 20px;
    }
    
    .results-metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .metric-item {
        padding: 10px;
    }
    
    .metric-number {
        font-size: 1.2rem;
    }
    
    .tools-list {
        justify-content: center;
    }
    
    .tool-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .metrics-grid,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .metric-card,
    .result-item {
        padding: 12px 10px;
    }
    
    .metric-value,
    .result-value {
        font-size: 1.1rem;
    }
    
    .metric-label,
    .result-label {
        font-size: 0.8rem;
    }
    
    /* Process Steps */
    .process-step {
        padding: 20px;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-icon i {
        font-size: 1.6rem;
    }
    
    .process-step h3 {
        font-size: 1.1rem;
    }
    
    .process-step p {
        font-size: 0.85rem;
    }
    
    /* Modal General */
    .modal-dialog {
        width: 100%;
        max-height: 95vh;
        border-radius: 15px;
        margin: 0;
    }
    
    .modal-header {
        padding: 15px 18px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-close {
        font-size: 1.2rem;
    }
    
    .modal-content {
        padding: 18px;
        max-height: 68vh;
    }
    
    /* Testimonials */
    .testimonials-carousel {
        gap: 18px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-quote p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .testimonial-author {
        gap: 10px;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-position,
    .author-company {
        font-size: 0.8rem;
    }
    
    /* Achievements */
    .achievements-grid {
        gap: 18px;
    }
    
    .achievement-card {
        padding: 18px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
    }
    
    .achievement-icon i {
        font-size: 1.2rem;
    }
    
    .achievement-card h4 {
        font-size: 1.05rem;
    }
    
    .achievement-desc {
        font-size: 0.85rem;
    }
    
    /* Video Placeholder */
    .video-placeholder {
        height: 180px;
    }
    
    .video-placeholder i {
        font-size: 2.2rem;
    }
    
    .video-placeholder p {
        font-size: 1rem;
    }
    
    /* Gallery Grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-placeholder {
        border-radius: 8px;
    }
    
    .gallery-placeholder i {
        font-size: 1.8rem;
    }
    
    .gallery-placeholder p {
        font-size: 0.75rem;
    }
    
    /* Case Study Navigation */
    .case-study-navigation {
        flex-direction: column;
        gap: 5px;
        padding-bottom: 15px;
    }
    
    .case-nav-btn {
        text-align: center;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .process-step-detailed {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 0.95rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .results-showcase {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .result-showcase-item {
        padding: 20px;
    }
    
    .result-value-large {
        font-size: 1.6rem;
    }
    
    .result-label-large {
        font-size: 0.9rem;
    }
    
    /* Transition Effects */
    .transition-icon {
        font-size: 2.5rem;
    }
    
    .transition-content h3 {
        font-size: 1.1rem;
    }
    
    .transition-loader {
        width: 120px;
    }
    
    /* Ensure all interactive elements are touch-friendly */
    a,
    button,
    .btn,
    input,
    select,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Optimize text for small screens */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.05rem;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* =
=======================================
   EVENTS CONTENT CREATION SECTION
   ======================================== */

.events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(42, 42, 42, 0.85));
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(128, 128, 128, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.event-card {
    background: rgba(44, 44, 44, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.event-card:hover::before {
    left: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(128, 128, 128, 0.3);
    border-color: rgba(128, 128, 128, 0.5);
}

.event-image-preview {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.2), rgba(232, 232, 232, 0.1));
}

.event-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image-preview img {
    transform: scale(1.08);
}

.event-image-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.event-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--content-chrome-gradient);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.event-info {
    padding: 30px;
}

.event-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.event-date,
.event-location,
.event-role {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.event-date i,
.event-location i,
.event-role i {
    color: var(--content-chrome-mid);
    width: 16px;
}

.event-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.event-outcome {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(128, 128, 128, 0.15);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 20px;
    color: var(--content-chrome-end);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.event-outcome i {
    color: #FFD700;
}

.event-highlights {
    margin-bottom: 20px;
}

.event-highlights-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.event-highlights-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.event-highlights-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--content-chrome-mid);
    font-weight: bold;
}

.btn-view-event {
    width: 100%;
    padding: 14px;
    background: var(--content-chrome-gradient);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 15px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-view-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--content-chrome-shine);
    opacity: 0.3;
    transition: left 0.5s ease;
}

.btn-view-event:hover::before {
    left: 100%;
}

.btn-view-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 128, 128, 0.4);
}

/* ========================================
   IMAGE GALLERY MODAL
   ======================================== */

.image-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-gallery-modal.active {
    display: flex;
    opacity: 1;
}

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

.image-gallery-container {
    position: relative;
    max-width: 1600px;
    width: 98%;
    max-height: 98vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-gallery-modal.active .image-gallery-container {
    transform: scale(1);
}

.image-gallery-modal .modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 44, 0.9);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-gallery-modal .modal-close:hover {
    background: rgba(128, 128, 128, 0.4);
    transform: rotate(90deg);
}

.image-gallery-viewer {
    position: relative;
    width: 100%;
    background: #000000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.gallery-main-image-container {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.gallery-main-image.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #FFFFFF;
    padding: 30px 20px 20px;
    font-size: 1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main-image-container:hover .image-caption {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 44, 0.85);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(128, 128, 128, 0.5);
    transform: translateY(-50%) scale(1.15);
}

.gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-thumbnails {
    background: rgba(44, 44, 44, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
    overflow-x: auto;
    overflow-y: hidden;
}

.thumbnail-strip {
    display: flex;
    gap: 15px;
    min-height: 80px;
}

.gallery-thumbnail {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(128, 128, 128, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    border-color: rgba(128, 128, 128, 0.6);
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--content-chrome-mid);
    box-shadow: 0 0 15px rgba(128, 128, 128, 0.5);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(44, 44, 44, 0.95);
    border-radius: 15px;
    padding: 15px 25px;
    margin-top: 15px;
}

.gallery-control-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 128, 128, 0.2);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-control-btn:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: scale(1.1);
}

.gallery-control-btn:active {
    transform: scale(0.95);
}

.image-counter {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(128, 128, 128, 0.15);
    border-radius: 20px;
}

.gallery-info {
    background: rgba(44, 44, 44, 0.95);
    border-radius: 15px;
    padding: 20px 25px;
    margin-top: 15px;
}

.gallery-event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}

.gallery-event-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.gallery-event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.gallery-event-meta i {
    color: var(--content-chrome-mid);
}

/* Responsive Styles for Events Section */
@media (max-width: 1024px) and (min-width: 769px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .event-card {
        border-radius: 20px;
    }
    
    .event-image-preview {
        height: 220px;
    }
    
    .event-info {
        padding: 25px;
    }
    
    .event-name {
        font-size: 1.2rem;
    }
    
    .event-meta {
        gap: 8px;
    }
    
    .gallery-main-image-container {
        height: 50vh;
    }
    
    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .gallery-thumbnails {
        padding: 15px;
    }
    
    .gallery-thumbnail {
        width: 100px;
        height: 70px;
    }
    
    .gallery-controls {
        flex-wrap: wrap;
        justify-content: center;
        padding: 15px;
    }
    
    .gallery-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-info {
        padding: 15px 20px;
    }
    
    .gallery-event-title {
        font-size: 1.1rem;
    }
    
    .gallery-event-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-gallery-modal .modal-close {
        top: -50px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .event-image-preview {
        height: 200px;
    }
    
    .event-info {
        padding: 20px;
    }
    
    .event-name {
        font-size: 1.1rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
    
    .gallery-main-image-container {
        height: 40vh;
    }
    
    .gallery-thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .gallery-controls {
        gap: 10px;
    }
    
    .image-counter {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}
