/* =========================================
GLOBAL
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f5f5f7;
    overflow-x:hidden;
    color:#222;
}

img{
    max-width:100%;
    height:auto;
}

/* =========================================
HERO SECTION
========================================= */

.hero{

    height:320px;

    padding-top:85px;

    background:
    linear-gradient(
    rgba(0,20,70,.92),
    rgba(0,20,70,.92)
    ),
    url('https://images.unsplash.com/photo-1565043589221-1a6fd9ae45c7?q=80&w=1600');

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;

}

.hero-content{

    margin-top:30px;

}

.hero h4{

    font-size:20px;
    font-weight:600;

    color:#ffc107;

    margin-bottom:15px;

    line-height:1.7;

}

.hero h1{

    font-size:65px;

    line-height:1.2;

    margin-bottom:15px;

    font-weight:800;

}

.hero p{

    font-size:18px;

}

.hero span{

    color:#ffc107;
    font-weight:600;

}

/* =========================================
SPEAKER SECTION
========================================= */

.speaker-section{

    padding:80px 5%;

    text-align:center;

}

.speaker-title{

    font-size:45px;

    font-weight:700;

    color:#00133d;

    margin-bottom:15px;

}

.line{

    width:60px;
    height:4px;

    background:#ffc107;

    margin:25px auto;

}

.description{

    max-width:900px;

    margin:30px auto;

    font-size:20px;

    line-height:1.8;

    color:#555;

}

/* =========================================
FILTER BUTTONS
========================================= */

.filter{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin-top:40px;

    margin-bottom:60px;

}

.filter button{

    padding:14px 28px;

    border-radius:50px;

    border:1px solid #00133d;

    background:white;

    color:#00133d;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.4s;

}

.filter button:hover{

    background:#00133d;

    color:white;

    transform:translateY(-3px);

}

.selected{

    background:#00133d !important;

    color:white !important;

    box-shadow:0 5px 15px rgba(0,19,61,.2);

}

/* =========================================
SPEAKER GRID
========================================= */

.speaker-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

/* =========================================
SPEAKER CARD
========================================= */

.card{

    background:white;

    padding:30px 25px;

    border-radius:22px;

    box-shadow:
    0 5px 20px rgba(0,0,0,.08);

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 15px 35px rgba(0,0,0,.12);

}

.card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:#ffc107;

}

.card img{

    width: 160px;
    /* height: 200px; */
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f3f4f8;

}
    

.card h3{

    font-size:28px;

    color:#00133d;

    margin-bottom:8px;

    line-height:1.3;

}

.card h4{

    font-size:16px;

    color:#666;

    font-weight:500;

    line-height:1.6;

}

.yellow-line{

    width:50px;
    height:3px;

    background:#ffc107;

    margin:18px auto;

}

.card p{

    line-height:1.8;

    margin:20px 0;

    font-size:16px;

    color:#444;

    min-height:70px;

}

.tag{

    display:inline-block;

    padding:10px 25px;

    background:#00133d;

    color:white;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

}

/* =========================================
VIEW BUTTON
========================================= */

.view{

    margin-top:50px;

}

.view button{

    padding:16px 35px;

    border:none;

    background:#00133d;

    color:white;

    border-radius:50px;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.4s;

}

.view button:hover{

    background:#ffc107;

    color:black;

    transform:translateY(-3px);

}

.view button i{

    margin-left:8px;

}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1200px){

    .speaker-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:991px){

    .hero{

        height:auto;

        padding:140px 20px 70px;

    }

    .hero h1{

        font-size:42px;

    }

    .hero h4{

        font-size:18px;

    }

    .speaker-title{

        font-size:38px;

    }

    .description{

        font-size:18px;

    }

    .speaker-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .hero h1{

        font-size:32px;

    }

    .hero h4{

        font-size:16px;

        line-height:1.8;

    }

    .hero p{

        font-size:15px;

    }

    .speaker-title{

        font-size:30px;

    }

    .description{

        font-size:16px;

    }

    .filter button{

        width:100%;

    }

    .card{

        padding:25px 20px;

    }

    .card h3{

        font-size:24px;

    }

    .card img{

        width:110px;
        height:110px;

    }

}