/* =========================================================
   THINKIPYSOFT COMPLETE WEBSITE CSS
   ========================================================= */

/* =========================
   1. ROOT VARIABLES
   ========================= */

:root {
    --primary: #056df5;
    --primary-dark: #034eb5;
    --secondary: #6d28d9;
    --accent: #ff7200;

    --navy: #07142f;
    --navy-2: #0b2a74;

    --ink: #101828;
    --muted: #667085;

    --white: #ffffff;
    --soft: #f8fafc;
    --soft-blue: #eff6ff;

    --line: #e4e7ec;

    --success: #16a34a;
    --danger: #dc2626;

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --shadow-sm: 0 8px 28px rgba(7, 20, 47, 0.05);
    --shadow-md: 0 16px 40px rgba(7, 20, 47, 0.08);
    --shadow-lg: 0 20px 55px rgba(7, 20, 47, 0.11);

    --container: 1180px;

    --transition: 0.25s ease;
}


/* =========================
   2. RESET
   ========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    padding-left: 20px;
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}


/* =========================
   3. TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", "Inter", sans-serif;
    color: var(--ink);
    margin-top: 0;
}

h1 {
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

h3 {
    font-size: 21px;
    line-height: 1.35;
}

p {
    margin-top: 0;
}

.lead {
    font-size: 17px;
    color: var(--muted);
}


/* =========================
   4. TOPBAR
   ========================= */

.topbar {
    background: var(--navy);
    color: #d0d5dd;
    font-size: 13px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
}

.topbar a {
    color: var(--white);
}


/* =========================
   5. HEADER / NAVIGATION
   ========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(228, 231, 236, 0.9);

    box-shadow: 0 8px 30px rgba(7, 20, 47, 0.05);
}

.nav {
    height: 84px;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================
   6. LOGO
   ========================= */

.brand {
    width: 315px;
    height: 72px;

    display: flex;
    align-items: center;

    overflow: hidden;
    flex-shrink: 0;
}

.brand img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left center;
}


/* =========================
   7. DESKTOP NAVIGATION
   ========================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 24px;

    margin-left: auto;

    font-size: 14px;
    font-weight: 700;
}

.nav-links a {
    position: relative;

    padding: 28px 0;

    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );

    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;

    margin-left: auto;

    border: none;
    background: transparent;

    font-size: 29px;
    color: var(--navy);
}


/* =========================
   8. BUTTONS
   ========================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 22px;

    border-radius: 13px;

    border: 1px solid transparent;

    font-weight: 800;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 12px 28px
        rgba(5, 109, 245, 0.24);
}

.btn-primary:hover {
    box-shadow:
        0 16px 34px
        rgba(5, 109, 245, 0.32);
}

.btn-outline {
    border-color: #cfd4dc;
    background: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}


/* =========================
   9. EYEBROW
   ========================= */

.eyebrow {
    display: inline-flex;

    padding: 8px 13px;

    border-radius: 999px;

    background: #eaf2ff;

    color: #0755c4;

    font-size: 13px;
    font-weight: 850;

    letter-spacing: 0.5px;
}


/* =========================
   10. HOME HERO
   ========================= */

.hero {
    position: relative;

    padding: 92px 0 72px;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(5, 109, 245, 0.28),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 17%,
            rgba(109, 40, 217, 0.24),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-2)
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.08) 0 1px,
            transparent 1px
        );

    background-size: 24px 24px;

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 55px;

    align-items: center;
}

.hero h1 {
    color: var(--white);

    margin: 20px 0;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    color: #d0d5dd;

    font-size: 18px;
}

.hero .eyebrow {
    color: #9cc7ff;

    background:
        rgba(255, 255, 255, 0.1);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.hero-actions {
    display: flex;

    gap: 13px;

    flex-wrap: wrap;

    margin: 30px 0;
}

.hero .btn-outline {
    background: transparent;

    color: var(--white);

    border-color: #667085;
}

.hero-points {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;

    color: #d0d5dd;

    font-size: 14px;
    font-weight: 700;
}


/* =========================
   11. PAGE HERO
   ========================= */

.page-hero {
    position: relative;

    min-height: 390px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    color: var(--white);

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 47, 0.94),
            rgba(11, 42, 116, 0.78)
        );
}

.page-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(5, 109, 245, 0.25),
            transparent 32%
        );

    pointer-events: none;
}

.page-hero .container {
    position: relative;

    z-index: 2;
}

.page-hero h1 {
    color: var(--white);

    max-width: 900px;

    margin:
        12px auto 18px;
}

.page-hero .lead {
    color: #d0d5dd;

    max-width: 720px;

    margin: 0 auto;
}

.page-hero .eyebrow {
    background:
        rgba(255, 255, 255, 0.12);

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    color: var(--white);
}


/* =========================
   12. INDIVIDUAL PAGE HERO IMAGES
   ========================= */
   

.services-hero {
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 47, 0.94),
            rgba(11, 42, 116, 0.75)
        ),
        url("assets/images/services-bg.jpg");

    background-size: cover;
    background-position: center;
}

.about-hero {
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 47, 0.94),
            rgba(11, 42, 116, 0.74)
        ),
        url("assets/images/services-bg.jpg");

    background-size: cover;
    background-position: center;
}

.portfolio-hero {
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 47, 0.94),
            rgba(11, 42, 116, 0.72)
        ),
        url("assets/images/services-bg.jpg");

    background-size: cover;
    background-position: center;
}

.careers-hero {
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 47, 0.94),
            rgba(11, 42, 116, 0.72)
        ),
        url("assets/images/services-bg.jpg");

    background-size: cover;
    background-position: center;
}

.contact-hero {
    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 47, 0.94),
            rgba(11, 42, 116, 0.72)
        ),
        url("assets/images/services-bg.jpg");

    background-size: cover;
    background-position: center;
}
.page-inner-hero {
    min-height: 560px;
}

.page-inner-hero .hero-grid {
    min-height: 470px;
}

.page-inner-hero .hero-grid > div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-inner-hero .hero-grid > div:last-child img {
    width: 100%;
    max-width: 570px;
    max-height: 450px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 45px
            rgba(0, 0, 0, 0.18)
        );
}

.page-inner-hero h1 {
    max-width: 700px;
}

.page-inner-hero p {
    max-width: 650px;
}

@media (max-width: 920px) {

    .page-inner-hero {
        min-height: auto;
    }

    .page-inner-hero .hero-grid {
        min-height: auto;
    }

    .page-inner-hero .hero-grid > div:last-child {
        margin-top: 25px;
    }

    .page-inner-hero .hero-grid > div:last-child img {
        max-width: 500px;
    }
}

@media (max-width: 640px) {

    .page-inner-hero {
        padding:
            60px 0;
    }

    .page-inner-hero .hero-grid > div:last-child img {
        max-height: 330px;
    }
}

/* =========================
   13. STATS
   ========================= */

.stats {
    position: relative;

    z-index: 5;

    margin-top: -35px;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background: var(--white);

    border:
        1px solid
        var(--line);

    border-radius: 22px;

    box-shadow: var(--shadow-lg);

    overflow: hidden;
}

.stat {
    padding: 27px;

    text-align: center;

    border-right:
        1px solid
        var(--line);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;

    font-size: 31px;

    color: var(--primary);
}

.stat span {
    font-size: 13px;

    color: var(--muted);

    font-weight: 700;
}


/* =========================
   14. GENERIC SECTION
   ========================= */

.section {
    padding: 92px 0;
}

.section.alt {
    background: var(--soft);
}

.section-head {
    max-width: 770px;

    margin:
        0 auto 44px;

    text-align: center;
}

.section-head p {
    color: var(--muted);

    font-size: 17px;
}

.section-head h2::after {
    content: "";

    display: block;

    width: 72px;
    height: 4px;

    border-radius: 99px;

    margin:
        16px auto 0;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--accent)
        );
}


/* =========================
   15. GRID HELPERS
   ========================= */

.grid-2 {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 24px;
}

.grid-3 {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 23px;
}

.grid-4 {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.split {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}


/* =========================
   16. GENERIC CARD
   ========================= */

.card {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdff
        );

    border:
        1px solid
        var(--line);

    border-radius: var(--radius-lg);

    padding: 28px;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-lg);
}

.card h3 {
    margin:
        0 0 8px;
}

.card p {
    margin: 0;

    color: var(--muted);
}


/* =========================
   17. ICON
   ========================= */

.icon {
    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    margin-bottom: 18px;

    border-radius: 16px;

    font-size: 25px;

    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #ede9fe
        );

    transition:
        transform var(--transition);
}

.card:hover .icon {
    transform:
        scale(1.06)
        rotate(-2deg);
}


/* =========================
   18. SERVICES
   ========================= */

.service-card {
    padding: 0;

    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 215px;

    object-fit: cover;
}

.service-body {
    padding: 26px;
}

.service-number {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-link {
    display: inline-flex;

    margin-top: 18px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 800;

    transition:
        color var(--transition),
        transform var(--transition);
}

.service-link:hover {
    color: var(--accent);

    transform: translateX(4px);
}


/* =========================
   19. LOGO SHOWCASE
   ========================= */

.logo-showcase {
    display: grid;

    place-items: center;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #fff7ed
        );

    border:
        1px solid
        var(--line);

    border-radius: 28px;

    box-shadow: var(--shadow-lg);
}

.logo-showcase img {
    max-height: 360px;

    object-fit: contain;
}


/* =========================
   20. CHECK LIST
   ========================= */

.checks {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 13px;

    margin-top: 24px;

    color: #344054;

    font-weight: 650;
}


/* =========================
   21. PORTFOLIO
   ========================= */

.portfolio-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.project {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfdff
        );

    border:
        1px solid
        var(--line);

    border-radius: var(--radius-lg);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.project:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-lg);
}

.project img {
    width: 100%;
    height: 230px;

    object-fit: cover;
}

.project-body {
    padding: 24px;
}

.project h3 {
    margin:
        0 0 8px;
}

.project p {
    margin: 0;

    color: var(--muted);
}

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}

.tag {
    padding: 6px 10px;

    border-radius: 999px;

    background: #f2f4f7;

    color: #475467;

    font-size: 12px;
    font-weight: 750;
}


/* =========================
   22. PROCESS
   ========================= */

.process {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    counter-reset: step;
}

.step {
    position: relative;

    padding: 26px;

    background: var(--white);

    border:
        1px solid
        var(--line);

    border-radius: 20px;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.step:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

.step::before {
    counter-increment: step;

    content:
        "0" counter(step);

    display: inline-flex;

    padding: 6px 9px;

    margin-bottom: 15px;

    border-radius: 8px;

    background: #eaf2ff;

    color: var(--primary);

    font-size: 12px;
    font-weight: 900;
}


/* =========================
   23. CTA
   ========================= */

.cta {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 55px;

    border-radius: 30px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--navy),
            #12428c 62%,
            var(--secondary)
        );

    box-shadow: var(--shadow-lg);
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: #d0d5dd;
}


/* =========================
   24. ABOUT IMAGE
   ========================= */

.about-image {
    overflow: hidden;

    border-radius: 28px;

    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 440px;

    object-fit: cover;
}


/* =========================
   25. CAREERS
   ========================= */

.job-list {
    display: grid;

    gap: 14px;
}

.job {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.job h3 {
    margin-bottom: 5px;
}

.job p {
    margin: 0;
}


/* =========================
   26. CONTACT
   ========================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 30px;
}

.contact-dark {
    background: var(--navy);

    color: var(--white);
}

.contact-dark h2,
.contact-dark h3 {
    color: var(--white);
}

.contact-dark p {
    color: #d0d5dd;
}

.contact-item {
    display: flex;

    flex-direction: column;

    padding: 17px 0;

    border-bottom:
        1px solid
        #344054;
}

.contact-item a,
.contact-item span {
    color: #d0d5dd;
}


/* =========================
   27. FORMS
   ========================= */

form {
    display: grid;

    gap: 15px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}

input,
textarea,
select {
    width: 100%;

    padding: 14px 15px;

    border:
        1px solid
        var(--line);

    border-radius: 12px;

    background: var(--white);

    color: var(--ink);

    outline: none;

    transition:
        border var(--transition),
        box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(5, 109, 245, 0.12);
}

textarea {
    min-height: 145px;

    resize: vertical;
}

.form-status {
    margin: 0;

    color: var(--success);

    font-weight: 750;
}


/* =========================
   28. FOOTER
   ========================= */

.footer {
    padding:
        60px 0 22px;

    background: var(--navy);

    color: #d0d5dd;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr repeat(3, 1fr);

    gap: 38px;
}

.footer-logo {
    width: 300px;
    max-height: 88px;

    object-fit: contain;
    object-position: left center;

    margin-bottom: 18px;
}

.footer h3 {
    color: var(--white);
}

.footer a,
.footer span {
    display: block;

    margin: 9px 0;
}

.footer a {
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer a:hover {
    color: var(--white);

    transform:
        translateX(3px);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 36px;

    padding-top: 20px;

    border-top:
        1px solid
        #344054;

    font-size: 13px;
}


/* =========================
   29. FLOATING WHATSAPP
   ========================= */

.whatsapp,
.chat-btn {
    position: fixed;

    right: 20px;

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border: none;

    border-radius: 50%;

    color: var(--white);

    z-index: 999;

    font-size: 27px;

    box-shadow:
        0 15px 35px
        rgba(7, 20, 47, 0.22);

    transition:
        transform var(--transition);
}

.whatsapp:hover,
.chat-btn:hover {
    transform: scale(1.08);
}

.whatsapp {
    bottom: 88px;

    background: #22c55e;
}

.chat-btn {
    bottom: 20px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
}


/* =========================
   30. CHAT MODAL
   ========================= */

.chat-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 2000;

    background:
        rgba(7, 20, 47, 0.55);
}

.chat-modal.open {
    display: block;
}

.chat-box {
    position: absolute;

    right: 22px;
    bottom: 22px;

    width:
        min(
            380px,
            calc(100% - 44px)
        );

    overflow: hidden;

    background: var(--white);

    border-radius: 22px;

    box-shadow: var(--shadow-lg);
}

.chat-head {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 18px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
}

.chat-head span {
    display: block;

    font-size: 12px;

    opacity: 0.8;
}

.chat-head button {
    border: none;

    background: none;

    color: var(--white);

    font-size: 28px;
}

.chat-messages {
    height: 280px;

    padding: 18px;

    overflow-y: auto;

    background: #f8fafc;
}

.message {
    max-width: 80%;

    padding: 11px 13px;

    margin-bottom: 10px;

    border-radius: 14px;
}

.message.incoming,
.incoming {
    background: var(--white);

    border:
        1px solid
        var(--line);
}

.message.outgoing,
.outgoing {
    margin-left: auto;

    background: var(--primary);

    color: var(--white);
}

.chat-input {
    display: flex;

    padding: 13px;

    border-top:
        1px solid
        var(--line);
}

.chat-input input {
    border-radius:
        10px 0 0 10px;
}

.chat-input button {
    padding:
        0 18px;

    border: none;

    border-radius:
        0 10px 10px 0;

    background: var(--primary);

    color: var(--white);

    font-weight: 700;
}


/* =========================
   31. REVEAL ANIMATION
   ========================= */

.reveal {
    opacity: 0;

    transform:
        translateY(22px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================
   32. FAQ
   ========================= */

.faq {
    max-width: 850px;

    margin: 0 auto;
}

.faq-item {
    overflow: hidden;

    margin-bottom: 13px;

    background: var(--white);

    border:
        1px solid
        var(--line);

    border-radius: 16px;
}

.faq-question {
    width: 100%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 19px 21px;

    border: none;

    background: none;

    text-align: left;

    font-weight: 800;

    color: var(--ink);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    padding:
        0 21px;

    color: var(--muted);

    transition:
        max-height 0.3s ease,
        padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 250px;

    padding:
        0 21px 20px;
}


/* =========================
   33. TECHNOLOGY BADGES
   ========================= */

.technology-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 16px;
}

.technology-card {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 125px;

    padding: 18px;

    background: var(--white);

    border:
        1px solid
        var(--line);

    border-radius: 16px;

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.technology-card:hover {
    transform:
        translateY(-4px);

    box-shadow: var(--shadow-md);
}

.technology-card img {
    width: 45px;
    height: 45px;

    object-fit: contain;
}


/* =========================
   34. TESTIMONIALS
   ========================= */

.testimonial-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.testimonial {
    position: relative;

    padding: 28px;

    background: var(--white);

    border:
        1px solid
        var(--line);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.testimonial::before {
    content: "“";

    position: absolute;

    top: 8px;
    right: 18px;

    font-size: 68px;

    color:
        rgba(5, 109, 245, 0.12);

    font-family: serif;
}

.testimonial p {
    color: var(--muted);
}

.testimonial-author {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 18px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    object-fit: cover;
}


/* =========================
   35. BLOG
   ========================= */

.blog-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.blog-card {
    overflow: hidden;

    background: var(--white);

    border:
        1px solid
        var(--line);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.blog-card:hover {
    transform:
        translateY(-6px);

    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 210px;

    object-fit: cover;
}

.blog-body {
    padding: 24px;
}

.blog-meta {
    margin-bottom: 10px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   36. TABLET RESPONSIVE
   ========================= */

@media (max-width: 920px) {

    .nav-links {
        display: none;

        position: absolute;

        top: 84px;
        left: 0;
        right: 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

        padding: 22px;

        background: var(--white);

        border-bottom:
            1px solid
            var(--line);

        box-shadow:
            0 18px 30px
            rgba(7, 20, 47, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;

        padding: 10px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .desktop-cta {
        display: none;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns:
            1fr;
    }

    .grid-3,
    .portfolio-grid,
    .blog-grid,
    .testimonial-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .grid-4,
    .process {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .technology-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .cta {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================
   37. MOBILE RESPONSIVE
   ========================= */

@media (max-width: 640px) {

    .topbar {
        display: none;
    }

    .nav {
        height: 72px;
    }

    .brand {
        width: 215px;
        height: 60px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    .hero {
        padding:
            58px 0 65px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .page-hero {
        min-height: 330px;

        padding:
            55px 0;
    }

    .section {
        padding:
            68px 0;
    }

    .stats-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .portfolio-grid,
    .process,
    .checks,
    .form-row,
    .footer-grid,
    .technology-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns:
            1fr;
    }

    .stat {
        border-right: none;

        border-bottom:
            1px solid
            var(--line);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .cta {
        padding: 34px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-logo {
        width: 240px;
    }

    .job {
        flex-direction: column;

        align-items: flex-start;
    }

    .service-image {
        height: 200px;
    }

    .project img {
        height: 210px;
    }

    .about-image img {
        height: 320px;
    }

    .whatsapp,
    .chat-btn {
        width: 52px;
        height: 52px;

        right: 15px;
    }

    .whatsapp {
        bottom: 79px;
    }

    .chat-btn {
        bottom: 17px;
    }
}


/* =========================
   38. EXTRA SMALL MOBILE
   ========================= */

@media (max-width: 420px) {

    .container {
        width:
            min(
                100% - 26px,
                var(--container)
            );
    }

    .brand {
        width: 185px;
    }

    h1 {
        font-size: 36px;
    }

    .card,
    .service-body,
    .project-body {
        padding: 22px;
    }

    .cta {
        padding: 28px;
    }

    .chat-box {
        right: 10px;
        bottom: 10px;

        width:
            calc(100% - 20px);
    }
}


/* =========================
   39. ACCESSIBILITY
   ========================= */

:focus-visible {
    outline:
        3px solid
        rgba(5, 109, 245, 0.35);

    outline-offset: 3px;
}

@media (
    prefers-reduced-motion: reduce
) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}