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

html, body {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;

    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 7%;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0077b6;
    text-decoration: none;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
    font-size: 15px;
}

.navbar a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
}

.navbar a:hover {
    color: #0077b6;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 8%;
    gap: 50px;
    background: linear-gradient(135deg, #e8f7fb, #ffffff);
    min-height: 520px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 46px;
    color: #003049;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
   width: 100%;
    max-width: 760px;
    height: 430px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn {
    display: inline-block;
    background: #0077b6;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #005f8f;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 60px 8%;
}

.card {
    padding: 30px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h2 {
    color: #0077b6;
    margin-bottom: 15px;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 25px;
    background: #003049;
    color: #ffffff;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
    }

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

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

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.about-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 8%;
    min-height: 80vh;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.about-text {
    flex: 2;
}

.about-text h1 {
    font-size: 42px;
    color: #003049;
    margin-bottom: 10px;
}

.about-text h3 {
    color: #0077b6;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 18px;
}

/* =========================
   TMJ INFORMATION PAGE
========================= */

.info-page {
    padding: 35px 8% 55px;
}


.info-header {
    text-align: center;
    margin-bottom: 45px;
}


.info-header h1 {
    font-size: 42px;
    color: #003049;
}


.info-header p {
    font-size: 18px;
    margin-top: 15px;
}


.info-section {
    display: flex;
    align-items: center;
    gap: 70px;
}


.info-text {
    flex: 1;
}


.info-text h2 {
    color: #0077b6;
    font-size: 32px;
    margin-bottom: 20px;
}


.info-text p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
}


.info-image {
    flex: 1;
    display: flex;
    justify-content: center;
}


.info-image img {
    width: 100%;
    max-width: 720px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}


.benefits {
    margin-top: 40px;
}


.benefits h2 {
    text-align: center;
    color: #003049;
    margin-bottom: 35px;
}


.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:25px;
}


.benefit-card {
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}


.benefit-card h3 {
    color:#0077b6;
    margin-bottom:15px;
}

/* =========================
   RESEARCH PAGE
========================= */

.research-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.research-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.research-card h2 {
    color: #0077b6;
    margin-bottom: 18px;
}

.research-card p {
    font-size: 17px;
    line-height: 1.8;
}

/* =========================
   PUBLICATIONS PAGE
========================= */


.publication-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-top: 45px;
    margin-bottom: 80px;
}


.publication-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}


.publication-card h2 {
    color: #0077b6;
    margin-bottom: 15px;
}


.publication-card p {
    font-size: 17px;
    line-height: 1.8;
}


.publication-card span {
    display: inline-block;
    margin-top: 20px;
    color: #0077b6;
    font-weight: bold;
}

/* =========================
   CONFERENCES PAGE
========================= */

.conference-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 35px 0 70px;
}

.conference-hero-text {
    flex: 1.1;
}

.conference-hero-text h1 {
    font-size: 50px;
    color: #003049;
    margin-bottom: 25px;
}

.conference-hero-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.conference-hero-image {
    flex: 1;
}

.conference-hero-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.conference-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 80px;
}

.conference-card {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.conference-card h2 {
    color: #003049;
    margin-bottom: 10px;
}

.conference-card h3 {
    color: #0077b6;
    margin-bottom: 25px;
}

.conference-card p {
    line-height: 1.9;
    margin-bottom: 18px;
}

.conference-card blockquote {
    margin: 25px 0;
    padding: 20px;
    border-left: 5px solid #0077b6;
    background: #f6fbfd;
    font-style: italic;
    font-size: 18px;
}

@media (max-width: 900px) {
    .conference-hero {
        flex-direction: column;
        text-align: center;
    }

    .conference-hero-text h1 {
        font-size: 36px;
    }
}



/* =========================
   TRAINING PAGE
========================= */

.training-box {
    max-width: 900px;
    margin: 45px auto 90px;
    background: #ffffff;
    padding: 45px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.training-box h2 {
    color: #0077b6;
    font-size: 32px;
    margin-bottom: 22px;
}

.training-box p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.coming-soon {
    margin: 30px auto;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    background: #e8f7fb;
    color: #003049;
    font-weight: bold;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    padding: 45px 8% 80px;
}

.contact-container {
    max-width: 760px;
    margin: 45px auto 80px;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #003049;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* =========================
   MOBILE OPTIMISATION
========================= */


@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }


    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }


    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 6%;
    }


    .hero-text h1 {
        font-size: 34px;
    }


    .hero-text p {
        font-size: 16px;
    }


    .hero-image img {
        max-height: 300px;
    }


    .cards,
    .research-content,
    .publication-list {
        grid-template-columns: 1fr;
    }


    .conference-section {
        flex-direction: column;
        text-align: center;
    }


    .about-section {
        flex-direction: column;
        text-align: center;
    }


    .about-image img {
        max-width: 350px;
    }


    .training-box,
    .contact-container {
        width: 100%;
        padding: 25px;
    }


    .info-header h1 {
        font-size: 34px;
    }

}

/* =========================
   ADMIN PAGE
========================= */

.admin-page {
    padding: 45px 6% 80px;
}

.admin-table-container {
    overflow-x: auto;
    margin-top: 40px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: #003049;
    color: white;
}

.admin-table tr:hover {
    background: #f8fbfd;
}

/* =========================
   ANIMATIONS
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.card,
.research-card,
.publication-card,
.benefit-card,
.training-box,
.contact-container,
.about-section,
.conference-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.research-card:hover,
.publication-card:hover,
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

/* ======================
   Smooth animations
====================== */

body {
    animation: fadeIn 0.8s ease-in;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Cards animation */

.card,
.info-card,
.training-box {
    animation: slideUp 0.8s ease;
}


@keyframes slideUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Image animation */

img {
    animation: imageAppear 1s ease;
}


@keyframes imageAppear {

    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Button premium hover */

.btn {
    transition: 0.3s ease;
}


.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.3);
}


/* Navigation hover animation */

.navbar a {
    transition: 0.3s ease;
}


.navbar a:hover {
    letter-spacing: 1px;
}

/* =========================
   PUBLICATIONS FULL PAGE
========================= */

.publication-intro {
    max-width: 1100px;
    margin: 0 auto 45px;
    text-align: left;
}

.publication-intro h2 {
    color: #0077b6;
    font-size: 30px;
    margin-bottom: 18px;
}

.publication-intro p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.publication-list-full {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
}

.publication-full-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.publication-full-card h2 {
    color: #003049;
    font-size: 26px;
    margin-bottom: 20px;
}

.publication-full-card p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.publication-full-card a {
    display: inline-block;
    margin-top: 12px;
    color: #ffffff;
    background: #0077b6;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.publication-full-card a:hover {
    background: #005f8f;
}

/* =========================
   CONFERENCES
========================= */

.conference-list {

    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 45px;
    margin-bottom: 80px;

}


.conference-card {

    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);

}


.conference-card h2 {

    color: #003049;
    margin-bottom: 10px;

}


.conference-card h3 {

    color: #0077b6;
    margin-bottom: 25px;

}


.conference-card p {

    line-height: 1.9;
    margin-bottom: 18px;

}


.conference-card blockquote{

    margin:25px 0;

    padding:20px;

    border-left:5px solid #0077b6;

    background:#f6fbfd;

    font-style:italic;

    font-size:18px;

}

/* =========================
   THANK YOU PAGE
========================= */

.thankyou-container{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:75vh;

    padding:40px;

}

.thankyou-box{

    max-width:700px;

    background:white;

    padding:55px;

    border-radius:22px;

    text-align:center;

    box-shadow:0 20px 45px rgba(0,0,0,.15);

    animation:fadeIn .8s ease;

}

.tick{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#00b894;

    color:white;

    font-size:48px;

    line-height:90px;

    font-weight:bold;

    margin-bottom:30px;

}

.thankyou-box h1{

    color:#003049;

    margin-bottom:20px;

}

.thankyou-box h3{

    color:#0077b6;

    margin-bottom:30px;

}

.thankyou-box p{

    line-height:1.9;

    margin-bottom:18px;

}

#countdown{

    color:#0077b6;

    font-size:18px;

    font-weight:bold;

    margin-top:30px;

}

/* =========================
   TMJ PAGE
========================= */

.tmj-section {
    max-width: 1100px;
    margin: auto;
}

.tmj-text p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.tmj-text h2 {
    color: #0077b6;
    margin-top: 40px;
    margin-bottom: 18px;
    font-size: 30px;
}

.tmj-image {
    width: 100%;
    margin: 35px 0;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.tmj-list {
    margin: 25px 0 35px 25px;
    line-height: 2;
    font-size: 18px;
}

.tmj-list li {
    margin-bottom: 10px;
}

.tmj-text blockquote {
    margin: 45px 0;
    padding: 30px;
    border-left: 6px solid #0077b6;
    background: #f5fbfd;
    font-size: 20px;
    font-style: italic;
    border-radius: 10px;
}

/* =========================
   TMJ HERO
========================= */

.tmj-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 35px 0 70px;
}

.tmj-hero-text {
    flex: 1.2;
}

.tmj-hero-text h1 {
    font-size: 50px;
    color: #003049;
    margin-bottom: 25px;
}

.tmj-hero-text p {
    font-size: 19px;
    line-height: 1.9;
}

.tmj-hero-image {
    flex: 1;
}

.tmj-hero-image img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

@media (max-width: 900px) {
    .tmj-hero {
        flex-direction: column;
        text-align: center;
    }

    .tmj-hero-text h1 {
        font-size: 36px;
    }
}

/* =========================
   RESEARCH PAGE EXTRA
========================= */

.approval-box {
    background: #eef7ff;
    border-left: 6px solid #0077b6;
    padding: 25px;
    margin: 35px 0;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.8;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.approval-box strong {
    color: #003049;
}

/* =========================
   PUBLICATIONS HERO
========================= */

.publication-hero {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin: 40px 0 80px;
}

.publication-hero-text {
    flex: 1.1;
}

.publication-hero-text h1 {
    font-size: 50px;
    color: #003049;
    margin-bottom: 25px;
}

.publication-hero-text h2 {
    color: #0077b6;
    font-size: 28px;
    margin: 35px 0 18px;
}

.publication-hero-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.publication-hero-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
}

.publication-hero-image img {
    width: 100%;
    max-width: 430px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    transition: transform .3s ease;
}

.publication-hero-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .publication-hero {
        flex-direction: column;
        text-align: center;
    }

    .publication-hero-text h1 {
        font-size: 36px;
    }
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.stat-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.stat-card h2 {
    color: #0077b6;
    font-size: 36px;
}

.stat-card p {
    color: #003049;
    font-weight: bold;
}

.admin-title {
    text-align: center;
    color: #003049;
    font-size: 42px;
    margin: 30px 0 40px;
}