/* FIS / Senior DevOps Theme */
:root {
    --primary_color: #00bfff;
    /* Bright Cyan/Blue for accents (Modern DevOps) */
    --fis_blue: #004b87;
    /* FIS Corporate Blue */
    --fis_dark: #0a192f;
    /* Deep Navy Background */
    --fis_slate: #172a45;
    /* Lighter Navy for cards */
    --text_main: #ccd6f6;
    /* Off-white text */
    --text_secondary: #8892b0;
    /* Muted text */
    --code_font: 'Fira Code', 'Roboto Mono', monospace;
}

body {
    background-color: var(--fis_dark);
    color: var(--text_main);
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #e6f1ff;
    font-family: 'Inter', sans-serif;
}

/* Override Sidebar/Menu Backgrounds */
.left-sidebar,
.responsive-sidebar-menu .sidebar-menu-inner,
.global-color .inner .global-color-option {
    background: var(--fis_slate) !important;
    border-color: var(--fis_blue) !important;
}

.menu {
    background: var(--fis_slate);
    border-color: var(--fis_blue);
}

/* Buttons */
.theme-btn {
    background: transparent;
    border-color: var(--primary_color);
    color: var(--primary_color);
    font-family: var(--code_font);
}

.theme-btn:hover {
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary_color);
}

/* Card/Box Styling */
.services-items .service-item,
.portfolio-item,
.resume-timeline .item,
.skill .skill-inner {
    background: var(--fis_slate);
    border: 1px solid #233554;
    border-radius: 8px;
    transition: all 0.3s ease;
}


/* Shared Premium Card Styles for Skills & Projects */
.services-items .service-item:hover,
.portfolio-item:hover,
.resume-timeline .item:hover,
.skill-category:hover,
.case-study-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary_color);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.3), inset 0 0 10px rgba(0, 191, 255, 0.1);
    /* Neon Glow */
}

.skill-category,
.case-study-card {
    background: rgba(23, 42, 69, 0.7);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Typography Overrides */
.subtitle {
    font-family: var(--code_font);
    color: var(--primary_color);
    border-color: var(--primary_color);
    background: rgba(0, 191, 255, 0.05);
}

.hero-section .hero-content h1 span,
.section-header h1 span {
    color: var(--primary_color);
}

/* Terminal Aesthetic for specific elements */
.designation {
    font-family: var(--code_font);
    color: var(--primary_color) !important;
}

/* Hide the flashy "Global Color" settings cog */
.global-color .setting-toggle {
    display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar-track {
    background: var(--fis_dark);
}

::-webkit-scrollbar-thumb {
    background: var(--fis_slate);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Case Study Card Specifics */
.case-study-card {
    /* Base styles handled by shared premium rule above */
    padding: 25px;
}

.case-study-visual {
    background: #0f2038;
    border-radius: 6px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px dashed #304a70;
}

.case-study-visual i {
    font-size: 64px;
    color: var(--primary_color);
    opacity: 0.8;
}

.case-study-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #e6f1ff;
    font-weight: 500;
}

.case-study-content p {
    font-size: 15px;
    color: var(--text_secondary);
    margin-bottom: 20px;
}

.impact-metric {
    font-family: var(--code_font);
    color: var(--primary_color);
    font-size: 14px;
    background: rgba(0, 191, 255, 0.08);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-top: auto;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

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

/* Experience & Education Redesign */
.resume-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.resume-column {
    flex: 1;
    min-width: 300px;
}

.resume-column h3 {
    font-size: 24px;
    color: var(--primary_color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resume-item {
    background: var(--fis_slate);
    border: 1px solid #233554;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary_color);
}

.resume-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.resume-item .year {
    display: inline-block;
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary_color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 12px;
    font-family: var(--code_font);
}

.resume-item h2 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}

/* Core Competencies (Specializations) Redesign - Premium V2 */
.feature-card {
    background: rgba(23, 42, 69, 0.7);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centered layout */
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    background: rgba(23, 42, 69, 0.9);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary_color);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.3), inset 0 0 10px rgba(0, 191, 255, 0.1);
    /* Neon Glow */
}

.feature-icon {
    width: 80px;
    /* Larger icons */
    height: 80px;
    background: rgba(0, 191, 255, 0.05);
    border-radius: 50%;
    /* Circular */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary_color);
    font-size: 36px;
    border: 1px solid rgba(0, 191, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.1);
}

.feature-card:hover .feature-icon {
    background: var(--primary_color);
    color: var(--fis_dark);
    transform: rotateY(360deg);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
}

.feature-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #b0c4de;
    margin-bottom: 25px;
}

.feature-list {
    margin-top: auto;
    width: 100%;
    text-align: left;
    /* Keep list left-aligned for readability */
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #cfd9e8;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.feature-list li i {
    color: var(--primary_color);
    font-size: 16px;
}

.resume-item .company {
    color: var(--text_secondary);
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.resume-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #a8b2d1;
}

.resume-item ul {
    margin-top: 10px;
    padding-left: 15px;
    list-style: disc;
    color: #8892b0;
}

.resume-item ul li {
    font-size: 14px;
    margin-bottom: 5px;
}

/* Tech Grid (Skills Redesign) */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.tech-item i {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--primary_color);
    transition: all 0.3s ease;
}

.tech-item span {
    font-size: 11px;
    color: #cfd9e8;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
}

.tech-item:hover {
    background: rgba(0, 191, 255, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary_color);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.tech-item:hover i {
    transform: scale(1.2);
    color: #fff;
    text-shadow: 0 0 10px var(--primary_color);
}

/* Mini Tech Grid for Case Studies */
.mini-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.mini-tech-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: #cfd9e8;
    transition: all 0.3s ease;
}

.mini-tech-item i {
    font-size: 18px;
    color: var(--primary_color);
}

.mini-tech-item:hover {
    background: rgba(0, 191, 255, 0.15);
    border-color: var(--primary_color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}