/*==================================================
AMTT Conference @ Thailand LAB 2026
Version 3
==================================================*/

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

/*==================================================
VARIABLE
==================================================*/

:root{

    --primary:#00A8E8;
    --secondary:#2DBE60;
    --accent:#FDB515;

    --dark:#12344D;
    --text:#3F4C5C;
    --gray:#738496;

    --white:#ffffff;
    --light:#F5FAFC;

    --border:#E4EDF4;

    --radius:22px;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --shadow-hover:0 25px 60px rgba(0,0,0,.15);

    --transition:.35s ease;

}

/*==================================================
RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Prompt',sans-serif;

    color:var(--text);

    background:var(--light);

    line-height:1.7;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

button{

    font-family:'Prompt',sans-serif;

    cursor:pointer;

    border:none;

    outline:none;

}

.container{

    width:min(1180px,92%);

    margin:auto;

}

section{

    padding:100px 0;

}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#EDF4F8;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(

        var(--primary),

        var(--secondary)

    );

    border-radius:30px;

}

/*==================================================
TYPOGRAPHY
==================================================*/

h1{

    font-size:4rem;

    font-weight:700;

    line-height:1.1;

}

h2{

    font-size:2.6rem;

    font-weight:700;

    color:var(--dark);

}

h3{

    font-size:1.35rem;

    color:var(--dark);

}

p{

    color:var(--gray);

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    margin:15px 0;

}

.section-title p{

    max-width:760px;

    margin:auto;

}

/*==================================================
BADGE
==================================================*/

.section-badge{

    display:inline-block;

    padding:10px 22px;

    border-radius:999px;

    background:#EAF8FF;

    color:var(--primary);

    font-weight:600;

}

/*==================================================
BUTTON
==================================================*/

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border-radius:999px;

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:#fff;

    font-weight:600;

    transition:var(--transition);

    box-shadow:0 12px 30px rgba(0,168,232,.25);

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border-radius:999px;

    border:2px solid var(--primary);

    color:var(--primary);

    background:#fff;

    transition:var(--transition);

    font-weight:600;

}

.btn-secondary:hover{

    background:var(--primary);

    color:#fff;

}

/*==================================================
CARD
==================================================*/

.about-card,

.highlight-card,

.programme-card,

.speaker-card,

.register-card{

    background:#fff;

    border-radius:24px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.about-card:hover,

.highlight-card:hover,

.programme-card:hover,

.speaker-card:hover,

.register-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

/*==================================================
UTILITY
==================================================*/

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:15px;

}

.mt-2{

    margin-top:30px;

}

.mt-3{

    margin-top:60px;

}

.mb-1{

    margin-bottom:15px;

}

.mb-2{

    margin-bottom:30px;

}

.mb-3{

    margin-bottom:60px;

}

.hidden{

    display:none;

}

/*==================================================
LOADER
==================================================*/

.loader{

    position:fixed;

    inset:0;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.spinner{

    width:70px;

    height:70px;

    border-radius:50%;

    border:6px solid #E8EEF3;

    border-top:6px solid var(--primary);

    animation:spin .9s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/*==================================================
PROGRESS BAR
==================================================*/

.progress-bar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:linear-gradient(

        90deg,

        var(--primary),

        var(--secondary)

    );

    z-index:99999;

}/*==================================================
HEADER
==================================================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

}

.navbar{

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(18px);

    transition:.35s;

    border-bottom:1px solid rgba(0,0,0,.05);

}

.navbar.scrolled{

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

.navbar .container{

    height:88px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*==================================================
LOGO
==================================================*/

.logo-group{

    display:flex;

    align-items:center;

    gap:18px;

}

.amtt-logo{

    height:60px;

}

.lab-logo{

    height:64px;

}

/*==================================================
MENU
==================================================*/

.menu{

    display:flex;

    align-items:center;

    gap:35px;

}

.menu li{

    position:relative;

}

.menu a{

    color:var(--dark);

    font-weight:500;

    transition:.3s;

}

.menu a:hover,

.menu a.active{

    color:var(--primary);

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:30px;

    background:var(--primary);

    transition:.3s;

}

.menu a:hover::after,

.menu a.active::after{

    width:100%;

}

/*==================================================
REGISTER BUTTON
==================================================*/

.register-btn{

    padding:14px 28px;

    border-radius:999px;

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.register-btn:hover{

    transform:translateY(-3px);

}

/*==================================================
MENU BUTTON
==================================================*/

.menu-toggle{

    display:none;

    font-size:28px;

    color:var(--primary);

    background:none;

}

/*==================================================
HERO
==================================================*/

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:

    linear-gradient(

        rgba(8,48,77,.72),

        rgba(8,48,77,.72)

    ),

    url("images/hero.jpg");

    background-size:cover;

    background-position:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:

    radial-gradient(circle at top right,

    rgba(0,168,232,.20),

    transparent 45%),

    radial-gradient(circle at bottom left,

    rgba(45,190,96,.18),

    transparent 45%);

}

/*==================================================
HERO CONTENT
==================================================*/

.hero-content{

    position:relative;

    z-index:5;

    text-align:center;

    color:#fff;

}

.hero-logo{

    width:150px;

    margin:auto;

    margin-bottom:30px;

}

.hero-subtitle{

    color:#fff;

    font-size:1.2rem;

    margin-bottom:18px;

}

.hero h1{

    color:#fff;

    margin-bottom:18px;

}

.hero h2{

    color:#fff;

    font-size:2rem;

    font-weight:400;

    margin-bottom:35px;

}

/*==================================================
HERO INFO
==================================================*/

.hero-info{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

    margin-bottom:40px;

}

.hero-info div{

    display:flex;

    align-items:center;

    gap:12px;

    padding:18px 28px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    border-radius:18px;

    color:#fff;

}

.hero-info i{

    color:#FFD54F;

    font-size:1.3rem;

}

/*==================================================
BUTTON GROUP
==================================================*/

.hero-button{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*==================================================
COUNTDOWN
==================================================*/

.countdown{

    margin-top:60px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.count-item{

    width:110px;

    padding:20px;

    text-align:center;

    border-radius:20px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.2);

}

.count-item h2{

    color:#fff;

    font-size:2.2rem;

    margin-bottom:6px;

}

.count-item span{

    color:#fff;

    font-size:.95rem;

}

/*==================================================
BACK TO TOP
==================================================*/

.back-to-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:var(--shadow);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

}

.back-to-top:hover{

    background:var(--secondary);

}/*==================================================
ABOUT
==================================================*/

#about{

    background:#ffffff;

    position:relative;

}

.about-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    margin-top:60px;

}

.about-card{

    padding:35px;

    text-align:center;

}

.about-card .icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:#fff;

    font-size:32px;

}

.about-card h3{

    margin-bottom:15px;

}

/*==================================================
HIGHLIGHT
==================================================*/

.highlight{

    background:#F7FBFD;

}

.highlight-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.highlight-card{

    padding:35px;

    text-align:center;

}

.highlight-card i{

    font-size:42px;

    color:var(--primary);

    margin-bottom:20px;

}

.highlight-card h3{

    margin-bottom:15px;

}

/*==================================================
PROGRAMME
==================================================*/

#programme{

    background:#fff;

}

.programme-tabs{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:50px;

}

.tab-button{

    padding:15px 30px;

    border-radius:999px;

    background:#EEF5FA;

    color:var(--dark);

    font-weight:600;

    transition:.3s;

}

.tab-button.active{

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:#fff;

}

.programme-day{

    display:none;

}

.programme-day.active{

    display:block;

}

.programme-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));

    gap:35px;

}

.programme-card{

    padding:35px;

    position:relative;

    overflow:hidden;

}

.programme-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:linear-gradient(

        var(--primary),

        var(--secondary)

    );

}

.programme-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.room{

    padding:8px 16px;

    border-radius:999px;

    background:#EAF8FF;

    color:var(--primary);

    font-weight:600;

}

.time{

    color:var(--secondary);

    font-weight:600;

}

.programme-card h3{

    margin-bottom:15px;

    line-height:1.5;

}

.programme-card ul{

    list-style:disc;

    padding-left:20px;

    margin-top:15px;

    color:var(--gray);

}

.programme-card li{

    margin-bottom:10px;

}

.programme-toggle{

    width:100%;

    margin-top:25px;

    padding:15px;

    border-radius:14px;

    background:#EEF6FB;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    font-weight:600;

    color:var(--primary);

    transition:.3s;

}

.programme-toggle:hover{

    background:var(--primary);

    color:#fff;

}

.programme-detail{

    display:none;

    margin-top:20px;

    padding-top:20px;

    border-top:1px solid var(--border);

}

.programme-card.active .programme-detail{

    display:block;

}

.programme-detail ul{

    margin:0;

}

.programme-detail li{

    margin-bottom:12px;

}/*==================================================
SPEAKER
==================================================*/

#speaker{

    background:#F7FBFD;

}

.speaker-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.speaker-card{

    overflow:hidden;

}

.speaker-card img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    transition:.4s;

}

.speaker-card:hover img{

    transform:scale(1.05);

}

.speaker-content{

    padding:28px;

}

.speaker-topic{

    display:inline-block;

    padding:8px 15px;

    border-radius:999px;

    background:#EAF8FF;

    color:var(--primary);

    font-size:.85rem;

    font-weight:600;

    margin-bottom:15px;

}

.speaker-content h3{

    margin-bottom:15px;

    line-height:1.45;

}

/*==================================================
VENUE
==================================================*/

#venue{

    background:#ffffff;

}

.venue-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:45px;

    align-items:center;

}

.venue-info{

    background:#fff;

    padding:40px;

    border-radius:24px;

    box-shadow:var(--shadow);

}

.venue-info h3{

    margin-bottom:25px;

}

.venue-info p{

    margin-bottom:18px;

}

.venue-info i{

    width:28px;

    color:var(--primary);

}

.venue-map iframe{

    width:100%;

    height:520px;

    border:none;

    border-radius:24px;

    box-shadow:var(--shadow);

}

/*==================================================
REGISTRATION
==================================================*/

#register{

    background:linear-gradient(

        135deg,

        #F6FBFD,

        #FFFFFF

    );

}

.register-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:40px;

}

.register-card{

    padding:40px;

}

.register-card h3{

    margin-bottom:20px;

}

.qr-image{

    width:240px;

    margin:30px auto;

}

.register-button-group{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:20px;

}

.info-table{

    width:100%;

    border-collapse:collapse;

}

.info-table tr{

    border-bottom:1px solid var(--border);

}

.info-table td{

    padding:15px 8px;

    vertical-align:top;

}

.info-table td:first-child{

    width:45px;

    color:var(--primary);

}

.info-table td:nth-child(2){

    width:120px;

    font-weight:600;

}

/*==================================================
FOOTER
==================================================*/

footer{

    background:#0D3853;

    color:#fff;

    padding:80px 0 40px;

    text-align:center;

}

.footer-logo{

    width:120px;

    margin:auto;

    margin-bottom:25px;

}

.footer-top h2{

    color:#fff;

    margin-bottom:15px;

}

.footer-top p{

    color:rgba(255,255,255,.85);

}

.footer-link{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;

    margin:45px 0;

}

.footer-link a{

    color:#fff;

    transition:.3s;

}

.footer-link a:hover{

    color:#8FD9FF;

}

.footer-link i{

    margin-right:8px;

}

.copyright{

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.15);

    color:rgba(255,255,255,.7);

    font-size:.95rem;

}

/*==================================================
MODAL
==================================================*/

.modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.7);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.modal.show{

    display:flex;

}

.modal-content{

    background:#fff;

    width:min(420px,92%);

    padding:40px;

    border-radius:24px;

    text-align:center;

    position:relative;

}

.modal-content img{

    width:250px;

    margin:25px auto;

}

.close{

    position:absolute;

    top:15px;

    right:20px;

    font-size:34px;

    cursor:pointer;

}

/*==================================================
DOCUMENT
==================================================*/

#documents{

    background:#F7FBFD;

}

.document-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

    margin-top:50px;

}

.document-card{

    background:#fff;

    padding:40px;

    border-radius:24px;

    box-shadow:var(--shadow);

    transition:var(--transition);

    text-align:center;

}

.document-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.document-card i{

    font-size:60px;

    color:var(--primary);

    margin-bottom:25px;

}

.document-card h3{

    margin-bottom:15px;

    color:var(--dark);

}

.document-card p{

    margin-bottom:25px;

    color:var(--gray);

}

.document-card .btn-primary{

    width:100%;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:992px){

    .venue-grid,

    .register-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    h1{

        font-size:2.8rem;

    }

    h2{

        font-size:2rem;

    }

    section{

        padding:80px 0;

    }

    .menu{

        position:fixed;

        top:88px;

        left:-100%;

        width:100%;

        background:#fff;

        flex-direction:column;

        padding:35px;

        gap:25px;

        transition:.35s;

        box-shadow:0 15px 35px rgba(0,0,0,.1);

    }

    .menu.show{

        left:0;

    }

    .menu-toggle{

        display:block;

    }

    .register-btn{

        display:none;

    }

    .hero-button{

        flex-direction:column;

    }

    .programme-grid{

        grid-template-columns:1fr;

    }
    
    .document-grid{

    grid-template-columns:1fr;

    }

    .speaker-grid{

        grid-template-columns:1fr;

    }

    .hero-info{

        flex-direction:column;

    }

}

@media(max-width:480px){

    .container{

        width:94%;

    }

    .hero{

        min-height:90vh;

    }

    .count-item{

        width:95px;

    }

    .programme-card{

        padding:25px;

    }

    .about-card,

    .highlight-card,

    .register-card{

        padding:25px;

    }

}
