/* ======================================================
   MOCK PILL WEBSITE
   STYLE.CSS - PART 1
====================================================== */

:root{

    --primary:#2563eb;
    --secondary:#1e40af;
    --light:#f8fafc;
    --dark:#0f172a;
    --text:#475569;
    --white:#ffffff;
    --border:#e5e7eb;

    --radius:18px;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --transition:.35s ease;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#fff;
    color:var(--text);
    line-height:1.8;
    overflow-x:hidden;

}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.section-padding{

    padding:100px 0;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title span{

    color:var(--primary);
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;

}

.section-title h2{

    margin-top:15px;
    font-size:42px;
    color:var(--dark);
    font-weight:700;

}

.section-title p{

    max-width:700px;
    margin:20px auto 0;

}

/* ===========================
        BUTTONS
=========================== */

.btn-primary{

    background:var(--primary);
    border:none;
    border-radius:50px;
    padding:14px 30px;
    transition:var(--transition);

}

.btn-primary:hover{

    background:var(--secondary);
    transform:translateY(-3px);

}

.btn-outline-primary{

    border-radius:50px;
    padding:14px 30px;

}

/* ===========================
        NAVBAR
=========================== */

.navbar{

    background:#fff;
    padding:18px 0;
    transition:.4s;
    box-shadow:0 5px 25px rgba(0,0,0,.05);

}

.navbar-brand{

    display:flex;
    align-items:center;
    font-size:24px;
    font-weight:700;
    color:var(--dark);

}

.navbar-brand img{

    width:42px;
    margin-right:10px;

}

.nav-link{

    color:var(--dark);
    margin-left:18px;
    font-weight:500;
    transition:.3s;

}

.nav-link:hover{

    color:var(--primary);

}

/* ===========================
            HERO
=========================== */

.hero{

    padding-top:170px;
    padding-bottom:120px;

    background:
    linear-gradient(135deg,#eff6ff,#ffffff);

}

.hero-tag{

    display:inline-block;
    background:#dbeafe;
    color:var(--primary);

    padding:8px 18px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

    margin-bottom:25px;

}

.hero h1{

    font-size:60px;
    font-weight:800;
    color:var(--dark);
    line-height:1.2;

}

.hero h1 span{

    color:var(--primary);

}

.hero p{

    margin:30px 0;

    font-size:18px;

}

.hero-buttons{

    display:flex;
    flex-wrap:wrap;
    gap:20px;

}

.hero-features{

    margin-top:45px;

    display:flex;
    flex-wrap:wrap;

    gap:30px;

    font-weight:600;

}

.hero-features i{

    color:#22c55e;

    margin-right:8px;

}

.hero-image{

    text-align:center;

}

.hero-image img{

    animation:float 5s infinite ease-in-out;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-15px);

}

100%{

transform:translateY(0);

}

}

/* ===========================
        COMPANIES
=========================== */

.companies{

    padding:80px 0;

    background:#fff;

}

.companies h5{

    text-align:center;

    color:#64748b;

    margin-bottom:40px;

}

.company-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

    align-items:center;

}

.company-grid img{

    max-height:45px;

    margin:auto;

    opacity:.6;

    transition:.3s;

}

.company-grid img:hover{

    opacity:1;

    transform:scale(1.08);

}

/* ===========================
        RESPONSIVE
=========================== */

@media(max-width:992px){

.hero{

padding-top:140px;
text-align:center;

}

.hero h1{

font-size:44px;

}

.hero-buttons{

justify-content:center;

}

.hero-features{

justify-content:center;

}

.company-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:576px){

.hero h1{

font-size:34px;

}

.section-title h2{

font-size:30px;

}

.company-grid{

grid-template-columns:1fr;

}

}

/* ======================================================
        ABOUT SECTION
====================================================== */

.about{
    background:#ffffff;
}

.about img{
    max-width:100%;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.about h2{
    font-size:44px;
    font-weight:700;
    color:var(--dark);
    margin:15px 0 25px;
}

.about h2 span{
    color:var(--primary);
}

.about p{
    margin-bottom:18px;
    color:var(--text);
}

.mission-box{
    margin-top:35px;
    padding:30px;
    border-left:5px solid var(--primary);
    background:#eff6ff;
    border-radius:15px;
    box-shadow:var(--shadow);
}

.mission-box h5{
    color:var(--dark);
    font-weight:700;
    margin-bottom:10px;
}

/* ======================================================
        STATISTICS
====================================================== */

.stats{
    background:linear-gradient(135deg,#2563eb,#1e40af);
    padding:90px 0;
}

.stat-card{
    background:#ffffff;
    text-align:center;
    padding:40px 20px;
    border-radius:18px;
    transition:.35s;
    box-shadow:var(--shadow);
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-card h2{
    font-size:48px;
    color:var(--primary);
    font-weight:800;
    margin-bottom:10px;
}

.stat-card p{
    margin:0;
    color:#64748b;
    font-weight:500;
}

/* ======================================================
        HOW IT WORKS
====================================================== */

.works{
    background:#f8fafc;
}

.timeline{
    position:relative;
    max-width:850px;
    margin:60px auto 0;
}

.timeline::before{
    content:"";
    position:absolute;
    left:35px;
    top:0;
    width:4px;
    height:100%;
    background:var(--primary);
    border-radius:10px;
}

.timeline-item{
    position:relative;
    display:flex;
    gap:25px;
    margin-bottom:50px;
}

.timeline-item .icon{
    min-width:70px;
    width:70px;
    height:70px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:26px;
    z-index:2;
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.timeline-item .content{
    flex:1;
    background:#fff;
    padding:28px;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:.3s;
}

.timeline-item .content:hover{
    transform:translateY(-6px);
}

.timeline-item h4{
    color:var(--dark);
    font-weight:700;
    margin-bottom:10px;
}

.timeline-item p{
    margin:0;
}

/* ======================================================
        CALL TO ACTION
====================================================== */

.cta{
    padding:100px 0;
    background:#ffffff;
}

.cta-box{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    border-radius:24px;
    padding:70px 50px;
    color:#ffffff;
    text-align:center;
    box-shadow:0 25px 60px rgba(37,99,235,.25);
}

.cta-box h2{
    font-size:42px;
    font-weight:700;
    margin-bottom:20px;
}

.cta-box p{
    max-width:700px;
    margin:0 auto 35px;
    opacity:.95;
    font-size:18px;
}

.cta-box .btn{
    background:#ffffff;
    color:var(--primary);
    border:none;
    padding:15px 38px;
    border-radius:50px;
    font-weight:600;
}

.cta-box .btn:hover{
    transform:translateY(-3px);
    background:#f8fafc;
}

/* ======================================================
        RESPONSIVE
====================================================== */

@media(max-width:991px){

    .about{
        text-align:center;
    }

    .about img{
        margin-top:40px;
    }

    .timeline::before{
        left:25px;
    }

    .timeline-item .icon{
        width:55px;
        height:55px;
        min-width:55px;
        font-size:20px;
    }

    .cta-box{
        padding:50px 30px;
    }

    .cta-box h2{
        font-size:34px;
    }
}

@media(max-width:576px){

    .timeline{
        margin-top:40px;
    }

    .timeline-item{
        gap:15px;
    }

    .timeline-item .content{
        padding:20px;
    }

    .stat-card{
        padding:30px 15px;
    }

    .stat-card h2{
        font-size:36px;
    }

    .about h2{
        font-size:32px;
    }

    .cta-box h2{
        font-size:28px;
    }
}

/* ======================================================
        OUR EXPERTS
====================================================== */

.experts{
    background:#ffffff;
}

.expert-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.35s;
    height:100%;
}

.expert-card:hover{
    transform:translateY(-10px);
}

.expert-card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.expert-content{
    padding:25px;
}

.expert-content h4{
    color:var(--dark);
    font-weight:700;
    margin-bottom:8px;
}

.expert-content span{
    color:var(--primary);
    font-weight:600;
}

.expert-content .company{
    margin-top:15px;
    font-weight:600;
}

.linkedin{
    display:inline-block;
    margin-top:18px;
    color:var(--primary);
    font-weight:600;
}

.linkedin:hover{
    color:var(--secondary);
}

/* ======================================================
        WHO IT'S FOR
====================================================== */

.who-for{
    background:#f8fafc;
}

.candidate-card{
    background:#fff;
    padding:35px 25px;
    text-align:center;
    border-radius:18px;
    box-shadow:var(--shadow);
    transition:.35s;
    height:100%;
}

.candidate-card:hover{
    transform:translateY(-8px);
}

.candidate-card i{
    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:#dbeafe;
    color:var(--primary);
    font-size:32px;
    margin-bottom:20px;
}

.candidate-card h4{
    font-weight:700;
    color:var(--dark);
    margin-bottom:15px;
}

/* ======================================================
        TESTIMONIALS
====================================================== */

.testimonials{
    background:#ffffff;
}

.testimonial-card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:var(--shadow);
    transition:.35s;
    height:100%;
}

.testimonial-card:hover{
    transform:translateY(-8px);
}

.stars{
    color:#fbbf24;
    font-size:22px;
    margin-bottom:15px;
}

.testimonial-card p{
    font-style:italic;
    margin-bottom:25px;
}

.testimonial-card h5{
    color:var(--primary);
    font-weight:700;
}

/* ======================================================
        FAQ
====================================================== */

.faq{
    background:#f8fafc;
}

.accordion-item{
    border:none;
    border-radius:15px !important;
    overflow:hidden;
    margin-bottom:15px;
    box-shadow:var(--shadow);
}

.accordion-button{
    font-weight:600;
    padding:20px 25px;
}

.accordion-button:not(.collapsed){
    background:#2563eb;
    color:#fff;
}

.accordion-button:focus{
    box-shadow:none;
}

.accordion-body{
    padding:20px 25px;
}

/* ======================================================
        CONTACT
====================================================== */

.contact{
    background:#ffffff;
}

.contact-info p{
    font-size:17px;
    margin-bottom:18px;
}

.contact-info i{
    color:var(--primary);
    width:30px;
}

.contact-form .form-control{
    padding:16px;
    border-radius:12px;
    margin-bottom:15px;
    border:1px solid #d1d5db;
}

.contact-form .form-control:focus{
    border-color:var(--primary);
    box-shadow:none;
}

.contact-form button{
    padding:15px 35px;
    border-radius:50px;
}

/* ======================================================
        FOOTER
====================================================== */

footer{
    background:#0f172a;
    color:#cbd5e1;
    padding:70px 0 25px;
}

footer h3,
footer h5{
    color:#ffffff;
    margin-bottom:20px;
}

footer ul{
    padding:0;
}

footer ul li{
    margin-bottom:12px;
}

footer ul li a{
    color:#cbd5e1;
    transition:.3s;
}

footer ul li a:hover{
    color:#ffffff;
}

footer a{
    color:#cbd5e1;
    margin-right:15px;
    font-size:20px;
    transition:.3s;
}

footer a:hover{
    color:#ffffff;
}

footer hr{
    margin:40px 0 20px;
    border-color:rgba(255,255,255,.15);
}

footer .text-center{
    font-size:15px;
}

/* ======================================================
        EXTRA ANIMATIONS
====================================================== */

.fade-up{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ======================================================
        RESPONSIVE
====================================================== */

@media (max-width:991px){

    .expert-card img{
        height:260px;
    }

    .contact{
        text-align:center;
    }

    .contact-info{
        margin-bottom:40px;
    }

    footer{
        text-align:center;
    }

    footer a{
        margin:0 8px;
    }
}

@media (max-width:576px){

    .expert-card img{
        height:220px;
    }

    .candidate-card{
        padding:25px 20px;
    }

    .testimonial-card{
        padding:25px;
    }

    .contact-form button{
        width:100%;
    }
}