@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/salesforce-sans');

:root {
  --primary: #3a5db0;
  --primary-dark: #2a4a90;
  --secondary: #f5f9ff;
  --accent: #ff6b6b;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-alt: #f9f9f9;
  --border: #e0e0e0;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
  --focus-outline: 3px solid rgba(58, 93, 176, 0.5);
  --shadow-xs: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-xl: 0 4px 24px #0002;
  --shadow-card: 0 2px 12px #3a5db022;
  --shadow-tooltip: 0 4px 24px #0002;
  --shadow-dot: 0 0 8px #5ac8fa88;
  --shadow-modal: 0 4px 32px rgba(0,0,0,0.15);
  --radius-xs: 0.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 0.8rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-xxl: 2rem;
  --radius-round: 50%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Improved focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
[role="button"]:focus,
[tabindex]:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
    text-decoration: none;
}

/* Performance optimizations for animations */
.hero-video-bg,
.hero-card-video,
.carousel-track,
.timeline-item,
.exp-card,
.cert-card,
.cert-group-card,
.words-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.fixed-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem;
}

.main-content {
    padding-top: 64px; /* Height of the fixed navigation */
}

.nav-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-links a {
    color: #3a5db0;
}

.nav-links a:hover, .nav-links a:focus {
    color: #274080;
}

section, .about-container, .contact-card, .hero-card, .cert-category, .timeline-item {
    background: #fff;
    color: #1d1d1f;
}

.certifications-section {
    background: #f8fbff;
}

.cert-card {
    background: #fff;
    color: #1d1d1f;
}

.cert-card:hover, .cert-card:focus {
    background: #fff;
}

.exp-modal-content, .mobile-warning-content {
    background: #fffbe6;
    color: #d7263d;
    border-color: #d7263d;
}

.mobile-warning-content h2 {
    color: #d7263d;
}

.mobile-warning-content p {
    color: #222;
}

.resume-download-btn, .hero-card-btn {
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
}

.resume-download-btn:hover, .hero-card-btn:hover {
    background: linear-gradient(90deg, #0052a3 0%, #0066cc 100%);
}

a, .nav-links a, .social-links a {
    color: #0066cc;
}

a:hover, .nav-links a:hover, .social-links a:hover {
    color: #3a5db0;
}

/* Remove dark mode toggle button styles */
.dark-mode-toggle { display: none !important; }

/* Remove dark mode modal overlay */
body .exp-modal-overlay, body .mobile-warning-modal {
  background: rgba(0,0,0,0.45);
}

/* Navigation */
.nav-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 0.5rem;
}

.nav-links {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    box-shadow: var(--shadow-md);
    z-index: 1001;
    padding: 1.2rem 0;
    text-align: center;
}

.nav-links a {
    padding: 0.7rem 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    display: inline-block;
    margin: 0 0.2rem;
}

.nav-links a:hover, .nav-links a:focus {
    background: #e3f0ff;
    color: var(--color-primary);
    text-decoration: none;
    box-shadow: var(--shadow-card);
}

.nav-hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 2.1rem;
    cursor: pointer;
    margin-left: auto;
    color: #222;
    z-index: 1002;
}

@media (min-width: 700px) {
    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        box-shadow: none;
        width: auto;
        padding: 0;
        gap: 2rem;
        text-align: left;
    }
    .nav-hamburger {
        display: none;
    }
}

/* =====================
   Hero Section
   ===================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: 0;
    margin-top: 0;
    overflow: hidden;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(.22,1,.36,1);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-image {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    object-fit: cover;
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 75rem;
    margin: 0 auto;
    will-change: opacity, transform;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.exp-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 1.25rem;
    flex-shrink: 0;
    border-radius: var(--radius-xs);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

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

.exp-card-content h3 {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Certifications Section */
.cert-count {
    font-size: 1.3rem;
    color: #888;
    font-weight: 400;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-category {
    background: #fff !important;
    border: none !important;
    border-radius: var(--radius-lg);
    box-shadow: none;
    padding: 1.5rem;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s, height 0.3s, max-height 0.3s;
}

.cert-category:hover, .cert-category:focus {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background: #fff !important;
}

.cert-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f5;
    font-size: 1.4rem;
}

.cert-issuer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--radius-xs);
}

.cert-cards {
    display: grid;
    gap: 1rem;
}

.cert-card {
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: none;
    padding: 1.2rem;
    transition: box-shadow 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
}

.cert-card:hover, .cert-card:focus {
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    background: #fff;
}

.cert-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.cert-meta {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #e3f0ff;
    border-radius: var(--radius-xs);
}

@media (max-width: 768px) {
    .cert-category {
        background: #fff !important;
        border: none !important;
        box-shadow: none;
        padding: 1.2rem;
    }
    .cert-category:hover, .cert-category:focus {
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        background: #fff !important;
    }
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cert-category-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .cert-card {
        padding: 1rem;
    }

    .cert-card h4 {
        font-size: 0.95rem;
    }

    .cert-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .certifications-section {
        padding: 3rem 1rem;
    }
}

/* =====================
   Contact Section
   ===================== */
.contact-card {
    border-radius: var(--radius-xxl);
    box-shadow: var(--shadow-md);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    max-width: 600px;
    margin: 3rem auto 3rem auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.contact-card:focus,
.contact-card:hover {
    box-shadow: var(--shadow-lg);
}

.contact-card h2 {
    margin-bottom: 0.5rem;
}

.contact-intro {
    color: #555;
    font-size: 1.08rem;
    margin-bottom: 2rem;
    text-align: center;
}

#contactForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-row {
    display: flex;
    gap: 1.2rem;
}

#contactForm input, #contactForm textarea {
    width: 100%;
    font-size: 1.08rem;
    padding: 1.1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.7rem;
    box-sizing: border-box;
    background: var(--color-bg-alt);
    transition: border 0.2s;
}

#contactForm input:focus, #contactForm textarea:focus {
    border: 1.5px solid var(--color-primary);
    outline: none;
    background: var(--color-bg);
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 700px) {
    .contact-card {
        padding: 1.5rem 0.8rem 1.2rem 0.8rem;
    }
    .contact-row {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 1rem;
    }
}

/* Add this after .hero styles */
.hero-title {
    text-align: center;
    padding: 2rem 0 1rem 0;
    background: #fff;
}

.hero-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-title p {
    font-size: 1.25rem;
    color: #444;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-round);
    object-fit: cover;
    margin: 0 auto 2rem auto;
    display: block;
    box-shadow: var(--shadow-sm);
}

.about-list {
    margin-left: 2.5rem;
    margin-bottom: 1rem;
}

.resume-link {
    display: block;
    margin-top: 2.5rem;
}

/* Floating modal card styles for experience */
.exp-modal-content {
  background: #fff;
  color: #1d1d1f;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 2.2rem 2rem 2rem 2rem;
  max-width: 500px;
  min-width: 320px;
  width: 90vw;
  position: fixed;
  z-index: 3000;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  overflow-y: auto;
  font-size: 1.08rem;
  line-height: 1.6;
}
.exp-modal-content h3,
.exp-modal-content h2,
.exp-modal-content .modal-section-header {
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 0.7rem;
  color: #1d1d1f;
  font-size: 1.25rem;
}
.exp-modal-content h4,
.exp-modal-content .modal-subheader {
  font-weight: 600;
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1d1d1f;
  font-size: 1.08rem;
}
.exp-modal-content ul {
  margin: 0 0 1.2rem 1.2rem;
  padding: 0;
  list-style: disc inside;
}
.exp-modal-content ul li {
  color: #1d1d1f;
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
  font-weight: 400;
  line-height: 1.6;
}
.exp-modal-content a {
  color: #3a5db0;
  text-decoration: underline;
  transition: color 0.18s;
  font-weight: 600;
}
.exp-modal-content a:hover, .exp-modal-content a:focus {
  color: #274080;
  text-decoration: underline;
}
.exp-modal-content strong {
  font-weight: 600;
  color: #1d1d1f;
}
.exp-modal-content p {
  color: #1d1d1f;
  font-size: 1.08rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.exp-modal-close,
.exp-modal-close-tcs,
.exp-modal-close-sense,
.exp-modal-close-deloitte,
.exp-modal-close-senior {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #888;
  background: #f0f0f5;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3100;
  transition: background 0.18s, color 0.18s;
  outline: none;
  box-shadow: 0 2px 8px #0001;
}
.exp-modal-close:hover,
.exp-modal-close-tcs:hover,
.exp-modal-close-sense:hover,
.exp-modal-close-deloitte:hover,
.exp-modal-close-senior:hover,
.exp-modal-close:focus,
.exp-modal-close-tcs:focus,
.exp-modal-close-sense:focus,
.exp-modal-close-deloitte:focus,
.exp-modal-close-senior:focus {
  background: #e0e6ed;
  color: #222;
}
@media (max-width: 600px) {
  .exp-modal-content {
    padding: 1rem 0.5rem 1.2rem 0.5rem;
    min-width: 0;
    width: 96vw;
    max-width: 98vw;
    font-size: 0.98rem;
  }
  .exp-modal-close,
  .exp-modal-close-tcs,
  .exp-modal-close-sense,
  .exp-modal-close-deloitte,
  .exp-modal-close-senior {
    font-size: 2.2rem;
    top: 0.5rem;
    right: 0.5rem;
    width: 3rem;
    height: 3rem;
    padding: 0.7rem;
  }
}

/* Modal overlay */
.exp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.35);
    z-index: 2999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.exp-modal-overlay.visible {
    opacity: 1;
    display: block;
}

.exp-modal-content h3 {
    margin-top: 0;
}

.experience-modal-trigger {
    cursor: pointer;
}

.about-container {
    border-radius: var(--radius-xxl);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    max-width: 1100px;
    margin: 3rem auto 3rem auto;
    position: relative;
}

@media (max-width: 900px) {
    .about-container {
        padding: 2rem 1rem;
    }
}

.resume-download-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.music-widget-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto 3rem;
    max-width: 660px;
    padding: 0 20px;
}

.music-widget-container h3 {
    margin-bottom: 1rem;
    color: #3a5db0;
    font-weight: 600;
}

.resume-download-btn {
    font-size: 1.35rem;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.resume-download-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.site-tagline {
    margin: 0;
    background: linear-gradient(90deg, #e3f0ff 0%, #f8fbff 100%);
    color: #3a5db0;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 1.15rem;
    text-align: center;
    padding: 1.1rem 0;
    border-top: 1px solid #e0e6ed;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-transform: uppercase;
    position: relative;
    width: 100%;
}

@media (max-width: 700px) {
    .site-tagline {
        margin-top: 0;
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
}

.funny-popup, .mobile-notice-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    z-index: 9999;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    max-width: 95vw;
    min-width: 0;
    display: none;
    animation: popIn 0.3s cubic-bezier(.68,-0.55,.27,1.55);
}

.funny-popup {
    background: #fffbe6;
    color: #d7263d;
    border: 2px solid #d7263d;
}

.mobile-notice-popup {
    background: #f5f9ff;
    color: #3a5db0;
    border: 2px solid #3a5db0;
}

@keyframes popIn {
    0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.funny-popup button, .mobile-notice-popup button {
    margin-top: 1.2rem;
    border: none;
    border-radius: var(--radius-xs);
    padding: 0.7rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    color: #fff;
}

.funny-popup button {
    background: #d7263d;
}

.funny-popup button:hover {
    background: #a81c2a;
}

.mobile-notice-popup button {
    background: #3a5db0;
}

.mobile-notice-popup button:hover {
    background: #2a4a90;
}

.mobile-notice-popup h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.exp-years-tooltip {
    visibility: hidden;
    opacity: 0;
    background: #222;
    color: #fff;
    text-align: center;
    border-radius: var(--radius-xs);
    padding: 0.5rem 1.1rem;
    position: absolute;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    bottom: 120%;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
}

#exp-years:hover .exp-years-tooltip {
    visibility: visible;
    opacity: 1;
}

#exp-years {
    position: relative;
    cursor: pointer;
}

.exp-rating {
    font-size: 1.1rem;
    color: #f7b500;
    margin: 0.2rem 0 0.2rem 0;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.exp-rating-num {
    color: #888;
    font-size: 0.98rem;
    font-weight: 500;
    margin-left: 0.2rem;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0 0.5rem;
}

.timeline-bar {
    width: 100%;
    min-width: 0;
    height: 24px;
    margin: 0 0 1.2rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
}

.timeline-bar::before,
.timeline-bar-fill {
    width: 100%;
    height: 4px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-marker {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(1);
    z-index: 3;
    background: #fff;
    border: 2px solid #b0b0b5;
    border-radius: var(--radius-round);
    transition: background 0.2s, border 0.2s, transform 0.3s;
    box-shadow: none;
    opacity: 0.7;
}

.timeline-marker.active {
    background: #0071e3;
    border: 2px solid #5ac8fa;
    box-shadow: var(--shadow-dot);
    transform: translateY(-50%) scale(1.35);
    opacity: 1;
}

.timeline {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
}

.timeline-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}

@media (min-width: 700px) {
    .timeline-container {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        padding: 0;
    }
    .timeline-bar {
        width: 32px;
        min-width: 32px;
        height: 100%;
        margin-right: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .timeline-bar::before,
    .timeline-bar-fill {
        width: 6px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    .timeline-marker {
        width: 18px;
        height: 18px;
        left: 50%;
        top: auto;
        position: absolute;
        transform: translateX(-50%) scale(1);
    }
    .timeline-marker.active {
        transform: translateX(-50%) scale(1.35);
    }
    .timeline {
        width: auto;
        max-width: 800px;
        padding: 0;
    }
    .timeline-item {
        width: auto !important;
    }
}

.carousel-container, .carousel-track {
    outline: none !important;
    user-select: none;
}

.carousel-track:focus {
    outline: none !important;
}

.carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(.22,1,.36,1);
    will-change: transform;
}

.carousel-slide {
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0 0.2rem;
    background: #f8f8fa;
    height: auto;
    transition: box-shadow 0.3s;
}

@media (max-width: 900px) {
    .carousel-slide {
        flex: 0 0 50%;
        max-width: 50%;
        border-radius: 12px;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-round);
    background: #e0e0e5;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.carousel-dot.active {
    background: #0071e3;
    transform: scale(1.3);
    box-shadow: var(--shadow-dot);
}

.carousel-tooltip {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 0.8rem 1.3rem;
    border-radius: var(--radius-md);
    font-size: 1.08rem;
    font-weight: 500;
    box-shadow: var(--shadow-tooltip);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    white-space: nowrap;
}

.carousel-tooltip.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 700px) {
    .carousel-tooltip {
        font-size: 0.98rem;
        padding: 0.6rem 1rem;
        top: 2px;
    }
}

.nav-logo {
    height: 38px;
    width: 38px;
    border-radius: var(--radius-round);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    margin-right: 1.1rem;
    margin-left: 1.1rem;
    background: #fff;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-right-logo {
    display: flex;
    align-items: center;
}

@media (max-width: 700px) {
    .nav-logo {
        height: 28px;
        width: 28px;
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }
}

#confetti-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 99998;
    opacity: 0;
    transition: opacity 0.5s;
}

#confetti-canvas.active {
    opacity: 1;
}

@media (max-width: 700px) {
    .hero {
        margin-top: 56px;
        height: 60vw;
        min-height: 220px;
        max-height: 320px;
    }
    .hero-video-bg {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        left: 0;
        top: 0;
        position: absolute;
    }
}

.hero-card-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    background: #fff;
    padding: 4rem 0 2rem 0;
}

.hero-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    max-width: 1100px;
    margin: 3rem auto 3rem auto;
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.hero-card-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 180px;
    min-height: 180px;
    margin-bottom: 0;
}

.hero-card-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
    border: 6px solid #3a5db0;
    background: #fafdff;
    box-shadow: 0 2px 16px #3a5db022;
    z-index: 1;
    flex-shrink: 0;
}

.hero-card-video {
    display: none;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.hero-card-name {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    letter-spacing: 0.2px;
    margin-bottom: 0.3rem;
    color: #1d1d1f;
}

.hero-card-tagline {
    font-size: 1.6rem;
    font-weight: 600;
    color: #3a5db0;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.hero-card-btn {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1rem 2.2rem;
    border-radius: 0.8rem;
    text-decoration: none;
    box-shadow: 0 2px 12px #3a5db022;
    transition: background 0.2s, transform 0.2s;
    margin-top: 0.5rem;
}

.hero-card-btn:hover {
    transform: translateY(-2px) scale(1.04);
}

.hero-card-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1.2rem;
    justify-content: center;
}

.btn-green,
.btn-instagram,
.btn-linkedin {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 0.8rem;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    outline: none;
    margin: 0;
}

.btn-green {
    background: #28a745;
    color: #fff;
}
.btn-green:hover, .btn-green:focus {
    background: #218838;
    box-shadow: 0 4px 18px #28a74533;
    transform: translateY(-2px) scale(1.04);
}

.btn-instagram {
    background: linear-gradient(90deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}
.btn-instagram:hover, .btn-instagram:focus {
    filter: brightness(0.92);
    box-shadow: 0 4px 18px #dc274333;
    transform: translateY(-2px) scale(1.04);
}

.btn-linkedin {
    background: #0077b5;
    color: #fff;
}
.btn-linkedin:hover, .btn-linkedin:focus {
    background: #005983;
    box-shadow: 0 4px 18px #0077b533;
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 900px) {
    .hero-card-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .btn-green,
    .btn-instagram,
    .btn-linkedin {
        width: 100%;
        max-width: 340px;
        min-width: 180px;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .hide-on-mobile {
        display: none !important;
    }
    .hero-card-btn,
    .resume-download-btn,
    .nav-links a {
        min-height: 44px;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        font-size: 1.1rem;
    }
    .hero-card,
    .about-container,
    .contact-card,
    .cert-group-card,
    .timeline-item {
        box-shadow: var(--shadow-sm);
        border-radius: var(--radius-sm);
    }
    video::-webkit-media-controls-panel,
    video::-webkit-media-controls-play-button,
    video::-webkit-media-controls-start-playback-button {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .hero-video-bg {
        object-fit: cover;
        z-index: 0;
    }
}

section.hero {
    margin-top: 0 !important;
}

/* Global responsive images */
img, .hero-card-image, .exp-card-logo, .carousel-slide {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive spacing and typography */
@media (max-width: 1100px) {
    section, .about-container, .contact-card, .hero-card {
        padding: 2.5rem 1rem;
        max-width: 98vw;
    }
    .nav-container {
        padding: 1rem 1rem;
    }
}

@media (max-width: 700px) {
    /* Adjust top padding for sections now that banner is removed */
    section, .about-container, .contact-card, .hero-card {
        padding: 1.5rem 0.5rem;
        max-width: 100vw;
    }
    
    /* Ensure navigation is properly positioned without the banner */
    .fixed-nav {
        top: 0;
        position: sticky;
        z-index: 1000;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .site-tagline {
        font-size: 0.9rem;
        margin-top: 0;
        padding: 0.5rem 0;
    }
}

/* Countdown Timer Styles */
.countdown-container {
    margin-top: 0;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid #e3f0ff;
    transition: opacity 0.3s ease-out;
    width: 100%;
}

.countdown-header {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.countdown-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 0.8rem;
    }

    .countdown-block {
        min-width: 50px;
    }

    .countdown-value {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
}

.future-role-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    width: 100%;
    align-items: center;
}

/* Mobile Notice Banner */
.mobile-notice-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ff3b30; /* Apple red color */
  color: white;
  padding: 10px 15px;
  text-align: center;
  z-index: 99999;
  font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-notice-banner p {
  margin: 0;
  flex: 1;
}

.mobile-notice-banner button {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 0 0 15px;
  line-height: 1;
}

/* Hide banner on desktop */
@media (min-width: 701px) {
  .mobile-notice-banner {
    display: none !important;
  }
}

.mobile-notice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-notice-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 2rem;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: popIn 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.mobile-notice-content h3 {
  margin-top: 0;
  color: #0070d2; /* Salesforce blue */
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mobile-notice-content p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

.mobile-notice-content button {
  background-color: #0070d2;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-notice-content button:hover {
  background-color: #005fb2;
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.mobile-notice-content p {
  margin: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.mobile-notice-content button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.mobile-notice-content button:hover {
  background-color: var(--primary-dark);
}

.mobile-warning-content h2 {
  color: var(--color-modal-text);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.mobile-warning-content p {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cert-category-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--color-text);
  font-weight: 700;
  padding: 0 0 1rem 0;
  border-bottom: 2px solid #f0f0f5;
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}
.cert-category-toggle:focus {
  background: #e3f0ff;
}
.cert-category-toggle .arrow {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  transition: transform 0.2s;
}
.cert-category-toggle[aria-expanded="true"] .arrow {
  transform: rotate(0deg);
}
.cert-category-toggle[aria-expanded="false"] .arrow {
  transform: rotate(90deg);
}

/* Adjust nav container for toggle button */
.nav-container {
  gap: 0.5rem;
}

/* Modal overlay dark mode */
body .exp-modal-overlay, body .mobile-warning-modal {
  background: rgba(0,0,0,0.45);
}

.site-footer {
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.04);
  border-top: 1px solid #e0e6ed;
  padding: 2rem;
  position: relative;
  z-index: 10;
  font-size: 0.95rem;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-signature {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.footer-link {
  color: #3a5db0;
  font-size: 1.25rem;
  background: none;
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s, background 0.18s, transform 0.18s;
  text-decoration: none;
  outline: none;
  position: relative;
}
.footer-link:hover, .footer-link:focus {
  color: #0077b5;
  background: #e3f0ff;
  transform: scale(1.13) translateY(-2px);
}
.footer-link.footer-instagram:hover, .footer-link.footer-instagram:focus {
  color: #dc2743;
  background: #fbeff2;
}
.footer-link.footer-email:hover, .footer-link.footer-email:focus {
  color: #28a745;
  background: #eafaf1;
}
.footer-easter-egg {
  position: absolute;
  right: 2.2rem;
  bottom: 1.2rem;
  font-size: 1.3rem;
  opacity: 0.25;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 20;
  user-select: none;
}
.footer-easter-egg:hover, .footer-easter-egg:focus {
  opacity: 1;
  transform: scale(1.18) rotate(-8deg);
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
  }
  .footer-signature {
    text-align: center;
  }
  .footer-links {
    margin-top: 0.5rem;
    gap: 1.1rem;
  }
  .footer-easter-egg {
    position: static;
    display: block;
    margin: 1.2rem auto 0 auto;
  }
}

.buy-coffee-btn {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  z-index: 1000;
  background: #ffc107;
  color: #000;
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  border-radius: 2rem;
  padding: 0.95rem 2.1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from { transform: translateY(50%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Fix the selector that hides the button when modals are open */
.exp-modal-content[style*="display: block"] ~ .buy-coffee-btn,
.exp-modal-content[aria-hidden="false"] ~ .buy-coffee-btn,
.exp-modal-overlay[style*="display: block"] ~ .buy-coffee-btn,
.mobile-warning-modal[style*="display: flex"] ~ .buy-coffee-btn {
  display: none !important;
}

.buy-coffee-btn:hover, .buy-coffee-btn:focus {
  background: #e0a800;
  box-shadow: 0 8px 32px rgba(255,193,7,0.18);
  transform: translateY(-3px) scale(1.04);
}

@media (max-width: 700px) {
  .buy-coffee-btn {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    bottom: 6rem;
  }
}

.words-about-me-section {
  background: #f8fbff;
  padding: 5rem 2rem;
  max-width: 75rem;
  margin: 0 auto;
}
.words-about-me-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: #1d1d1f;
}
.words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  transition: max-height 0.5s cubic-bezier(.22,1,.36,1), padding 0.3s;
  overflow: hidden;
  max-height: 2000px;
}
.words-grid.expanded {
  max-height: 5000px;
}
.words-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  min-width: 0;
  width: 100%;
  font-size: 1.08rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1), background 0.3s;
  margin-bottom: 2rem;
  box-sizing: border-box;
}
.words-card:nth-child(odd) {
  background: #f9f9f9;
}
.words-card:hover {
  background: linear-gradient(135deg, #ffffff, #f4f6f8);
  transition: background 0.3s ease;
}
.words-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.words-quote {
  font-style: italic;
  color: #222;
  font-size: 1.13rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.words-author {
  color: #3a5db0;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
  letter-spacing: 0.01em;
}
.words-show-more-btn {
  display: block;
  margin: 0 auto 2.5rem auto;
  padding: 0.9rem 2.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 0.8rem;
  border: none;
  background: #3a5db0;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  padding-top: 1.5rem;
}
.words-show-more-btn:hover, .words-show-more-btn:focus {
  background: #274080;
  box-shadow: 0 4px 18px #3a5db033;
  transform: translateY(-2px) scale(1.04);
}
/* Carousel mode */

/* Section redirect styles */
.section-redirect {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 1rem auto;
    max-width: 600px;
}

.section-redirect p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.redirect-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary, #0071e3);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.redirect-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--color-primary-dark, #0058b0);
}

/* Carousel mode for mobile */
.words-grid.carousel-mode {
  display: block;
  max-width: 100vw;
  overflow: visible;
  padding-bottom: 2.5rem;
}
.words-grid.carousel-mode .words-card {
  display: block;
  width: 100%;
  margin: 0 auto 1.5rem auto;
  min-width: 0;
  max-width: 98vw;
  box-sizing: border-box;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-round);
  background: #e0e0e5;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
  outline: none;
  border: none;
  display: inline-block;
}
.carousel-dot.active {
  background: #3a5db0;
  transform: scale(1.3);
  box-shadow: var(--shadow-dot);
}
@media (max-width: 700px) {
  .words-about-me-section {
    padding: 3rem 0.5rem;
    max-width: 100vw;
  }
  .words-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100vw;
    padding-bottom: 2.5rem;
  }
  .words-card {
    width: 100%;
    min-width: 0;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
  }
  .words-quote {
    font-size: 1rem;
  }
  .words-author {
    font-size: 0.97rem;
  }
}

.section-header {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  text-align: left;
  color: #1d1d1f;
  font-weight: 700;
}
.section-subtext {
  display: block;
  font-size: 1.13rem;
  color: #666;
  margin-bottom: 2.2rem;
  margin-top: -0.7rem;
  text-align: left;
  font-weight: 400;
}
#words-about-me {
  scroll-margin-top: 90px;
  padding-top: 2.5rem;
}
@media (max-width: 700px) {
  .section-header {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  .section-subtext {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  #words-about-me {
    scroll-margin-top: 70px;
    padding-top: 1.2rem;
  }
}

.words-tagline {
  display: block;
  text-align: center;
  font-size: 1.25rem;
  color: #444;
  margin-top: -1rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* --- HERO SECTION MOBILE IMPROVEMENTS --- */
@media (max-width: 768px) {
  .hero-card-image {
    width: 140px;
    height: 140px;
  }
  .hero-card-content {
    align-items: center;
    text-align: center;
  }
  .hero-card-name {
    margin-bottom: 12px;
  }
  .hero-card-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-top: 0;
  }
}
@media (max-width: 480px) {
  .hero-card-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .btn-green, .btn-instagram, .btn-linkedin {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}

/* --- WORDS ABOUT ME SECTION MOBILE IMPROVEMENTS --- */
@media (max-width: 700px) {
  .words-about-me-section {
    padding-inline: 16px;
  }
  .words-tagline {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
  }
  .words-about-me-section h2 {
    margin-bottom: 1.2rem;
  }
  .words-show-more-btn {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

/* SEO-friendly visually hidden content */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* --- CERTIFICATIONS SECTION MOBILE IMPROVEMENTS --- */
.cert-category-toggle {
  border-bottom: none !important;
  box-shadow: none !important;
}
.cert-card {
  width: 100%;
  box-sizing: border-box;
  padding: 1.2rem 1rem;
  margin-bottom: 1.2rem;
}
@media (max-width: 700px) {
  .cert-card {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }
  .cert-cards {
    gap: 1rem;
  }
}

/* --- GENERAL GLOBAL 480PX MEDIA QUERY --- */
@media screen and (max-width: 480px) {
  body { font-size: 15px; }
  .card { padding: 16px; }
  section { margin-bottom: 48px; }
} 