/* Critical Font Awesome components only */
.fa-envelope:before{content:"\f0e0"}
.fa-linkedin-in:before{content:"\f0e1"}
.fa-github:before{content:"\f09b"}
.fa-download:before{content:"\f019";display:inline-block}
.fa-sitemap:before{content:"\f0e8"}
.fa-brain:before{content:"\f5dc"}
.fa-microchip:before{content:"\f2db"}
.fa-moon:before{content:"\f186"}
.fa-sun:before{content:"\f185"}

/* Font awesome base */
.fa,.fab,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}
.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}
.fab{font-family:"Font Awesome 5 Brands";font-weight:400}
.fa-download {width:14px;height:14px;display:inline-block}

/* Font face declarations with font-display:swap to prevent layout shift */
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: local('Arial');
}
@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: local('Arial');
}

/* Critical styling only - Improved for accessibility */
:root {
  --accent-color: #0056b3;  /* Darker blue for better contrast */
  --text-primary: #111827;
  --text-secondary: #555555; /* Darker gray for better contrast */
  --bg-light: #f9fafb;
  --card-bg: #ffffff;
  --education-color: #0056b3; /* Darker blue for better contrast */
  --work-color: #006e4e;      /* Darker green for better contrast */
}

/* This file contains only the bare minimum CSS needed for above-the-fold content */

/* New experience section styles */
.experience-section {
    padding: 2rem 0;
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.experience-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.experience-card.education {
    border-top: 3px solid var(--education-color);
}

.experience-card.work {
    border-top: 3px solid var(--work-color);
}

.experience-card-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-period {
    font-weight: 600;
    color: var(--text-primary);  /* Changed to text-primary for better contrast */
}

.experience-type-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    color: white;
}

.education .experience-type-badge {
    background-color: var(--education-color);
}

.work .experience-type-badge {
    background-color: var(--work-color);
}

.experience-card-body {
    padding: 1.5rem;
}

.experience-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.experience-org {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);  /* Changed to text-primary for better contrast */
    font-weight: 500;
}

.experience-description {
    font-size: 0.95rem;
    color: var(--text-primary);  /* Changed to text-primary for better contrast */
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for experience section */
@media (max-width: 768px) {
    body {
        /* Remove any padding that might be pushing content down */
        padding-bottom: 0;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-title {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .experience-card {
        max-width: 100%;
    }
} 