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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f3fa;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Dark Mode Body Styles */
body.dark-mode {
    background: #1e293b;
    color: #f0f3fa;
}

.animated-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
}
.bg-blob {
    position: absolute;
    border-radius: 45% 55% 50% 50%;
    filter: blur(48px) brightness(1.08);
    opacity: 0.50;
    animation-duration: 24s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
.bg-blob.blue1 {
    background: linear-gradient(135deg,#3b82f6,#51e5ff 70%);
    width: 420px;
    height: 360px;
    left: -90px;
    top: -80px;
    animation-name: moveBlob1;
}
.bg-blob.blue2 {
    background: linear-gradient(135deg,#8b5cf6,#6366f1 70%);
    width: 410px;
    height: 420px;
    right: -100px;
    top: 30vh;
    animation-name: moveBlob2;
}
.bg-blob.cyan {
    background: linear-gradient(135deg,#67e8f9,#c7d2fe);
    width: 270px;
    height: 350px;
    left: 40vw;
    top: 70vh;
    animation-name: moveBlob3;
}
@keyframes moveBlob1 {
    0%,100% { transform: scale(1.00) translateY(0px); }
    33% { transform: scale(1.10) translateY(30px) translateX(40px); }
    66% { transform: scale(0.9) translateY(-20px) translateX(-10vw); }
}
@keyframes moveBlob2 {
    0%,100% { transform: scale(1.13) translateY(0) translateX(0); }
    23% { transform: scale(0.9) translateY(-35px) translateX(-20vw); }
    64% { transform: scale(1.07) translateY(60px) translateX(20vw); }
}
@keyframes moveBlob3 {
    0%,100% { transform: scale(0.95) translateX(0) translateY(0); }
    25% { transform: scale(1.1) translateX(-7vw) translateY(-30px); }
    75% { transform: scale(0.8) translateX(18vw) translateY(28px); }
}
/* Remove particles/code rain (disabled in original file) */
.particles-bg, .code-rain {display:none !important;}

/* Keep content above fixed .animated-bg */
.main-content, .floating-nav, .scroll-indicator, .footer { position: relative; z-index: 0; }

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.nav-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.nav-toggle {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
body.dark-mode .nav-toggle {
    background: rgba(45, 45, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f3fa;
}


.nav-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 100%;
    top: 0;
    margin-right: 1rem;
    z-index: 1001;
}
body.dark-mode .nav-menu {
    background: rgba(45, 45, 45, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}


.nav-menu.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}


.nav-menu a {
    font-family: 'Inter', sans-serif;
    color: #254fd9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}
body.dark-mode .nav-menu a {
    color: #f0f3fa;
}


.nav-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}
body.dark-mode .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}


.nav-menu a.active {
    background: #254fd9;
    color: #ffffff;
}
body.dark-mode .nav-menu a.active {
    background: #f0f3fa;
    color: #1e293b;
}


.theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
body.dark-mode .theme-toggle {
    background: rgba(45, 45, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f3fa;
}


.theme-toggle:hover {
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    margin-top: 0;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

#neural-bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

.hero-content {
    max-width: 900px;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.5s ease-out;
}

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

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    background: linear-gradient(45deg, #1e293b, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
}
body.dark-mode .hero h1 {
    background: linear-gradient(45deg, #f0f3fa, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.4);
}
@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
        filter: brightness(1);
    }
    to {
        text-shadow: 0 0 50px rgba(59, 130, 246, 0.5), 0 0 80px rgba(99, 102, 241, 0.3);
        filter: brightness(1.1);
    }
}
body.dark-mode @keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(96, 165, 250, 0.4);
        filter: brightness(1);
    }
    to {
        text-shadow: 0 0 50px rgba(96, 165, 250, 0.6), 0 0 80px rgba(147, 197, 253, 0.4);
        filter: brightness(1.1);
    }
}


.typing-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #3b82f6;
    font-weight: 500;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.dark-mode .typing-text {
    color: #60a5fa;
}


.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.8rem;
    background: #3b82f6;
    margin-left: 5px;
    animation: blink 1s infinite;
}
body.dark-mode .typing-cursor {
    background: #60a5fa;
}


@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero .description {
    font-size: 1.3rem;
    color: rgba(30, 41, 59, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}
body.dark-mode .hero .description {
    color: rgba(240, 243, 250, 0.8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}


/* Floating Particles Background (Disabled in HTML, but CSS is here for completeness) */
.particles-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
    filter: blur(6px) brightness(1.12);
}
.particle {
    position: absolute;
    background: linear-gradient(135deg,rgba(51,164,255,0.75),rgba(39,102,255,0.55));
    border-radius: 50%;
    animation: float-particle 18s linear infinite;
    box-shadow: 0 0 24px 7px rgba(64,186,255,0.3);
    opacity: 0.45;
    filter: saturate(1.08) blur(3.5px);
}
.particle:nth-child(1) { width: 4px; height: 4px; left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 15%; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 25%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 35%; animation-delay: 3s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 45%; animation-delay: 4s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 55%; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 65%; animation-delay: 6s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 75%; animation-delay: 7s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 85%; animation-delay: 8s; }
.particle:nth-child(10) { width: 6px; height: 6px; left: 95%; animation-delay: 9s; }
.particle:nth-child(11) { width: 3px; height: 3px; left: 10%; animation-delay: 10s; }
.particle:nth-child(12) { width: 5px; height: 5px; left: 30%; animation-delay: 11s; }
.particle:nth-child(13) { width: 4px; height: 4px; left: 50%; animation-delay: 12s; }
.particle:nth-child(14) { width: 6px; height: 6px; left: 70%; animation-delay: 13s; }
.particle:nth-child(15) { width: 3px; height: 3px; left: 90%; animation-delay: 14s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
        transform: translateY(95vh) rotate(45deg) scale(0.8);
    }
    15% {
        opacity: 1;
        transform: translateY(85vh) rotate(90deg) scale(1);
    }
    50% { 
        transform: translateY(50vh) rotate(180deg) scale(1.2);
    }
    85% {
        opacity: 1;
        transform: translateY(15vh) rotate(270deg) scale(1);
    }
    95% {
        opacity: 0.6;
        transform: translateY(5vh) rotate(315deg) scale(0.8);
    }
    100% {
        transform: translateY(-100px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Code Rain Effect (Disabled in HTML, but CSS is here for completeness) */
.code-rain {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    opacity: 0.24;
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    color: #39affd;
    overflow: hidden;
    filter: blur(0.5px) brightness(1.18);
    text-shadow: 0 0 6px rgba(68,183,255,0.30), 0 4px 18px #a7fffa33;
}

.code-column {
    position: absolute;
    top: -100%;
    animation: code-fall 13s linear infinite;
    filter: blur(0.2px);
}

@keyframes code-fall {
    0% {
        top: -100%;
        opacity: 0;
        transform: translateX(0px);
    }
    5% {
        opacity: 0.3;
        transform: translateX(2px);
    }
    10% {
        opacity: 0.8;
        transform: translateX(0px);
    }
    25% {
        opacity: 1;
        transform: translateX(-1px);
    }
    50% { 
        opacity: 1;
        transform: translateX(1px);
    }
    75% {
        opacity: 1;
        transform: translateX(-0.5px);
    }
    90% {
        opacity: 0.8;
        transform: translateX(0px);
    }
    95% {
        opacity: 0.3;
        transform: translateX(1px);
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translateX(0px);
    }
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.primary {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e3a8a 100%);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid rgba(30, 64, 175, 0.4);
    backdrop-filter: blur(10px);
}
body.dark-mode .cta-button.secondary {
    color: #93c5fd;
    border: 2px solid rgba(147, 197, 253, 0.4);
}

.cta-button.secondary:hover {
    background: rgba(30, 64, 175, 0.1);
    border-color: rgba(30, 64, 175, 0.6);
    color: #1e3a8a;
}
body.dark-mode .cta-button.secondary:hover {
    background: rgba(147, 197, 253, 0.1);
    border-color: rgba(147, 197, 253, 0.6);
    color: #60a5fa;
}


/* Section: allow for longer content, still start at viewport-top, but fit content */
.section {
    min-height: 100vh;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow-y: visible;
}
/* Stacked cards gap improvements */
.experience-item, .project-card {
    margin-bottom: 3.5rem;
}
.experience-item:last-child, .project-card:last-child {
    margin-bottom: 0;
}
/* For mobile, extra top & bottom padding */
@media (max-width: 768px) {
    .section {
        padding: 3.5rem 1rem 3.5rem 1rem;
    }
    .experience-item, .project-card {
        margin-bottom: 2.5rem;
    }
}
/* Remove background again in utility override at bottom, if present */
.section {
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3.2rem;
    color: #1e293b;
    font-weight: 800;
    background: linear-gradient(45deg, #1e293b, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
body.dark-mode .section h2 {
    background: linear-gradient(45deg, #f0f3fa, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #666666;
}

body.dark-mode .about-text {
    color: #cccccc;
}

/* --- NEW ABOUT ME STATS CARD STYLES --- */
.about-image {
    /* Keep centered and ready for the card */
    text-align: center;
}

.about-stats-card {
    /* Inherits glassmorphism properties from the bottom overrides */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    margin: 0 auto;
    max-width: 400px;
}

/* Stat Items (Experience, Full Stack) */
.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(59, 130, 246, 0.3); /* Light blue dash line */
}

body.dark-mode .stat-item {
    border-bottom: 1px dashed rgba(96, 165, 250, 0.3);
}

.stat-item:last-of-type:not(.cert-header) {
    border-bottom: none;
}

.stat-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    color: #3b82f6; /* Use main color */
}

.stat-text h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
    line-height: 1.2;
}

body.dark-mode .stat-text h4 {
    color: #f0f3fa;
}

.stat-text p {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

body.dark-mode .stat-text p {
    color: #cccccc;
}
/* Mobile view adjustments */
@media (max-width: 900px) {
    .about-grid {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 1.5rem;
      padding: 2rem 1rem;
    }
  
    /* Hide stats card on mobile */
    .about-image {
      display: none;
    }
  
    .about-text {
      font-size: 1.1rem;
      line-height: 1.7;
      color: #666;
    }
  
    /* Center the text vertically within full screen */
    #about {
      align-items: center;
      justify-content: center;
      padding: 0 1rem;
    }
  }
/* Certification Tags */
.certificates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.certificate {
    background: rgba(59, 130, 246, 0.1); /* Light blue background */
    color: #3b82f6 !important; /* Blue text */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: transform 0.2s ease-out;
}

body.dark-mode .certificate {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa !important;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.certificate:hover {
    transform: scale(1.03);
    background: rgba(59, 130, 246, 0.2);
}
body.dark-mode .certificate:hover {
    background: rgba(96, 165, 250, 0.2);
}

/* Remove obsolete icon styles */
.developer-icon { display: none; }
/* --- END NEW ABOUT ME STATS CARD STYLES --- */


/* --- START MODIFIED SCROLL/LAYOUT CSS (FROM PREVIOUS STEP) --- */

/* New styles for fixed header and internal scroll for Experience and Projects */
.scrollable-section {
/* Set a height to enable internal scrolling */
min-height: 90vh !important;
height: 90vh; 
/* The main content wrapper should be a flex column to stack header and scroll area */
display: flex;
flex-direction: column;
/* Reduce overall section padding to make room for scrollable content */
padding-top: 2rem !important; 
padding-bottom: 2rem !important;
justify-content: flex-start !important; /* Override center alignment */
}

/* Ensure the heading is fixed at the top of the section */
.scrollable-section h2 {
flex-shrink: 0; /* Heading should not shrink */
margin-bottom: 2rem; /* Add space below heading */
}

/* Styles for the content wrappers that need to scroll */
.experience-list,
.content-scroll-wrapper {
flex-grow: 1; /* Take all remaining space */
overflow-y: auto; /* Enable vertical scroll */
padding-right: 15px; /* Add padding for scrollbar visibility and clean look */
/* Add a little extra margin at the bottom of the section content */
margin-bottom: 1rem;
padding-bottom: 1rem;
}

/* Style the scrollbar for aesthetics (MAKE INVISIBLE/TRANSPARENT) */
.experience-list::-webkit-scrollbar,
.content-scroll-wrapper::-webkit-scrollbar {
width: 6px; 
background: transparent; /* Make the track transparent */
}

.experience-list::-webkit-scrollbar-thumb,
.content-scroll-wrapper::-webkit-scrollbar-thumb {
background-color: transparent; /* Make the thumb transparent */
border-radius: 3px;
}

.experience-list::-webkit-scrollbar-track,
.content-scroll-wrapper::-webkit-scrollbar-track {
background-color: transparent;
}


/* Override existing item spacing that might be too large */
.experience-list > .experience-item:last-child,
.content-scroll-wrapper > .project-card:last-child {
margin-bottom: 0 !important;
}

/* Skills Grid: Make it a proper responsive grid, not a horizontal flex container */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem; /* Keep gap */
padding: 0; /* Remove horizontal scroll padding */
}

/* Experience List: Ensure vertical stacking and proper spacing */
.experience-list {
display: flex;
flex-direction: column;
gap: 0; /* Items handle their own spacing */
}
.experience-item {
margin-bottom: 2.5rem; /* Tighter spacing for list items */
flex: 1 1 100%; /* Ensure it takes full width in the column */
}
.experience-item:last-child {
margin-bottom: 0;
}

/* Projects: Ensure Project Cards stack naturally, no change needed beyond base CSS */
#projects .project-card {
margin-bottom: 2.5rem;
}
#projects .project-card:last-child {
margin-bottom: 0;
}

/* Responsive adjustments for fixed width on smaller screens - REMOVED horizontal scrolling overrides */
@media (max-width: 768px) {
/* Adjust scrollable section height for mobile */
.scrollable-section {
height: auto; /* Allow content to grow if needed */
min-height: 80vh !important;
padding-top: 1rem !important; 
padding-bottom: 1rem !important;
}

.experience-list,
.content-scroll-wrapper {
min-height: 70vh; /* Ensure scroll area is big enough */
}

.skill-category {
/* Allow skill cards to wrap, but keep a minimum size */
flex: 1 1 100%; /* Take full width on small screens */
}
}
/* --- END MODIFIED SCROLL/LAYOUT CSS (FROM PREVIOUS STEP) --- */

.skill-category {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

body.dark-mode .skill-category {
    background: #2a2a2a;
    border-color: #444444;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .skill-category:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #254fd9;
}

body.dark-mode .skill-category h3 {
    color: #ffffff;
}

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

.skill-tag {
    background: #e0e0e0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #254fd9;
    transition: all 0.3s ease;
}

body.dark-mode .skill-tag {
    background: #444444;
    color: #e0e0e0;
}

.skill-tag:hover {
    transform: scale(1.05);
}

.experience-item {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
    /* margin-bottom: 2rem; - Managed by .experience-list and local override */
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1e293b !important;
    transition: all 0.3s ease;
}

body.dark-mode .experience-item {
    background: #2a2a2a;
    border-color: #444444;
    border-left-color: #ffffff;
}

/* MONOTONIC FIX: Base border color */
.experience-item {
    border-left-color: #1e40af !important; /* Darker Blue */
}
body.dark-mode .experience-item {
    border-left-color: #93c5fd !important; /* Lighter Blue */
}
/* MONOTONIC FIX: Alternate border color for visual distinction */
.experience-item:nth-child(even) {
    border-left-color: #3b82f6 !important; /* Primary Blue */
}
body.dark-mode .experience-item:nth-child(even) {
    border-left-color: #60a5fa !important; /* Secondary Blue */
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .experience-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.experience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #254fd9;
}

body.dark-mode .experience-item h3 {
    color: #ffffff;
}

.experience-item .company {
    color: #666666;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

body.dark-mode .experience-item .company {
    color: #cccccc;
}

.experience-item .date {
    color: #999999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-item ul {
    list-style: none;
    padding-left: 0;
}

.experience-item li {
    color: #666666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

body.dark-mode .experience-item li {
    color: #cccccc;
}

.experience-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #1e293b !important;
}

body.dark-mode .experience-item li::before {
    color: #888888;
}

/* --- NEW STYLES FOR EXPERIENCE COMPANY LINKS --- */
.experience-item .company a.external-link {
    text-decoration: none; /* Remove underline */
    color: #1e40af !important; /* Darker blue color */
    font-weight: 700; /* Make company name bold */
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: all 0.3s ease;
}
body.dark-mode .experience-item .company a.external-link {
    color: #93c5fd !important; /* Lighter blue color */
}

.experience-item .company a.external-link:hover {
    text-decoration: none; /* Keep consistent with project titles */
    color: #3b82f6 !important;
}
body.dark-mode .experience-item .company a.external-link:hover {
    color: #60a5fa !important;
}

/* External Link Icon for Experience Item (using Data URI SVG) */
.experience-item .company a.external-link::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%231e40af" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-1px);
}

/* Dark Mode SVG color adjustment */
body.dark-mode .experience-item .company a.external-link::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%2393c5fd" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
}

.experience-item .company a.external-link:hover::after {
    opacity: 1;
    transform: translateY(-2px) translateX(1px);
}
/* --- END NEW STYLES FOR EXPERIENCE COMPANY LINKS --- */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

body.dark-mode .contact-item {
    background: #2a2a2a;
    border-color: #444444;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .contact-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #254fd9;
}

body.dark-mode .contact-item h3 {
    color: #ffffff;
}

.contact-item a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

body.dark-mode .contact-item a {
    color: #cccccc;
}

.project-card {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 2rem;
    /* margin-bottom: 2rem; - Handled by local override */
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

body.dark-mode .project-card {
    background: #2a2a2a;
    border-color: #444444;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-mode .project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.5rem;
    color: #254fd9;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
}

body.dark-mode .project-title {
    color: #ffffff;
}

/* --- NEW STYLES FOR PROJECT TITLE LINKS --- */
.project-title a {
    text-decoration: none; /* Remove default underline */
    color: inherit !important; /* Ensure it uses the parent's blue color */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #1e40af !important; /* Darker hover effect */
}
body.dark-mode .project-title a:hover {
    color: #60a5fa !important; /* Lighter hover effect */
}

/* External Link Icon (using SVG/Text in ::after) */
.project-title a.external-link::after {
    /* Using logiade icon for external link: blue in light mode */
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%233b82f6" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
    display: inline-block;
    vertical-align: middle;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-1px);
}

/* Dark Mode SVG color adjustment for the icon */
body.dark-mode .project-title a.external-link::after {
    /* Lighter blue for dark mode */
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2393c5fd" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
}

.project-title a.external-link:hover::after {
    opacity: 1;
    transform: translateY(-2px) translateX(2px);
}
/* --- END STYLES FOR PROJECT TITLE LINKS --- */

.project-type {
    background: #e0e0e0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #254fd9;
}
.project-type {
    display: inline-block;
    font-size: 1rem;
    color: #666;
    white-space: normal;       
    word-break: break-word;    
    max-width: 100%;          
    margin-top: 0.3rem;
  }
body.dark-mode .project-type {
    background: #444444;
    color: #e0e0e0;
}

.terminal-window {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'JetBrains Mono', monospace;
}

body.dark-mode .terminal-window {
    background: #0a0a0a;
    border-color: #555;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}
body.dark-mode .terminal-header {
    border-bottom: 1px solid #555;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca42; }

.terminal-content {
    color: #00ff00;
    font-size: 14px;
    line-height: 1.4;
}

.terminal-content div {
    margin-bottom: 0.3rem;
}

.project-description {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

body.dark-mode .project-description {
    color: #cccccc;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #E0E0E0;
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

body.dark-mode .tech-tag {
    background: #555555;
}

.project-features {
    list-style: none;
    padding: 0;
}

.project-features li {
    color: #666666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

body.dark-mode .project-features li {
    color: #cccccc;
}

.project-features li::before {
    content: '⚡';
    position: absolute;
    left: 0;
}

.footer {
    background: #f5f5f5;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e0e0e0;
}

body.dark-mode .footer {
    background: #2a2a2a;
    border-top-color: #444444;
    color: #f0f3fa;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cccccc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-dot.active {
    background: #7265ff;
    transform: scale(1.2);
}

body.dark-mode .scroll-dot {
    background: #666666;
}

body.dark-mode .scroll-dot.active {
    background: #ffffff;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-nav {
        top: 1rem;
        right: 1rem;
    }
    
    .nav-controls {
        gap: 0.8rem;
    }
    
    .nav-toggle, .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .nav-menu {
        min-width: 180px;
        margin-right: 0.8rem;
    }
    
    .hero {
        height: 100vh;
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .typing-text {
        font-size: 1.4rem;
    }

    .hero .description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 200px;
    }
    
    .section {
        height: 100vh;
        padding: 2rem 1rem;
        overflow-y: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Remove developer-icon styles (replaced by about-stats-card) */
    .developer-icon {
        display: none;
    }

    .about-stats-card {
        max-width: 100%;
    }

    .stat-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-text h4 {
        font-size: 1.5rem;
    }

    .stat-text p {
        font-size: 0.8rem;
    }

    .certificates-list {
        justify-content: center;
    }
    


    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .terminal-window {
        padding: 0.8rem;
    }

    .terminal-content {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .typing-text {
        font-size: 1.2rem;
    }

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

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

    .floating-nav {
        top: 0.5rem;
        right: 0.5rem;
    }

    .nav-controls {
        gap: 0.6rem;
    }

    .nav-toggle, .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .nav-menu {
        min-width: 160px;
        margin-right: 0.6rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 180px;
    }
}

/* Glassmorphism Styles (Overrides older styles) */
.glass-section {
    background: rgba(255,255,255,0.67);
    border-radius: 28px;
    box-shadow: 0 8px 44px #c6dbf7aa;
    backdrop-filter: blur(12px) saturate(1.12);
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}
body.dark-mode .glass-section {
    background: rgba(26, 34, 48, 0.67);
    box-shadow: 0 8px 44px rgba(45, 60, 80, 0.8);
}

/* Reset and Apply Glassmorphism to sections and cards */
.section, .project-card, .experience-item, .contact-item, .skill-category, .about-stats-card {
    background: none;
    box-shadow: none;
}

/* Apply glass style to components */
.section, .project-card, .experience-item, .contact-item, .skill-category, .about-stats-card {
    color: #1e293b;
    background: rgba(255,255,255,0.67);
    border-radius: 28px;
    box-shadow: 0 8px 44px #c6dbf7aa;
    backdrop-filter: blur(12px) saturate(1.12);
}
body.dark-mode .section, body.dark-mode .project-card, body.dark-mode .experience-item, body.dark-mode .contact-item, body.dark-mode .skill-category, body.dark-mode .about-stats-card {
    background: rgba(26, 34, 48, 0.67);
    box-shadow: 0 8px 44px rgba(45, 60, 80, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Color Overrides (Force Blue Palette) */
.project-type, .company, .date, .terminal-header, .project-description, .terminal-dot, .project-card .tech-tag, .cta-button.secondary, .contact-item a, .skill-tag,
.terminal-header span,
.project-tech span, .experience-item .company, .experience-item .date, .contact-item h3, .project-features li, .experience-item li, .skill-tag, .tech-tag,
.project-card a, .experience-item a, .contact-item a, .project-card span, .experience-item span, .contact-item span {
    color: #3b82f6 !important; /* Blue 500 */
}
.project-title, .skill-category h3, .experience-item h3, .contact-item h3 {
     color: #3b82f6 !important;
}

/* Dark Mode Color Overrides (Force Lighter Blue Palette) */
body.dark-mode .project-card, 
body.dark-mode .project-type, 
body.dark-mode .company, 
body.dark-mode .date, 
body.dark-mode .terminal-header, 
body.dark-mode .skill-tag, 
body.dark-mode .tech-tag, 
body.dark-mode .project-tech span, 
body.dark-mode .experience-item .company, 
body.dark-mode .experience-item .date, 
body.dark-mode .contact-item h3, 
body.dark-mode .project-features li, 
body.dark-mode .experience-item li, 
body.dark-mode .project-card a, 
body.dark-mode .experience-item a, 
body.dark-mode .contact-item a, 
body.dark-mode .project-card span, 
body.dark-mode .experience-item span, 
body.dark-mode .contact-item span {
    color: #60a5fa !important; /* Blue 400 */
}
body.dark-mode .project-title, body.dark-mode .skill-category h3, body.dark-mode .experience-item h3, body.dark-mode .contact-item h3 {
     color: #93c5fd !important; /* Blue 300 (or keep 400 for consistency) */
}
body.dark-mode .typing-text, body.dark-mode .terminal-content {
    color: #60a5fa !important;
}
/* Experience bullet/indicator colors (use same as border) */
.experience-item li::before, .project-features li::before {
    color: #1e40af !important; /* Matches base border color */
}
/* For dark mode, same blue or lighter blue for high contrast */
body.dark-mode .experience-item li::before,
body.dark-mode .project-features li::before {
    color: #93c5fd !important; /* Matches base dark border color */
}

/* Dark Mode terminal window colors */
body.dark-mode .terminal-window {
    background: #111827; /* Darker background */
    border-color: #374151;
}
body.dark-mode .terminal-header {
    border-bottom-color: #374151;
}
body.dark-mode .terminal-content {
    color: #4ade80; /* Brighter green for terminal text */
}

/* Stats Card Color Overrides */
.stat-item .stat-text h4 {
    color: #1e293b;
}
.stat-item .stat-text p {
    color: #666666;
}
body.dark-mode .stat-item .stat-text h4 {
    color: #f0f3fa;
}
body.dark-mode .stat-item .stat-text p {
    color: #cccccc;
}
/* --- FINAL MOBILE FIX FOR SKILLS SECTION (CENTERED + TRANSPARENT SCROLLBAR) --- */
#skills {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  
  /* Desktop layout (unchanged) */
  #skills .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding-top: 1.5rem;
  }
  
  /* --- Mobile Layout --- */
  @media (max-width: 900px) {
    #skills {
      justify-content: center; /* center horizontally */
      padding: 2rem 1rem;
      overflow: hidden; /* prevent page scroll */
    }
  
    #skills .skills-grid {
      grid-template-columns: 1fr;
      gap: 1.2rem;
      overflow-y: auto;
      height: 80vh;
      width: 100%;
      margin: 0 auto; /* center horizontally */
      padding-right: 0.5rem;
      scroll-behavior: smooth;
    }
  
    /* Transparent scrollbar */
    #skills .skills-grid::-webkit-scrollbar {
      width: 6px;
    }
    #skills .skills-grid::-webkit-scrollbar-thumb {
      background: transparent;
    }
    #skills .skills-grid::-webkit-scrollbar-track {
      background: transparent;
    }
  
    /* Adjust card and text sizing */
    #skills .skill-category {
      padding: 1.2rem;
      font-size: 0.95rem;
      background: rgba(245, 245, 245, 0.7);
    }
    body.dark-mode #skills .skill-category {
      background: rgba(42, 42, 42, 0.7);
    }
  
    #skills .skill-category h3 {
      font-size: 1.2rem;
    }
  
    #skills .skill-tag {
      font-size: 0.8rem;
      padding: 0.3rem 0.7rem;
    }
  }
  
@media (max-width: 900px) {
    .project-header {
      display: flex;
      flex-direction: column;  /* stack title and type */
      align-items: flex-start;
      gap: 0.3rem;
    }
  
    .project-type {
      font-size: 0.95rem;
      text-align: left;
      line-height: 1.4;
      margin-top: 0;
      padding-right: 0.5rem;
    }
  
    .project-card {
      word-wrap: break-word;   /* full card safety */
    }
  }/* --- EDUCATION SECTION --- */
.education-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  #education h2 {
    margin-bottom: 6rem; /* adds breathing room */
  }
  .edu-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 700px;
  }
  
  body.dark-mode .edu-card {
    background: rgba(26, 34, 48, 0.7);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  }
  
  .edu-card h3 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
  }
  
  body.dark-mode .edu-card h3 {
    color: #ffffff;
  }
  
  .edu-card .degree {
    font-size: 1.1rem;
    color: #666666;
  }
  
  .edu-card .year {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #3b82f6;
  }
  
  /* --- CERTIFICATIONS SECTION --- */
  .certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .cert-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2);
  }
  
  body.dark-mode .cert-card {
    background: rgba(26, 34, 48, 0.7);
  }
  
  .cert-card h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.8rem;
  }
  
  body.dark-mode .cert-card h3 {
    color: #ffffff;
  }
  
  .cert-link {
    display: inline-block;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
  }
  
  .cert-link:hover {
    text-decoration: underline;
  }
  
  /* Responsive adjustments */
  @media (max-width: 900px) {
    .edu-card {
      padding: 1.5rem;
    }
  
    .cert-card h3 {
      font-size: 1rem;
    }
  
    .certifications-grid {
      gap: 1rem;
    }
  }
  