/* CV Page - Mobile First Responsive Design */

/* Hero Section */
.cv-hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    padding: 120px 20px 60px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cv-hero i {
    margin-right: 10px;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
}

/* Main Content */
.cv-main {
    padding: 40px 20px;
    background: #f5f5f5;
}

/* CV Content */
.cv-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* CV Sections */
.cv-section {
    margin-bottom: 40px;
}

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

.cv-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-section h2 i {
    color: var(--primary);
    font-size: 1.6rem;
}

.cv-section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-section-title i {
    color: var(--primary);
    font-size: 1.6rem;
}

/* CV Timeline */
.cv-timeline {
    position: relative;
}

.cv-timeline-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

/* CV Logo Column */
.cv-logo-column {
    text-align: center;
    margin-bottom: 10px;
}

.cv-logo {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

/* CV Date Column */
.cv-date-column {
    margin-bottom: 5px;
}

.cv-date {
    display: inline-block;
    background: var(--secondary);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* CV Content Column */
.cv-content-column {
    flex: 1;
}

.cv-position {
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.5;
}

/* CV Expandable */
.cv-expandable {
    margin-top: 5px;
}

.cv-read-more {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.cv-read-more:hover {
    background: var(--primary);
    color: #ffffff;
}

.cv-read-more i {
    transition: transform 0.3s ease;
}

.cv-details {
    margin-top: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cv-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.cv-details p:last-child {
    margin-bottom: 0;
}

.cv-details strong {
    color: var(--primary);
    font-weight: 600;
}

/* Presentation Items with Downloads */
.cv-presentation-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Download Buttons and Links */
.cv-download-column {
    margin-top: 15px;
}

.cv-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cv-download-column .btn-secondary,
.cv-links-group .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cv-download-column .btn-secondary:hover,
.cv-links-group .btn-secondary:hover {
    background: #004d8a;
    border-color: #004d8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 179, 0.3);
}

.cv-download-column .btn-secondary i,
.cv-links-group .btn-secondary i {
    font-size: 1rem;
}

/* Awards Section - Special Styling */
.cv-award-item {
    background: linear-gradient(135deg, #fff9e6, #fffaf0);
    border-left: 5px solid #ffd700;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 30px 25px !important;
}

.cv-award-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.cv-award-item::before {
    content: '\f091';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.05);
    z-index: 0;
}

.cv-award-item:first-child {
    background: linear-gradient(135deg, #fff3cd, #ffe9a6);
    border-left: 5px solid #ff8c00;
}

.cv-award-item:first-child::before {
    content: '\f559';
    color: rgba(255, 140, 0, 0.08);
}

.cv-award-item:first-child .cv-position {
    color: #d97706;
}

.cv-award-item .cv-date {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 18px;
}

.cv-award-item .cv-position {
    color: #d97706;
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.cv-award-item .cv-details {
    padding: 20px;
    margin-top: 15px;
}

.cv-award-item .cv-details p {
    font-size: 1rem;
    line-height: 1.8;
}

/* CV Item */
.cv-item {
    margin-top: 0;
}

/* Research Interests */
.research-interests {
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
    font-weight: 500;
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    margin: 0;
}

/* CV Lists */
.cv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-list-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.cv-list-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.cv-list-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.cv-list-item p:last-child {
    margin-bottom: 0;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.skill-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 18px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #333;
    border: 2px solid #e0e0e0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.skill-item:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 102, 179, 0.15);
}

.skill-item i {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Legacy skill category styles (if needed) */
.skill-category {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid var(--primary);
}

.skill-category h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-category li {
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

/* Footer */
.site-footer {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.site-footer p {
    color: #333;
    font-size: 0.9rem;
}

/* Tablet - 600px+ */
@media (min-width: 600px) {
    .cv-hero {
        padding: 150px 40px 80px;
        min-height: 300px;
    }

    .cv-hero h1 {
        font-size: 3rem;
    }

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

    .cv-main {
        padding: 50px 30px;
    }

    .cv-content {
        padding: 40px 30px;
    }

    .cv-section-title {
        font-size: 2rem;
    }

    .cv-timeline-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 30px;
    }

    .cv-logo-column {
        margin-bottom: 0;
        flex-shrink: 0;
        width: 120px;
        margin-right: 20px;
    }

    .cv-logo {
        max-width: 100px;
    }

    .cv-date-column {
        flex-shrink: 0;
        margin-right: 25px;
        margin-bottom: 0;
    }

    .cv-position {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .cv-presentation-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .cv-presentation-item .cv-content-column {
        flex: 1;
        min-width: 300px;
    }

    .cv-download-column {
        margin-top: 0;
        display: flex;
        align-items: flex-start;
        margin-left: auto;
    }

    .cv-links-group {
        flex-direction: column;
        gap: 10px;
        width: auto;
        min-width: 180px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
    }
}

/* Desktop Small - 768px+ */
@media (min-width: 768px) {
    .cv-hero {
        padding: 180px 60px 100px;
        min-height: 350px;
    }

    .cv-hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .cv-main {
        padding: 60px 40px;
    }

    .cv-content {
        padding: 50px 40px;
    }

    .cv-section-title {
        font-size: 2.2rem;
    }

    .cv-timeline-item {
        padding: 30px;
    }

    .cv-logo-column {
        width: 120px;
        margin-right: 25px;
    }

    .cv-logo {
        max-width: 110px;
    }

    .cv-date-column {
        width: 180px;
        margin-right: 30px;
    }

    .cv-position {
        font-size: 1.4rem;
    }

    .cv-details p {
        font-size: 1rem;
    }

    .cv-links-group {
        flex-direction: row;
        gap: 12px;
        min-width: 380px;
    }

    .cv-download-column .btn-secondary,
    .cv-links-group .btn-secondary {
        white-space: nowrap;
    }
}

/* Desktop Medium - 1024px+ */
@media (min-width: 1024px) {
    .cv-hero {
        padding: 200px 80px 120px;
        min-height: 400px;
    }

    .cv-hero h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cv-main {
        padding: 70px 50px;
    }

    .cv-content {
        padding: 60px 50px;
    }

    .cv-section-title {
        font-size: 2.4rem;
    }

    .cv-timeline-item {
        padding: 35px;
    }

    .cv-logo-column {
        width: 140px;
        margin-right: 30px;
    }

    .cv-logo {
        max-width: 130px;
    }

    .cv-date-column {
        width: 200px;
        margin-right: 35px;
    }

    .cv-position {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .skill-item {
        padding: 20px 22px;
        font-size: 1rem;
    }
    
    .skill-item i {
        font-size: 1.4rem;
    }
}

/* Desktop Large - 1440px+ */
@media (min-width: 1440px) {
    .cv-hero {
        padding: 220px 100px 140px;
        min-height: 450px;
    }

    .cv-content {
        padding: 70px 60px;
    }

    .cv-timeline-item {
        padding: 40px;
    }
}
