:root {
    --primary: #2d4697;
    --primary-light: #e6f0ff;
    --primary-dark: #003d82;
    --secondary: #e63946;
    --accent: #ffc107;
    --accent-light: #fff8e6;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    padding-top: 80px;
    background-color: #fafafa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: white !important;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: var(--dark) !important;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--primary);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary);
}


.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

/* Hero Section */
.apply-hero {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(0, 86, 179, 0.95) 100%),
        url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    padding: 100px 0 80px;
    color: white;
    position: relative;
    /* clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -50px; */
}


.apply-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.apply-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    display: inline-block;
    color: var(--primary);
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Document Checklist Section */
.document-section {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
}

.document-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.document-tab {
    padding: 0.8rem 2rem;
    margin: 0 0.5rem 1rem;
    background: white;
    border: 2px solid var(--primary-light);
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.document-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.document-tab:hover:not(.active) {
    background: var(--primary-light);
}

.document-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.document-content.active {
    display: block;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
}

.document-list {
    columns: 2;
    column-gap: 2rem;
    list-style-type: none;
    padding-left: 0;
}

.document-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    align-items: center;
    break-inside: avoid;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.1rem;
    min-width: 20px;
}

.download-note {
    font-size: 0.85rem;
    color: var(--gray);
    margin-left: 2rem;
    font-style: italic;
}

/* Application Steps Section */
.steps-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(to bottom, var(--primary-light) 0%, white 100%);
}

.steps-container {
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    height: calc(100% - 80px);
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    z-index: 1;
}

.step-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    z-index: 2;
    transition: var(--transition);
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.step-content {
    padding-left: 2rem;
}

.step-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .apply-hero {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        margin-bottom: -30px;
        padding: 80px 0 60px;
    }

    .apply-hero h1 {
        font-size: 2.4rem;
    }

    .document-list {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    body {
        padding-top: 70px;
    }

    .apply-hero {
        text-align: center;
        padding: 70px 0 50px;
        clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    }

    .apply-hero h1 {
        font-size: 2rem;
    }

    .steps-container::before {
        left: 25px;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: -10px;
        left: -10px;
    }
}

@media (max-width: 576px) {
    .apply-hero h1 {
        font-size: 1.8rem;
    }

    .document-tabs {
        flex-direction: column;
        align-items: center;
    }

    .document-tab {
        width: 100%;
        max-width: 250px;
        text-align: center;
        margin: 0 0 0.5rem 0;
    }

    .steps-container::before {
        display: none;
    }

    .step-card {
        margin-left: 30px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact-section {
    margin-top: 3rem;
    background-color: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.contact-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.call-btn {
    background-color: var(--accent);
    color: var(--dark);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.call-btn:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-2px);
}