@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root{
    --primary:#7a1cff;
    --secondary:#4c45a5;
    --dark:#12002b;
    --white:#ffffff;
    --gray:#f2f2f2;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Montserrat', sans-serif;
    background:var(--gray);
    color:#222;
    overflow-x:hidden;
}

img{
    max-width:100%;
}

.logo{
    max-width:300px;
}

.hero-section{
    position:relative;
    min-height:700px;
    background:url('../img/hero-bg.jpg') center center/cover no-repeat;
    padding:120px 0;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-title{
    font-size:2.5rem;
    font-weight:800;
    line-height:1.1;
}

.hero-title span{
    color:#c05fff;
}

.hero-subtitle{
    font-size:2rem;
    font-weight:700;
}

.hero-info h3,
.footer-info h3{
    font-size:3rem;
    font-weight:800;
    margin-bottom:5px;
}

.hero-info h4,
.footer-info h4{
    font-size:2.3rem;
    font-weight:700;
    margin-bottom:10px;
}

.hero-info p,
.footer-info p{
    font-size:1rem;
    font-weight:600;
}

.btn-register{
    background:linear-gradient(90deg, #7a1cff 0%, #c05fff 100%);
    border:none;
    color:#fff;
    border-radius:0;
    padding:14px 28px;
    font-size:.9rem;
    font-weight:700;
    letter-spacing:1px;
    transition:.3s ease;
}

.btn-register:hover{
    transform:translateY(-3px);
    color:#fff;
}

.about-image{
    min-height:100%;
    background:url('../img/about-bg.jpg') center center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:flex-end;
    padding:40px;
}

.about-image-overlay{
    background:rgba(0,0,0,.45);
    color:#fff;
    max-width:300px;
    padding:25px;
}

.about-image-overlay p{
    font-size:1.3rem;
    line-height:1.5;
}

.about-content{
    background:#fff;
    height:100%;
}

.lead-text{
    font-size:1.5rem;
    line-height:1.8;
    margin-bottom:40px;
}

.section-mini-title{
    color:var(--secondary);
    font-weight:800;
    margin-bottom:35px;
}

.about-content p{
    font-size:1.2rem;
    line-height:2;
    margin-bottom:25px;
}

.about-content span{
    color:var(--secondary);
    font-weight:700;
}

.section-title{
    color:var(--primary);
    font-size:3rem;
    font-weight:800;
}

.speaker-card{
    overflow:hidden;
}

.speaker-avatar{
    width:180px;
    height:180px;
    margin:0 auto;
    border-radius:50%;
    border:4px solid var(--primary);
    overflow:hidden;
}

.speaker-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center 30%;
    transform:scale(1);
    transform-origin:center;
}

.speaker-image-1{
    object-position:center 32%;
}

.speaker-image-2{
    object-position:center 24%;
    transform:scale(1.02);
}

.speaker-image-3{
    object-position:center 0%;
}

.speaker-image-4{
    object-position:center 0%;
}

.speaker-image-5{
    object-position:center 0%;
}

.speaker-info{
    background:var(--secondary);
    color:#fff;
    margin-top:30px;
    padding:20px 15px;
    min-height: 200px;
}

.speaker-info h4{
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:15px;
}

.speaker-info p{
    margin:0;
    font-size:1.1rem;
}

.agenda-card{
    background:var(--secondary);
    border-radius:25px;
    overflow:hidden;
}

.agenda-image{
    background:url('../img/agenda.jpg') center center/cover no-repeat;
    height:100%;
    min-height:500px;
}

.agenda-content{
    color:#fff;
}

.agenda-title{
    color:#c05fff;
    font-size:2rem;
    font-weight:800;
}

.agenda-divider{
    width:100%;
    height:2px;
    background:#fff;
    margin-bottom:30px;
}

.agenda-item{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:20px;
    margin-bottom:18px;
}

.agenda-hour{
    font-weight:700;
}

.footer-section{
    position:relative;
    background:#12002b;
    padding:60px 0;
    overflow:hidden;
}

.footer-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:url('../img/footer-bg.jpg') center center/cover no-repeat;
    transform:scaleX(-1);
    transform-origin:center;
    z-index:0;
}

.footer-overlay{
    position:absolute;
    inset:0;
    background:rgba(33,0,70,.75);
    z-index:1;
}

.footer-logo{
    max-width:300px;
    filter:brightness(0) invert(1);
    display:block;
}

.footer-subtitle{
    font-size:2rem;
    font-weight:700;
}

.connect-logo{
    max-width: 130px;
}

.container-footer{
    margin-left: 300px;
}

#container-speakers{
    justify-content: space-around;
}

@media(max-width:991px){

    .hero-title{
        font-size:2.5rem;
    }

    .hero-subtitle,
    .footer-subtitle{
        font-size:1.5rem;
    }

    .hero-info h3,
    .footer-info h3{
        font-size:2.2rem;
    }

    .hero-info h4,
    .footer-info h4{
        font-size:1.6rem;
    }

    .lead-text,
    .about-content p{
        font-size:1rem;
    }

    .section-title{
        font-size:2.2rem;
    }

    .agenda-title{
        font-size:1.5rem;
    }
}

@media(max-width:767px){

    .connect-logo{
        max-width:50px;
    }

    .footer-logo{
        margin-top:-30px;
    }

    .container-footer{
        margin-left:0;
        padding:0 12px;
    }

    .speaker-card{
        max-width:260px;
        margin:0 auto;
    }

    .speaker-avatar{
        width:200px;
        height:200px;
        border-width:3px;
    }

    .speaker-info{
        max-width:230px;
        margin:18px auto 0;
        padding:20px 16px;
        min-height: 190px;
    }

    .speaker-info h4{
        font-size:1.2rem;
        margin-bottom:10px;
    }

    .speaker-info p{
        font-size:1rem;
    }

    .hero-section,
    .footer-section{
        padding:80px 0;
    }

    .hero-title{
        font-size:2rem;
    }

    .hero-subtitle,
    .footer-subtitle{
        font-size:1.2rem;
    }

    .hero-info h3,
    .footer-info h3{
        font-size:1.8rem;
    }

    .hero-info h4,
    .footer-info h4{
        font-size:1.3rem;
    }

    .about-image{
        min-height:450px;
    }

    .about-content{
        padding:40px 25px !important;
    }

    .agenda-item{
        grid-template-columns:1fr;
        gap:8px;
    }

    .agenda-image{
        min-height:300px;
    }
}