
/* =========================================
   XOPUNOVA DIGITAL
   MAIN WEBSITE STYLESHEET
========================================= */

/* ===== GOOGLE FONT ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');


/* ===== ROOT COLORS ===== */

:root {
    --primary: #0866dc;
    --primary-dark: #064ba8;
    --navy: #071638;
    --navy-light: #0c2c65;
    --orange: #ff821c;
    --orange-dark: #e96b07;
    --white: #ffffff;
    --light: #f4f8ff;
    --text: #536176;
    --border: #e5ebf4;
    --shadow: 0 12px 35px rgba(7,22,56,.08);
}


/* ===== GLOBAL RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}

.section {
    padding: 90px 0;
}

.section-subtitle {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.25;
    letter-spacing: -1px;
    margin: 13px 0 16px;
}

.section-heading p {
    color: var(--text);
    font-size: 16px;
}

.section-button {
    text-align: center;
    margin-top: 38px;
}


/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 27px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all .3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(8,102,220,.25);
}

.btn-orange {
    background: var(--orange);
    color: white;
}

.btn-orange:hover {
    background: var(--orange-dark);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.65);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
}


/* =========================================
   HEADER AND NAVIGATION
========================================= */

.site-header {
    width: 100%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(0,0,0,.06);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1.1;
}

.logo span {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--navy);
}

.logo strong {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 5px;
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 650;
    transition: color .3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.header-btn {
    background: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 12px 21px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
    white-space: nowrap;
}

.header-btn:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 29px;
    color: var(--navy);
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(28,112,226,.45),
            transparent 36%
        ),
        linear-gradient(
            125deg,
            #06132f 0%,
            #0a2b69 100%
        );

    color: white;
    padding: 105px 0 115px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255,130,28,.08);
    border-radius: 50%;
    top: -180px;
    right: -120px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 65px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.07);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #ffb76e;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: clamp(38px, 5.2vw, 65px);
    line-height: 1.13;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: #ff9b40;
}

.hero-content p {
    color: #d2e0f6;
    font-size: 16px;
    line-height: 1.9;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-image {
    position: relative;
    animation: none;
    transform: none;
}

.hero-image-card {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 65px rgba(0,0,0,.25);
}

.hero-image-card img {
    width: 100%;
    border-radius: 14px;
}

.hero-floating {
    position: absolute;
    bottom: -22px;
    left: -22px;
    padding: 15px 20px;
    background: white;
    color: var(--navy);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 800;
}

@keyframes floatHero {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-13px);
    }
}


/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    padding: 32px 28px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--orange);
    transition: width .35s;
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    width: 100%;
}

.service-icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ff;
    border-radius: 16px;
    font-size: 29px;
    margin-bottom: 23px;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 13px;
}

.service-card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
}

.service-card a {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.service-card a:hover {
    color: var(--orange);
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.about-image {
    background: #edf4ff;
    padding: 30px;
    border-radius: 25px;
}

.about-image img {
    border-radius: 16px;
    width: 100%;
}

.about-content h2 {
    font-size: clamp(29px, 4vw, 43px);
    line-height: 1.23;
    margin: 15px 0 23px;
    letter-spacing: -1px;
}

.about-content p {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 19px;
}

.about-list {
    margin: 20px 0 30px;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-section {
    background: var(--navy);
    color: white;
}

.why-section .section-heading h2 {
    color: white;
}

.why-section .section-heading p {
    color: #c5d5ec;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 17px;
    padding: 35px 30px;
    transition: .3s;
}

.why-card:hover {
    transform: translateY(-7px);
    background: rgba(255,255,255,.09);
}

.why-icon {
    font-size: 34px;
    margin-bottom: 20px;
}

.why-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 13px;
}

.why-card p {
    color: #c5d5ec;
    font-size: 14px;
}


/* =========================================
   WORKING PROCESS
========================================= */

.process-section {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-card {
    text-align: center;
    padding: 25px 15px;
}

.process-number {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 23px;
    background: #eaf3ff;
    color: var(--primary);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
    transition: .3s;
}

.process-card:hover .process-number {
    background: var(--primary);
    color: white;
}

.process-card h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

.process-card p {
    color: var(--text);
    font-size: 14px;
}


/* =========================================
   CALL TO ACTION
========================================= */

.cta-section {
    background: var(--light);
}

.cta-box {
    text-align: center;
    padding: 70px 30px;
    background: linear-gradient(
        115deg,
        var(--primary),
        var(--navy)
    );
    color: white;
    border-radius: 25px;
}

.cta-box h2 {
    color: white;
    font-size: clamp(28px, 4vw, 43px);
    margin-bottom: 15px;
}

.cta-box p {
    color: #e0ecff;
    margin-bottom: 28px;
}


/* =========================================
   INNER PAGES
========================================= */

.page-banner {
    background: linear-gradient(
        115deg,
        #eef5ff,
        #ffffff
    );
    padding: 85px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 15px;
}

.page-banner p {
    color: var(--text);
    max-width: 650px;
    margin: auto;
}


/* =========================================
   CONTACT PAGE
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 30px;
}

.contact-info,
.contact-form {
    background: white;
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d9e2f0;
    padding: 13px 15px;
    border-radius: 9px;
    outline: none;
    background: white;
    transition: .3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8,102,220,.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #06132d;
    color: #d2dded;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
    padding-bottom: 45px;
}

.site-footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 19px;
}

.footer-about p {
    max-width: 370px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links a,
.footer-contact a {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    transition: .3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--orange);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
    text-align: center;
    padding: 23px 15px;
    font-size: 13px;
}


/* =========================================
   FLOATING WHATSAPP
========================================= */

.floating-whatsapp {
    position: fixed;
    right: 23px;
    bottom: 24px;
    z-index: 1200;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: white;
    border-radius: 50%;

    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    transition: .3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #1ebc59;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 992px) {

    .nav-menu {
        gap: 18px;
    }

    .header-btn {
        display: none;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        gap: 30px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .container {
        width: 90%;
    }

    .section {
        padding: 65px 0;
    }

    .navbar {
        min-height: 72px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo strong {
        font-size: 11px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;
        padding: 15px 5%;

        background: white;
        box-shadow: 0 15px 25px rgba(0,0,0,.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
    }

    .hero {
        padding: 65px 0 80px;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: clamp(36px, 8vw, 48px);
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .hero-floating {
        left: 8px;
        bottom: -17px;
        font-size: 11px;
        padding: 12px;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .service-card,
    .why-card {
        padding: 27px 23px;
    }

    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 45px 22px;
    }

    .contact-info,
    .contact-form {
        padding: 25px 20px;
    }

    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: 17px;
        bottom: 18px;
    }
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Contact page buttons */

.section-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .section-button .btn {
        width: 100%;
    }
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: cover;
}