/* Import a modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Apply a gradient background */
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #3e132b, #3f152d);
    
    color: #333;
}

/* Form styling */
.form-container {
    max-width: 300px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

input, button {
    width: 90%;
    margin: 10px 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #800000;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

button:hover {
    background-color: #660000;
}

/* Mission, Vision & Objectives Section */
.mission-vision-container {
    max-width: 80%;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.mission-box, .vision-box, .objective-box {
    background: #ffffff;
    padding: 20px;
    width: 30%;
    min-width: 280px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    text-align: center;
    border-top: 5px solid #800000;
    transition: transform 0.3s ease-in-out;
}

.mission-box:hover, .vision-box:hover, .objective-box:hover {
    transform: scale(1.05);
}

.mission-box i, .vision-box i, .objective-box i {
    font-size: 30px;
    color: #800000;
    margin-bottom: 10px;
}

h2 {
    font-size: 22px;
    color: #800000;
    margin-bottom: 10px;
}

p, ul {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

ul li::before {
    content: '✔';
    color: green;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Certificate section */
#certificateSection {
    margin-top: 30px;
    padding: 20px;
}

/* Certificate container */
#certificate {
    width: 90%;
    max-width: 800px;
    background: #ffffff !important;
    padding: 30px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    border: 5px solid #800000;
}

/* Logo styling */
.certificate-logo {
    width: 200px;
    display: block;
    margin: 10px auto;
}

/* Certificate title */
h1 {
    color: #800000;
    font-size: 28px;
    margin-bottom: 10px;
}

/* Certificate text */
h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

p {
    font-size: 18px;
    line-height: 1.5;
}

/* Event details styling */
.event-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #800000;
    padding-top: 15px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    flex-wrap: wrap;
}

.event-details p {
    margin: 5px 10px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    .form-container {
        width: 80%;
    }

    .mission-vision-container {
        flex-direction: column;
        align-items: center;
    }

    .mission-box, .vision-box, .objective-box {
        width: 90%;
    }

    #certificate {
        width: 88%;
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }

    .certificate-logo {
        width: 150px;
    }

    .event-details {
        flex-direction: column;
        text-align: center;
        font-size: 14px;
    }
}

/* For very small devices */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    .certificate-logo {
        width: 240px;
    }

    .event-details p {
        font-size: 12px;
    }
}
.mission-vision-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-align: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.mission-box, .vision-box, .objective-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    width: 100%;
}

.mission-box i, .vision-box i, .objective-box i {
    font-size: 30px;
    color: #800000;
    margin-bottom: 10px;
}

h2 {
    color: #800000;
}
