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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(to bottom right, #f9fafb, #e0e7ff);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    margin-top: 60px;
}

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

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--white);
    margin-bottom: 2rem;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-photo:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-img:hover {
    transform: scale(1.05);
}

.interests {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.interests h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.interests ul {
    list-style: none;
}

.interests li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.interests li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

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

.skill-category {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.skill-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

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

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

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

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

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

.project-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.project-image-placeholder i {
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.project-card:hover .project-image-placeholder i {
    transform: scale(1.1);
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-card h3 {
    color: var(--primary-color);
    margin: 1rem;
}

.project-card p {
    margin: 0 1rem 1rem;
    color: var(--text-color);
}

.project-link {
    display: inline-block;
    margin: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

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

/* Contribution Card Styling */
.contributions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contribution-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    background-color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.contribution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Active Contribution Cards */
.active-contribution {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(to right, rgba(52, 152, 219, 0.03), var(--white));
}

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

.active-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.contribution-image {
    max-width: 80px;
    height: auto;
    object-fit: contain;
}

.contribution-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contribution-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contribution-details {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--secondary-color);
}

.contribution-details p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
    color: #444;
}

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

.contribution-highlights {
    margin: 1rem 0;
}

.contribution-highlights h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contribution-highlights ul {
    list-style: none;
    padding-left: 0;
}

.contribution-highlights li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.contribution-highlights li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Contribution Links */
.contribution-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.contribution-link {
    flex: 1;
    text-align: center;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, var(--secondary-color), #1abc9c);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.contribution-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.contribution-link.secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.contribution-link.secondary:hover {
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
}

/* Section Divider */
.section-divider {
    grid-column: 1 / -1;
    text-align: center;
    margin: 2rem 0 1rem;
    position: relative;
}

.section-divider h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: inline-block;
    padding: 0 2rem;
    background-color: var(--light-bg);
    position: relative;
    z-index: 1;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    z-index: 0;
}

/* Proposal Cards (Past Contributions) */
.proposal-card {
    opacity: 0.9;
    border-left: 4px solid #95a5a6;
}

.proposal-card h3 {
    font-size: 1.1rem;
}

.proposal-card .contribution-link {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    margin-top: 1rem;
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    max-width: 800px;
    margin: 0 auto;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.experience-image {
    text-align: center;
}

.certificate-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.certificate-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.experience-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-role {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.experience-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.experience-highlights {
    margin-bottom: 1.5rem;
}

.experience-highlights h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.experience-highlights li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

.experience-project {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.experience-project h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-project p {
    color: var(--text-color);
    margin: 0;
}

.experience-card .certificate-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.experience-card .certificate-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: calc(50% - 30px);
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content:before {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-content:before {
    right: -40px;
}

/* Contact Section */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

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

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

/* Quiz Championship Section */
#quiz-championship {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#quiz-championship h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.quiz-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.quiz-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.quiz-content ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #555;
}

.quiz-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.quiz-img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quiz-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Carousel Styling */
.carousel {
    position: relative;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    max-width: 100%;
    display: block;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.prev-btn {
    left: 10px;
}

.carousel-btn.next-btn {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Certifications Section */
#certifications {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#certifications h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.certification-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.certification-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.certification-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

.certification-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.certification-link:hover {
    text-decoration: underline;
}

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding-right: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .timeline:before {
        left: 0;
    }

    .timeline-content {
        width: calc(100% - 30px);
        margin-left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 30px;
    }

    .timeline-content:before {
        left: -40px;
    }

    .timeline-item:nth-child(even) .timeline-content:before {
        left: -40px;
    }


}

/* Tech Badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem;
}

.tech-badge {
    background: linear-gradient(135deg, var(--secondary-color), #1abc9c);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hardware CTA Section */
.hardware-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hardware-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hardware-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--white);
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Page Hero (for hardware projects page) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 2rem 4rem;
    margin-top: 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-hero .tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.page-hero .subtitle {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.85;
}

/* Project Features List */
.project-features {
    list-style: none;
    padding: 0 1rem 1rem;
    margin: 0;
}

.project-features li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

.project-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Expertise Grid (for hardware page) */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.expertise-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expertise-card p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* CTA Section (for hardware page) */
.cta-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section h2:after {
    background-color: var(--white);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Active nav link */
.nav-links a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.featured-achievement {
    border-left: 5px solid #10b981;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.achievement-badge.champion {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3);
}

.achievement-badge i {
    font-size: 1.2rem;
}

.achievement-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.achievement-image:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.achievement-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.achievement-description {
    color: var(--text-color);
    line-height: 1.8;
}

.achievement-description p {
    margin-bottom: 1rem;
}

.achievement-highlights,
.achievement-timeline {
    background: var(--light-bg);
    padding: 1.2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--secondary-color);
}

.achievement-highlights h4,
.achievement-timeline h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.achievement-highlights ul,
.achievement-timeline ul {
    list-style: none;
    padding-left: 0;
}

.achievement-highlights li,
.achievement-timeline li {
    padding: 0.4rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #555;
    line-height: 1.7;
}

.achievement-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

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

.achievement-gratitude {
    background: linear-gradient(to right, rgba(52, 152, 219, 0.05), transparent);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid #10b981;
    margin: 1.5rem 0;
}

.achievement-gratitude p {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: #444;
}

.achievement-impact {
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.achievement-thanks {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    margin-top: 1.5rem;
    color: #444;
}

.achievement-carousel {
    position: relative;
    max-width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.achievement-carousel-img {
    max-width: 100%;
    display: block;
    border-radius: 10px;
}

/* Responsive for Achievements */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-card {
        padding: 1.5rem;
    }

    .achievement-image {
        max-width: 100%;
    }
}