* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #444444;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 5%;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 500;
    color: #555555;
    font-size: 16px;
}

.main-nav a:hover {
    color: #004b87;
}

.home-section {
    background: linear-gradient(145deg, #154da1, #001f3f);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.home-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.home-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-section {
    padding: 60px 20px;
    text-align: center;
}

.carousel-section h2 {
    color: #0A316C;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    min-width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.carousel-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    color: #0A316C;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-controls button:hover {
    background-color: #0A316C;
    color: white;
    transform: scale(1.1);
}


.teacher-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.teacher-section h2 {
    color: 0A316C;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.teacher-container {
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.teacher-card-right {
    background-color: #0A316C;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    transform: translateY(0);
    transition: transform 0.4s ease-out;
}

.teacher-card-right img {
    order: 2;
    flex-shrink: 0;
    max-height: 150px;
    margin-left: 5%;
    border-radius: 15px;
}

.teacher-card-right div {
    order: 1;
    font-size: 20px;
    position: absolute;
    margin-left: 65%;
    top: 50%;
    transform: translateY(-50%);
}

.teacher-card-left {
    background-color: #0A316C;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    transform: translateY(0);
    transition: transform 0.4s ease-out;
}

.teacher-card-left img {
    order: 1;
    flex-shrink: 0;
    max-height: 150px;
    margin-left : 75%;
    border-radius: 15px;
}

.teacher-card-left div {
    order: 2;
    font-size: 20px;
    position: absolute;
    margin-left : 5%;
    top: 50%;
    transform: translateY(-50%);
}

footer {
    background-color: #0A316C;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 5%;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

footer a {
    color: #cce0ff;
    text-decoration: underline;
}

.text-container{
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #e0e0e0;
    text-align: justify;
    background: linear-gradient(180deg, #0A316C, #003560);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.4s ease-out;
}

.text-container:hover, .teacher-card-left:hover, .teacher-card-right:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease-in;
}

.container-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
}

#programs-container {
    display: block;
}

#programs-container .text-container {
    margin: 40px auto;
}

.faculties-image {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.box {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ebf2fd;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.box fieldset {
    border: 2px solid #eaeaea;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    background-color: #ebf2fd;
    transition: border-color 0.3s ease;
}

.box fieldset:hover {
    border-color: #cce0ff;
}

.box legend {
    color: #0A316C;
    font-size: 22px;
    font-weight: bold;
    padding: 0 15px;
    text-transform: uppercase;
}

.box p {
    margin-bottom: 15px;
}

#information label {
    font-weight: bold;
    color: #003060;
    display: inline-block;
    margin-bottom: 8px;
}

.box input[type="text"],
.box input[type="email"],
.box input[type="date"],
.box select {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
    color: #444444;
}

.box input[type="text"]:focus,
.box input[type="email"]:focus,
.box input[type="date"]:focus,
.box select:focus {
    outline: none;
    border-color: #004b87;
}

fieldset.quiz {
    color: #0A316C;
    font-weight: bold;
    font-size: 18px;
}

fieldset.quiz p {
    margin-top: 15px;
    margin-bottom: 5px;
}

fieldset.quiz label {
    font-weight: normal;
    color: #555555;
    font-size: 16px;
    cursor: pointer;
}

fieldset.quiz input[type="radio"],
fieldset.quiz input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.box input[type="button"],
.box input[type="submit"] {
    background-color: #0A316C;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.box input[type="button"]:hover,
.box input[type="submit"]:hover {
    background-color: #003060;
}

.box > p {
    text-align: center;
}

#results {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    border-collapse: collapse;
    background-color: #f9f9f9; /* Light grey background */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

#results th {
    background-color: #d5ebfd; /* Green header (change to match your theme) */
    color: #0A316C;
    padding: 12px 15px;
}

#results td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    color : #0A316C;
}