/* ==========================================
   GLOBAL STYLES
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#111;
    color:#fff;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================================
   HEADER
========================================== */

header{
    position:sticky;
    top:0;
    z-index:999;
    background:#111;
    border-bottom:1px solid #222;
}

nav{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:28px;
    font-weight:700;
}

.nav-links{
    display:flex;
    gap:40px;
}

.nav-links a{
    color:#d5d5d5;
    transition:.3s;
}

.nav-links a:hover{
    color:#fff;
}

.hamburger{
    display:none;
    cursor:pointer;
}

.hamburger span{
    display:block;
    width:28px;
    height:3px;
    margin:5px;
    background:#fff;
}

/* ==========================================
   BUTTONS
========================================== */

.btn{
    display:inline-block;
    padding:16px 34px;
    background:#3fb950;
    color:#fff;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#2ea043;
    transform:translateY(-2px);
}

/* ==========================================
   HERO
========================================== */

.hero{
    padding:100px 0;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:80px;
    align-items:center;
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
    line-height:1.1;
}

.hero p{
    color:#bcbcbc;
    margin-bottom:35px;
    font-size:18px;
}

.qualifications p {
    color:#bcbcbc;
    margin-bottom:35px;
    font-size:18px;
}

.hero-image{
    display:flex;
    justify-content:center;
}

.hero-image img{
    width:400px;
    height:400px;
    object-fit:cover;
    border-radius:20px;
}

/* ==========================================
   SECTION
========================================== */

section{
    padding:100px 0;
}

section h2{
    font-size:42px;
    margin-bottom:18px;
}

.section-text{
    color:#a8a8a8;
    margin-bottom:60px;
    max-width:700px;
}

/* ==========================================
   COMPANY LOGOS
========================================== */

.companies h3{
    margin-bottom:40px;
    font-size:18px;
    color:#b5b5b5;
}

.company-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:30px;
    align-items:center;
}

.company-grid img{
    filter:grayscale(100%);
    opacity:.65;
    transition:.3s;
}

.company-grid img:hover{
    filter:none;
    opacity:1;
}

/* ==========================================
   CASE STUDIES
========================================== */

.case-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.case-card{
    background:#1a1a1a;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
}

.case-card:hover{
    transform:translateY(-8px);
}

.case-card img{
    height:220px;
    width:100%;
    object-fit:cover;
}

.case-card h3{
    padding:20px 25px 10px;
    font-size:24px;
}

.case-card p{
    padding:0 25px;
    color:#bdbdbd;
}

.case-card a{
    display:inline-block;
    margin:25px;
    color:#3fb950;
    font-weight:600;
}

.tag{
    display:inline-block;
    margin:25px 25px 0;
    padding:8px 16px;
    border-radius:40px;
    font-size:13px;
    font-weight:600;
}

.fintech{
    background:#FFF2CC;
    color:#8A6D00;
}

.education{
    background:#D6F5D6;
    color:#166534;
}

.pharma{
    background:#FFDADA;
    color:#8B1E1E;
}

/* ==========================================
   TESTIMONIALS
========================================== */

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.testimonial{
    background:#1b1b1b;
    border-radius:18px;
    padding:35px;
}

.testimonial p{
    color:#d2d2d2;
    margin-bottom:30px;
}

.client{
    display:flex;
    align-items:center;
    gap:18px;
}

.client img{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
}

.client span{
    display:block;
    color:#999;
    margin-top:3px;
}

/* ==========================================
   RECENT WORK
========================================== */

.work-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.work-card{
    background:#1a1a1a;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
}

.work-card:hover{
    transform:translateY(-8px);
}

.work-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.work-card h3{
    padding:25px 25px 10px;
}

.work-card p{
    padding:0 25px;
    color:#bcbcbc;
    margin-bottom: 20px;
}

.work-card a{
    display:inline-block;
    margin:25px;
    color:#3fb950;
    font-weight:600;
}

/* ==========================================
   CONTACT
========================================== */

.contact form{
    max-width:700px;
}

.contact input,
.contact textarea{
    width:100%;
    margin-bottom:20px;
    padding:18px;
    border:none;
    border-radius:10px;
    background:#1b1b1b;
    color:#fff;
    font-size:16px;
}

.contact input:focus,
.contact textarea:focus{
    outline:2px solid #3fb950;
}

.hp-field{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

/* ==========================================
   FOOTER
========================================== */

footer{
    padding:40px 0;
    text-align:center;
    border-top:1px solid #222;
    color:#888;
}

/* ==========================================
   ANIMATIONS
========================================== */

.case-card,
.work-card,
.testimonial{
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.case-card:hover,
.work-card:hover,
.testimonial:hover{
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}

/* ==========================================
   SCROLL ANIMATIONS
========================================== */

.hero-text,
.hero-image,
.case-card,
.testimonial,
.work-card,
.company-grid img{

    opacity:0;
    transform:translateY(40px);
    transition:
        opacity .7s ease,
        transform .7s ease;

}

.show{

    opacity:1;
    transform:translateY(0);

}

/* ==========================================
   ACTIVE NAV
========================================== */

.nav-links a.active{

    color:#3fb950;

}

/* ==========================================
   BACK TO TOP BUTTON
========================================== */

.back-to-top{

    position:fixed;
    bottom:30px;
    right:30px;

    width:50px;
    height:50px;

    border:none;
    border-radius:50%;

    background:#3fb950;
    color:white;

    font-size:22px;

    cursor:pointer;

    opacity:0;
    pointer-events:none;

    transition:.3s;

    box-shadow:0 10px 20px rgba(0,0,0,.3);

}

.back-to-top:hover{

    transform:translateY(-4px);

}

.back-to-top.visible{

    opacity:1;
    pointer-events:auto;

}