:root {
    --primary: #1a5f7a;
    --secondary: #2a9d8f;
    --accent: #e9c46a;
    --dark: #264653;
    --light: #f8f9fa;
    --danger: #e76f51;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: #333;
    min-height: 100vh;
    line-height: 1.6;
}

.header-section {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem 0;
    border-bottom: 5px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.08" d="M0,192L48,181.3C96,171,192,149,288,154.7C384,160,480,192,576,192C672,192,768,160,864,138.7C960,117,1056,107,1152,117.3C1248,128,1344,160,1392,176L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.university-logo {
    max-height: 90px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.main-title {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.highlight-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin: 2rem auto;
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary);
}

.info-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.info-card h3 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.info-card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.result-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 3px solid var(--secondary);
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.result-card h4 {
    color: var(--primary);
    font-weight: 600;
    margin: 1rem 0;
}

.result-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.result-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(26, 95, 122, 0.4);
    color: white;
}

.document-list {
    list-style-type: none;
    padding-left: 0;
}

.document-list li {
    padding: 0.75rem 0 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    position: relative;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.contact-info i {
    background: var(--accent);
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.footer {
    background: var(--dark);
    color: white;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 4px solid var(--accent);
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.deadline-badge {
    background: linear-gradient(to right, var(--danger), #c0392b);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    font-size: 1.1rem;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.05);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.privacy-notice {
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .header-section {
        padding: 1.8rem 0;
    }
    
    .university-logo {
        max-height: 75px;
    }
    
    .highlight-box {
        padding: 1.75rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .deadline-badge {
        font-size: 1rem;
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .header-section {
        padding: 1.5rem 0;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
}