:root {
    --bg-color: #0B1D2A;
    --surface-color: #0F2A3D;
    --primary-color: #FF6B4A;
    --secondary-color: #F97316;
    --text-color: #F3F4F6;
    --text-muted: #9CA3AF;
    --divider-color: #1F3A4D;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.5);
}

* {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Bootstrap Override - Text Muted */
.text-muted {
    color: var(--text-muted) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--surface-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.profile-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

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

.profile-container {
    position: relative;
    display: inline-block;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--surface-color) 100%) !important;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.navbar-brand .text-primary {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-dark .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .nav-link:hover::after,
.navbar-dark .nav-link.active::after {
    width: 100%;
}

.navbar-dark .nav-link:hover {
    color: white !important;
}

/* Section Headers */
.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.header-line {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-top: 1rem;
}

/* Education Cards */
.education-card {
    background: var(--surface-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
}

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

.education-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 60px;
    display: flex;
    align-items: flex-start;
}

.education-card .card-content {
    flex: 1;
}

.education-card h4 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Experience Cards */
.experience-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.experience-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.experience-card h4 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.experience-card .position-item {
    padding-bottom: 1.5rem;
}

.experience-card .position-item:not(:last-child) {
    border-bottom: 1px solid var(--divider-color);
}

.experience-card h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Skill Cards */
.skill-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

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

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--divider-color);
}

.skill-card-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.skill-card-header h5 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.skill-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.15), rgba(249, 115, 22, 0.1));
    color: var(--primary-color);
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 74, 0.3);
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Certificate Images */
.cert-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 200px;
}

.cert-image-wrapper:hover {
    box-shadow: var(--shadow-md);
}

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

.cert-image-wrapper:hover .cert-image {
    transform: scale(1.05);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.85), rgba(249, 115, 22, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-image-wrapper:hover .cert-overlay {
    opacity: 1;
}

.cert-title {
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
}

/* Achievement Cards */
.achievement-card {
    display: block;
    padding: 2rem 1.5rem;
    border: 2px solid var(--divider-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--surface-color);
    color: var(--text-color);
}

.achievement-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.achievement-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.achievement-card h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-card .badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.15), rgba(249, 115, 22, 0.1));
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Buttons */
.btn-primary, .btn-outline-primary {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 74, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Body & HTML Structure for Sticky Footer */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--surface-color) 100%) !important;
    border-top: 1px solid var(--divider-color);
    margin-top: auto;
    padding: 2rem 1rem !important;
}

footer .container-lg {
    max-width: 1200px;
}

footer p {
    margin: 0;
    padding: 0.25rem 0;
}

footer .footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 1rem !important;
    }
    
    footer p {
        font-size: 0.9rem;
    }
}

/* Utilities */
.min-vh-75 {
    min-height: 75vh;
}

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

.bg-primary {
    background-color: var(--primary-color) !important;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section::before {
        display: none;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .skill-card {
        min-height: auto;
    }

    .social-links {
        justify-content: flex-start;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .btn-primary, .btn-outline-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
    }

    .cert-image-wrapper {
        height: 150px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


