:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --border-color: rgba(99, 102, 241, 0.2);
    --shadow-glow: none;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: all 0.4s ease;
}

::selection {
    background: var(--accent-primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

/* Navbar */
.navbar {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}



.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}



/* Mobile navbar controls wrapper */
.navbar-mobile-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236366f1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* Coding background effect */
.coding-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.coding-bg span {
    position: absolute;
    color: var(--accent-primary);
    opacity: 0.1;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-weight: 600;
    font-size: 1.2rem;
    animation: coding-float 15s linear infinite;
    white-space: nowrap;
}

@keyframes coding-float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-20vh) translateX(20px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-clip: text;
}

.hero-typing {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: 'Fira Code', monospace;
}

.typing-text {
    color: var(--accent-primary);
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-primary);
    animation: blink 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Hero Photo Styles */
.hero-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
}

.hero-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: none;
    background: var(--bg-card);
    /* margin-top: 40px; */
}

.hero-photo-placeholder {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 4px solid var(--accent-primary);
    box-shadow: none;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-placeholder i {
    font-size: 8rem;
    color: var(--accent-primary);
}

@media (max-width: 991px) {
    .hero-photo-wrapper {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .hero-photo,
    .hero-photo-placeholder {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 991px) {
    .hero-photo-wrapper {
        margin-top: 3rem;
    }

    .hero-photo,
    .hero-photo-placeholder {
        width: 220px;
        height: 220px;
    }

    .skill-badge-2 {
        left: 0;
    }

    .skill-badge-3 {
        right: 0;
    }
}

/* Buttons */
.btn-primary-custom {
    background: var(--accent-gradient);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--accent-primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* About Section */
.about-text-content {
    padding-right: 0;
}

@media (min-width: 992px) {
    .about-text-content {
        padding-right: 2rem;
    }
}

.about-text-content h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text-secondary {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.traits-container {
    margin-top: 1.5rem;
}

.trait-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.trait-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Code Card */
.code-card {
    background: #1e1e2e;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: 'Fira Code', monospace;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.code-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: #2a2a3c;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3a3a4c;
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-right: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.file-name {
    color: #a0a0b0;
    font-size: 0.9rem;
    margin-left: auto;
    margin-right: auto;
}

.card-body {
    padding: 1.5rem;
}

.code-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.indent {
    padding-left: 1.5rem;
}

/* Unused class removed */

/* Syntax Highlighting */
.keyword {
    color: #c084fc;
    /* Purple - Increased Saturation */
}

.variable {
    color: #fca5a5;
    /* Light Red */
}

.operator {
    color: #67e8f9;
    /* Cyan */
}

.brace {
    color: #e2e8f0;
    /* Light Slate */
}

.property {
    color: #60a5fa;
    /* Blue */
}

.string {
    color: #4ade80;
    /* Green */
}

.boolean {
    color: #fb923c;
    /* Orange */
}

.comment {
    color: #94a3b8;
    /* Slate */
    font-style: italic;
}

/* Education Section */
.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.education-year {
    display: inline-block;
    background: var(--accent-gradient);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.education-degree {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-institute {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.education-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.education-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.education-card:hover .education-icon {
    background: var(--accent-primary);
    color: #fff;
    transform: rotateY(180deg);
}

/* Skills Section */
/* Skills Section */
.resume-btn {
    display: inline-flex;
    align-items: center;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.resume-btn:hover {
    background: var(--accent-primary);
    color: #fff;
    transform: translateY(-2px);
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.skill-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex-shrink: 0;
}

.skill-icon-custom {
    font-size: 2rem;
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.skill-bar {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
    width: 100%;
}

.skill-progress {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}

.skill-percent {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: right;
    margin-left: auto;
}

/* Projects Section */
/* Projects Section */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.project-img-wrapper {
    overflow: hidden;
    height: 200px;
    width: 100%;
    position: relative;
    background: var(--bg-secondary);
}

.project-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-real {
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-size: 1.25rem;
}

.project-card:hover .project-title {
    color: var(--accent-primary);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    line-height: 1.6;
}

.tech-stack-container {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-divider {
    border-color: var(--border-color);
    opacity: 0.3;
    margin: 0.5rem 0 1.25rem;
}

.project-action-buttons {
    display: flex;
    gap: 1rem;
}

.project-action-buttons .btn {
    flex: 1;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-github {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-github:hover {
    background: #fff;
    color: #0d1117;
    border-color: #fff;
}

.btn-live {
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: #fff;
}

.btn-live:hover {
    background: transparent;
    color: var(--accent-primary);
}

/* Hobby & Future Skills Section */
.hobby-future {
    background: var(--bg-secondary);
}

.hobby-future-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.hobby-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.hobby-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hobby-text {
    color: var(--text-secondary);
}

.future-skill-badge {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.future-skill-badge:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.vertical-divider {
    width: 2px;
    background: var(--accent-gradient);
    min-height: 200px;
    margin: 0 auto;
    border-radius: 1px;
}

@media (max-width: 991px) {
    .vertical-divider {
        display: none;
    }
}

/* Team Portfolio Section */
.team-portfolio-section {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.team-portfolio-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.team-portfolio-section .section-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-portfolio-section .section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Statistics Card */
.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.25rem;
}

/* Loading State */
#teamLoading {
    padding: 4rem 0;
}

#teamLoading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: var(--accent-primary);
}

#teamLoading p {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Error State */
#teamError {
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    color: var(--text-primary);
}

#teamError i {
    color: var(--accent-primary);
}

#teamError .btn-primary {
    background: var(--accent-gradient);
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#teamError .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

/* Empty State */
#teamEmpty {
    padding: 4rem 0;
}

#teamEmpty i {
    color: var(--text-secondary);
}

#teamEmpty h4,
#teamEmpty p {
    color: var(--text-secondary);
}

/* Team Cards */
#teamContainer {
    display: flex !important;
    flex-wrap: wrap !important;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

/* Card Image Container */
.card-image-container {
    position: relative;
    width: 100%;
    padding-top: 60%;
    /* Reduced height for shorter cards */
    background: var(--bg-secondary);
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.card-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
    box-shadow: none;
    transition: all 0.3s ease;
}

.team-card:hover .card-image {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: none;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* Portfolio Button */
.member-portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    /* Reduced padding */
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.8rem;
    /* Reduced font size */
    transition: all 0.3s ease;
    margin-top: auto;
}

.member-portfolio-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: none;
}

.member-portfolio-btn i {
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .team-portfolio-section {
        padding: 4rem 0;
    }

    .team-portfolio-section .section-title {
        font-size: 2rem;
    }

    .stats-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .team-portfolio-section {
        padding: 3rem 0;
    }

    .team-portfolio-section .section-title {
        font-size: 1.75rem;
    }

    .team-portfolio-section .section-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    .member-name {
        font-size: 1.1rem;
    }

    .member-role {
        font-size: 0.9rem;
    }
}

/* Custom 5-column layout for Team Section */
@media (min-width: 992px) {
    .col-lg-5-custom {
        flex: 0 0 auto;
        width: 20%;
        /* 5 columns for Large screens and up */
    }
}

/* Contact Section */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 1.5rem;
}

.trait-btn:nth-child(1) i {
    color: #f43f5e;
    /* Rose */
}

.trait-btn:nth-child(2) i {
    color: #fbbf24;
    /* Amber */
}

.trait-btn:nth-child(3) i {
    color: #3b82f6;
    /* Blue */
}

.trait-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    box-shadow: none;
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    font-weight: 700;
    font-size: 1.75rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.copyright a {
    color: var(--accent-primary);
    text-decoration: none;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    color: var(--accent-primary);
}

.back-to-top i {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: #fff;
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

@media (max-width: 767px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Code Styling for About Section */
.code-container {
    background-color: #1e1e2e;
    color: #d9e0ee;
    font-family: 'Fira Code', 'Courier New', monospace;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.code-id {
    color: #abe9b3;
    /* Greenish for selector */
    font-weight: 600;
}

.code-brace {
    color: #fae3b0;
    /* Yellowish for braces */
}

.code-key {
    color: #89dceb;
    /* Cyan for properties */
    padding-left: 1.5rem;
}

.code-colon {
    color: #d9e0ee;
}

.code-val-str {
    color: #f2cdcd;
    /* Pinkish for strings */
}

.code-val-num {
    color: #f8bd96;
    /* Peach for numbers */
}

.code-val-const {
    color: #cba6f7;
    /* Purple for constants */
}

.code-semicolon {
    color: #d9e0ee;
}

/* Collaborative Development Section */
.collab-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    /* Matches theme secondary background */
    padding: 6rem 0;
}

.collab-content {
    padding-right: 20px;
}

.collab-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border: 1px solid var(--accent-primary);
    box-shadow: none;
}

.collab-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.collab-title .highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.collab-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.collab-img-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 1px solid var(--border-color);
}

.collab-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.5s ease;
    display: block;
}

.collab-img-wrapper:hover .collab-img {
    transform: scale(1.03);
}

.collab-decoration {
    display: none;
}

/* Mobile Responsiveness for Collab Section */
@media (max-width: 991px) {
    .collab-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
}


.collab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.collab-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}