 /* General styles */
 body {
     font-family: 'Roboto', Arial, sans-serif;
     background-color: #f0f2f5;
     /* Lighter background */
     margin: 0;
     line-height: 1.6;
     color: #333;
     box-sizing: border-box;
     /* Include padding in element's total width */
 }

 /* Container to center content */
 .container {
     max-width: 1000px;/* Keeps the container from becoming too wide */
     margin: 0 auto;/* Centers the container horizontally */
     padding: 0;/* No padding here, handled by body */
 }
 /* Header */
 .header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     background-color: #f0f2f5;/* Matching red from the image */
     color: black;
     padding: 40px;/* Adjusted padding */
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     flex-wrap: wrap;
     gap: 20px;/* Space between header items */
     position: relative;/* For proper positioning of children */
 }

 .header .logo-box,
 .header .ntt-logo {
     padding: 10px;
     /* Padding inside the white box */
     border-radius: 12px;
     /* Rounded corners for the white boxes */
     display: flex;
     flex-direction: column;
     /* Stack logo and text */
     align-items: center;
     text-align: center;
 }

 .header .logo-box img{
     height: 100px;
     /* Adjusted size based on image */
     width: auto;
     object-fit: contain;
 }
 .header .ntt-logo img{
     height: 70px;
     /* Adjusted size based on image */
     width: auto;
     object-fit: contain;
     border-radius: 15px;
 }

 .header .logo-box .logo-text {
     font-size: 0.8em;
     margin-top: 5px;
     color: #333;
     /* Darker text for contrast on white background */
 }

 .header .logo-box .logo-text span {
     display: block;
     /* Ensures "Estb. 1944" is on its own line */
     font-weight: 700;
 }

 .header .logo-box .logo-text p {
     margin: 0;
     font-style: italic;
 }

 .header .college-info {
     text-align: left;
     flex-grow: 1;
     padding: 0 20px;
     display: flex;
     flex-direction: column;
 }

 .header .college-info h1 {
     margin: 0 0 5px 0;
     font-size: 2.1em;
     font-weight: 600;
     line-height: 1.2;
     text-align: left; /* Add this line to align text to the left */
}

 .header .college-info .address-line {
     position: relative;
     /* For absolute positioning of the line */
     width: 100%;
     /* Ensure it spans the width for the line */
     padding-bottom: 10px;
     /* Space for the line */
     margin-bottom: 5px;
     /* Space between address and admission fees */
 }

 .header .college-info .address-line p {
     margin: 0;
     font-size: 0.95em;
     opacity: 0.9;
 }

 .header .college-info .separator-line {
     border: none;
     border-bottom: 1px solid rgba(255, 255, 255, 0.5);
     /* White line with transparency */
     width: 70%;
     /* Adjust width of the line */
     margin: 10px auto 0;
     /* Center the line and give space below */
 }

 .header .college-info .admission-text {
     margin: 0;
     font-size: 1.1em;
     font-weight: 700;
     display: block;
     margin-top: 10px;
     /* Space below the line */
 }

 /* Payment Form */
 .payment-form {
     background-color: white;
     max-width: 700px;
     margin: 40px auto;
     padding: 40px;
     border-radius: 12px;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
 }

 .payment-form h2 {
     background-color: #007bff;
     color: white;
     padding: 15px 20px;
     text-align: center;
     margin: -40px -40px 30px -40px;
     border-top-left-radius: 12px;
     border-top-right-radius: 12px;
     font-size: 1.8em;
     font-weight: 700;
 }

 .form-group {
     margin-bottom: 20px;
 }

 .form-group label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: #555;
     font-size: 0.95em;
 }

 .form-group input,
 .form-group select {
     width: calc(100% - 22px);
     padding: 12px 10px;
     border-radius: 6px;
     border: 1px solid #ddd;
     font-size: 1em;
     transition: border-color 0.3s ease, box-shadow 0.3s ease;
     box-sizing: border-box;
 }

 .form-group input:focus,
 .form-group select:focus {
     border-color: #007bff;
     box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
     outline: none;
 }

 .form-row {
     display: flex;
     gap: 20px;
     margin-bottom: 20px;
 }

 .form-row .form-group {
     flex: 1;
     margin-bottom: 0;
 }

 /* Buttons */
 .btn-group {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-top: 30px;
 }

 .pay-btn,
 .reset-btn {
     padding: 12px 30px;
     border: none;
     border-radius: 8px;
     cursor: pointer;
     font-size: 1.1em;
     font-weight: 600;
     transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
 }

 .pay-btn {
     background-color: #28a745;
     color: white;
     box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
 }

 .pay-btn:hover {
     background-color: #218838;
     transform: translateY(-2px);
     box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
 }

 .reset-btn {
     background-color: #6c757d;
     color: white;
     box-shadow: 0 4px 10px rgba(108, 117, 125, 0.2);
 }

 .reset-btn:hover {
     background-color: #5a6268;
     transform: translateY(-2px);
     box-shadow: 0 6px 12px rgba(108, 117, 125, 0.3);
 }

 /* Footer */
 footer {
     text-align: center;
     padding: 25px;
     font-size: 0.9em;
     color: #777;
     background-color: #e9ecef;
     margin-top: 50px;
     border-top: 1px solid #e0e0e0;
     border-top-left-radius: 12px;
     border-top-right-radius: 12px;
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     body {
         padding: 20px 15px;
         /* Adjust top and side padding for smaller screens */
     }

     .header {
         flex-direction: column;
         text-align: center;
         padding: 15px;
         border-radius: 0;
         /* Remove header border radius on small screens */
     }

     .header .logo-box,
     .header .ntt-logo {
         margin-bottom: 15px;
         width: 100%;
         /* Make them full width on small screens */
         flex-direction: row;
         /* Align content in a row */
         justify-content: center;
         gap: 10px;
     }

     .header .logo-box img {
         height: 50px;
         /* Smaller logo */
     }

     .header .ntt-logo img {
         height: 50px;
         /* Smaller logo */
     }

     .header .logo-box .logo-text {
         font-size: 0.7em;
         margin-top: 0;
     }

     .header .college-info h1 {
         font-size: 1.8em;
     }

     .header .college-info .address-line p {
         font-size: 0.85em;
     }

     .header .college-info .separator-line {
         width: 50%;
         /* Adjust line width for smaller screens */
     }

     .header .college-info .admission-text {
         font-size: 1em;
     }

     .payment-form {
         margin: 30px auto;
         padding: 25px;
     }

     .payment-form h2 {
         margin: -25px -25px 20px -25px;
         font-size: 1.5em;
     }

     .form-row {
         flex-direction: column;
         gap: 0;
     }

     .btn-group {
         flex-direction: column;
         gap: 15px;
     }

     .pay-btn,
     .reset-btn {
         width: 100%;
     }
 }

 @media (max-width: 480px) {
     body {
         padding: 15px 10px;
         /* Further adjust top and side padding for very small screens */
     }

     .header .logo-box img,
     .header .ntt-logo img {
         height: 40px;
         /* Even smaller logos */
     }

     .header .college-info h1 {
         font-size: 1.5em;
     }

     .payment-form {
         padding: 20px;
     }

     .payment-form h2 {
         font-size: 1.3em;
     }

     .form-group label {
         font-size: 0.9em;
     }

     .form-group input,
     .form-group select {
         padding: 10px;
         font-size: 0.9em;
     }
 }

 /* Responsive adjustments for Mobile View (<= 768px) */
 @media (max-width: 768px) {
     body {
         padding: 0 20px;
     }

     .header {
         flex-direction: column;
         /* Stack items vertically for mobile */
         justify-content: center;
         /* Center items horizontally when stacked */
         padding: 15px;
         border-radius: 0;
         /* Remove header border radius on small screens */
     }

     .header .logo-box,
     .header .ntt-logo {
         margin-bottom: 15px;
         width: 90%;
         /* Increase width for better mobile display */
         max-width: 300px;
         /* Keep a reasonable max-width */
     }

     .header .logo-box img,
     .header .ntt-logo img {
         height: auto;
         /* Auto height */
         max-height: 60px;
         /* Slightly reduce max height for smaller screens */
         width: 100%;
     }

     .payment-form {
         margin: 30px auto;
         padding: 25px;
     }

     .payment-form h2 {
         margin: -25px -25px 20px -25px;
         font-size: 1.5em;
     }

     .form-row {
         flex-direction: column;
         gap: 0;
     }

     .btn-group {
         flex-direction: column;
         gap: 15px;
     }

     .pay-btn,
     .reset-btn {
         width: 100%;
     }
 }

 @media (max-width: 480px) {
     body {
         padding: 0 15px;
     }

     .header .logo-box,
     .header .ntt-logo {
         width: 100%;
         /* Full width on very small screens */
     }

     .header .logo-box img,
     .header .ntt-logo img {
         max-height: 50px;
         /* Even smaller max height for very small screens */
     }

     .payment-form {
         padding: 20px;
     }

     .payment-form h2 {
         font-size: 1.3em;
     }

     .form-group label {
         font-size: 0.9em;
     }

     .form-group input,
     .form-group select {
         padding: 10px;
         font-size: 0.9em;
     }
 }

        /* Dropdown container */
        .custom-select-container {
            position: relative;
            width: calc(100% - 22px);
        }

        /* Button for dropdown */
        .custom-select-button {
            width: 100%;
            padding: 10px;
            text-align: left;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 6px;
            /* Slightly more rounded */
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Dropdown list */
        .custom-select-list {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            max-height: 200px;
            overflow-y: auto;
            border: 1px solid #ccc;
            border-top: none;
            /* So it connects visually with the button */
            border-radius: 0 0 6px 6px;
            /* Rounded bottom corners only */
            background: #fff;
            z-index: 10;
        }

        /* Show class */
        .custom-select-list.show {
            display: block;
        }

        /* Each course item */
        .custom-select-item {
            padding: 8px 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
        }

        /* Remove bottom border from last item */
        .custom-select-item:last-child {
            border-bottom: none;
        }

        /* Checkbox styling */
        .custom-select-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }

        /* Label styling */
        .custom-select-item label {
            cursor: pointer;
            margin: 0;
            font-size: 14px;
            color: #333;
            flex: 1;
        }

        /* Hover effect */
        .custom-select-item:hover {
            background-color: #f9f9f9;
        }
