* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}


/* If your root Dash wrapper sets overflow:hidden, remove that in app.layout */
/* Use CSS custom properties for consistent theming */
:root {
    --primary-gold: #fbbf24;
    --primary-gold-hover: #f59e0b;
    --primary-gold-dark: #d97706;
    --bg-dark: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.95);
    --bg-secondary: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-primary: rgba(251, 191, 36, 0.2);
    --border-hover: rgba(251, 191, 36, 0.4);
    --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Global Layout Improvements */
body {
    background: var(--bg-dark);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}
#_pages_content{
        background: var(--bg-card);

    margin-bottom: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: border-color 0.3s ease;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
}

/* Section Consistent Styles - Single Dark Theme */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.95) 50%, var(--bg-dark) 100%);
    position: relative;
    padding: 80px 0;
    border-radius: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.about-me-section,
.skills-showcase-section,
.services-section,
.projects-preview-section,
.cta-section {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
    border-radius: 20px;
}

.cta-section {
    padding: 80px 0 120px 0;
}

.about-me-section {
    border-radius: 20px;
}

/* Navbar Styles */
.navbar {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: border-color 0.3s ease;
}

.navbar:hover {
    border-color: var(--border-hover);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.brand-section {
    display: flex;
    align-items: center;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.hero-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--bg-dark);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.2px;

}

.nav-link:hover {
    color: var(--primary-gold);
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#about-me-title {
    font-size: 36px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin: 0;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(251, 191, 36, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* About Me Content */
.about-me-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
}

.about-me-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Enhanced About Page Styles */

/* About Page Styles - Improved Layout */
.about-page {
    padding: 0;
}

.about-section,
.education-section,
.skills-section,
.training-section {
    background: var(--bg-dark);
    padding: 80px 0;
    margin-bottom: 0;
}

.about-section {
    border-radius: 20px;
}
/* About Me Section - Clean Layout */
.about-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content-clean {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
}

.about-profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    top: 20px;
}

.about-profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 800;
    color: var(--bg-dark);
    box-shadow: 0 16px 48px rgba(251, 191, 36, 0.3);
    margin-bottom: 20px;
}

.about-profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.about-profile-title {
    font-size: 1.1rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0;
}

.about-text-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-top: 10px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    text-align: justify;
}

.about-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Enhanced Education Section Styles */
.education-grid {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.education-card-enhanced {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
}

.education-card-enhanced:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.education-header {
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.education-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.education-content {
    flex: 1;
    min-width: 0;
}

.degree-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.institution-name {
    font-size: 1.1rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.university-name {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.education-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.education-detail {
    background: rgba(30, 41, 59, 0.5);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.1);
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cgpa-highlight {
    color: var(--primary-gold);
}

.education-description-container {
    background: rgba(30, 41, 59, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.education-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Technical Skills Section - Enhanced Grid */
.tech-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.tech-skill-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.tech-skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.tech-skill-content {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    line-height: 1;
}

.tech-skill-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.tech-skill-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    flex-grow: 1;
}

.tech-skills-list {
    display: flex;
    align-items: center;

    flex-direction: column;
    gap: 12px;
}

.skill-item-detailed {
    align-items: center;
    text-align: center;
    padding: 12px 16px;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 8px;
    width: 50%;
    border: 1px solid rgba(251, 191, 36, 0.1);
    transition: all 0.3s ease;
}

.skill-item-detailed:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(251, 191, 36, 0.3);
}

.tech-tag-detailed {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-level.beginner {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.skill-level.intermediate {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.skill-level.advanced {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.skill-level.expert {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Training Section - Professional Card Layout */
.training-section {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.certification-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.certification-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.cert-header {
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.cert-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
}

.cert-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cert-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.cert-org {
    font-size: 1rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.cert-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
    text-align: justify;
    flex-grow: 1;
}

.cert-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 15px;
}

.cert-track {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(30, 41, 59, 0.5);
    color: var(--text-secondary);
    border: 1px solid rgba(251, 191, 36, 0.1);
}

.cert-status {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.cert-status.ongoing {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.cert-status.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .about-content-clean {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-profile-section {
        position: static;
    }

    .tech-skills-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .education-header {
        flex-direction: column;
        text-align: center;
    }

    .education-details-grid {
        grid-template-columns: 1fr;
    }

    .cert-header {
        flex-direction: column;
        text-align: center;
    }

    .cert-details {
        flex-direction: column;
        align-items: stretch;
    }

    .about-actions {
        justify-content: center;
    }
}

/* Pulse animation for status indicator */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Simple Skills Section - Clean and Minimal */
.simple-skills-section {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
}

.simple-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.simple-skill-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
}

.simple-skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.simple-skill-content {
    padding: 30px 25px;
    text-align: center;
}

.simple-skill-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.simple-skill-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.simple-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    line-height: 1;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Projects Preview */
.projects-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.project-preview-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.project-preview-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.project-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-preview-card:hover .project-cover-image {
    transform: scale(1.05);
}

.project-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.1) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.project-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.project-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-primary);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: fit-content;
    align-self: flex-start;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-in-progress {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* CTA Section */
.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-heavy);
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.cta-primary, .cta-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    color: var(--bg-dark);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

.cta-secondary:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-2px);
}

/* View All Button */
.view-all-btn {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-gold);
    border: 1px solid var(--border-primary);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    background: rgba(251, 191, 36, 0.25);
    box-shadow: var(--shadow-light);
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px 30px;
    border: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-light);
    margin-top: 40px;
}

.footer-text {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-gold);
}
/* Contact Page Styles - Simplified */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.contact-hero {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(15, 23, 42, 0.05) 5%,
        rgba(15, 23, 42, 0.1) 10%,
        rgba(15, 23, 42, 0.2) 20%,
        rgba(15, 23, 42, 0.35) 35%,
        rgba(15, 23, 42, 0.5) 50%,
        rgba(15, 23, 42, 0.65) 65%,
        rgba(15, 23, 42, 0.8) 80%,
        rgba(15, 23, 42, 0.9) 90%,
        var(--bg-dark) 100%
    ) !important;
    border-radius: 20px;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover), var(--primary-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.contact-hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

.contact-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Form Section - Simplified */
.contact-form-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.contact-form-section:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-form-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

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

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover), var(--primary-gold-dark));
    color: var(--bg-dark);
    border: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

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

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: rotate(15deg);
}

/* Form Status */
.form-status {
    margin-top: 20px;
    padding: 0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 16px 20px;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 16px 20px;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.form-status.success .status-content {
    color: #22c55e;
}

.form-status.error .status-content {
    color: #ef4444;
}

.status-icon {
    font-size: 18px;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-info-section, .social-section, .availability-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.contact-info-section:hover, .social-section:hover, .availability-container:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.info-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: var(--border-primary);
    background: rgba(30, 41, 59, 0.8);
}

.contact-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
}

.contact-info-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-info-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* Social Links */
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--border-primary);
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
    color: var(--primary-gold);
    box-shadow: var(--shadow-light);
}

.social-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    border-radius: 8px;
    flex-shrink: 0;
}

/* Availability Status */
.availability-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
}

.status-indicator {
    font-size: 16px;
    animation: pulse 2s infinite;
}

.availability-content {
    flex: 1;
}

.availability-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #22c55e;
}

.availability-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.5;
}

.availability-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: border-color 0.3s ease;
}

.faq-section:hover {
    border-color: var(--border-hover);
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    padding: 25px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-primary);
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-gold);
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Projects Page Styles */
.projects-layout {
    min-height: 100vh;
}

.page-header-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.95) 50%, var(--bg-dark) 100%);
    position: relative;
    padding: 80px 0;
    border-radius: 20px;
    margin-bottom: 30px;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.project-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.separator {
    color: var(--text-muted);
    font-weight: 400;
}

/* Projects Section */
.projects-section {
    background: var(--bg-dark);
    padding: 80px 0;
    position: relative;
    border-radius: 20px;
    margin-bottom: 30px;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Project Cards */
.project-card {
    background: var(--bg-card);
    border-radius: 20px !important;
    border: 1px solid var(--border-primary) !important;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card:hover {
    border-color: var(--border-hover) !important;
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

/* Force border styling with explicit values */
.project-card {
    border: 1px solid rgba(251, 191, 36, 0.2) !important;
    border-radius: 20px !important;
}

.project-card:hover {
    border: 1px solid rgba(251, 191, 36, 0.4) !important;
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.project-card:hover .project-card-image {
    transform: scale(1.05);
}

.project-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.1) 50%, rgba(15, 23, 42, 0.3) 100%);
    border-radius: 20px 20px 0 0;
}

.project-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
    border-radius: 0 0 20px 20px;
}

/* Ensure tech tags and other elements within project cards are properly styled */
.project-card .tech-tag {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Force tech tag styling */
.tech-tag {
    background: rgba(251, 191, 36, 0.15) !important;
    color: #fbbf24 !important;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

.project-card .status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: fit-content;
    align-self: flex-start;
}

.project-card .status-completed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-card .status-in-progress {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Force status badge styling */
.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: fit-content;
    align-self: flex-start;
}

.status-completed {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.status-in-progress {
    background: rgba(251, 146, 60, 0.2) !important;
    color: #fb923c !important;
    border: 1px solid rgba(251, 146, 60, 0.3) !important;
}

.project-card .view-project-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-hover));
    color: var(--bg-dark);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.3);
}

.project-card .view-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
    color: var(--bg-dark);
}

/* Project card content styling */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.project-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.project-card-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

/* Responsive Design for Projects Page */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }

    .page-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-description {
        font-size: 1.1rem;
    }

    .project-summary {
        flex-direction: column;
        gap: 15px;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-card-title {
        font-size: 1.3rem;
    }

    .project-card-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .page-header-section {
        padding: 60px 0;
    }

    .projects-section {
        padding: 60px 0;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .project-card-content {
        padding: 20px;
    }
}

/* Project Page Layout Styles - New Design */
.project-page-layout {
    min-height: 100vh;
    padding: 0;
    max-width: 100%;
}

/* Project Header Section */
.project-header-section {
    padding: 80px 0;
    margin-bottom: 0;
}

.project-header-content {
    max-width: 100%;
    padding: 0 60px;
}

.project-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.project-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 800px;
    font-weight: 400;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.status-label, .category-label, .tools-label, .platform-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.status-badge, .category-badge, .tools-badge, .platform-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.category-badge {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.tools-badge {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.platform-badge {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-gold);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Dynamic Carousel Styles */
.carousel-section {
    padding: 80px 60px;
    margin-bottom: 0;
}

.carousel-container {
    max-width: 100%;
    margin: 0 auto;
}

.project-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--border-primary);
    background: var(--bg-dark);
}

/* Carousel Item Styling */
.project-carousel .carousel-item {
    height: 600px;
    background: var(--bg-dark);
}

.project-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Carousel Caption Styling */
.project-carousel .carousel-caption {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.8) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
    border-radius: 12px;
    padding: 40px 50px 30px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.project-carousel .carousel-caption h5 {
    color: var(--primary-gold);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-carousel .carousel-caption p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Carousel Controls Styling */
.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
}

.project-carousel .carousel-control-prev:hover,
.project-carousel .carousel-control-next:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.project-carousel .carousel-control-prev-icon,
.project-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: invert(1) brightness(0.8);
}

/* Carousel Indicators Styling */
.project-carousel .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.project-carousel .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    border: 2px solid var(--border-primary);
    margin: 0 6px;
    transition: all 0.3s ease;
}

.project-carousel .carousel-indicators button.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.project-carousel .carousel-indicators button:hover {
    background: rgba(251, 191, 36, 0.6);
    border-color: var(--primary-gold);
    transform: scale(1.2);
}

/* Main Content - Full Width */
.project-main-content {
    max-width: 100%;
    padding: 0;
}

/* Project Sections - Simple and Clean, No Individual Borders */
.project-section {
    padding: 80px 60px;
    margin-bottom: 0;
}

.project-section:last-child {
    border-bottom: none;
}

/* Section Titles - Simple Typography */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 40px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Project Overview - Clean Layout */
.overview-content {
    max-width: 100%;
}

.project-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

.objectives-section {
    max-width: 100%;
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.objectives-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 20px 25px;
    background: rgba(30, 41, 59, 0.2);
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    position: relative;
    padding-left: 30px;
}

.objectives-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Data Overview - Simple Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.data-item {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    padding: 35px;
}

.data-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.data-list li:last-child {
    border-bottom: none;
}

/* Key Findings - Clean Layout */
.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.finding-item {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    padding: 35px;
}

.finding-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.finding-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.finding-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.finding-list li:last-child {
    border-bottom: none;
}

/* Analysis Techniques - Simple Grid */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.technique-item {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    padding: 35px;
    height: 100%;
}

.technique-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.technique-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.technique-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.technique-list li:last-child {
    border-bottom: none;
}

/* Business Impact - Clean Layout */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.impact-item {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    padding: 35px;
}

.impact-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.impact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.impact-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.impact-list li:last-child {
    border-bottom: none;
}

/* Learning Outcomes - Simple Layout */
.learning-content {
    max-width: 100%;
}

.learning-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

.learning-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.learning-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 20px 25px;
    background: rgba(30, 41, 59, 0.2);
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    position: relative;
    padding-left: 30px;
}

.learning-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Project Links - Only GitHub */
.project-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: rgba(30, 41, 59, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid var(--border-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.link-icon {
    font-size: 1.1rem;
}

.link-text {
    font-weight: 500;
}

/* GitHub Link - Special Styling */
.github-link {
    background: rgba(36, 41, 46, 0.3) !important;
    border-color: #586069 !important;
    color: #f6f8fa !important;
}

.github-link:hover {
    background: rgba(36, 41, 46, 0.5) !important;
    border-color: #8b949e !important;
    color: #f6f8fa !important;
}

/* Back Button - Simple */
.back-section {
    text-align: center;
    margin-top: 50px;
    padding: 0 60px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(30, 41, 59, 0.3);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.back-icon {
    font-size: 1rem;
}

.back-text {
    font-weight: 500;
}

/* Responsive Design - Simple */
@media (max-width: 1024px) {
    .project-title {
        font-size: 2.5rem;
    }

    .data-grid,
    .findings-grid,
    .techniques-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-section {
        padding: 60px 40px;
    }

    .project-header-content {
        padding: 0 40px;
    }

    .carousel-section {
        padding: 60px 40px;
    }

    .project-carousel .carousel-item {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2.2rem;
    }

    .project-subtitle {
        font-size: 1.1rem;
    }

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

    .project-section {
        padding: 50px 30px;
    }

    .project-header-section {
        padding: 60px 0;
    }

    .project-header-content {
        padding: 0 30px;
    }

    .carousel-section {
        padding: 50px 30px;
    }

    .project-carousel .carousel-item {
        height: 350px;
    }

    .project-carousel .carousel-control-prev,
    .project-carousel .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 20px;
    }

    .project-carousel .carousel-caption {
        bottom: 20px;
        width: 95%;
        padding: 15px 20px;
    }

    .project-carousel .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .project-carousel .carousel-caption p {
        font-size: 0.9rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

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

    .project-section {
        padding: 40px 20px;
    }

    .project-header-content {
        padding: 0 20px;
    }

    .carousel-section {
        padding: 40px 20px;
    }

    .project-carousel .carousel-item {
        height: 300px;
    }

    .project-carousel .carousel-control-prev,
    .project-carousel .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 15px;
    }

    .project-carousel .carousel-caption {
        bottom: 15px;
        padding: 12px 16px;
    }

    .project-carousel .carousel-caption h5 {
        font-size: 1.1rem;
    }

    .project-carousel .carousel-caption p {
        font-size: 0.85rem;
    }

    .data-grid,
    .findings-grid,
    .techniques-grid,
    .impact-grid {
        gap: 25px;
    }
}

/* Custom Carousel Styles */
.custom-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 2px solid var(--border-primary);
    background: var(--bg-dark);
}

/* Mobile-first responsive carousel */
@media (max-width: 768px) {
    .custom-carousel {
        height: 350px;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .custom-carousel {
        height: 300px;
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .custom-carousel {
        height: 250px;
        border-radius: 10px;
    }
}

.carousel-images-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
    cursor: pointer;
}

.carousel-image.active {
    opacity: 1;
    z-index: 2;
}

.carousel-image:hover {
    transform: scale(1.02);
}

/* Navigation Buttons - Overlay on Images */
.carousel-navigation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;

}

.carousel-nav {
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--border-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    color: var(--primary-gold);
    font-size: 24px;
}

/* Mobile navigation adjustments */
@media (max-width: 768px) {
    .carousel-navigation {
        padding: 0 20px;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .carousel-navigation {
        padding: 0 15px;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 360px) {
    .carousel-navigation {
        padding: 0 10px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

.carousel-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-nav:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--primary-gold);
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.carousel-nav:hover::before {
    opacity: 1;
}

.carousel-nav:active {
    transform: scale(0.95);
}

.nav-arrow {
    color: var(--primary-gold);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    user-select: none;
    z-index: 1;
    position: relative;
}

/* Mobile arrow sizing */
@media (max-width: 768px) {
    .nav-arrow {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .nav-arrow {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .nav-arrow {
        font-size: 18px;
    }
}

/* Carousel Captions */
.carousel-captions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.8) 50%,
        rgba(15, 23, 42, 0.4) 100%
    );
    padding: 40px 50px 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
    backdrop-filter: blur(10px);
}

/* Mobile caption adjustments */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 25px 30px 20px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-caption {
        padding: 20px 25px 15px;
        bottom: 15px;
    }
}

@media (max-width: 360px) {
    .carousel-caption {
        padding: 15px 20px 10px;
        bottom: 10px;
    }
}

.carousel-caption.active {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption-title {
    color: var(--primary-gold);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile caption text sizing */
@media (max-width: 768px) {
    .carousel-caption-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .carousel-caption-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .carousel-caption-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .carousel-caption-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .carousel-caption-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .carousel-caption-text {
        font-size: 0.8rem;
    }
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.carousel-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    border: 2px solid var(--border-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Mobile indicator adjustments */
@media (max-width: 768px) {
    .carousel-indicators {
        bottom: 15px;
        gap: 10px;
    }

    .carousel-indicator {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-indicators {
        bottom: 12px;
        gap: 8px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
}

.carousel-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.carousel-indicator:hover {
    background: rgba(251, 191, 36, 0.6);
    border-color: var(--primary-gold);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: transparent;
    border-color: var(--primary-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.carousel-indicator.active::before {
    transform: scale(1);
}

/* Responsive Design for Custom Carousel */


@media (max-width: 768px) {
    .carousel-nav {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px;
        min-height: 44px;
    }

    .carousel-indicator {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .carousel-nav {
        min-width: 48px;
        min-height: 48px;
        border-width: 2px;
    }

    .carousel-indicator {
        min-width: 48px;
        min-height: 48px;
    }
}



/* Mobile-specific enhancements */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .carousel-nav:hover {
        transform: translateY(-50%) scale(1);
    }

    .carousel-nav:active {
        transform: translateY(-50%) scale(0.95);
        background: rgba(15, 23, 42, 0.98);
        border-color: var(--primary-gold);
    }

    .carousel-indicator:hover {
        transform: scale(1);
    }

    .carousel-indicator:active {
        transform: scale(0.9);
        background: rgba(251, 191, 36, 0.8);
    }

    /* Larger touch targets for mobile */
    .carousel-nav {
        min-width: 44px;
        min-height: 44px;
    }

    .carousel-indicator {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Landscape mobile optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .custom-carousel {
        height: 250px;
    }

    .carousel-caption {
        bottom: 10px;
        padding: 15px 25px 10px;
    }

    .carousel-caption-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .carousel-caption-text {
        font-size: 0.9rem;
    }

    .carousel-navigation {
        padding: 0 15px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .nav-arrow {
        font-size: 16px;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-nav {
        border-width: 1.5px;
    }

    .carousel-indicator {
        border-width: 1.5px;
    }

    .carousel-caption {
        border-width: 1px;
    }
}

/* Accessibility improvements for mobile */
@media (prefers-reduced-motion: reduce) {
    .custom-carousel * {
        transition: none !important;
        animation: none !important;
    }
}

/* Mobile swipe gesture support */
@media (pointer: coarse) {
    .custom-carousel {
        touch-action: pan-y pinch-zoom;
    }

    .carousel-images-container {
        touch-action: pan-y pinch-zoom;
    }
}

/* Ensure proper image display on mobile */
@media (max-width: 768px) {
    .carousel-image {
        object-fit: contain;
    }

    .carousel-image.active {
        display: block !important;
    }

    .carousel-image:not(.active) {
        display: none !important;
    }
}

/* Additional Mobile Responsiveness for Custom Carousel */
@media (max-width: 768px) {
    .gallery-content {
        padding: 0 10px;
    }

    .custom-carousel {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .gallery-content {
        padding: 0 5px;
    }

    .custom-carousel {
        border-radius: 15px;
    }

    .carousel-caption {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
        padding: 15px 20px 10px;
        bottom: 10px;
    }

    .carousel-caption-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .carousel-caption-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Mobile touch optimizations */
    .carousel-nav {
        min-width: 48px;
        min-height: 48px;
        border-width: 2px;
    }

    .carousel-indicator {
        min-width: 48px;
        min-height: 48px;
    }
}

@media (max-width: 360px) {
    .custom-carousel {
        height: 280px;
        border-radius: 12px;
    }

    .carousel-caption {
        padding: 12px 16px 8px;
        bottom: 8px;
        width: 98%;
    }

    .carousel-caption-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .carousel-caption-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .carousel-navigation {
        padding: 0 8px;
    }

    .carousel-nav {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    .nav-arrow {
        font-size: 14px;
    }

    .carousel-indicators {
        bottom: 8px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
        min-width: 32px;
        min-height: 32px;
    }
}

/* Ensure proper image display on all devices */
.carousel-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease;
}

.carousel-image.active {
    display: block;
    opacity: 1;
}

/* Mobile-first approach for better responsiveness */
@media (max-width: 1024px) {
    .gallery-content {
        max-width: 100%;
    }

    .custom-carousel {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Landscape mobile optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .custom-carousel {
        height: 200px;
    }

    .carousel-caption {
        bottom: 5px;
        padding: 10px 20px 8px;
    }

    .carousel-caption-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .carousel-caption-text {
        font-size: 0.8rem;
    }

    .carousel-navigation {
        padding: 0 10px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .nav-arrow {
        font-size: 14px;
    }
}