/* ==========================================
   Professional Portfolio CSS
   ========================================== */

/* CSS Variables for easy customization */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-alt: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 200px;
    background-color: var(--bg-color);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 2rem 0;
}

.sidebar-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: var(--bg-alt);
}

.sidebar-menu a.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background-color: var(--bg-alt);
}

/* Sidebar Submenu */
.sidebar-menu .has-submenu {
    margin: 2rem 0;
}

.sidebar-menu .menu-parent {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
    cursor: default;
    border-left: 3px solid transparent;
}

.sidebar-menu .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 1rem;
}

.sidebar-menu .submenu li {
    margin: 0.5rem 0;
}

.sidebar-menu .submenu a {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Main Content Wrapper */
.main-content {
    margin-left: 200px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: #f5f5f5;
    color: #1a1a1a;
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-photo {
    flex: 0 0 auto;
}

.profile-image-hero {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.profile-image-hero:hover {
    transform: translateZ(0) scale(1.05);
    -webkit-transform: translateZ(0) scale(1.05);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1a1a1a;
    animation: fadeInUp 0.8s ease-out;
}

.hero .tagline-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333333;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero .tagline {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #555555;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Hero Contact Links */
.hero-contact-links {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    margin-top: 1rem;
}

.hero-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background-color: transparent;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid #1a1a1a;
    transition: all 0.3s;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
    white-space: nowrap;
}

.hero-contact-btn:hover {
    background-color: #1a1a1a;
    color: white;
    transform: translateY(-2px);
}

.hero-contact-btn span {
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background-color: #1a1a1a;
    color: white;
}

/* Sections */
.section {
    padding: 5rem 0;
}

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

/* Dynamic sections with fade-in animation */
.dynamic-section {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* About Section */
#about {
    animation: fadeIn 0.4s ease-in;
}

/* About Me Section */
.about-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.about-nav-btn {
    padding: 0.875rem 1.75rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.about-nav-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.about-topic-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.about-topic-content.active {
    display: block;
}

.about-content {
    max-width: 1200px;
    margin: 0;
    text-align: left;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Professional Experience Section */
.experience-content {
    max-width: 1200px;
    margin: 0;
    text-align: left;
}

.experience-item {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.experience-item.condensed {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.company-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-item.condensed .company-name {
    font-size: 1.5rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.experience-item.condensed .job-title {
    font-size: 1.125rem;
}

.job-location-date {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.job-summary {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.experience-item.condensed .job-summary {
    margin-bottom: 0;
}

.job-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-highlights li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.job-highlights li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.job-highlights li:last-child {
    margin-bottom: 0;
}

.experience-section-divider {
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

/* Certifications Section */
.certifications-content {
    max-width: 1200px;
    margin: 0;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    padding: 1.75rem;
    background-color: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.cert-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-left-width: 6px;
}

.cert-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-issuer-date {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cert-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Projects Section */
.projects-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-nav-btn {
    padding: 0.75rem 2rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.project-nav-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.project-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.project-content.active {
    display: block;
}

.project-details {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: left;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* ==========================================
   Elite Hire Case Study Styles
   ========================================== */

.case-study-header {
    text-align: center;
    margin-bottom: 3rem;
}

.case-study-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-subtitle {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-top: -1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Case Study Grid */
.case-study-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

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

.card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-alt);
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

/* Goal Card */
.goal-card .card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.goal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.goal-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.list-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.goal-list strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

.goal-list p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9375rem;
}

/* Challenge Card */
.challenge-card .card-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.challenge-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--bg-alt);
    border-radius: 8px;
}

.challenge-item:last-child {
    margin-bottom: 0;
}

.challenge-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.challenge-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.challenge-text p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Solution Card */
.solution-card .card-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.solution-intro {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
}

.solution-workflow {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.workflow-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.step-content h4 {
    margin: 0 0 0.75rem 0;
    color: var(--text-color);
}

.step-content p {
    margin: 0 0 1rem 0;
    color: var(--text-light);
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag-small {
    padding: 0.25rem 0.625rem;
    background: var(--bg-alt);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.workflow-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    padding: 0.5rem 0;
}

/* Impact Card */
.impact-card .card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.impact-metrics {
    display: grid;
    gap: 2rem;
}

.impact-metric {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 12px;
}

.metric-visual {
    flex-shrink: 0;
}

.progress-circle {
    width: 100px;
    height: 100px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.percentage {
    fill: var(--primary-color);
    font-size: 0.5em;
    font-weight: 700;
    text-anchor: middle;
}

.stat-box {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-box-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-box-arrow, .stat-box-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.metric-details h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
}

.metric-details p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Technology Stack Section */
.tech-stack-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.tech-stack-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateX(5px);
}

.tech-icon {
    font-size: 1.5rem;
}

/* CTA */
.case-study-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Animations */
@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}

/* Thought Leadership Section */
.thought-leadership-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tl-nav-btn {
    padding: 0.75rem 2rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tl-nav-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.tl-nav-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.tl-topic-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tl-topic-content.active {
    display: block;
}

.tl-topic-title {
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.wip-message {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--bg-alt);
    border-radius: 12px;
    margin-top: 2rem;
}

.wip-message p:first-child {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.wip-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* Frameworks Sub-Navigation */
.frameworks-sub-nav {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1rem;
}

.frameworks-sub-btn {
    padding: 0.625rem 1.5rem;
    background-color: var(--bg-alt);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.frameworks-sub-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.frameworks-sub-btn.active {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.frameworks-sub-content {
    display: none;
    animation: fadeIn 0.4s ease-in;
}

.frameworks-sub-content.active {
    display: block;
}

/* Execution Strategy Styles */
.execution-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.execution-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.execution-intro p:last-child {
    margin-bottom: 0;
}

.execution-section {
    margin-bottom: 3.5rem;
}

.execution-section-title {
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.execution-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.execution-section-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

/* Operating Principles */
.principle-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.principle-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.principle-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.principle-content {
    flex: 1;
    min-width: 0;
}

.principle-content h5 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.principle-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.principle-content p:last-child {
    margin-bottom: 0;
}

.principle-insight {
    color: var(--primary-color) !important;
    font-weight: 500;
    font-style: italic;
}

.principle-note {
    color: var(--text-color) !important;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* People-Centric KPIs */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kpi-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.kpi-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.kpi-card h5 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.kpi-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.kpi-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.kpi-card li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.kpi-insight {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* SCAMPER Framework */
.framework-subtitle {
    font-size: 1.375rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.scamper-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.scamper-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-alt);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.scamper-item:hover {
    background: var(--bg-color);
    box-shadow: var(--shadow);
}

.scamper-letter {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.scamper-content {
    flex: 1;
    color: var(--text-light);
    line-height: 1.7;
    padding-top: 0.5rem;
}

.scamper-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.framework-insight {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: 8px;
    text-align: center;
    font-size: 1.125rem;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

/* Leadership Philosophy */
.leadership-quote {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.leadership-points {
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: 12px;
}

.leadership-points p {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leadership-list {
    list-style: none;
    padding: 0;
}

.leadership-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.leadership-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Final Thought */
.execution-final {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.final-thought-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.execution-final p {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.execution-final p:last-child {
    margin-bottom: 0;
}

.final-emphasis {
    font-size: 1.25rem !important;
    color: var(--primary-color) !important;
    text-align: center;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    margin-top: 1.5rem !important;
}

.thought-leadership-content {
    max-width: 1200px;
    margin: 0;
    text-align: left;
}

.thought-leadership-content .intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.dna-trait {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dna-trait:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.dna-trait h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.dna-trait p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Two-column layout for DNA section */
.dna-two-column {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.dna-traits-column {
    flex: 1;
    min-width: 0;
}

.dna-image-column {
    flex: 0 0 400px;
    position: relative;
}

.sticky-image {
    position: sticky;
    top: 100px;
}

.dna-image-container {
    text-align: center;
}

.dna-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dna-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Full-width traits section below image */
.dna-full-width-traits {
    margin-top: 2rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.project-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--bg-alt);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--secondary-color);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    padding: 1.5rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    max-width: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1.5rem;
    background: var(--bg-color);
}

.gallery-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.gallery-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.contact-btn span {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide sidebar on mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Remove left margin on mobile */
    .main-content {
        margin-left: 0;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-contact-links {
        justify-content: center;
    }
    
    .hero-contact-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .hero-photo {
        margin-bottom: 1rem;
    }
    
    .profile-image-hero {
        width: 150px;
        height: 150px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .tagline-subtitle {
        font-size: 1.25rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .contact-links {
        flex-wrap: wrap;
    }
    
    .contact-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* About nav buttons responsive */
    .about-nav {
        gap: 0.75rem;
    }
    
    .about-nav-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Execution Strategy responsive */
    .principle-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .principle-number {
        align-self: flex-start;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scamper-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .scamper-letter {
        align-self: flex-start;
    }
    
    .execution-intro,
    .leadership-quote,
    .leadership-points,
    .execution-final {
        padding: 1.5rem;
    }
    
    /* DNA two-column responsive */
    .dna-two-column {
        flex-direction: column;
        gap: 2rem;
    }
    
    .dna-image-column {
        flex: 1;
        order: -1;
    }
    
    .sticky-image {
        position: relative;
        top: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 1.5rem;
    }
    
    .profile-image-hero {
        width: 120px;
        height: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .tagline-subtitle {
        font-size: 1.125rem;
    }

    .section {
        padding: 3rem 0;
    }
    
    .certifications-content {
        grid-template-columns: 1fr;
    }
    
    .project-details {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .projects-nav {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-nav-btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    /* About nav buttons small screens */
    .about-nav {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .about-nav-btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    /* Case Study Responsive */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .challenge-item, .workflow-step, .impact-metric {
        flex-direction: column;
        text-align: center;
    }

    .challenge-number, .step-number {
        margin: 0 auto;
    }

    .challenge-item {
        border-left: none;
        border-top: 3px solid var(--primary-color);
    }

    .progress-circle, .stat-box {
        margin: 0 auto;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-badge {
        font-size: 0.75rem;
    }
    
    .case-study-subtitle {
        font-size: 1rem;
    }
}

/* ==========================================
   Leadership Style Styles
   ========================================== */

.leadership-style-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.leadership-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.leadership-section-title {
    font-size: 1.875rem;
    color: var(--text-color);
    margin: 3rem 0 2rem 0;
    font-weight: 700;
    text-align: left;
    position: relative;
    padding-bottom: 1rem;
}

.leadership-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Thinking Styles Grid */
.thinking-styles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.thinking-style-item {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.thinking-style-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.thinking-style-item:hover::before {
    transform: scaleX(1);
}

.thinking-style-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
    border-left-color: var(--accent-color);
}

.style-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
    line-height: 1;
}

.thinking-style-item h4 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}

.thinking-style-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* Application List */
.application-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.application-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.application-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.application-item:hover::before {
    transform: scaleY(1);
}

.application-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.application-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.application-item:hover .application-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.application-content {
    flex: 1;
    padding-top: 0.5rem;
}

.application-content h4 {
    font-size: 1.375rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.application-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Leadership Style Responsive */
@media (max-width: 1024px) {
    .thinking-styles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .thinking-styles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .thinking-style-item {
        padding: 1.5rem;
    }
    
    .style-icon {
        font-size: 2.5rem;
    }
    
    .application-item {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    
    .application-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .leadership-intro {
        padding: 1.5rem;
        font-size: 1.0625rem;
    }
    
    .leadership-section-title {
        font-size: 1.625rem;
    }
    
    .application-content h4 {
        font-size: 1.25rem;
    }
    
    .application-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .application-item {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .application-icon {
        margin: 0 auto;
    }
    
    .thinking-style-item {
        padding: 1.25rem;
        text-align: center;
    }
}

/* ==========================================
   PDF Viewer Styles
   ========================================== */

.pdf-viewer-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.pdf-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.pdf-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.pdf-nav-btn:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.pdf-nav-btn:disabled {
    background: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.pdf-nav-btn svg {
    width: 20px;
    height: 20px;
}

.pdf-page-info {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pdf-canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-alt);
    border-radius: 8px;
    padding: 2rem;
    min-height: 600px;
    overflow: auto;
}

#pdf-canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: white;
}

.pdf-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem;
}

.pdf-loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.pdf-loading p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* PDF Viewer Responsive */
@media (max-width: 768px) {
    .pdf-viewer-container {
        padding: 1rem;
    }
    
    .pdf-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pdf-nav-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
    
    .pdf-canvas-wrapper {
        padding: 1rem;
        min-height: 400px;
    }
    
    /* Frameworks sub-nav responsive */
    .frameworks-sub-nav {
        gap: 0.5rem;
    }
    
    .frameworks-sub-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .frameworks-sub-nav {
        flex-direction: column;
    }
    
    .frameworks-sub-btn {
        width: 100%;
    }
}
