body {
    margin: 0;
    font-family: Bookman Old Style;
    background: #fafafa;
    color: #333;
    text-align: justify;
    font-size: 16px;
}

/* Header Details */

header.sticky {
    background: #92403a;
    color: white;
    padding: 0px;
    text-align: center;
    border: #ffffff 3px solid;
    font-family: 'Bookman Old Style';
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    position: fixed;
    top: -10px;
    left: 520px;
    cursor: pointer;
    -webkit-animation: scale-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-in-bottom 0.5s cubic-bezier (0.250, 0.460, 0.450, 0.940) both;
}

@media (max-width: 768px) {

    header {
        padding: 10px 0;
        min-height: auto;
    }

    header img {
        width: 140px;
        margin-bottom: 5px;
    }

    header h1 {
        font-size: 1.4rem;
        margin: 5px 0;
    }

    nav {
        margin-top: 5px;
    }
}

/* End of Header Details */

/* Button Details */

.other-button {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    padding: 0.7em 2em;
    border: 3px solid #ffffff;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.1);
    color: #92403a;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
}

.other-button:before {
    transition: 0.5s all ease;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    background-color: #92403a;
    z-index: -1;
}

.other-button:hover,
.other-button:focus {
    color: white;
}

.other-button:hover:before,
.other-button:focus:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

.other-button:active {
    transform: scale(0.9);
}

button {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    padding: 0.7em 2em;
    border: 3px solid #ffffff;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.1);
    color: #92403a;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
    cursor: pointer;
}

button:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    background-color: #92403a;
    z-index: -1;
}

button:hover,
button:focus {
    color: white;
}

button:hover:before,
button:focus:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

button:active {
    transform: scale(0.9);
}

nav ul {
    padding: 0;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* End of Button Details */

#hero {
    background-image: url(brownbackground.webp);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 40px;
    border: #7A3E2B 3px solid;
    text-shadow: black 5px 5px 5px;
    border-radius: 5px;
}

#hero p {
    font-size: 21px;
    font-family: sans-serif;
    font-weight: bold;
}

#hero2 {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 40px;
    border: #7A3E2B 3px solid;
    text-shadow: black 5px 5px 5px;
    border-radius: 5px;
}

#hero2 #bgVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#hero2 .hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h3 {
    border-bottom: none;
}

.hero-content p {
    font-size: 20px;
}

section {
    margin: 40px auto;
    width: 80%;
    max-width: 900px;
}

h1 {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 50px;
    -webkit-animation: scale-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-in-bottom 0.5s cubic-bezier (0.250, 0.460, 0.450, 0.940) both;
}

h2 {
    border-bottom: 2px solid #92403a;
    padding-bottom: 5px;
}

h3 {
    border-bottom: 3px solid #7A3E2B;
    padding-bottom: 5px;
}

h4 {
    padding-top: 15px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    font-family: 'Bookman Old Style';
    -webkit-animation: scale-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: scale-in-bottom 0.5s cubic-bezier (0.250, 0.460, 0.450, 0.940) both;
}

.course-list li {
    margin: 8px 0;
}

.team-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.team-member {
    background: white;
    border: 2px solid #92403a;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    border-radius: 5px;
}

footer {
    text-align: justify;
    padding: 20px;
    background: #92403a;
    color: white;
    margin-top: 40px;
    border: #ffffff 3px solid;
    display: flex;
    gap: 20px;
    justify-content: center;
    cursor: pointer;
}

footer a {
    user-select: all;
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}



/* Animation Stuff Here */
@-webkit-keyframes scale-in-bottom {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        opacity: 1;
    }
}

@keyframes scale-in-bottom {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1);
        ransform: scale(1);
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    nav button {
        margin: 6px;
    }
}

@media (max-width: 768px) {

    header img {
        position: static !important;
        display: block;
        margin: 0 auto 10px;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav button {
        width: 90%;
        max-width: 300px;
    }

    iframe {
        width: 100% !important;
        height: 300px;
    }

    .ceo img,
    .thankyou img {
        width: 100% !important;
        position: static !important;
    }

    section {
        padding: 20px 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

/* End of Animation Stuff */

/* Team Page Layout */
.team-page {
    width: 80%;
    max-width: 1000px;
    margin: 40px auto;
}

.ceo-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    border: #92403a 2px solid;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.ceo-photo {
    width: 950px;
    height: 450px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: #92403a 2px solid;
    object-fit: cover;
}

.team-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    border: 2px solid #92403a;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.team-photo {
    width: 275px;
    height: 183px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: #92403a 2px solid;
    object-fit: cover;
}

.team-member .name {
    font-size: 20px;
    margin: 10px 0 5px 0;
    color: #000000;
    border-bottom: 2px solid #92403a;
    padding-bottom: 5px;
}

.team-member .role {
    font-weight: bold;
    color: #92403a;
}

.team-member .description {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.team-member .email {
    margin-top: 10px;
    font-size: 14px;
    color: #000000;
    text-align: center;
    border: 2px solid #92403a;
    border-radius: 5px;
    padding: 5px;
}

.contact-btn {
    background-color: #7a362f;
    color: white;
    border: white 2px solid;
    padding: 8px 12px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn:hover {
    background-color: #622c25;
    border-radius: 2px;
    border: white 2 px solid;

}

/* End of Team Page Layout */

/* About Us Details */
.about-heading {
    color: #000000;
    font-family: 'Helvetica Neue', sans-serif;
    border-bottom: #92403a 2px solid;
    padding-bottom: 5px;
}

.about-content {
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.6;
}

.about-content h3 {
    color: #000000;
    margin-top: 25px;
}

.about-content ul {
    margin-left: 20px;
    list-style: square;
}

.statisics-section {
    display: flex;
    flex-direction: row;
}

.statistics-containter {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.statistics {
    background: none;
    border: 2px solid #92403a;
    border-radius: 8px;
    padding: 25px;
    width: 300px;
    text-align: center;

}

.reviews-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.review {
    background: white;
    border: 2px solid #92403a;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.review .past-student {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    border-bottom: 2px solid #92403a;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.review .past-employee {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    border-bottom: 2px solid #92403a;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.review .star-rating {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.review .review-content {
    font-size: 14px;
    color: #555;
    text-align: justify;
}

.review .review-role {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.review .email {
    font-size: 14px;
    color: #555;
    border: #92403a 2px solid;
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
}

.applynow-title {
    text-align: center;
    color: #000000;
    padding-bottom: 5px;
}

.applynow-content {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.6;
    text-align: justify;
}

/* End of About Us Details */

/* Contact Page Layout */
.contact-content {
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.6;
}

.contact-box {
    background: white;
    border: 2px solid #92403a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.contact-image {
    width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 6px;
    border: #92403a 2px solid;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 2px solid #92403a;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form button {
    background-color: #92403a;
    color: white;
    border: white 2px solid;
    padding: 12px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #7a362f;

}

.contact-form input {
    font-family: 'Bookman Old Style';
    font-size: 16px;
}

.contact-form textarea {
    font-family: 'Bookman Old Style';
    font-size: 16px;
}

/* End of Contact Page Layout */

/* Courses Page Layout */
.courses-section {
    width: 85%;
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.course-card {
    background: white;
    border: 2px solid #92403a;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    text-align: left;
}

.course-card h3 {
    color: #000000;
    border-bottom: 2px solid #92403a;
    padding: 5px;
    text-align: center;
}

iframe {
    width: 850px;
}

.course-card ul {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.course-card .course-image {
    width: 225px;
    height: 150px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: #92403a 2px solid;
    object-fit: cover;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.course-card button {
    background-color: #92403a;
    color: white;
    border: white 2px solid;
    padding: 10px 14px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.course-card button:hover {
    background-color: #7a362f;
}

/* End of Courses Page Layout */

/* Teacher Section */
.teacher-section {
    width: 85%;
    margin: 50px auto;
    text-align: center;
}

.teacher-intro {
    width: 60%;
    margin: 0 auto 30px auto;
    text-align: justify;
}

.teacher-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.teacher-card {
    background: white;
    border: 2px solid #92403a;
    padding: 20px;
    width: 260px;
    border-radius: 12px;
    text-align: center;
}

.teacher-photo {
    width: 225px;
    height: 183px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: #92403a 2px solid;
    object-fit: cover;
}

.teacher-card h3 {
    color: #92403a;
    margin-bottom: 5px;
}

.teacher-card p {
    margin: 0;
}

/* End of Teacher Section */

/* Signup Page Layout */

.signup-section {
    width: 85%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.signup-form {
    background: white;
    border: 2px solid #92403a;
    border-radius: 12px;
    padding: 25px;
    width: 400px;
}

.signup-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

.signup-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    font-family: 'Bookman Old Style';
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: 'Bookman Old Style';
}

.signup-btn {
    width: 100%;
    background-color: #92403a;
    color: white;
    border: white 2 px solid;
    padding: 12px;
    border-radius: 2px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
}

.signup-btn:hover {
    background-color: #7a362f;
}

/* End of Signup Layout */

/* Login Layout */
.login-section {
    width: 85%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.login-form {
    background: white;
    border: 2px solid #92403a;
    border-radius: 12px;
    padding: 25px;
    width: 400px;
}

.login-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
    font-family: 'Bookman Old Style';
}

.login-form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    font-family: 'Bookman Old Style';
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: 'Bookman Old Style';
}

.login-btn {
    width: 100%;
    background-color: #92403a;
    color: white;
    border: white 2 px solid;
    padding: 12px;
    border-radius: 2px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
}

.login-btn:hover {
    background-color: #7a362f;

}

/* End of Login Layout */

/* Job Specification Page Layout */
.job-spec-section {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 25px;
    justify-items: center;
}

.job-card {
    background-color: #ffffff;
    border: 3px solid #92403a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 16px;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.job-card h3 {
    font-size: 1.6rem;
    color: #222;
    margin-bottom: 10px;
}

.job-card h4 {
    font-size: 1.1rem;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

.job-card p {
    color: #666;
    line-height: 1.5;
}

.job-card ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
}

.job-card ul li {
    margin-bottom: 6px;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.button-group button {
    flex: 1;
    padding: 12px 0;
    background: linear-gradient(135deg, #92403a, #7a362f);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: white 3px solid;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.button-group button:hover {
    transform: scale(1.03);
}

.button-group .secondary-btn {
    background: #fff;
    color: #92403a;
    border: 3px solid #92403a;
}

.button-group .secondary-btn:hover {
    background: #92403a;
    color: #fff;
}


@media screen and (max-width: 450px) {
    .job-card {
        padding: 16px;
        max-width: 90%;
    }
}

/* End of Job Specification Page Layout */

/* Job Application Page Layout */

.applynow-job {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.applynow-job h2 {
    border: none;
    text-align: center;
}

.applynow-job h3 {
    text-align: center;
    color: #555;
    border-bottom: #92403a 2px solid;
    font-weight: normal;
    font-size: 14px;
    padding-bottom: 25px;
}

.applynow-job p {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    font-family: Bookman Old Style;
}

.applynow-job label {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.applynow-job input[type="text"],
.applynow-job select,
.applynow-job textarea {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: Bookman Old Style;
}

.radio-group {
    display: flex;
    flex-direction: column;
}

.radio-group label {
    font-weight: normal;
    margin-top: 0.3rem;
}

.applynow-job button {
    padding: 0.8rem 1.5rem;
    background: #92403a;
    color: #fff;
    border: white 2px solid;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

.applynow-job button:hover {
    background: #7a362f;
}

.Error {
    color: red;
    font-size: 0.9rem;
    height: 1rem;
    font-weight: bold;
    font-family: Bookman Old Style;
}

/* Job Details */
.job-details-container {
    width: 90%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}

.job-details-card {
    background: white;
    padding: 30px;
    border: 2px solid #92403a;
    border-radius: 12px;
    max-width: 850px;
}

.job-title {
    color: #000000;
    margin-bottom: 10px;
}

.job-summary {
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.job-details-card h3 {
    margin-top: 25px;
    color: #92403a;
    border-bottom: #92403a 2px solid;
}

.job-details-card ul {
    margin-left: 20px;
    line-height: 1.7;
}

.job-details-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.job-details-buttons button {
    background-color: #92403a;
    color: white;
    border: white 3px solid;
    padding: 12px 18px;
    border-radius: 2px;
    font-weight: bold;
    cursor: pointer;
}

.job-details-buttons button:hover {
    background-color: #7a362f;
}

.back-btn {
    background-color: #6d6d6d;
}

.back-btn:hover {
    background-color: #555;
}

/* End of Job Details */

/* Thank You Page Layout */

.thankyou-section h2 {
    font-size: 24px;
    border-bottom: #92403a 2px solid;
}

.thankyou-section h1 {
    font-size: 80px;
    text-align: center;
}

.thankyou-photo {
    width: 225px;
    height: 225px;
    position: fixed;
    top: 340px;
    left: 850px;
}

.thankyou-section p {
    color: #555;
    text-align: center;
}

img,
video {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}