/* =========================================================
   SPECTRA IT
   PREMIUM WEBSITE STYLES
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #17121c;
    background: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
}


/* =========================================================
   2. BRAND COLOURS
   ========================================================= */

:root {

    --purple-dark: #351052;
    --purple-deep: #48136f;
    --purple: #6823a5;
    --violet: #7d2bc2;
    --magenta: #ad179b;
    --pink-purple: #d51b9d;

    --black: #111111;
    --dark: #19131f;

    --gray: #69616f;
    --light-gray: #f7f5f9;

    --border: #e7e0eb;

    --white: #ffffff;

    --gradient:
        linear-gradient(
            135deg,
            #351052,
            #6823a5,
            #ad179b
        );

    --gradient-light:
        linear-gradient(
            135deg,
            #6823a5,
            #d51b9d
        );

    --shadow:
        0 12px 35px rgba(53, 16, 82, 0.09);

    --shadow-hover:
        0 20px 45px rgba(104, 35, 165, 0.20);
}


/* =========================================================
   3. CONTAINERS
   ========================================================= */

.hero-content,
.service-container,
.about-content,
.portfolio-container,
.contact-container,
.navbar,
.footer-content {
    width: 100%;
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   4. NAVIGATION
   ========================================================= */

.header {
    position: sticky;
    top: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 4px 25px rgba(53, 16, 82, 0.05);
}

.navbar {
    min-height: 82px;

    padding: 10px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* LOGO */

.logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.logo img {
    width: 82px;
    height: 70px;

    object-fit: contain;

    transition: 0.3s ease;
}

.logo:hover img {
    transform: scale(1.04);
}


/* NAV LINKS */

.nav-links {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    list-style: none;
}

.nav-links a {
    position: relative;

    color: var(--black);

    font-size: 14px;

    font-weight: 700;

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -8px;

    width: 0;
    height: 3px;

    border-radius: 10px;

    background: var(--gradient-light);

    transform: translateX(-50%);

    transition: 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


/* NAV BUTTON */

.nav-button {
    display: inline-block;

    padding: 12px 22px;

    color: white !important;

    background: var(--gradient);

    border-radius: 50px;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 8px 22px rgba(104, 35, 165, 0.25);

    transition: 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 13px 30px rgba(104, 35, 165, 0.35);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    padding: 5px;

    border: none;

    background: transparent;

    color: var(--purple-dark);

    font-size: 31px;

    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {
    min-height: 690px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(173, 23, 155, 0.13),
            transparent 28%
        ),

        radial-gradient(
            circle at 8% 90%,
            rgba(104, 35, 165, 0.10),
            transparent 28%
        ),

        #ffffff;
}


/* LARGE DECORATIVE CIRCLE */

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -250px;
    top: -210px;

    border-radius: 50%;

    border: 80px solid rgba(104, 35, 165, 0.045);
}


/* SECOND DECORATION */

.hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -170px;
    bottom: -160px;

    border-radius: 50%;

    border: 45px solid rgba(173, 23, 155, 0.055);
}


.hero-content {
    position: relative;

    z-index: 2;

    padding: 105px 30px;
}


/* HERO LABEL */

.small-heading {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--magenta);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}


/* HERO TITLE */

.hero h1 {
    max-width: 850px;

    margin-bottom: 28px;

    color: var(--black);

    font-size: 66px;

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2.5px;
}

.hero h1 span {
    display: block;

    margin-top: 5px;

    background: var(--gradient-light);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


/* HERO TEXT */

.hero-text {
    max-width: 670px;

    margin-bottom: 38px;

    color: var(--gray);

    font-size: 18px;

    line-height: 1.8;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;
}

.primary-button,
.secondary-button {
    display: inline-block;

    padding: 15px 27px;

    border-radius: 50px;

    font-size: 15px;

    font-weight: 700;

    transition: 0.3s ease;
}


/* PRIMARY BUTTON */

.primary-button {
    color: white;

    background: var(--gradient-light);

    box-shadow:
        0 10px 27px rgba(173, 23, 155, 0.25);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(173, 23, 155, 0.35);
}


/* SECONDARY BUTTON */

.secondary-button {
    color: var(--purple);

    background: white;

    border: 2px solid var(--purple);
}

.secondary-button:hover {
    color: white;

    background: var(--purple);

    transform: translateY(-3px);
}


/* =========================================================
   6. GENERAL SECTIONS
   ========================================================= */

.services,
.about,
.portfolio,
.contact {
    padding: 105px 30px;
}


/* =========================================================
   7. SECTION HEADINGS
   ========================================================= */

.section-heading {
    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-heading p {
    margin-bottom: 10px;

    color: var(--magenta);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: 44px;

    font-weight: 800;

    line-height: 1.15;
}


/* HORIZONTAL BRAND LINE */

.section-heading h2::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    margin: 20px auto 22px;

    border-radius: 20px;

    background: var(--gradient-light);
}

.section-heading span {
    color: var(--gray);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   8. SERVICES
   ========================================================= */

.services {
    background: var(--light-gray);
}

.service-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


/* CARD */

.service-card {
    position: relative;

    padding: 35px 30px 32px;

    background: white;

    border: 1px solid rgba(104, 35, 165, 0.07);

    border-radius: 18px;

    box-shadow: var(--shadow);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* TOP BRAND LINE */

.service-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: var(--gradient-light);
}

.service-card:hover {
    transform: translateY(-9px);

    box-shadow: var(--shadow-hover);
}


/* ICON */

.service-icon {
    width: 68px;
    height: 68px;

    margin-bottom: 21px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 17px;

    color: var(--purple);

    background:
        linear-gradient(
            135deg,
            rgba(104, 35, 165, 0.11),
            rgba(213, 27, 157, 0.09)
        );

    font-size: 30px;

    box-shadow:
        inset 0 0 0 1px rgba(104, 35, 165, 0.05);
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 20px;
}

.service-card p {
    color: var(--gray);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   9. ABOUT
   ========================================================= */

.about {
    color: white;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(213, 27, 157, 0.28),
            transparent 28%
        ),

        radial-gradient(
            circle at 10% 90%,
            rgba(125, 43, 194, 0.25),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #251039,
            #3b145f,
            #4a1268
        );
}

.about-content {
    max-width: 850px;

    text-align: center;
}

.about .small-heading {
    color: #edc5ff;
}

.about h2 {
    margin-bottom: 25px;

    color: white;

    font-size: 44px;

    line-height: 1.15;
}

.about h2::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    margin: 20px auto 27px;

    border-radius: 20px;

    background: var(--gradient-light);
}

.about p {
    margin-bottom: 20px;

    color: #e8deed;

    font-size: 17px;

    line-height: 1.8;
}

.about strong {
    color: white;
}


/* =========================================================
   10. WHY US
   ========================================================= */

#why-us {
    background: #ffffff;
}


/* =========================================================
   11. HOW WE WORK
   ========================================================= */

#process {
    background: var(--light-gray);
}

#process .portfolio-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


/* PROCESS CARDS */

#process .portfolio-item {
    height: 230px;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}

#process .portfolio-item:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}


/* PROCESS CONTENT */

#process .portfolio-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: white;

    color: var(--dark);

    font-size: 18px;

    line-height: 1.5;
}

#process .portfolio-placeholder strong {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--purple);

    font-size: 42px;

    line-height: 1;
}


/* FINAL PROCESS BUTTON */

#process .primary-button {
    box-shadow:
        0 10px 25px rgba(104, 35, 165, 0.25);
}


/* =========================================================
   12. CONTACT
   ========================================================= */

.contact {
    background: #ffffff;
}

.contact-container {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 50px;

    align-items: start;
}


/* CONTACT INFORMATION */

.contact-info {
    padding: 38px;

    background: var(--light-gray);

    border-radius: 20px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.contact-info h3 {
    margin-bottom: 28px;

    color: var(--dark);

    font-size: 27px;
}

.contact-info p {
    margin-bottom: 19px;

    color: var(--gray);

    font-size: 15px;

    line-height: 1.7;
}

.contact-info a {
    color: var(--purple);

    font-weight: 700;

    transition: 0.3s ease;
}

.contact-info a:hover {
    color: var(--magenta);

    text-decoration: underline;
}


/* CONTACT FORM */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 15px;

    padding: 38px;

    background: white;

    border-radius: 20px;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 16px 18px;

    color: var(--dark);

    background: #fcfaff;

    border: 1px solid var(--border);

    border-radius: 11px;

    outline: none;

    font-size: 15px;

    transition: 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9a929f;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--purple);

    background: white;

    box-shadow:
        0 0 0 4px rgba(104, 35, 165, 0.08);
}

.contact-form textarea {
    min-height: 160px;

    resize: vertical;
}

.contact-form button {
    padding: 16px;

    border: none;

    border-radius: 50px;

    color: white;

    background: var(--gradient-light);

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(173, 23, 155, 0.22);

    transition: 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 32px rgba(173, 23, 155, 0.32);
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.footer {
    position: relative;

    padding: 65px 30px 30px;

    color: white;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(173, 23, 155, 0.25),
            transparent 28%
        ),

        linear-gradient(
            135deg,
            #12081a,
            #251039,
            #351052
        );

    overflow: hidden;
}


/* TOP BRAND LINE */

.footer::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: var(--gradient-light);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    width: 80px;

    margin: 0 auto 18px;
}

.footer p {
    color: #d5cadc;

    font-size: 14px;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    display: inline-block;

    margin: 5px 13px;

    color: #ddd3e4;

    font-size: 14px;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: #96899e !important;

    font-size: 13px !important;
}


/* =========================================================
   14. MOBILE
   ========================================================= */

@media (max-width: 768px) {


    /* NAVIGATION */

    .navbar {
        min-height: 70px;

        padding: 8px 20px;
    }

    .logo img {
        width: 65px;
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        flex-direction: column;

        gap: 0;

        padding: 8px 0;

        background: white;

        border-top: 1px solid var(--border);

        box-shadow:
            0 15px 35px rgba(53, 16, 82, 0.12);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;

        text-align: center;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 14px 20px;
    }

    .nav-links a:hover {
        background: #faf6ff;
    }

    .nav-links a::after {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 80px 25px;
    }

    .hero h1 {
        font-size: 45px;

        letter-spacing: -1.5px;
    }

    .hero-text {
        font-size: 16px;

        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 300px;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }


    /* SECTIONS */

    .services,
    .about,
    .portfolio,
    .contact {
        padding: 75px 20px;
    }

    .section-heading {
        margin-bottom: 42px;
    }

    .section-heading h2,
    .about h2 {
        font-size: 34px;
    }


    /* SERVICES */

    .service-container {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    /* PROCESS */

    #process .portfolio-container {
        grid-template-columns: 1fr;
    }

    #process .portfolio-item {
        height: 210px;
    }


    /* CONTACT */

    .contact-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .contact-info,
    .contact-form {
        padding: 27px;
    }


    /* FOOTER */

    .footer {
        padding: 50px 20px 25px;
    }

}


/* =========================================================
   15. SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 37px;
    }

    .section-heading h2,
    .about h2 {
        font-size: 30px;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-card {
        padding: 30px 24px;
    }

}/* =========================================================
   SERVICE REQUEST BUTTON
   ========================================================= */

.service-button {
    display: inline-block;

    margin-top: 22px;

    color: var(--purple);

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s ease;
}

.service-button:hover {
    color: var(--magenta);

    transform: translateX(4px);
}


/* =========================================================
   HOW WE WORK
   ========================================================= */

.process {
    padding: 105px 30px;

    background: var(--light-gray);
}

.process-container {
    width: 100%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;
}

.process-step {
    position: relative;

    padding: 35px 25px;

    min-height: 240px;

    text-align: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

.process-step span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 25px;

    border-radius: 50%;

    color: white;

    background: var(--gradient-light);

    font-size: 22px;

    font-weight: 800;

    box-shadow:
        0 10px 25px rgba(104, 35, 165, 0.22);
}

.process-step h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 19px;
}

.process-step p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.social-media {
    margin: 28px 0;
}

.social-media p {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

.social-media a {
    display: inline-block;

    padding: 10px 23px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50px;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    font-size: 14px;

    font-weight: 700;

    transition: 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.17);
}


/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 62px;
    height: 62px;

    padding: 0 18px;

    border-radius: 50px;

    color: white;

    background: #25D366;

    font-size: 14px;

    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.22);

    transition: 0.3s ease;

    animation: whatsappPulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.03);

    box-shadow:
        0 13px 32px rgba(0, 0, 0, 0.28);
}


/* WHATSAPP PULSE */

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.22);
    }

    50% {
        box-shadow:
            0 8px 25px rgba(37, 211, 102, 0.35);
    }

    100% {
        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.22);
    }

}


/* =========================================================
   MOBILE PROCESS
   ========================================================= */

@media (max-width: 900px) {

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

}


@media (max-width: 600px) {

    .process {
        padding: 75px 20px;
    }

    .process-container {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .process-step {
        min-height: auto;

        padding: 30px 24px;
    }

    .whatsapp-float {
        right: 16px;

        bottom: 16px;

        min-width: 58px;

        height: 58px;

        padding: 0 15px;

        font-size: 13px;
    }

}