:root {
    /* Light theme variables */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-color: #007AFF;
    --accent-color-rgb: 0, 122, 255;
    --accent-hover: #0056b3;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-color: #4dabf7;
    --accent-color-rgb: 77, 171, 247;
    --accent-hover: #339af0;
    --nav-bg: rgba(26, 26, 26, 0.95);
    --card-bg: #2d2d2d;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --footer-bg: #1a242f;
    --footer-text: #ecf0f1;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s, color 0.3s;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Container for content centering */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.gil-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.gil-theme {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gil-theme:hover {
    background-color: rgba(var(--accent-color-rgb), 0.1);
}

.moon-icon {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

[data-theme="dark"] .moon-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'%3E%3C/circle%3E%3Cline x1='12' y1='1' x2='12' y2='3'%3E%3C/line%3E%3Cline x1='12' y1='21' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'%3E%3C/line%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'%3E%3C/line%3E%3Cline x1='1' y1='12' x2='3' y2='12'%3E%3C/line%3E%3Cline x1='21' y1='12' x2='23' y2='12'%3E%3C/line%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'%3E%3C/line%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'%3E%3C/line%3E%3C/svg%3E");
}

.sun-icon {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'%3E%3C/circle%3E%3Cline x1='12' y1='1' x2='12' y2='3'%3E%3C/line%3E%3Cline x1='12' y1='21' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'%3E%3C/line%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'%3E%3C/line%3E%3Cline x1='1' y1='12' x2='3' y2='12'%3E%3C/line%3E%3Cline x1='21' y1='12' x2='23' y2='12'%3E%3C/line%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'%3E%3C/line%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Mobile Navigation Toggle */
.nav-change {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.nav-change span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-change.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-change.active span:nth-child(2) {
    opacity: 0;
}

.nav-change.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Animation Classes */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Home Section */
.gil-home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background-color: var(--bg-primary);
    padding-top: 80px;
}

.gil-home-content {
    max-width: 800px;
    text-align: center;
}

.gil-profile {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 4px solid var(--accent-color);
    box-shadow: var(--card-shadow);
}

.gil-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gil-home-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.gil-highlight {
    color: var(--accent-color);
}

.gil-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Buttons */
.gil-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem auto 0;
}

.gil-btn1, .gil-btn2 {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.gil-btn1 {
    background-color: var(--accent-color);
    color: white;
}

.gil-btn1:hover {
    background-color: var(--accent-hover);
}

.gil-btn2 {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.gil-btn2:hover {
    background-color: var(--accent-color);
    color: white;
}

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

.gil-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.gil-socials a {
    color: var(--footer-text);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.gil-socials a:hover {
    color: var(--accent-color);
}

/* Social Icons */
.gil-github::before {
    font-family: 'Font Awesome 6 Brands';
    content: '\f09b';
}

.gil-linkedin::before {
    font-family: 'Font Awesome 6 Brands';
    content: '\f08c';
}

.gil-twitter::before {
    font-family: 'Font Awesome 6 Brands';
    content: '\f099';
}

/* Responsive */
@media (max-width: 768px) {
    .gil-navbar {
        justify-content: space-between;
    }
    
    .gil-nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .gil-nav-links.active {
        right: 0;
    }
    
    .gil-home-content h1 {
        font-size: 2.5rem;
    }
    
    .gil-description {
        font-size: 1.2rem;
    }
    
    .gil-buttons {
        flex-direction: column;
        width: 80%;
    }
    
    .nav-change {
        display: flex;
    }
}

@media (max-width: 480px) {
    .gil-home-content h1 {
        font-size: 2rem;
    }
    
    .gil-profile {
        width: 150px;
        height: 150px;
    }
    
    .gil-socials {
        gap: 1rem;
    }
}

/* Sections */
section {
    padding: 5rem 5%;
}

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

/* About Section */
.about {
    padding: 5rem 5%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

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

.skill-tags span {
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--accent-color);
}

/* Projects Section */
.projects {
    padding: 5rem 5%;
    background-color: var(--bg-secondary);
}

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

/* Project Card */
.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

.project-tags span {
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

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

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

/* GitHub Projects */
.github-projects {
    margin-top: 4rem;
}

.github-username {
    text-align: center;
    margin-bottom: 2rem;
}

.github-username a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.github-username a:hover {
    color: var(--accent-color);
}

.github-repos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.github-repo {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.github-repo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.repo-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.repo-name a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.repo-name a:hover {
    color: var(--accent-hover);
}

.repo-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 2.7rem;
}

.repo-meta, .repo-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.repo-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.repo-topic {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--accent-color);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Loader */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(var(--accent-color-rgb), 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.loader p {
    color: var(--text-secondary);
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.no-repos {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem 0;
}

/* Contact Form */
.contact {
    padding: 5rem 5%;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--text-secondary);
    border-radius: 6px;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
}

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group textarea ~ label {
    top: 1rem;
    transform: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background-color: var(--bg-primary);
    padding: 0 0.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
}

/* Contact Information - Keeping the styles in case you want to use them elsewhere */
.contact-info {
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

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

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

.contact-social {
    margin-top: 2rem;
}

.social-links-small {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links-small a {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

/* Media query for contact section on mobile */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
    }
}

/* Education & Experience Sections */
.education, .experience {
    padding: 5rem 5%;
}

.education {
    background-color: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2.5rem;
}

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

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-color);
    left: -7px;
    top: 5px;
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-date {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Certifications */
.certifications-title {
    text-align: center;
    margin: 4rem 0 2rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.certification-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.certification-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.certification-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Media Queries */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .certification-card h4 {
        font-size: 1rem;
    }
}

/* Media Queries */
@media (min-width: 769px) {
    .timeline {
        padding: 0;
    }
    
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        padding-left: 0;
        width: 100%;
    }
    
    .timeline-item:nth-child(odd) {
        padding-right: calc(50% + 2rem);
    }
    
    .timeline-item:nth-child(even) {
        padding-left: calc(50% + 2rem);
    }
    
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

/* About Page Styles */
.gil-about {
    padding: 120px 5% 5rem;
}

.gil-about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gil-about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.gil-about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.gil-about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.gil-skills h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.gil-skill-tags span {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Timeline for Education and Experience */
.gil-education, .gil-experience {
    padding: 5rem 5%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gil-timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto 4rem;
}

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

.gil-timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.gil-timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.gil-timeline-item:nth-child(even) {
    left: 50%;
}

.gil-timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 1.5rem;
    z-index: 1;
}

.gil-timeline-item:nth-child(odd) .gil-timeline-dot {
    right: -10px;
}

.gil-timeline-item:nth-child(even) .gil-timeline-dot {
    left: -10px;
}

.gil-timeline-content {
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.gil-timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.gil-timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.gil-timeline-date {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--accent-color);
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

/* Certifications */
.gil-certs-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.gil-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gil-cert-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.gil-cert-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.gil-cert-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Projects Page */
.gil-projects {
    padding: 120px 5% 5rem;
}

.gil-github-projects {
    margin-top: 3rem;
}

.gil-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.gil-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(var(--accent-color-rgb), 0.1);
    border-left-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.gil-error-message {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    margin-top: 2rem;
}

.gil-github-repos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gil-github-repo {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.gil-github-repo:hover {
    transform: translateY(-5px);
}

.gil-repo-name {
    margin-bottom: 1rem;
}

.gil-repo-name a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.gil-repo-name a:hover {
    text-decoration: underline;
}

.gil-repo-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.gil-repo-meta, .gil-repo-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.gil-repo-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gil-repo-topic {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    color: var(--accent-color);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Contact Page */
.gil-contact {
    padding: 120px 5% 5rem;
}

.gil-contact-content {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
    gap: 2rem;
}

.gil-form-group {
    position: relative;
    margin-bottom: 2rem;
}

.gil-form-group input,
.gil-form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 6px;
    background-color: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.gil-form-group label {
    position: absolute;
    left: 1rem;
    top: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
}

.gil-form-group input:focus,
.gil-form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.gil-form-group input:focus ~ label,
.gil-form-group input:valid ~ label,
.gil-form-group textarea:focus ~ label,
.gil-form-group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    background-color: var(--bg-primary);
    padding: 0 0.4rem;
    color: var(--accent-color);
}

.check-message::before {
    font-family: 'Font Awesome 6 Free';
    content: '\f00c';
    font-weight: 900;
}

/* Responsive adjustments for the new sections */
@media (max-width: 992px) {
    .gil-about-content {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .gil-timeline::before {
        left: 40px;
    }
    
    .gil-timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .gil-timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .gil-timeline-item:nth-child(even) {
        left: 0;
    }
    
    .gil-timeline-dot {
        left: 31px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .gil-about-content {
        grid-template-columns: 1fr;
    }
    
    .gil-about-image {
        margin-bottom: 2rem;
    }
    
    .gil-github-repos {
        grid-template-columns: 1fr;
    }
    
    .gil-certs-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .gil-about-image img {
        max-width: 100%;
    }
    
    .gil-timeline-content {
        padding: 1rem;
    }
    
    .gil-timeline-content h3 {
        font-size: 1.1rem;
    }
} 