* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #ffffff;
    color: #111827;
}

/* Top info bar */
.top-bar {
    background: #2f3a2f;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main header */
header {
    background: #9b9471;
    padding: 0 32px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

header img {
    height: 70px;
}

nav {
    display: flex;
    justify-content: center;
    flex: 1;
}

nav a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 60;
}

nav a.active {
    color: #c7ff00;
}

nav a:hover {
    color: #c7ff00;
}

.btn-live {
    padding: 10px 22px;
    border-radius: 30px;
    background: #c7d300;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #ffffff;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    color: #7c0f12;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 60px 32px;
}

.card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

footer {
    background: #2f3a2f;
    color: #ffffff;
}

/* Slideshow banner */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: auto;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    animation: slide 12s infinite;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-100%);
    }

    45% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(-200%);
    }

    70% {
        transform: translateX(-200%);
    }

    75% {
        transform: translateX(-300%);
    }

    95% {
        transform: translateX(-300%);
    }

    100% {
        transform: translateX(-400%);
    }
}

/* Calendar & Notification section */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 60px 32px;
    background: #f8fafc;
}

.info-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.info-box h2 {
    margin-bottom: 16px;
    color: #7c0f12;
}

/* Calendar */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.calendar div {
    padding: 10px 0;
    border-radius: 8px;
    background: #f3f4f6;
    font-weight: 600;
}

.calendar .day {
    background: #9b9471;
    color: #ffffff;
}

/* Notifications */
.notice {
    padding: 12px 16px;
    border-left: 4px solid #9b9471;
    background: #f9fafb;
    margin-bottom: 12px;
    animation: noticeSlide 0.8s ease forwards;
    opacity: 0;
}

.notice:nth-child(2) {
    animation-delay: 0.2s;
}

.notice:nth-child(3) {
    animation-delay: 0.4s;
}

.notice:nth-child(4) {
    animation-delay: 0.6s;
}

.notice:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes noticeSlide {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .info-section {
        grid-template-columns: 1fr;
    }
}

/* Action buttons section */
.action-bar {
    background: #2f3a2f;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.action-btn {
    background: #7a8622;
    color: #ffffff;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.action-btn::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: #e6ff00;
}

.action-btn:hover {
    background: #8e9b28;
    transform: translateY(-6px);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

/* External website buttons */
/* External websites section (separate home section) */
.external-section {
    background: #f8fafc;
    padding: 60px 20px;
    text-align: center;
}

.external-section h2 {
    font-size: 28px;
    margin-bottom: 32px;
    color: #7c0f12;
}

.external-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.external-btn {
    background: #ffffff;
    color: #2f3a2f;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #9b9471;
    cursor: pointer;
    min-width: 220px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.external-btn:hover {
    background: #9b9471;
    color: #ffffff;
    transform: translateY(-6px);
}

/* Top Features Section */
.features-section {
    background: #2f3a2f;
    padding: 80px 32px;
    color: #ffffff;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-header h2 {
    font-size: 34px;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 6px solid #ff6b35;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #333;
}

.feature-tag {
    color: #ff6b35;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Section Partition */
.section-partition {
    height: 4px;
    background: linear-gradient(90deg, #c7d300, #7c0f12, #c7d300);
    margin: 40px 0;
    border-radius: 2px;
}

/* Founder Message Section */
.founder-section {
    background: linear-gradient(90deg, #ddeae3, #e1e6e3);
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    color: #074e32;
}

.founder-section h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
}

.founder-section p {
    line-height: 1.8;
    font-size: 16px;
}

.founder-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.founder-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 14px;
}

/* Student Testimonials Section */
.testimonials-section {
    background: #2f3a2f;
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header p {
    color: #e6d8ad;
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonials-header h2 {
    color: #e6d8ad;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 2px;
}

.testimonials-wrapper {
    position: relative;
    padding: 0 80px;
}

.testimonials-track {
    display: flex;
    gap: 40px;
    transition: transform 0.6s ease;
}

.testimonial-card {
    min-width: 360px;
    background: #e6d8ad;
    padding: 30px 26px 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.testimonial-card img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #c9a24d;
    margin-bottom: 18px;
}

.testimonial-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.testimonial-card span {
    font-size: 14px;
    display: block;
    margin-bottom: 18px;
    color: #374151;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #1f2937;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #c9a24d;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background: #c9a24d;
    color: #ffffff;
    transform: translateY(-50%) scale(1.15);
}

.testimonial-arrow.left {
    left: 20px;
}

.testimonial-arrow.right {
    right: 20px;
}

/* Footer link highlighting */
footer a:hover {
    color: #c7d300 !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Dropdown */
#nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: auto;
    background: #9b9471;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#nav-menu.active {
    opacity: 1;
    visibility: visible;
}

#nav-menu a {
    margin: 10px 0;
    font-size: 1.2rem;
    animation: slideInList 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

#nav-menu.active a:nth-child(1) {
    animation-delay: 0.1s;
}

#nav-menu.active a:nth-child(2) {
    animation-delay: 0.2s;
}

#nav-menu.active a:nth-child(3) {
    animation-delay: 0.3s;
}

#nav-menu.active a:nth-child(4) {
    animation-delay: 0.4s;
}

#nav-menu.active a:nth-child(5) {
    animation-delay: 0.5s;
}

#nav-menu.active a:nth-child(6) {
    animation-delay: 0.6s;
}

#nav-menu.active a:nth-child(7) {
    animation-delay: 0.7s;
}

#nav-menu.active a:nth-child(8) {
    animation-delay: 0.8s;
}

#nav-menu.active a:nth-child(9) {
    animation-delay: 0.9s;
}

#nav-menu.active a:nth-child(10) {
    animation-delay: 1.0s;
}

@keyframes slideInList {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Desktop Navigation Styles */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    #nav-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
        background: transparent;
        box-shadow: none;
        width: auto;
        height: auto;
        top: auto;
        left: auto;
    }

    #nav-menu a {
        animation: none;
        opacity: 1;
        transform: none;
        margin: 0 24px;
    }

    /* Dropdown Styles */
    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropbtn {
        background: none;
        border: none;
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        font-size: inherit;
        padding: 0;
        margin: 0 14px;
    }

    .dropbtn:hover {
        color: #c7ff00;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #9b9471;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 4px;
    }

    .dropdown-content a {
        color: #ffffff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        margin: 0;
        font-size: 0.9rem;
    }

    .dropdown-content a:hover {
        background-color: #c7ff00;
        color: #2f3a2f;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Enquiry and Feedback Forms Section */
.enquiry-feedback-section {
    background: #f8fafc;
    padding: 60px 20px;
    text-align: center;
}

.enquiry-feedback-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.form-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 32px;
    text-align: left;
}

.form-card h3 {
    color: #7c0f12;
    margin-bottom: 24px;
    font-size: 24px;
    text-align: center;
}

.form-card form {
    display: flex;
    flex-direction: column;
}

.form-card input,
.form-card select,
.form-card textarea {
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: #7c0f12;
}

.form-card textarea {
    resize: vertical;
    min-height: 100px;
}

.form-card button {
    background: #7c0f12;
    color: #ffffff;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-card button:hover {
    background: #5a0a0d;
}

@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr;
    }
}