/* ROOT */

:root {
    --navy: #071a34;
    --navy-light: #102744;
    --yellow: #ffae00;
    --yellow-dark: #f5a000;
    --text: #14233d;
    --muted: #687589;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e7ebf1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: auto;
}

.section {
    padding: 100px 0;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    height: 82px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
}

.logo-icon {
    width: 38px;
    height: 42px;
    position: relative;
}

.logo-icon span:first-child {
    position: absolute;
    width: 10px;
    height: 42px;
    background: var(--yellow);
    transform: rotate(32deg);
    left: 12px;
    border-radius: 10px;
}

.logo-icon span:last-child {
    position: absolute;
    width: 10px;
    height: 29px;
    background: #f5f7fa;
    transform: rotate(-32deg);
    left: 22px;
    top: 9px;
    border-radius: 10px;
}

.logo h3 {
    font-size: 21px;
    line-height: 20px;
}

.logo small {
    display: block;
    color: #b8c2d0;
    font-size: 9px;
    letter-spacing: .4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav-menu a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 29px 0;
    transition: .3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--yellow);
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
}

.nav-btn,
.primary-btn {
    background: var(--yellow);
    color: #fff;
    padding: 14px 23px;
    border-radius: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transition: .3s;
}

.nav-btn:hover,
.primary-btn:hover {
    background: #e99a00;
    transform: translateY(-2px);
}

.nav-btn {
    padding: 12px 21px;
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
}

/* HERO */

.hero {
    background: #fff;
    overflow: hidden;
}

.hero-container {
    min-height: 510px;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: stretch;
}

.hero-content {
    padding: 70px 30px 55px 0;
    position: relative;
    z-index: 3;
}

.small-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff8e9;
    color: #ed9d00;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.07;
    margin: 20px 0;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-content>p {
    color: var(--muted);
    max-width: 490px;
    font-size: 16px;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}

.secondary-btn {
    border: 1px solid var(--yellow);
    color: var(--text);
    background: white;
    padding: 13px 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 700;
    transition: .3s;
}

.secondary-btn:hover {
    background: var(--yellow);
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 19px;
}

.hero-stat strong {
    display: block;
    font-size: 20px;
    line-height: 20px;
}

.hero-stat small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
}

.yellow-shape {
    position: absolute;
    width: 90px;
    height: 145px;
    background: var(--yellow);
    bottom: 45px;
    left: -5px;
    transform: skew(25deg);
    opacity: .95;
}

/* TRUSTED */

.trusted {
    padding: 25px 0 30px;
    background: #fcfbf8;
    text-align: center;
}

.trusted p {
    color: #69778b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.company-logo {
    color: #667487;
    font-weight: 700;
    font-size: 15px;
    border-right: 1px solid #e4e5e7;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.company-logo:last-child {
    border: none;
}

.company-logo i {
    font-size: 22px;
}

/* SECTION HEADING */

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading>span,
.section-label {
    color: var(--yellow-dark);
    font-size: 13px;
    font-weight: 800;
}

.section-heading h2 {
    font-size: 34px;
    margin-top: 6px;
}

.heading-line {
    width: 40px;
    height: 3px;
    background: var(--yellow);
    margin: 10px auto 0;
}

/* SERVICES */

.services {
    background: #f9fbfd;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 20px 25px;
    text-align: center;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(7, 26, 52, .08);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 27px;
}

.blue {
    background: #e8f1ff;
    color: #2374e9;
}

.green {
    background: #e3f8ef;
    color: #0caa72;
}

.orange {
    background: #fff0e6;
    color: #ff8a20;
}

.purple {
    background: #eeeaff;
    color: #7659e8;
}

.yellow {
    background: #fff5dc;
    color: #e8a300;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    min-height: 63px;
}

.service-card a {
    color: var(--yellow-dark);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 13px;
}

/* ABOUT */

.about {
    background: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 490px;
    object-fit: cover;
    border-radius: 16px;
}

.experience-box {
    position: absolute;
    right: -25px;
    bottom: 30px;
    background: var(--yellow);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

.experience-box strong {
    font-size: 38px;
    line-height: 1;
}

.experience-box span {
    font-size: 12px;
    font-weight: 600;
}

.about-content h2 {
    font-size: 39px;
    line-height: 1.15;
    margin: 8px 0 20px;
}

.about-content h2 span {
    color: var(--yellow);
}

.about-content>p {
    color: var(--muted);
    margin-bottom: 13px;
    font-size: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.about-features div {
    font-size: 14px;
    font-weight: 600;
}

.about-features i {
    color: var(--yellow);
    margin-right: 7px;
}

/* PORTFOLIO */

.portfolio {
    background: #f8fafc;
}

.section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-top h2 {
    font-size: 35px;
    margin-top: 5px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.project-image {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.project-card.large .project-image {
    height: 310px;
}

.project-image img {
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 26, 52, .55);
    opacity: 0;
    display: grid;
    place-items: center;
    transition: .3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    width: 52px;
    height: 52px;
    background: var(--yellow);
    border-radius: 50%;
    color: white;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.project-info {
    padding: 20px;
}

.project-info span {
    color: var(--yellow-dark);
    font-size: 11px;
    font-weight: 800;
}

.project-info h3 {
    margin-top: 5px;
    font-size: 18px;
}

/* PROCESS */

.process {
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    transition: .3s;
}

.process-card:hover {
    border-color: #ffd36d;
    box-shadow: 0 15px 35px rgba(7, 26, 52, .06);
}

.process-number {
    position: absolute;
    right: 20px;
    top: 17px;
    font-size: 30px;
    font-weight: 800;
    color: #edf0f4;
}

.process-card>i {
    font-size: 30px;
    color: var(--yellow);
}

.process-card h3 {
    font-size: 18px;
    margin: 18px 0 7px;
}

.process-card p {
    color: var(--muted);
    font-size: 14px;
}

/* STATS */

.stats-section {
    background: var(--navy);
    padding: 65px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stats-grid div {
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.stats-grid div:last-child {
    border: none;
}

.stats-grid strong {
    display: block;
    color: var(--yellow);
    font-family: "Manrope";
    font-size: 42px;
}

.stats-grid span {
    color: #c1cad7;
    font-size: 14px;
}

/* TESTIMONIAL */

.testimonial {
    background: #f8fafc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
}

.stars {
    color: var(--yellow);
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.testimonial-card>p {
    color: #5f6c7d;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.client {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.client strong {
    display: block;
    font-size: 14px;
}

.client span {
    color: #7a8797;
    font-size: 12px;
}

/* BLOG */

.blog {
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: .3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(7, 26, 52, .08);
}

.blog-card>img {
    height: 210px;
    object-fit: cover;
}

.blog-content {
    padding: 22px;
}

.blog-content>span {
    color: var(--yellow-dark);
    font-size: 11px;
    font-weight: 800;
}

.blog-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 8px 0 15px;
}

.blog-content a {
    color: var(--yellow-dark);
    font-size: 13px;
    font-weight: 700;
}

/* CTA */

.cta {
    padding: 70px 0;
    background: var(--yellow);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta span {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cta h2 {
    color: #fff;
    font-size: 39px;
    line-height: 1.2;
    margin-top: 7px;
}

.cta h2 strong {
    color: var(--navy);
}

.cta-btn {
    background: var(--navy);
    color: #fff;
    padding: 16px 25px;
    border-radius: 10px;
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 700;
    transition: .3s;
}

.cta-btn:hover {
    background: #132b4d;
    transform: translateY(-2px);
}

/* CONTACT */

.contact {
    background: #f8fafc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
}

.contact-info h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 8px 0 18px;
}

.contact-info h2 span {
    color: var(--yellow);
}

.contact-info>p {
    color: var(--muted);
    max-width: 450px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 22px 0;
}

.contact-item>div:first-child {
    width: 48px;
    height: 48px;
    background: #fff4d9;
    color: var(--yellow-dark);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.contact-item span {
    display: block;
    color: #7b8797;
    font-size: 12px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
}

.contact-form {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: .3s;
    resize: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--yellow);
}

/* FOOTER */

footer {
    background: var(--navy);
    color: white;
}

.footer-grid {
    padding: 70px 0 55px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.footer-about p {
    color: #aeb8c6;
    font-size: 13px;
    max-width: 300px;
    margin: 20px 0;
}

.footer-logo {
    width: max-content;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border: 1px solid #34445b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #d9e0e8;
    transition: .3s;
}

.social-icons a:hover {
    background: var(--yellow);
    border-color: var(--yellow);
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column>a {
    display: block;
    color: #aeb8c6;
    font-size: 13px;
    margin: 11px 0;
    transition: .3s;
}

.footer-column>a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.footer-column p {
    color: #aeb8c6;
    font-size: 13px;
    margin: 13px 0;
}

.footer-column p i {
    color: var(--yellow);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom .container {
    min-height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p,
.footer-bottom a {
    color: #8996a7;
    font-size: 12px;
}

.footer-bottom div {
    display: flex;
    gap: 25px;
}

/* RESPONSIVE */

@media(max-width:1100px) {

    .nav-menu {
        gap: 25px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 1;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card.large {
        grid-column: span 2;
    }

}

@media(max-width:900px) {

    .navbar {
        height: 72px;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--navy);
        flex-direction: column;
        gap: 0;
        padding: 15px 30px;
        display: none;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 13px 0;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 70px 0 50px;
    }

    .hero-image {
        height: 420px;
    }

    .logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .company-logo {
        border: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-card:last-child,
    .blog-card:last-child {
        grid-column: span 2;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width:650px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-content>p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .hero-stat:last-child {
        grid-column: span 2;
    }

    .hero-image {
        height: 320px;
    }

    .logos {
        grid-template-columns: 1fr 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .section-top h2 {
        font-size: 28px;
    }

    .about-image img {
        height: 350px;
    }

    .experience-box {
        right: 10px;
        bottom: 15px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-column: span 1;
    }

    .project-image,
    .project-card.large .project-image {
        height: 230px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 0;
    }

    .stats-grid div:nth-child(2) {
        border: none;
    }

    .stats-grid strong {
        font-size: 32px;
    }

    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card:last-child,
    .blog-card:last-child {
        grid-column: span 1;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .cta h2 {
        font-size: 31px;
    }

    .contact-info h2 {
        font-size: 34px;
    }

    .contact-form {
        padding: 22px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 20px 0;
    }

}

@media(max-width:400px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stat:last-child {
        grid-column: auto;
    }

    .hero-image {
        height: 270px;
    }

}