:root {
    --primary-blue: #5883EF;
    --dark-blue: #221F8C;
    --primary-yellow: #F7CC47;
    --text-dark: #161F39;
    --bg-cream: #FFFCDF;
}

/* Base Typography */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--bg-cream);
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Container */
.container {
    width: 100%;
    background: transparent;
    position: relative;
}

.inner-container {
    max-width: 90em;
    margin: 0 auto;
    padding: 0 5em;
    position: relative;
}

/* Header */
.header {
    width: 100%;
    background: linear-gradient(0deg, var(--primary-blue) 0%, var(--primary-blue) 100%);
}

.header .inner-container {
    height: 5.625em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 0.5625em 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 2em;
    transition: color 0.3s ease;
}

.logo:hover .logo-text {
    color: var(--primary-yellow);
}

.nav-menu {
    display: flex;
    gap: 6.25em;
    transition: all 0.3s ease;
}

.nav-link {
    color: white;
    font-size: 1em;
    font-weight: 400;
    line-height: 2em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.hamburger {
    display: none;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0.5em;
}

/* Hero Section */
.hero {
    width: 100%;
    background: var(--primary-blue);
    padding-top: 5.625em;
    position: relative;
    height: 34em;
}

.hero .inner-container {
    height: 100%;
    position: relative;
}

.hero-content {
    max-width: 35.8125em;
    position: relative;
    z-index: 2;
}

.pattern-bg {
    position: absolute;
    width: 36.5em;
    height: 13.5625em;
    top: 0.65em;
    right: 14em;
    z-index: 0;
    background-image: url("img/Group.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.2;
    mix-blend-mode: overlay;
    pointer-events: none;
    transition: all 0.3s ease;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1.14;
    color: white;
}

.hero-subtitle {
    font-size: 1em;
    color: white;
    margin-top: 0.3125em;
}

.social-icons {
    display: flex;
    gap: 1em;
    margin-top: 2em;
}

.social-icon {
    width: 3em;
    height: 3em;
    background: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon i {
    color: white;
    font-size: 1.25em;
}

.social-icon:hover {
    background: var(--primary-yellow);
}

.hero-image {
    position: absolute;
    right: 5em;
    top: -5em;
    width: 27.875em;
    height: auto;
    border-radius: 71.875em 71.875em 14.0625em 71.875em;
    z-index: 3;
}

/* Activities Section */
.activities {
    width: 100%;
    background: var(--primary-yellow);
}

.activities .inner-container {
    padding-top: 3.75em;
    padding-bottom: 3.75em;
}

.activities-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
}

.timeline {
    display: grid;
    grid-template-columns: minmax(9.5em, auto) 1fr;
    gap: 1.5em;
    margin-top: 0;
    margin-bottom: 2em;
}

.timeline-date {
    font-weight: 700;
    color: var(--text-dark);
    min-width: 9.5em;
    padding-right: 1em;
}

.more-info {
    color: var(--text-dark);
}

.timeline-content {
    color: var(--text-dark);
}

.timeline-category {
    color: var(--text-dark);
    font-size: 1.25em;
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 700;
}

.timeline-category:first-of-type {
    margin-top: 1.5em;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    margin-top: 3em;
}

.skills-card {
    background: var(--bg-cream);
    padding: 2em;
    border-radius: 1em;
    color: var(--text-dark);
    padding-bottom: 3em;
}

.skills-card h3 {
    font-size: 1.25em;
    margin-bottom: 1.5em;
    text-align: center;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
    justify-items: center;
    align-items: start;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    text-align: center;
}

.skill-icon {
    width: 2.5em;
    height: 2.5em;
    margin-bottom: 0.5em;
}


/* About Section */
.about {
    width: 100%;
    background: var(--bg-cream);
}

.about .inner-container {
    padding-top: 3.75em;
    padding-bottom: 3.75em;
}

.about-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1em;
}

.about-text {
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 100%;
}

/* Education Section */
.education {
    margin-top: 3em;
}

.education-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1em;
}

.education-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.education-table td {
    padding: 1.5em 0;
    color: var(--text-dark);
    line-height: 1.6;
}

.education-table td:first-child {
    width: 7.5em;
    font-weight: 700;
    vertical-align: top;
    padding-right: 1.5em;
}

.education-table tr:not(:last-child) td {
    border-bottom: 1px solid rgba(22, 31, 57, 0.1);
}

/* Footer */
.footer {
    width: 100%;
    background: var(--bg-cream);
}

.footer .inner-container {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}

.footer-menu-title {
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.footer-menu {
    margin-top: 1em;
    color: var(--text-dark);
}

.footer-menu a {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5em;
}

.footer-menu a:hover {
    color: var(--primary-blue);
}

.footer-divider {
    height: 0.0625em;
    background: var(--dark-blue);
    margin: 2.5em 0;
}

.copyright {
    color: rgba(31, 21, 144, 0.64);
}

/* Media Queries */

@media (max-width: 75em) {
    html {
        font-size: 14px;
    }
    
    .hero {
        height: 30em;
    }
    
    .nav-menu {
        gap: 3em;
    }
    
    .inner-container {
        padding: 0 3em;
    }
    
    .hero-content {
        max-width: 55%;
    }
    
    .hero-image {
        right: 3em;
        width: 18.75em;
    }
    
    .activities, .footer {
        padding: 0;
    }
    
    .pattern-bg {
        right: 10em;
    }
    
    .skills-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5em;
    }
    
    .skill-name {
        font-size: 0.9em;
        min-height: 2.4em;
    }
}

@media (max-width: 48em) {
    html {
        font-size: 12px;
    }
    
    .hero {
        height: 26em;
        padding-top: 2.5em;
    }
    
    .hero-title {
        font-size: 3em;
    }
    
    .social-icons {
        gap: 0.75em;
    }
    
    .social-icon {
        width: 2.5em;
        height: 2.5em;
    }
    
    .inner-container {
        padding: 0 2.5em;
    }
    
    .hero-image {
        right: 2.5em;
        width: 15em;
        top: -2em;
    }
    
    .hero-content {
        max-width: 60%;
    }
    
    .pattern-bg {
        right: 8em;
        width: 25em;
    }
    
    .timeline {
        grid-template-columns: minmax(8em, auto) 1fr;
        gap: 1em;
        margin-bottom: 1.5em;
    }
    
    .timeline-date {
        min-width: 8em;
        font-size: 0.9em;
    }
    
    .timeline-content {
        font-size: 0.9em;
    }
    
    .timeline-category {
        font-size: 1.1em;
        margin-top: 1.5em;
        margin-bottom: 0.5em;
    }
    
    .activities .inner-container,
    .footer .inner-container {
        padding-top: 3em;
        padding-bottom: 3em;
    }
    
    .about-text {
        font-size: 0.9em;
    }
    
    .education-table td {
        padding: 1em 0;
        padding-right: 1em;
        font-size: 0.9em;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    
    .skills-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25em;
    }
    
    .skill-icon {
        width: 2em;
        height: 2em;
    }
    
    .skill-name {
        font-size: 0.8em;
        min-height: 2.8em;
    }
}

@media (max-width: 36em) {
    html {
        font-size: 11px;
    }
    
    .hero {
        height: 22em;
        padding-top: 2em;
    }
    
    .hero-title {
        font-size: 2.5em;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.9em;
        margin-top: 0.5em;
    }
    
    .activities-title {
        font-size: 1.2em;
    }
    
    .inner-container {
        padding: 0 1.5em;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--primary-blue);
        flex-direction: column;
        gap: 0;
        padding: 0;
        opacity: 0;
        transform: translateY(-1em);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 1em 1.5em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: var(--dark-blue);
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5em;
        line-height: 1.2;
    }
    
    .hero-image {
        right: 1.5em;
        width: 12em;
        top: -1em;
    }
    
    .hero-content {
        max-width: 65%;
    }
    
    .pattern-bg {
        right: 5em;
        width: 18em;
        top: -2em;
    }
    
    .activities, .footer {
        padding: 0;
    }
    
    .timeline {
        grid-template-columns: minmax(7em, auto) 1fr;
        gap: 0.75em;
        margin-top: 1.5em;
        margin-bottom: 1.25em;
    }
    
    .timeline-date {
        min-width: 7em;
        font-size: 0.85em;
    }
    
    .timeline-content {
        font-size: 0.85em;
    }
    
    .timeline-category {
        font-size: 1em;
        margin-top: 1.25em;
        margin-bottom: 0.5em;
    }
    
    .social-icon {
        width: 2.25em;
        height: 2.25em;
    }
    
    .social-icon i {
        font-size: 1em;
    }
    
    .activities .inner-container,
    .footer .inner-container {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    
    .footer-menu-title {
        font-size: 0.9em;
    }
    
    .footer-menu a {
        font-size: 0.9em;
        margin-bottom: 0.4em;
    }
    
    .copyright {
        font-size: 0.85em;
    }
    
    .about-title {
        font-size: 1.2em;
    }
    
    .about-text {
        font-size: 0.85em;
        line-height: 1.6;
    }
    
    .education-title {
        font-size: 1.2em;
    }
    
    .education-table td {
        padding: 0.5em 0;
        gap: 0.5em;
        font-size: 0.85em;
    }
    
    .education-table td:first-child {
        width: 5.5em;
    }
    
    .skills-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }
    
    .skill-name {
        font-size: 0.75em;
        min-height: 3em;
    }
}
