/* Viprove Infotech — Main Stylesheet
   Organized from the supplied CSS. Includes global, responsive and contact-page styles.
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Montserrat,Arial,sans-serif;
    color: #142033;
    background: #fff;
    line-height: 1.6;
}

.container {
    width: min(1160px,92%);
    margin: auto;
}

.header {
    position: fixed;
    z-index: 50;
    top: 0;
    width: 100%;
    transition: .3s;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(15,28,46,.08);
    border-color: #e8ebef;
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    color: #0f1c2e;
    text-decoration: none;
    letter-spacing: -.5px;
}

.brand>span:last-child>span {
    color: #1abc9c;
}

.brand-mark {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    background: #0f1c2e;
    color: #fff;
    border-radius: 9px;
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #293548;
}

.nav-cta {
    background: #0f1c2e;
    color: #fff!important;
    padding: 11px 19px;
    border-radius: 6px;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
}

.hero {
    min-height: 780px;
    padding-top: 78px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg,#f5f9fb 0%,#fff 58%,#edf8f5 100%);
}

.hero-bg {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    right: -180px;
    top: 70px;
    background: radial-gradient(circle,#d7f4ec 0,#eefaf7 38%,transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2.4px;
    font-weight: 800;
    color: #1abc9c;
    margin-bottom: 17px;
}

.hero h1 {
    font-size: clamp(44px,5.3vw,72px);
    line-height: 1.05;
    letter-spacing: -3.2px;
    margin: 0 0 25px;
    color: #0f1c2e;
}

.hero h1 span,.section h2 em,.cta h2 span {
    color: #1abc9c;
    font-style: normal;
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    color: #657184;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 23px;
    border: 0;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: #1abc9c;
    color: #fff;
    box-shadow: 0 12px 30px rgba(26,188,156,.24);
}

.btn-dark {
    background: #0f1c2e;
    color: #fff;
    margin-top: 18px;
}

.text-link {
    color: #0f1c2e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.trust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 50px;
}

.trust strong {
    font-size: 32px;
    color: #0f1c2e;
}

.trust span {
    font-size: 11px;
    line-height: 1.45;
    color: #7b8594;
}

.hero-card {
    min-height: 470px;
    position: relative;
    display: grid;
    place-items: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.orb1 {
    width: 390px;
    height: 390px;
    background: linear-gradient(145deg,#0f1c2e,#214766);
    box-shadow: 30px 30px 90px rgba(15,28,46,.2);
}

.orb2 {
    width: 180px;
    height: 180px;
    background: #1abc9c;
    right: 30px;
    bottom: 20px;
    opacity: .9;
}

.code-window {
    position: relative;
    width: min(430px,92%);
    background: #111b2a;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 30px 60px rgba(15,28,46,.25);
    transform: rotate(-3deg);
}

.dots {
    color: #1abc9c;
    letter-spacing: 4px;
    font-size: 9px;
    margin-bottom: 18px;
}

.code-window pre {
    color: #dce6ef;
    font: 14px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;
    white-space: pre-wrap;
}

.pink {
    color: #f472b6;
}

.blue {
    color: #60a5fa;
}

.green {
    color: #86efac;
}

.stats {
    background: #0f1c2e;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 35px 0;
}

.stats-grid div {
    padding: 5px 30px;
    border-right: 1px solid rgba(255,255,255,.1);
}

.stats-grid div:first-child {
    padding-left: 0;
}

.stats-grid div:last-child {
    border: 0;
}

.stats b {
    display: block;
    font-size: 31px;
}

.stats span {
    font-size: 11px;
    color: #aab5c2;
}

.section {
    padding: 110px 0;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 55px;
}

.section h2 {
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0;
    color: #0f1c2e;
}

.section-head p {
    color: #6d7786;
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.service {
    padding: 35px 28px;
    border: 1px solid #e8edf0;
    min-height: 315px;
    border-radius: 10px;
    transition: .3s;
}

.service:hover,.service.featured {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(15,28,46,.09);
    border-color: transparent;
}

.service.featured {
    background: #0f1c2e;
    color: #fff;
}

.service .icon {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: #e9faf6;
    color: #0f8f78;
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 30px;
}

.featured .icon {
    background: #1abc9c;
    color: #fff;
}

.service h3 {
    font-size: 19px;
    margin: 0 0 12px;
}

.service p {
    font-size: 12px;
    color: #7a8491;
}

.featured p {
    color: #b5bfca;
}

.service a {
    display: inline-block;
    margin-top: 18px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    color: #1abc9c;
}

.dark-section {
    padding: 105px 0;
    background: #0f1c2e;
    color: #fff;
}

.light h2 {
    color: #fff;
}

.light p {
    color: #aab5c2;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.tech {
    padding: 25px;
    background: #15253a;
    border: 1px solid #23364e;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 700;
}

.tech span {
    display: block;
    margin-top: 4px;
    color: #8494a8;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.about {
    background: #f6f8fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.about h2 {
    font-size: 45px;
    line-height: 1.1;
    margin: 0 0 25px;
}

.about p {
    font-size: 14px;
    color: #687384;
}

.about-visual {
    min-height: 420px;
    background: #dff4ee;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.big-number {
    font-size: 160px;
    font-weight: 800;
    color: #0f1c2e;
    letter-spacing: -15px;
}

.floating-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #fff;
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(15,28,46,.12);
}

.floating-card b,.floating-card span {
    display: block;
}

.floating-card b {
    font-size: 12px;
}

.floating-card span {
    font-size: 9px;
    color: #778291;
    margin-top: 4px;
}

.testimonial {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.testimonial blockquote {
    max-width: 850px;
    margin: 0 auto 25px;
    font-size: 26px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -.6px;
    color: #283446;
}

.author b,.author span {
    display: block;
}

.author b {
    font-size: 12px;
}

.author span {
    font-size: 10px;
    color: #85909d;
    margin-top: 3px;
}

.cta {
    padding: 90px 0;
    background: #e8f8f4;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta h2 {
    font-size: 50px;
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 0 0 18px;
}

.cta p {
    color: #687384;
    font-size: 13px;
}

.cta form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cta input,.cta textarea {
    font: inherit;
    border: 1px solid #cbd9d6;
    border-radius: 6px;
    background: #fff;
    padding: 13px 14px;
    outline: none;
}

.cta input:focus,.cta textarea:focus {
    border-color: #1abc9c;
}

.cta textarea {
    grid-column: 1/-1;
    min-height: 110px;
    resize: vertical;
}

.cta button {
    grid-column: 1/-1;
}

.cta small {
    grid-column: 1/-1;
    color: #16866f;
}

footer {
    background: #0a1421;
    color: #fff;
    padding: 65px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr 1fr;
    gap: 70px;
}

.light-brand {
    color: #fff;
}

.footer-grid p,.footer-grid span,.footer-grid a {
    display: block;
    color: #9aa7b5;
    font-size: 11px;
    text-decoration: none;
    margin-top: 10px;
}

.footer-grid b {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.copyright {
    width: min(1160px,92%);
    margin: 50px auto 0;
    border-top: 1px solid #1d2a3a;
    padding-top: 18px;
    color: #647284;
    font-size: 9px;
}

.menu-btn {
    color: #0f1c2e;
}

@media(max-width: 900px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
    }

    .hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero-grid,.about-grid,.cta-inner {
        grid-template-columns: 1fr;
    }

    .hero-card {
        display: none;
    }

    .section-head {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stats-grid div {
        border: 0;
        padding: 5px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width: 560px) {
    .hero h1,.section h2,.about h2,.cta h2 {
        font-size: 39px;
    }

    .services-grid,.tech-grid,.stats-grid,.footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 75px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta form {
        grid-template-columns: 1fr;
    }

    .cta input,.cta textarea,.cta button {
        grid-column: 1;
    }

    .about-visual {
        min-height: 300px;
    }

    .big-number {
        font-size: 110px;
    }

}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 78px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* =========================================

   CONTACT PAGE

\========================================= */



.contact-hero {
    padding: 90px 0 65px;
    background: #f7f9fb;
    text-align: center;
}

.contact-hero .container {
    max-width: 850px;
}

.contact-hero .eyebrow {
    margin-bottom: 18px;
}

.contact-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
}

.contact-hero h1 em,

.contact-details h2 em,

.contact-form-card h2 em {
    font-style: normal;
    color: #69bc8a;
}

.contact-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #667085;
    line-height: 1.8;
}

.contact-main {
    padding: 85px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.contact-details {
    min-width: 0;
    padding-top: 12px;
}

.contact-details h2,

.contact-form-card h2 {
    margin: 12px 0 20px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.2;
}

.contact-intro,

.form-intro {
    color: #667085;
    line-height: 1.8;
}

.contact-intro {
    margin-bottom: 32px;
}

.contact-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #e8edf0;
}

.contact-detail-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eaf6ef;
    color: #287b50;
    font-size: 23px;
}

.contact-detail-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.contact-detail-card p {
    margin: 0 0 9px;
    color: #667085;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.contact-detail-card a {
    color: #226891;
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-detail-card a:hover {
    text-decoration: underline;
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
}

.contact-note p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

.contact-note-dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: #69bc8a;
}

.contact-form-card {
    min-width: 0;
    padding: 38px;
    border: 1px solid #e6ebef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(15, 28, 46, 0.08);
}

.contact-form-card h2 {
    margin-bottom: 12px;
}

.form-intro {
    margin: 0 0 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
    width: 100%;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.contact-form label {
    display: block;
    color: #263445;
    font-size: 14px;
    font-weight: 600;
}

.contact-form label span {
    color: #c43d4b;
}

.contact-form input,

.contact-form select,

.contact-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid #d8e0e7;
    border-radius: 9px;
    background: #ffffff;
    color: #172536;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form input: : placeholder,

.contact-form textarea: : placeholder {
    color: #98a2b3;
}

.contact-form input:focus,

.contact-form select:focus,

.contact-form textarea:focus {
    outline: none;
    border-color: #69bc8a;
    box-shadow: 0 0 0 3px rgba(105, 188, 138, 0.16);
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin-top: 3px;
    cursor: pointer;
}

.contact-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-message {
    display: block;
    min-height: 18px;
    color: #287b50;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.form-privacy {
    margin: -5px 0 0;
    color: #7b8794;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.contact-services {
    padding: 80px 0;
}

.contact-services .services-grid {
    margin-top: 35px;
}

@media (max-width: 900px) {
    .contact-hero {
        padding: 70px 0 50px;
    }

    .contact-main {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-details {
        padding-top: 0;
    }

    .contact-form-card {
        width: 100%;
        box-sizing: border-box;
    }

}

@media (max-width: 600px) {
    .contact-hero {
        padding: 55px 0 40px;
        text-align: left;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-main {
        padding: 45px 0;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-details h2,

    .contact-form-card h2 {
        font-size: 30px;
    }

    .contact-form-card {
        padding: 23px 18px;
        border-radius: 14px;
    }

    .contact-detail-card {
        gap: 13px;
    }

    .contact-detail-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .contact-services {
        padding: 55px 0;
    }

}
