/* =========================
   GENERAL
========================= */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:'Montserrat',sans-serif;
    color:#333;
    background:#fafafa;
    overflow-x:hidden;
    line-height:1.7;
}

h1,h2,h3{
    font-family:'Playfair Display',serif;
    margin-top:0;
}

a{
    color:inherit;
}

/* =========================
   HEADER
========================= */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 30px;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    gap:20px;
}

.logo img{
    width:150px;
    height:auto;
}

nav ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:16px;
    list-style:none;
    margin:0;
    padding:0;
}

nav ul a{
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    transition:.25s;
}

nav ul a:hover{
    color:#0B3C6D;
}

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

.hero{
    background:
    linear-gradient(rgba(11,60,109,.55), rgba(11,60,109,.55)),
    url("images/gallostop.jpeg") center center/cover no-repeat;
    color:#fff;
    text-align:center;
    padding:120px 20px;
}
    color:#fff;
    text-align:center;
    padding:120px 20px;
}

.hero h1{
    font-size:46px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    max-width:900px;
    margin:auto;
}

/* =========================
   BUTTONS
========================= */

button{
    padding:14px 30px;
    border:none;
    border-radius:30px;
    cursor:pointer;
}

/* =========================
   SECTIONS
========================= */

section{
    padding:70px 20px;
}

.page{
    max-width:1000px;
    margin:auto;
    text-align:center;
}

.page h1{
    color:#0B3C6D;
    font-size:42px;
    margin-bottom:30px;
}

.page h2{
    color:#0B3C6D;
    text-align:center;
    margin-top:45px;
}

.page p{
    font-size:18px;
    max-width:900px;
    margin:0 auto 20px;
}

.page ul{
    display:block;
    max-width:700px;
    margin:20px auto;
    text-align:left;
    list-style:disc;
    padding-left:30px;
}

.page li{
    margin-bottom:10px;
}

/* =========================
   IMPORTANT DATES
========================= */

.date-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.date-card{
    width:230px;
    background:#fff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.date-card h3{
    color:#0B3C6D;
}

/* =========================
   SPEAKERS
========================= */

.speaker-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.speaker-card{
    width:260px;
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.speaker-card img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
}

.speaker-card h3{
    color:#0B3C6D;
}

/* =========================
   NEWS PAGE
========================= */

.news-card{
    max-width:850px;
    margin:35px auto;
    padding:30px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    text-align:left;
}

.news-card h2{
    text-align:center;
    color:#0B3C6D;
    margin-bottom:20px;
}

.news-card p{
    margin-bottom:15px;
}

.news-card ul{
    display:block;
    margin:20px auto;
    padding-left:25px;
}

/* =========================
   COMMITTEES
========================= */

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

.committee-card{
    background:#fff;
    border-radius:16px;
    padding:25px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

/* =========================
   FOOTER
========================= */

footer{
    margin-top:70px;
    background:#0B3C6D;
    color:#fff;
    text-align:center;
}

.footer-content{
    padding:40px 20px;
}

.footer-bottom{
    background:#062746;
    padding:15px;
    font-size:14px;
}

.uoc-logo{
    width:160px;
    margin-bottom:20px;
}

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

@media (max-width:768px){

nav{
    flex-direction:column;
}

nav ul{
    flex-direction:column;
    align-items:center;
}

.hero h1{
    font-size:32px;
}

.hero p{
    font-size:18px;
}

.date-container,
.speaker-container{
    flex-direction:column;
    align-items:center;
}

.date-card,
.speaker-card,
.news-card{
    width:95%;
}

.committee-container{
    grid-template-columns:1fr;
}

.page{
    padding:0 10px;
}

.page h1{
    font-size:34px;
}

.page p{
    font-size:17px;
}
}
/* HOME PAGE */

section > h2 {
    text-align: center;
}

section > p {
    text-align: center;
}

section:not(.page) ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    text-align: center;
}

section:not(.page) ul li {
    margin-bottom: 10px;
}/* ===========================
   Keynote Speakers
=========================== */

.speakers-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;
    margin-top:40px;
}

.speaker-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:all .35s ease;
}

.speaker-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.speaker-card img{
    width:100%;
    height:340px;
    object-fit:cover;
    filter:grayscale(100%);
    transition:.4s;
}

.speaker-card:hover img{
    filter:grayscale(0%);
}

.speaker-card h2{
    margin:20px 15px 8px;
    color:#0B3C6D;
    font-size:1.35rem;
}

.speaker-title{
    margin-bottom:22px;
    color:#777;
    font-size:.95rem;
    letter-spacing:1px;
    text-transform:uppercase;
}/* ===========================
   Hero Banner
=========================== */

.hero-small{
    height:320px;
    background:url("images/uoc.jpeg") center center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(11,60,109,.55);
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-overlay h1{
    color:#fff;
    font-size:3rem;
    font-family:'Playfair Display', serif;
    letter-spacing:1px;
}.speaker-card{
    background:#fff;
    border-radius:16px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:all .3s ease;
}

.speaker-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.speaker-card h2{
    margin:0 0 15px;
    color:#0B3C6D;
    font-size:1.5rem;
}

.speaker-title{
    margin:0;
    color:#666;
    font-size:1rem;
    line-height:1.5;
    text-align:center;
    max-width:100%;
    word-wrap:break-word;
}/* ==========================
   COUNTDOWN
========================== */

.countdown-section{
    background:#0B3C6D;
    color:white;
    text-align:center;
    padding:70px 20px;
}

.countdown-section h2{
    color:white;
    font-size:2.2rem;
    margin-bottom:45px;
}

#countdown{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
}

.time-box{
    width:140px;
    background:white;
    color:#0B3C6D;
    border-radius:18px;
    padding:25px 10px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.time-box span{
    display:block;
    font-size:3rem;
    font-weight:700;
    line-height:1;
}

.time-box p{
    margin-top:15px;
    font-size:1rem;
    letter-spacing:1px;
    text-transform:uppercase;
}

@media(max-width:768px){

    .time-box{
        width:120px;
    }

    .time-box span{
        font-size:2.3rem;
    }

}/* ==========================
   GOOGLE MAP BUTTON
========================== */

.btn{
    display:inline-block;
    background:#0B3C6D;
    color:#fff;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:all .3s ease;
}

.btn:hover{
    background:#062746;
    transform:translateY(-2px);
}//* ==========================
   VENUE IMAGE
========================== */

.venue-image{
    margin:40px 0;
}

.venue-image img{
    width:100%;
    max-height:450px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}/* ==========================
   BUTTON
========================== */

.btn{
    display:inline-block;
    background:#0B3C6D;
    color:#fff;
    padding:12px 28px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#062746;
    transform:translateY(-2px);
}

/* ==========================
   REGISTRATION TABLE
========================== */

.table-responsive{
    overflow-x:auto;
    margin:30px 0;
}

.fees-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    border-radius:12px;
    overflow:hidden;
}

.fees-table th{
    background:#0B3C6D;
    color:#fff;
    padding:14px;
    text-align:left;
}

.fees-table td{
    padding:12px 14px;
    border-bottom:1px solid #e5e5e5;
}

.fees-table tbody tr:nth-child(even){
    background:#f8f9fb;
}

.fees-table tbody tr:hover{
    background:#eef4fb;
}
/* ==========================
   MOBILE MENU
========================== */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:30px;
    color:#0B3C6D;
    cursor:pointer;
    padding:5px;
}

@media (max-width:768px){

    nav{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        padding:15px 20px;
    }

    .logo img{
        width:130px;
    }

    .menu-toggle{
        display:block;
    }

    nav ul{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        flex-direction:column;
        align-items:center;
        gap:0;
        padding:10px 0;
        margin:0;
        box-shadow:0 5px 15px rgba(0,0,0,.10);
        z-index:1000;
    }

    nav{
        position:relative;
    }

    nav ul.active{
        display:flex;
    }

    nav ul li{
        width:100%;
        text-align:center;
    }

    nav ul li a{
        display:block;
        padding:12px 10px;
        font-size:15px;
    }

}