:root {
    --primary: #0A2540;
    --secondary: #4A5568;
    --accent: #2563EB;
    --bg-main: #FFFFFF;
    --bg-section: #F8F9FA;
    --font-family: 'Inter', sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--secondary);
    background-color: var(--bg-main);
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-primary {
    color: var(--primary) !important;
}

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

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

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

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

/* Custom Overrides */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.brand-logo {
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 800;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-section) 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-padding {
    padding: 100px 0;
}

/* Badges */
.custom-badge {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Animations & Transitions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.card,
.btn-elevate,
.social-icon-link {
    transition: all 0.3s ease;
}

/* Shadows and Cards */
.skill-card,
.edu-card {
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 15px rgba(0, 0, 0, 0.04);
}

/* Hover States (Crucial micro-animations) */
.skill-card:hover,
.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(10, 37, 64, 0.08), 0 20px 25px rgba(10, 37, 64, 0.05);
}

.btn-elevate {
    border-radius: 8px;
    font-weight: 600;
}

.btn-elevate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(10, 37, 64, 0.15);
}

/* Custom Outlined Button Fixes */
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--primary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(10, 37, 64, 0.15);
}

/* Experience Hybrid Styles */
.experience-tabs .nav-link {
    color: var(--secondary);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.experience-tabs .nav-link:hover {
    background-color: var(--bg-section);
    transform: translateX(4px);
    border-color: rgba(0, 0, 0, 0.05);
}

.experience-tabs .nav-link.active {
    background-color: var(--primary);
    color: white;
    transform: translateX(0);
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.15);
}

/* Accordion Specific Overrides */
.accordion-button {
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Lists styling */
.exp-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.exp-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: inherit;
}

ul.exp-list {
    list-style-type: none;
    padding-left: 0;
}

/* Decorative elements */
.decorative-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
}

.hero-img {
    position: relative;
    z-index: 2;
    border: 8px solid white;
}

/* Ensure nice form elements */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}