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

:root {
    --primary-color: #0078d4;
    --secondary-color: #106ebe;
    --dark-bg: #0d1117;
    --darker-bg: #010409;
    --card-bg: #161b22;
    --light-bg: #1f2937;
    --text-dark: #e6edf3;
    --text-light: #8b949e;
    --border-color: #30363d;
    --accent-color: #00bcf2;
    --hover-bg: #21262d;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--darker-bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Quick Navigation */
.quick-nav {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quick-nav .container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.quick-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.quick-nav a:hover {
    color: var(--text-dark);
    background-color: var(--hover-bg);
    transform: translateY(-2px);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

header .container {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: slideDown 0.8s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0;
    font-weight: 300;
    min-height: 30px;
}

/* Main Content */
main {
    padding: 40px 20px;
}

section {
    margin-bottom: 60px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    scroll-margin-top: 100px;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

/* Intro Section */
.intro .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.expertise-card {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 120, 212, 0.15);
}

.expertise-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.expertise-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Certifications */
.cert-list {
    list-style: none;
}

.cert-list li {
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

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

.cert-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-weight: bold;
}

/* Professional Experience */
.experience .job {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.experience .job:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.job-header {
    margin-bottom: 20px;
}

.job-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.job-header .company {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 15px;
}

.job-header .period {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.achievements {
    list-style: none;
    padding-left: 0;
}

.achievements li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.7;
    color: var(--text-dark);
}

.achievements li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.achievements strong {
    color: var(--primary-color);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.project-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 120, 212, 0.15);
}

.project-card.highlight {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 5px solid var(--accent-color);
    margin-bottom: 25px;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.project-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.project-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.project-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-linkedin:hover {
    background-color: #005885;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 119, 181, 0.3);
}

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

.btn-email:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 120, 212, 0.3);
}

.btn-booking {
    background: linear-gradient(135deg, #107C10, #00A36C);
    color: white;
}

.btn-booking:hover {
    background: linear-gradient(135deg, #0e6b0e, #008f5d);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 124, 16, 0.3);
}

.location {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    color: var(--text-dark);
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quick-nav .container {
        gap: 5px;
        padding: 10px;
    }

    .quick-nav a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    header h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 25px;
    }

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

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

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

    .job-header .company,
    .job-header .period {
        display: block;
    }

    .job-header .period {
        margin-top: 5px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .intro .lead {
        font-size: 1rem;
    }

    section {
        padding: 20px;
    }

    .achievements li {
        padding-left: 25px;
        font-size: 0.95rem;
    }

    .project-card h4 {
        font-size: 1.1rem;
    }
}

/* ========== MODERN ENHANCEMENTS ========== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.4);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.6);
}

/* Particles Animation */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Fade In Animations */
.fade-out {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Down Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}

/* Enhanced Card Transitions */
.expertise-card,
.project-card {
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer Effect for Highlights */
.project-card.highlight {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--light-bg) 100%);
    position: relative;
    overflow: hidden;
}

.project-card.highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Pulse Animation for Badges */
.cert-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 120, 212, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 120, 212, 0);
    }
}

/* Gradient Text Animation */
h2 {
    background: linear-gradient(45deg, var(--text-dark), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon Bounce on Hover */
.expertise-card .icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.expertise-card:hover .icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Loading Animation for Images */
img {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced Button Hover States */
.btn-linkedin,
.btn-email {
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-linkedin::before,
.btn-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 8px;
}

.btn-linkedin:hover::before,
.btn-email:hover::before {
    width: 100%;
}

/* Glassmorphism Effect for Cards */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
    .expertise-card,
    .project-card {
        background: rgba(22, 27, 34, 0.8);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Smooth Transitions for All Interactive Elements */
a, button, .expertise-card, .project-card, .cert-list li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
/* Additional Dark Theme Styles */
.cert-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cert-table th,
.cert-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cert-table th {
    background-color: var(--light-bg);
    color: var(--accent-color);
    font-weight: 600;
}

.cert-table tr:hover {
    background-color: var(--hover-bg);
}

.partner-designations {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.partner-designations h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.partner-designations ul {
    list-style: none;
    padding-left: 0;
}

.partner-designations li {
    padding: 8px 0;
    color: var(--text-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 120, 212, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

.services-list p {
    padding: 10px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.job-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.specialization-section {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.specialization-section h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.specialization-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
}

.specialization-section ul {
    list-style: none;
    padding-left: 0;
}

.specialization-section ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    line-height: 1.7;
}

.specialization-section ul li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.help-list {
    list-style: none;
    padding-left: 0;
}

.help-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    line-height: 1.7;
    color: var(--text-dark);
}

.help-list li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}