@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400..700;1,400..700&family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

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

html {
    scrollbar-width: none;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: #f2f3f0;
    color: #1a1a1a;
    height: 100vh;
}


a {
    text-decoration: none;
}

ul {
    list-style: none;
}

textarea {
    resize: none;
}


.container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}


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


.form-label {
    font-size: 0.83rem;
    font-weight: 600;
    color: #1a1a1a;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dde0d8;
    border-radius: 6px;
    background-color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #1a1a1a;
    outline: none;
    transition: all 0.25 ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #aaaaaa;
}

.form-input:hover,
.form-textarea:hover {
    border-color: #0d5c6e;
}


/* Header and Nav */


header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #dde0d8;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 16px;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #083f4d;
    transition: color 0.25s ease;
}

.nav-brand:hover {
    color: #0d5c6e;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    padding: 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #5c5c5c;
    transition: all 0.25 ease;
}

.nav-links a:hover {
    color: #0d5c6e;
    background-color: #e6f2f5;
}



.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dde0d8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c5c5c;
    font-size: 0.88rem;
    transition: 0.25s ease;
}

.nav-icon:hover {
    background-color: #e6f2f5;
    color: #0d5c6e;
}

/* Footer */

footer {
    background-color: #ffffff;
    padding: 30px;
    border-top: 1px solid #dde0d8;
}

.footer-in {
    display: flex;
    justify-content: space-between;
}

.footer-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #083f4d;
}

.footer-copy {
    font-size: 0.8rem;
    color: #5c5c5c;
    margin-top: 3px;
}

.footer-links {
    padding: 10px;
    gap: 12px;
}

.footer-links a {
    padding: 6px;
    font-size: 0.8rem;
    color: #5c5c5c;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: #0d5c6e;
}

/* Home Page */

/* Hero Section */

.hero {
    padding: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.hero-title {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2.5rem;
    font-size: bolder;
    color: #083f4d;
    margin-bottom: 15px;
}

.hero-title i {
    color: #0d5c6e;
}

.hero-description {
    font-size: 0.97rem;
    color: #5c5c5c;
    width: 420px;
    margin-bottom: 28px;
}


.hero-icon {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-icon a {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #0d5c6e;
    transition: 0.25s ease;
}

.hero-icon a:hover {
    background-color: #083f4d;
    color: #e6f2f5;
}

.hero-images {
    border-radius: 16px;
}

.hero-image {
    width: 100%;
    height: 340px;
    border-radius: 16px;
    object-fit: cover;
}


/* Features Section */

.features {
    padding: 56px;
}

.section-header {
    margin-bottom: 35px;
}

.section-header h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.8rem;
    color: #083f4d;
    margin-bottom: 10px;
}

.section-header p {
    color: #5c5c5c;
}

.features-grid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
}

.features-cards {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    padding: 28px;
    transition: 0.25s ease;
}

.features-cards:hover {
    transform: scale(1.05);
    box-shadow: rgba(13, 92, 110, 0.16) 0px 4px 12px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background-color: #e6f2f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.features-cards h3 {
    font-size: 1.05rem;
    color: #083f4d;
    margin-bottom: 8px;
}

.features-cards p {
    font-size: 0.88rem;
    color: #5c5c5c;
}


.course-start {
    background-color: #ffffff;
    padding: 100px;
    text-align: center;
}

.course-start h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.9rem;
    color: #083f4d;
    margin-bottom: 30px;
}

.course-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.course-actions a {
    padding: 16px;
    border-radius: 8px;
    font-weight: 500;
    color: #ffffff;
    background-color: #0d5c6e;
    transition: 0.25s ease;
}

.course-actions a:hover {
    background-color: #083f4d;
    box-shadow: rgba(13, 92, 110, 0.16) 20px 5px 20px;
}

/* add page */

.add-hero {
    padding: 55px;
}


.add-header h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2.5rem;
    color: #083f4d;
    margin-bottom: 12px;
}

.add-header p {
    color: #5c5c5c;
    width: 420px;
}


.label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d5c6e;
    background-color: #e6f2f5;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}


.form-card {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    padding: 30px;
    width: 720px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin: auto;
}


.form-textarea {
    height: 130px;
}

.form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.btn-primary {
    gap: 8px;
    padding: 16px;
    background-color: #0d5c6e;
    color: #ffffff;
    border: 2px solid #0d5c6e;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}


.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 20px rgba(13, 92, 110, 0.22);
}


.feature-two {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-cards {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.25s ease;
    margin-top: 60px;
    margin-bottom: 70px;
}

.feat-cards:hover {
    transform: translateY(2px);
    box-shadow: rgba(13, 92, 110, 0.08) 0px 7px 29px 0px;
}

.feat-icon {
    width: 40px;
    height: 40px;
    background-color: #e6f2f5;
    color: #0d5c6e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 14px;
}

.feat-cards h3 {
    font-size: 1rem;
    color: #083f4d;
    margin-bottom: 6px;
}

.feat-cards p {
    font-size: 0.86rem;
    color: #5c5c5c;
}

/* my courses page */

.page-header {
    margin-top: 20px;
    padding: 50px;
}

.page-header-in {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
}

.page-header h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2.5rem;
    color: #083f4d;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 0.95rem;
    color: #5c5c5c;
    width: 520px;
}

.btn {
    gap: 8px;
    padding: 16px;
    background-color: #0d5c6e;
    color: #ffffff;
    border: 1px solid #0d5c6e;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}


.btn:hover {
    background-color: #083f4d;
    border-color: #083f4d;
    color: #e6f2f5;
}


.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 10px;
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    -width: 250px;
    height: 150px;
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: #4B5563;
}


.card-number {
    font-size: 42px;
    font-weight: 700;
}

.card-dis {
    font-size: 13px;
    color: #9CA3AF;
}

.card-white {
    background-color: #F8F9FA;
}

.card-white .card-number {
    color: #001F3F;
}

.card-blue {
    background-color: #D1E3FF;
}

.card-blue .card-number {
    color: #1A2B48;
}

.card-orange {
    background-color: #FFE0D1;
}

.card-orange .card-number {
    color: #4A2411;
}

.card-orange .card-title {
    color: #854D0E;
}

.card-gray {
    background-color: #E5E7EB;
}

.card-gray .card-number {
    color: #111827;
}

.card:hover {
    transform: translateY(-5px);
}

/*  Table in my courses */

.table {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    box-shadow: rgba(13, 92, 110, 0.08) 0 2px 10px;
    margin-bottom: 50px;
}

.courses-table {
    width: 100%;
}


.courses-table thead th {
    padding: 20px;
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #5c5c5c;
    text-align: left;
}

.courses-table tbody tr {
    border-bottom: 1px solid #dde0d8;
    transition: all 0.25s ease;
}


.courses-table tbody tr:hover {
    background-color: #f2f3f0;
}

.courses-table tbody td {
    padding: 20px;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.td-course {
    display: flex;
    align-items: center;
    gap: 15px;
}

.td-icon {
    width: 36px;
    height: 36px;
    background-color: #e6f2f5;
    color: #0d5c6e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
}

.td-course-title {
    font-weight: 600;
    color: #083f4d;
    font-size: 0.92rem;
}

.td-instructor {
    color: #5c5c5c;
}


.table-links {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 0.83rem;
    color: #5c5c5c;
}

.table-buttons {
    display: flex;
    gap: 6px;
}

.page-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1.5px solid #dde0d8;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5c5c5c;
    transition: all 0.25s ease;
}

.page-btn:hover {
    border-color: #0d5c6e;
    color: #0d5c6e;
}

.page-btn.active {
    background-color: #0d5c6e;
    color: #ffffff;
    border-color: #0d5c6e;
}

/* Contact page */

.contact-page-header {
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page-header h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2.5rem;
    color: #083f4d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page-header span {
    color: #5c5c5c;
    width: 540px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    padding: 26px;
    box-shadow: rgba(13, 92, 110, 0.08) 0 2px 10px;
    height: 300px;
}

.info-section {
    margin-bottom: 20px;
}

.info-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #5c5c5c;
    margin-bottom: 10px;
}

.info-address {
    font-size: 0.9rem;
    color: #1a1a1a;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #0d5c6e;
    margin-bottom: 8px;
}

.contact-detail i {
    width: 20px;
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1.5px solid #dde0d8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c5c5c;
    font-size: 0.9rem;
    transition: all 0.25 ease;
}

.social-btn:hover {
    background-color: #e6f2f5;
    color: #0d5c6e;
}

.contact-form-card {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: rgba(13, 92, 110, 0.08) 0 2px 10px;
}

.send-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background-color: #0d5c6e;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}


.send-btn:hover {
    transform: translateY(2px);
    background-color: #083f4d;
}

/* .inquiries-section {
    padding-bottom: 60px;
}

.inquiries-section h2 {
    display: flex;
    justify-content: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.7rem;
    color: #083f4d;
    margin-bottom: 24px;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.inquiry-card {
    background-color: #ffffff;
    border: 1px solid #dde0d8;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.25s ease;
}

.inquiry-card:hover {
    transform: translateY(2px);
    box-shadow: rgba(13, 92, 110, 0.08) 0px 7px 29px 0px;
}


.inquiry-icon {
    width: 38px;
    height: 38px;
    background-color: #e6f2f5;
    color: #0d5c6e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.inquiry-card h3 {
    font-size: 1rem;
    color: #083f4d;
    margin-bottom: 6px;
}

.inquiry-card p {
    font-size: 0.86rem;
    color: #5c5c5c;
} */

/* Responsive */

/* Mobile */
@media (max-width: 767px) {

    /* Container */
    .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar {
        height: auto;
        padding: 12px;
    }

    .nav-links {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
    }

    .nav-links a {
        font-size: 0.82rem;
        padding: 10px;
    }

    /* ── Footer ── */
    .footer-in {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }


    .hero {
        padding: 36px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }


    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        width: 100%;
    }


    .features {
        padding: 32px;
    }

    .features-grid {
        display: grid;
        grid-template-rows: 1fr;
    }


    .ccourse-start {
        padding: 48px;
    }

    .course-start h2 {
        font-size: 1.4rem;
    }

    .course-actions {
        display: grid;
        grid-template-rows: 1fr;
    }

    /* ── My Courses ── */
    .page-header {
        padding: 24px;
    }

    .page-header-in {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        width: 100%;
    }

    .page-header-actions {
        margin-top: 10px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .td-credits {
        display: none;
    }

    .courses-table thead .Credit {
        display: none;
    }

    /* ── Add Page ── */
    .add-hero {
        padding: 28px;
    }

    .add-header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .add-header h1 {
        font-size: 1.8rem;
    }

    .add-header p {
        width: 100%;
    }

    .form-card {
        width: 100%;
    }

    .feature-two {
        display: grid;
        grid-template-columns: 1fr;
    }


    /* ── Contact ── */
    .contact-page-header {
        padding: 28px;
        text-align: center;
    }

    .contact-page-header h1 {
        font-size: 1.6rem;
    }

    .contact-page-header span {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-card {
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    /* Container */
    .container {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    /* ── Navbar ── */
    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        font-size: 0.84rem;
        padding: 6px 10px;
    }


    .hero {
        padding: 56px;
    }

    .hero-description {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }


    .features {
        padding: 40px;
    }

    .course-start {
        padding: 64px;
    }

    /* ── My Courses ── */
    .page-header {
        padding: 30px;
    }

    .page-header p {
        width: 100%;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .table {
        margin-bottom: 115px;
    }

    /* ── Add Page ── */
    .add-hero {
        padding: 32px 0;
    }

    .add-header {
        gap: 40px;
    }

    .add-header p {
        width: 100%;
    }

    .form-card {
        width: 90%;
    }

    .feature-two {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 20px;
        margin: auto;
    }


    /* ── Contact ── */
    .contact-page-header {
        padding: 36px 24px;
    }

    .contact-page-header span {
        width: 100%;
        display: block;
    }

    .contact-grid {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 100px;
    }

    .contact-form-card {
        margin-bottom: 235px;
    }
}
