/* Reset and basic page setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
}

/* Application Container */
.application-container {
    max-width: 1000px;
    margin: 50px auto;
    background: linear-gradient(135deg, #1C73FF 0%, #0044cc 100%);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 40px;
    color: white;
}

/* Logo styling */
.logo-container {
    margin-top: 20px;
    margin-bottom: 40px;
}

.logo {
    height: 80px; /* Adjust the size of the logo as needed */
    border-radius: 50%; /* Round the logo */
}

/* Form content */
.application-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.application-content h1 {
    text-align: center;
    color: #D30000;
    margin-bottom: 20px;
}

.application-content p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 16px;
    margin-bottom: 8px;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button.submit-btn {
    background: #1C73FF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

button.submit-btn:hover {
    background: #1057C2;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #D30000;
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 100px;
    border: 8px solid #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    background: #1C73FF;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.nav-links a:hover {
    background: #1057C2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-links a.active {
    background: #0044cc;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: white;
    border-radius: 10px;
}

.nav-links a.donate-btn {
    background: #FF00FF;
}

.nav-links a.donate-btn:hover {
    background: #D100D1;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.application-header {
    text-align: center;
    margin-bottom: 30px;
}

.application-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.application-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Styles */
.application-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    color: #1C73FF;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #FF00FF;
    border-radius: 2px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1C73FF;
    outline: none;
    box-shadow: 0 0 5px rgba(28, 115, 255, 0.3);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    color: #333;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

/* Button Styles */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #1C73FF;
    color: white;
}

.btn-primary:hover {
    background: #1057C2;
}

.btn-secondary {
    background: #FF00FF;
    color: white;
}

.btn-secondary:hover {
    background: #D100D1;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1C73FF;
    color: #1C73FF;
}

.btn-outline:hover {
    background: #1C73FF;
    color: white;
}

/* Footer Styles */
footer {
    background: #222;
    color: #fff;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FF00FF;
}

.footer-section p, .footer-section li {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF00FF;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #FF00FF;
    transform: translateY(-5px);
}

.social-icons i {
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .application-container {
        margin: 30px 15px;
        padding: 30px 20px;
    }
    
    .application-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }
    
    .logo img {
        height: 80px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: #D30000;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        transition: 0.4s;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .application-form {
        padding: 25px 15px;
    }
    
    .application-header h1 {
        font-size: 1.8rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/application-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FF00FF;
    border-radius: 2px;
}

/* Application Section */
.application-section {
    background-color: #f9f9f9;
}

.application-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 20px;
}

.application-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #1C73FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.process-step:nth-child(2) .step-icon {
    background: #FF8C00;
}

.process-step:nth-child(3) .step-icon {
    background: #FF00FF;
}

.process-step:nth-child(4) .step-icon {
    background: #32CD32;
}

.process-step h3 {
    margin-bottom: 8px;
    color: #333;
    font-size: 1.2rem;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.application-guidelines {
    background: #f0f8ff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.application-guidelines h3 {
    color: #1C73FF;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.application-guidelines ul {
    list-style: none;
}

.application-guidelines li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.application-guidelines li i {
    color: #32CD32;
    margin-top: 3px;
}

.application-form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.application-form-container h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.application-form-container p {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section {
    font-size: 1.3rem;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #1C73FF;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1C73FF;
    outline: none;
    box-shadow: 0 0 8px rgba(28, 115, 255, 0.3);
    background-color: #fff;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

#success-message {
    background: #e0f7e0;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
}

.success-content i {
    font-size: 5rem;
    color: #32CD32;
    margin-bottom: 20px;
}

.success-content h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.success-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.success-content .btn {
    margin-top: 20px;
}
