/* =====================================================
   EMP DIGITAL AGENCY
   MAIN WEBSITE CSS
   ===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #111111;
    line-height: 1.6;
}


a {
    text-decoration: none;
    color: inherit;
}


ul {
    list-style: none;
}


img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   BRAND COLORS
===================================================== */

:root {

    --blue: #0057ff;
    --dark-blue: #003bb5;

    --light-blue: #eef4ff;

    --black: #0a0a0d;
    --dark: #111318;

    --white: #ffffff;

    --light: #f6f8fc;

    --text: #5d6470;

    --border: #e3e7ee;

    --shadow:
        0 12px 35px rgba(0, 0, 0, 0.08);

    --blue-shadow:
        0 12px 30px rgba(0, 87, 255, 0.18);

    --radius: 18px;

    --container: 1200px;
}


/* =====================================================
   GENERAL
===================================================== */

section {
    width: 100%;
}


/* =====================================================
   HEADER
===================================================== */

header {

    width: 100%;

    min-height: 82px;

    padding: 14px 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(15px);

    box-shadow:
        0 3px 20px rgba(0, 0, 0, 0.03);
}


/* =====================================================
   LOGO
===================================================== */

.logo a {

    display: flex;

    align-items: center;

    gap: 12px;
}


.logo img {

    width: 48px;

    height: 48px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid var(--blue);

    padding: 2px;
}


.logo h2 {

    color: var(--black);

    font-size: 19px;

    font-weight: 700;

    white-space: nowrap;
}


/* =====================================================
   WEBSITE SEARCH
===================================================== */

.website-search {

    position: relative;

    width: 270px;

    flex-shrink: 0;

    z-index: 1100;
}


/* Search box */

.search-box {

    width: 100%;

    height: 44px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 0 15px;

    background: #f7f9fd;

    border: 1px solid #dfe5ef;

    border-radius: 12px;

    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.02);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Search icon */

.search-box i {

    color: var(--blue);

    font-size: 15px;

    transition: 0.3s ease;
}


/* Search input */

.search-box input {

    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    padding: 0 8px;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    color: var(--black);
}


.search-box input::placeholder {

    color: #9299a5;

    transition: 0.3s ease;
}


/* Search focus */

.search-box:focus-within {

    background: white;

    border-color: var(--blue);

    box-shadow:
        0 0 0 4px rgba(0, 87, 255, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.08);
}


.search-box:focus-within i {

    transform: scale(1.1);

    color: var(--dark-blue);
}


.search-box:focus-within input::placeholder {

    color: #b3b8c1;
}


/* =====================================================
   SEARCH RESULTS
===================================================== */

.search-results {

    display: none;

    position: absolute;

    top: 55px;

    left: 0;

    width: 350px;

    max-height: 420px;

    overflow-y: auto;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.14);

    overflow-x: hidden;
}


/* Search result */

.search-result {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px 17px;

    border-bottom: 1px solid #edf0f4;

    transition:
        background 0.25s ease,
        padding-left 0.25s ease;
}


.search-result:last-child {

    border-bottom: none;
}


.search-result:hover {

    background: var(--light-blue);

    padding-left: 21px;
}


/* Result icon */

.result-icon {

    width: 38px;

    min-width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--light-blue);

    color: var(--blue);

    border-radius: 10px;

    transition: 0.25s ease;
}


.search-result:hover .result-icon {

    background: var(--blue);

    color: white;
}


/* Result text */

.search-result h3 {

    color: var(--black);

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 2px;
}


.search-result p {

    color: var(--text);

    font-size: 11px;

    line-height: 1.5;
}


/* No results */

.no-results {

    text-align: center;

    padding: 30px 20px;
}


.no-results i {

    display: block;

    color: var(--blue);

    font-size: 25px;

    margin-bottom: 10px;
}


.no-results p {

    color: var(--black);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 4px;
}


.no-results span {

    color: var(--text);

    font-size: 11px;

    line-height: 1.5;
}


/* Search scrollbar */

.search-results::-webkit-scrollbar {

    width: 5px;
}


.search-results::-webkit-scrollbar-track {

    background: #f5f6f8;
}


.search-results::-webkit-scrollbar-thumb {

    background: #c8d0dc;

    border-radius: 10px;
}


.search-results::-webkit-scrollbar-thumb:hover {

    background: var(--blue);
}


/* =====================================================
   NAVIGATION
===================================================== */

nav ul {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;
}


nav ul li a {

    position: relative;

    color: #444b55;

    font-size: 13px;

    font-weight: 500;

    transition: 0.3s ease;
}


nav ul li a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: var(--blue);

    border-radius: 10px;

    transition: 0.3s ease;
}


nav ul li a:hover,

nav ul li a.active {

    color: var(--blue);
}


nav ul li a:hover::after,

nav ul li a.active::after {

    width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 650px;

    padding: 80px 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #ffffff 55%,
            #eef4ff 100%
        );

    position: relative;

    overflow: hidden;
}


/* Decorative circle */

.hero::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    background: rgba(0, 87, 255, 0.06);

    right: -150px;

    top: -150px;
}


.hero::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    border: 35px solid rgba(0, 87, 255, 0.04);

    left: -80px;

    bottom: -60px;
}


/* Hero text */

.hero-text {

    width: 55%;

    position: relative;

    z-index: 2;
}


.hero-text h1 {

    max-width: 720px;

    font-size: clamp(42px, 6vw, 75px);

    line-height: 1.05;

    color: var(--black);

    font-weight: 800;

    letter-spacing: -2px;

    margin-bottom: 30px;
}


.hero-text h1::after {

    content: "";

    display: block;

    width: 75px;

    height: 5px;

    margin-top: 25px;

    background: var(--blue);

    border-radius: 20px;
}


/* Hero button */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 28px;

    background: var(--blue);

    color: white;

    border-radius: 10px;

    font-weight: 600;

    font-size: 14px;

    box-shadow: var(--blue-shadow);

    transition: 0.3s ease;
}


.btn:hover {

    background: var(--dark-blue);

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0, 87, 255, 0.25);
}


/* Hero image */

.hero-image {

    width: 40%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}


.hero-image::before {

    content: "";

    position: absolute;

    width: 370px;

    height: 370px;

    border-radius: 50%;

    background: var(--blue);

    opacity: 0.07;
}


.hero-image img {

    width: 330px;

    height: 330px;

    object-fit: cover;

    border-radius: 50%;

    border: 10px solid white;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15);

    position: relative;

    z-index: 2;
}


/* =====================================================
   ABOUT
===================================================== */

.about {

    padding: 100px 7%;

    background: white;
}


.about h2,

.team > h2,

.services > h2,

.contact > h2 {

    text-align: center;

    font-size: clamp(30px, 4vw, 45px);

    color: var(--black);

    font-weight: 800;

    margin-bottom: 35px;

    position: relative;
}


.about h2::after,

.team > h2::after,

.services > h2::after,

.contact > h2::after {

    content: "";

    display: block;

    width: 55px;

    height: 4px;

    margin: 15px auto 0;

    background: var(--blue);

    border-radius: 10px;
}


.about > p {

    max-width: 950px;

    color: var(--text);

    font-size: 15px;

    line-height: 1.9;

    margin: auto;

    background: var(--light);

    border-left: 4px solid var(--blue);

    padding: 35px;

    border-radius: 0 15px 15px 0;

    box-shadow: var(--shadow);
}


.about i {

    color: var(--blue);

    font-weight: 600;

    font-style: normal;
}


.about b {

    color: var(--black);
}


/* =====================================================
   FOUNDERS
===================================================== */

.team {

    padding: 100px 7%;

    background: var(--light);
}


.section-intro {

    max-width: 650px;

    margin: -15px auto 40px;

    text-align: center;

    color: var(--text);

    font-size: 14px;
}


/* Founder cards */

.team-container {

    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.card {

    background: white;

    border-radius: var(--radius);

    overflow: hidden;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    text-align: center;

    padding-bottom: 30px;

    transition: 0.35s ease;
}


.card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12);
}


.card img {

    width: 100%;

    height: 300px;

    object-fit: cover;

    transition: 0.4s ease;
}


.card:hover img {

    transform: scale(1.03);
}


.card h3 {

    color: var(--black);

    font-size: 19px;

    margin: 25px 15px 5px;

    font-weight: 700;
}


.role {

    display: inline-block;

    color: var(--blue);

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 15px;
}


.card p {

    padding: 0 25px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   SERVICES
===================================================== */

.services {

    padding: 100px 7%;

    background: white;
}


.service-box {

    max-width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.service {

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 35px 25px;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);

    transition: 0.35s ease;

    position: relative;

    overflow: hidden;
}


.service::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background: var(--blue);

    transform: scaleX(0);

    transform-origin: left;

    transition: 0.35s ease;
}


.service:hover::before {

    transform: scaleX(1);
}


.service:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);

    border-color:
        rgba(0, 87, 255, 0.15);
}


.service i {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 20px;

    background: var(--light-blue);

    color: var(--blue);

    border-radius: 15px;

    font-size: 25px;

    transition: 0.3s ease;
}


.service:hover i {

    background: var(--blue);

    color: white;

    transform: rotate(-5deg);
}


.service h3 {

    font-size: 18px;

    color: var(--black);

    margin-bottom: 10px;
}


.service p {

    color: var(--text);

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {

    padding: 90px 7%;

    background: var(--black);

    color: white;

    text-align: center;
}


.contact > h2 {

    color: white;
}


.contact > p {

    max-width: 700px;

    margin: 10px auto;

    color: #c6cad3;

    font-size: 14px;
}


.contact a {

    color: #6b9aff;

    font-weight: 600;

    transition: 0.3s ease;
}


.contact a:hover {

    color: white;
}


/* =====================================================
   FOOTER
===================================================== */

footer {

    background: #050507;

    color: white;

    padding: 45px 7% 25px;

    text-align: center;
}


footer h2 {

    font-size: 21px;

    margin-bottom: 8px;
}


footer p {

    color: #9297a1;

    font-size: 12px;

    margin-bottom: 10px;
}


footer p:last-child {

    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #24262c;
}


/* =====================================================
   BACK TO TOP
===================================================== */

#topBtn {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 50%;

    background: var(--blue);

    color: white;

    font-size: 20px;

    cursor: pointer;

    display: none;

    z-index: 999;

    box-shadow:
        0 8px 25px rgba(0, 87, 255, 0.3);

    transition: 0.3s ease;
}


#topBtn:hover {

    background: var(--dark-blue);

    transform: translateY(-4px);
}


/* =====================================================
   SCROLL REVEAL
===================================================== */

.about,

.team,

.services,

.contact,

.card,

.service {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.about.active,

.team.active,

.services.active,

.contact.active,

.card.active,

.service.active {

    opacity: 1;

    transform: translateY(0);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1150px) {

    header {

        padding: 14px 3%;

        gap: 18px;
    }


    .website-search {

        width: 220px;
    }


    nav ul {

        gap: 17px;
    }


    nav ul li a {

        font-size: 12px;
    }

}


/* =====================================================
   SMALL LAPTOP / TABLET
===================================================== */

@media (max-width: 950px) {

    header {

        flex-wrap: wrap;

        justify-content: center;

        padding: 16px 4%;
    }


    .logo {

        margin-right: auto;
    }


    nav {

        order: 3;

        width: 100%;
    }


    nav ul {

        justify-content: center;

        flex-wrap: wrap;
    }


    .website-search {

        width: 250px;

        margin-left: auto;
    }


    .hero {

        padding: 70px 5%;

        gap: 40px;
    }


    .hero-text h1 {

        font-size: 55px;
    }


    .team-container {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .service-box {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    /* HEADER */

    header {

        position: relative;

        flex-direction: column;

        align-items: center;

        padding: 18px 20px;

        gap: 15px;
    }


    .logo {

        margin: 0;
    }


    .logo h2 {

        font-size: 18px;
    }


    .website-search {

        order: 2;

        width: 100%;

        max-width: 500px;

        margin: 0;
    }


    .search-box {

        height: 46px;
    }


    .search-results {

        width: 100%;

        max-height: 350px;
    }


    nav {

        order: 3;

        width: 100%;
    }


    nav ul {

        gap: 13px 20px;

        justify-content: center;
    }


    nav ul li a {

        font-size: 12px;
    }


    /* HERO */

    .hero {

        min-height: auto;

        padding: 70px 25px;

        flex-direction: column;

        text-align: center;
    }


    .hero-text {

        width: 100%;
    }


    .hero-text h1 {

        font-size: 42px;

        letter-spacing: -1px;
    }


    .hero-text h1::after {

        margin: 20px auto 0;
    }


    .hero-image {

        width: 100%;

        margin-top: 20px;
    }


    .hero-image img {

        width: 250px;

        height: 250px;
    }


    /* SECTIONS */

    .about,

    .team,

    .services {

        padding: 70px 20px;
    }


    .about > p {

        padding: 25px;

        font-size: 14px;

        line-height: 1.8;
    }


    /* FOUNDERS */

    .team-container {

        grid-template-columns: 1fr;
    }


    .card img {

        height: 330px;
    }


    /* SERVICES */

    .service-box {

        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact {

        padding: 70px 20px;
    }


    /* FOOTER */

    footer {

        padding: 40px 20px 20px;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .logo h2 {

        font-size: 16px;
    }


    nav ul {

        gap: 10px 14px;
    }


    nav ul li a {

        font-size: 11px;
    }


    .hero-text h1 {

        font-size: 35px;
    }


    .hero-image img {

        width: 210px;

        height: 210px;
    }


    .about h2,

    .team > h2,

    .services > h2,

    .contact > h2 {

        font-size: 29px;
    }


    .card img {

        height: 280px;
    }


    #topBtn {

        width: 43px;

        height: 43px;

        right: 15px;

        bottom: 15px;
    }

}
   /* =====================================================
FOUNDER PORTFOLIO BUTTON
====================================================== */

.portfolio-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;


margin-top: 15px;
padding: 11px 18px;

text-decoration: none;
font-weight: 600;
border-radius: 8px;

transition: all 0.3s ease;

}

.portfolio-btn:hover {
transform: translateY(-3px);
}