:root {
    --primary: #8A2BE2;
    --secondary: #FF6B6B;
    --accent: #4CD2FF;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-light: #FFFFFF;
    --text-gray: #AAAAAA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.1), transparent 50%);
    z-index: -1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-gray);
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* About Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: justify; /* Justify text for better readability */
}

.about-text p {
    margin-bottom: 20px;
}

/* Styling for Image */
.about-image {
    display: flex;
    justify-content: center; 
    align-items: center; 
}
.about-image img {
    max-width: 300px; 
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
    border: 3px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4);
}

.skill-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.skill-item {
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.skill-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Skill Category (group header) */
h3.skill-category {
    margin-top: 30px;
    font-size: 1.5rem;
    color: #e0e0e0;
    position: relative;
}

/* Insert a horizontal line (border-bottom) after the skill category heading */
h3.skill-category::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--accent);
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Skill Group Box (new boxed group) */
div.skill-group-box {
    border: 1px solid #555;
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Education Section */
.education-section {
    padding: 60px 10%;
    background: #1a1a2e; /* Dark background to match the theme */
    color: #fff;
    text-align: center;
}

.education-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8A2BE2;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: auto;
}

.education-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--bg-card);
    border: 1px solid #333;
    margin-bottom: 20px;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: #555;
}

.education-item h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.education-item p {
    font-size: 1rem;
    color: #ddd;
}

/* Projects Section */
.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.project-img {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-description {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tech-tag {
    background-color: rgba(138, 43, 226, 0.2);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Current Project Section */
.current-project {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 50px;
}

.current-project-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.current-project-description {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    margin-bottom: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 2px;
    background-color: var(--primary);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    width: 0;
    border-radius: 10px;
    transition: width 1.5s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    color: var(--text-gray);
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary);
}

.contact-info i {
    width: 25px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background-color: var(--primary);
}

.social-link i {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.contact-form {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* Resume Section */
.resume-section {
    text-align: center;
    padding: 70px 0;
}

.resume-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.download-btn i {
    margin-left: 10px;
}

/* Footer */
.footer {
    background-color: var(--bg-card);
    padding: 30px 0;
    margin-top: 50px;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: calc(100vh - 70px);
        width: 70%;
        background-color: var(--bg-card);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: right 0.5s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line2 {
        opacity: 0;
    }
    
    .hamburger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.experience-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.experience-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.experience-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 20px;
    background: var(--bg-card);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.experience-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.experience-item:nth-child(odd) .experience-content {
    margin-left: auto;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.experience-item:nth-child(odd)::before {
    left: calc(50% - 10px);
}

.experience-item:nth-child(even)::before {
    right: calc(50% - 10px);
}

.experience-title {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.experience-company {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.experience-date {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.experience-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    color: var(--text-gray);
}

.experience-details.expanded {
    max-height: 500px;
}

.experience-details ul {
    list-style-type: none;
    padding-left: 20px;
}

.experience-details li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
}

.experience-details li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

@media screen and (max-width: 768px) {
    .experience-timeline::before {
        left: 30px;
    }

    .experience-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .experience-item::before {
        left: 20px !important;
        right: auto !important;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    font-size: 1.2rem;
}

.notification span {
    font-size: 1rem;
    font-weight: 500;
}

/* Error notification style */
.notification.error {
    background: linear-gradient(45deg, #ff4444, #ff6b6b);
}

/* Success notification style */
.notification.success {
    background: linear-gradient(45deg, #00b894, #00cec9);
}

/* Education Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--bg-dark);
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent);
}

.modal-body {
    margin-top: 20px;
    overflow: hidden;
}

.modal-body h3 {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.7rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 12px;
}

.high-school-info {
    color: var(--text-gray);
    line-height: 1.7;
    padding: 28px 24px;
    background-color: var(--bg-card);
    border-radius: 10px;
    margin-top: 10px;
}

.info-section {
    margin-bottom: 32px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 4px;
    margin-bottom: 18px;
}

.info-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.info-section ul li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 1rem;
}

.info-section ul li:before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.1em;
}

.info-section p {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--text-gray);
}

.modal-body ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-body li {
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.modal-body li:before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.click-more {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: right;
    font-style: italic;
}

.education-item h3 {
    color: var(--text-light);
    margin-bottom: 10px;
}

.education-item p {
    color: var(--text-gray);
    margin-bottom: 5px;
}

.modal-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--bg-card);
    padding-bottom: 10px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 8px 15px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-btn:hover {
    color: var(--text-light);
    background-color: var(--bg-card);
}

.nav-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.tab-content {
    display: none;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

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

.tab-content::-webkit-scrollbar {
    width: 8px;
}

.tab-content::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.tab-content::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.course-list, .grades-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.course-item, .semester {
    background-color: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
}

.course-item h4, .semester h4 {
    color: var(--accent);
    margin-bottom: 8px;
}

.course-item p, .semester p {
    color: var(--text-gray);
    margin: 0;
}

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

.certification-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.certification-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.certification-content h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.certification-issuer {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 5px;
}

.certification-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.certification-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.certification-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.certification-link:hover {
    color: var(--accent);
}

.certification-link i {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

.modal-title-accent {
    color: var(--accent) !important;
}