/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f2f2f2; /* Light background for content */
}

header {
    background-color: #222;
    color: gold;
    padding: 20px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

header .logo img {
    height: 60px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: gold;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #E49B0F;
}

/* Header Section with Smoother Polygon Shape */
.courses-header {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #1d1568, #333);
    color: gold;
    margin-top: 60px;
    padding-top: 180px;
    clip-path: polygon(0 0, 100% 0%, 100% 75%, 50% 100%, 0 75%);
    animation: fadeIn 2s ease-out;
}

/* Animation for header */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Header Title */
.courses-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
    text-align: center;
}

/* Header Description */
.courses-header p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: #ddd;
}

/* Admission Section */
.admission-section {
    padding-top: 100px;
    background: linear-gradient(to bottom, #FFD700, #fff);
    text-align: center;
    padding: 60px 80px;
    flex: 1;
    min-height: 400px;
}
.admission-container h1{
    text-align: center;
}

.admission-section .form-container {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #34495E, #fff);
    padding: 60px;
    padding-left: 40px; /* Adds a left gap */
    padding-right: 40px; /* Adds a right gap */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
    width: 100%;
    margin-right: 90px;
}


form {
    display: flex;
    justify-content: center; /* Centers the form contents horizontally */
    align-items: center; /* Centers the form contents vertically */
    flex-direction: column;
}

form input,
form select,
form textarea {
    width: 80%; 
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto; /* Centers the input horizontally */
    margin-right: auto; /* Centers the input horizontally */
}
.spm-container {
    text-align: justify; /* Center the label */
}

.radio-group {
    display: flex;
    justify-content: center; /* Center the radio buttons */
    gap: 10px; /* Add spacing between radio buttons */
    margin-top: 20px;
}

form button {
    background-color: #E49B0F;
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%; /* Optional: Set a width for the button */
    z-index: 10; /* Ensure it appears above other elements */
}

form button:hover {
    background-color: #d88a07;
}


footer {
    background: linear-gradient(to bottom,  #2C3E50,black);
            color: #fff;
            text-align: center;
            padding: 10px 20px;  /* 10px top/bottom, 20px left/right */
        }

        footer .social a {
            color: #fff;
            margin: 0 10px;
            text-decoration: none;
        }

        footer .social a:hover {
            text-decoration: underline;
        }

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    header .logo img {
        height: 50px;
    }

    .admission-section {
        padding: 60px 20px;
    }

    .admission-section h2 {
        font-size: 2rem;
    }

    .admission-section p {
        font-size: 1rem;
    }

    form button {
        font-size: 1rem;
        width: 100%; /* Full width on smaller screens */
        max-width: none; /* Remove max-width if you want it full width */
    }
}
