/* =========================================
   ORAPORT CONSULTING
   MAIN STYLESHEET
========================================= */

:root {

    --purple: #5d12c9;
    --purple-dark: #21106b;
    --purple-light: #7a20e8;

    --sky-blue: #08a9ee;
    --blue-dark: #0877c9;

    --navy: #17205f;

    --white: #ffffff;
    --light: #f6f9fc;
    --light-blue: #eef8fd;

    --text: #42506d;
    --heading: #17205f;

    --border: #e3ebf3;

    --shadow:
        0 15px 40px rgba(25, 45, 75, 0.08);

    --radius: 18px;

}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "Inter", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {

    width: min(1200px, 92%);

    margin: auto;

}


/* =========================================
   TOP BAR
========================================= */

.top-bar {

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--sky-blue),
            var(--white)
        );

    color: white;

    font-size: 14px;

}

.top-content {

    min-height: 43px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.top-contact {

    display: flex;

    gap: 28px;

}

.top-contact a {

    display: flex;

    align-items: center;

    gap: 8px;

}

.social-links {

    display: flex;

    gap: 20px;

}

.social-links a {

    transition: 0.3s;

}

.social-links a:hover {

    transform: translateY(-3px);

}


/* =========================================
   NAVIGATION
========================================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255,255,255,0.96);

    backdrop-filter: blur(10px);

    box-shadow: 0 5px 20px rgba(0,0,0,0.06);

}

.nav-content {

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo img {

    width: 220px;
    height: 62px;
    object-fit: contain;
    object-position: left center;

}

nav {

    display: flex;

    align-items: center;

    gap: 30px;

}

nav a {

    color: #45536b;

    font-size: 14px;

    font-weight: 500;
    letter-spacing: 0;

    transition: 0.3s;

}

nav a:hover,
nav a.active {

    color: var(--purple);

}

.nav-button {

    padding: 13px 25px;

    color: white !important;

    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--sky-blue)
        );

    box-shadow:
        0 8px 20px rgba(3, 15, 144, 0.22);

}

.nav-button i {
    margin-left: 8px;
}

.menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 25px;

    color: var(--purple);

    cursor: pointer;

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 570px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("../images/hero-bg.svg");

    background-size: cover;

    background-position: center;

    color: white;

}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(24, 11, 77, 0.86),
            rgba(19, 34, 93, 0.62),
            rgba(5, 45, 71, 0.25)
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.hero-text {

    max-width: 720px;

}

.eyebrow {

    display: inline-block;

    font-size: 13px;

    letter-spacing: 4px;

    font-weight: 700;

    margin-bottom: 15px;

}

.hero h1 {

    font-size: clamp(40px, 5vw, 67px);

    line-height: 1.12;

    margin-bottom: 25px;

    font-weight: 800;

}

.green-text {
    display: block;
    color: var(--white);
}

.blue-text {
    display: block;
    color: #4ac8ff;
}

.hero p {

    max-width: 650px;

    font-size: 18px;

    color: #f2f5f8;

    margin-bottom: 30px;

}

.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}

.btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 14px 25px;

    border-radius: 12px;

    font-weight: 700;
    font-size: 14px;

    transition: 0.3s;

}

.btn-primary {

    background:
        linear-gradient(
            90deg,
            var(--purple),
            #8125d3
        );

    color: white;

}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(106,27,177,0.35);

}

.btn-outline {

    border: 1px solid white;

    color: white;

}

.btn-outline:hover {

    background: white;

    color: var(--purple);

}

.hero-message {

    align-self: flex-start;

    margin-top: 40px;

    text-align: center;

    color: #1d176d;

    font-size: 22px;

    font-family: Georgia, serif;

    font-style: italic;

}

.message-line {

    width: 100px;

    height: 5px;

    background: var(--white);

    transform: rotate(-5deg);

    margin: 10px auto;

    border-radius: 5px;

}


/* =========================================
   SECTION HEADINGS
========================================= */

section {

    scroll-margin-top: 90px;

}

.services-section,
.approach-section,
.why-section,
.contact-section {

    padding: 90px 0;

}

.section-heading {

    text-align: center;

    max-width: 850px;

    margin: 0 auto 50px;

}

.section-heading > span {

    color: var(--sky-blue);

    font-size: 12px;

    letter-spacing: 4px;

    font-weight: 800;

}

.section-heading h2 {

    color: var(--heading);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

    margin: 10px 0 15px;

}

.section-heading strong {

    color: var(--purple);

}

.section-heading p {

    font-size: 16px;

}


/* =========================================
   SERVICE GROUPS
========================================= */

.service-group {

    padding: 30px;

    margin-bottom: 30px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #f0f8fc,
            #f9fbff
        );

    border: 1px solid #e6eef5;

}

.group-heading {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 25px;

}

.group-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: white;

    font-size: 23px;

}

.purple-gradient {

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--sky-blue)
        );

}

.blue-purple-gradient {

    background:
        linear-gradient(
            135deg,
            var(--sky-blue),
            var(--purple)
        );

}

.group-heading h3 {

    color: var(--purple);

    font-size: 24px;

}

.group-heading p {

    font-size: 14px;

}


/* =========================================
   SERVICE CARDS
========================================= */

.service-grid {

    display: grid;

    gap: 15px;

}

.startup-grid {

    grid-template-columns:
        repeat(3, 1fr);

}

.existing-grid {

    grid-template-columns:
        repeat(4, 1fr);

}

.service-card {

    background: white;

    padding: 25px 18px;

    border-radius: 12px;

    text-align: center;

    border: 1px solid #edf1f5;

    transition: 0.3s;

}

.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);

}

.service-icon {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    margin: 0 auto 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    color: white;

    font-size: 21px;

}

.purple {

    background:
        linear-gradient(
            135deg,
            var(--purple),
            #8c3bd4
        );

}

.green {

    background:
        linear-gradient(
            135deg,
                var(--white),
                #eaf0f5
        );
            color: var(--purple);
            border: 1px solid var(--border);

}

.blue {

    background:
        linear-gradient(
            135deg,
            var(--sky-blue),
            #197bd1
        );

}

.service-card h4 {

    color: var(--heading);

    font-size: 16px;

    margin-bottom: 8px;

}

.service-card p {

    font-size: 13px;

    line-height: 1.6;

}


/* =========================================
   ABOUT
========================================= */

.about-section {

    padding: 80px 0;

    background: #f7fafc;

}

.about-container {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 60px;

    align-items: center;

}

.about-image {

    position: relative;

    border-radius: 20px;

    overflow: hidden;

    min-height: 430px;

}

.about-image img {

    width: 100%;

    height: 100%;

    min-height: 430px;

    object-fit: cover;

}

.image-caption {

    position: absolute;

    bottom: 25px;

    left: 25px;

    display: flex;

    flex-direction: column;

    color: white;

    font-size: 25px;

    font-weight: 700;

    font-style: italic;

    text-shadow: 0 3px 8px black;

}

.about-content .eyebrow {

    color: var(--purple);

}

.about-content h2 {

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.2;

    color: var(--heading);

    margin: 10px 0 20px;

}

.about-content h2 span {

    color: var(--purple);

}

.about-content p {

    margin-bottom: 18px;

}


/* =========================================
   APPROACH
========================================= */

.approach-section {

    background: white;

}

.approach-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 18px;

}

.approach-card {

    position: relative;

    padding: 30px 20px;

    text-align: center;

    border-radius: 18px;

    background: #f7faff;

    border: 1px solid var(--border);

    transition: 0.3s;

}

.approach-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);

}

.step-number {

    position: absolute;

    top: 12px;

    right: 15px;

    color: #d9e6f2;

    font-weight: 800;

    font-size: 22px;

}

.approach-card > i {

    font-size: 32px;

    color: var(--purple);

    margin: 15px 0;

}

.approach-card h3 {

    color: var(--heading);

    margin-bottom: 8px;

}

.approach-card p {

    font-size: 13px;

}


/* =========================================
   WHY US / VALUES
========================================= */

.why-section {

    background: #f7fafc;

}

.values-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 20px;

}

.value-card {

    text-align: center;

    background: white;

    padding: 30px 18px;

    border-radius: 18px;

    border: 1px solid var(--border);

    transition: 0.3s;

}

.value-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}

.value-icon {

    width: 65px;

    height: 65px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 15px;

    color: white;

    font-size: 25px;

}

.value-card h3 {

    color: var(--heading);

    margin-bottom: 8px;

}

.value-card p {

    font-size: 13px;

}


/* =========================================
   CTA
========================================= */

.cta-section {

    padding: 60px 0;

    color: white;

    background:
        linear-gradient(
            100deg,
            var(--purple),
            var(--sky-blue),
            var(--white)
        );

}

.cta-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}

.cta-content span {

    font-size: 12px;

    letter-spacing: 3px;

    font-weight: 700;

}

.cta-content h2 {

    font-size: 36px;

    margin-top: 8px;

}

.cta-content strong {

    color: var(--white);

}

.btn-white {

    background: white;

    color: var(--purple);

}


/* =========================================
   CONTACT
========================================= */

.contact-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}

.contact-card {

    text-align: center;

    padding: 35px 20px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: white;

    box-shadow: var(--shadow);

}

.contact-icon {

    width: 60px;

    height: 60px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    color: white;

    font-size: 22px;

    margin: 0 auto 15px;

}

.contact-icon.email,
.contact-icon.whatsapp {

    background:
        linear-gradient(
            135deg,
            #45b649,
            #79cf4d
        );

}

.contact-card h3 {

    color: var(--heading);

    margin-bottom: 8px;

}

.contact-card a {

    color: var(--purple);

    font-size: 14px;

    font-weight: 600;

    word-break: break-word;

}

.contact-appointment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 35px;
    padding: 28px 32px;
    border-radius: 18px;
    color: white;
    background: linear-gradient(110deg, var(--purple), var(--sky-blue));
}

.contact-appointment .eyebrow {
    margin-bottom: 5px;
    font-size: 11px;
}

.contact-appointment h3 {
    margin-bottom: 5px;
    font-size: 24px;
}

.contact-appointment p {
    color: #eaf6ff;
    font-size: 14px;
}

.chatbot {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
}

.chatbot-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border: 0;
    border-radius: 30px;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(100deg, var(--purple), var(--sky-blue));
    box-shadow: 0 12px 30px rgba(16, 44, 90, 0.25);
}

.chatbot-toggle i { font-size: 18px; }

.chatbot-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: min(380px, calc(100vw - 32px));
    max-height: min(680px, calc(100vh - 110px));
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 20px 55px rgba(16, 44, 90, 0.2);
}

.chatbot-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    color: white;
    background: linear-gradient(120deg, var(--purple-dark), var(--blue-dark));
}

.chatbot-status { display: block; margin-bottom: 5px; color: var(--white); font-size: 11px; font-weight: 700; }
.chatbot-status i { font-size: 8px; }
.chatbot-header h2 { font-size: 22px; }

.chatbot-close {
    border: 0;
    color: white;
    font-size: 20px;
    cursor: pointer;
    background: transparent;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 210px;
    overflow-y: auto;
    padding: 18px 20px 8px;
}

.chat-message { width: fit-content; max-width: 88%; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.bot-message { color: var(--heading); background: #eef8fd; }
.user-message { align-self: flex-end; color: white; background: var(--purple); }

.chatbot-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px 18px; }

.chatbot-quick-actions button {
    padding: 8px 10px;
    border: 1px solid #c9dff0;
    border-radius: 18px;
    color: var(--purple);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    background: white;
}

.chatbot-quick-actions button:hover { color: white; background: var(--purple); }

.appointment-form { display: grid; gap: 8px; padding: 18px 20px 20px; border-top: 1px solid var(--border); background: #f8fbfd; }
.appointment-form-heading { margin-bottom: 5px; }
.appointment-form-heading h3 { color: var(--heading); font-size: 18px; }
.appointment-form-heading p, .appointment-form label span { color: #70829a; font-size: 11px; }
.appointment-form label { color: var(--heading); font-size: 12px; font-weight: 700; }

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 10px 11px;
    border: 1px solid #d8e3ec;
    border-radius: 8px;
    color: var(--text);
    font: inherit;
    font-size: 13px;
    background: white;
}

.appointment-form textarea { resize: vertical; }
.appointment-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.appointment-row > div { display: grid; gap: 8px; }

.btn-whatsapp { justify-content: center; margin-top: 5px; border: 0; cursor: pointer; background: #1da851; }

@media (max-width: 550px) {
    .contact-appointment { align-items: flex-start; flex-direction: column; padding: 24px; }
    .chatbot { right: 16px; bottom: 16px; }
    .chatbot-toggle { padding: 14px 16px; }
    .chatbot-toggle span { font-size: 13px; }
}


/* =========================================
   FOOTER
========================================= */

footer {

    color: white;

    background:
        linear-gradient(
            110deg,
            #32105f,
            #155bb1,
            var(--white)
        );

    padding-top: 60px;

}

.footer-container {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.2fr 1.2fr;

    gap: 50px;

    padding-bottom: 45px;

}

.footer-brand img {

    width: 270px;
    height: 125px;
    object-fit: contain;
    object-position: left center;

    background: white;

    padding: 8px;

    border-radius: 10px;

    margin-bottom: 15px;

}

.footer-brand p {

    max-width: 350px;

    font-size: 14px;

    color: #e5edf6;

}

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 9px;

}

.footer-links h4 {

    margin-bottom: 10px;

    font-size: 17px;

}

.footer-links a {

    font-size: 13px;

    color: #e5edf6;

    transition: 0.3s;

}

.footer-links a:hover {

    color: white;

    transform: translateX(4px);

}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.25);

    min-height: 60px;

    width: min(1200px,92%);

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 12px;

}

.footer-credit {

    color: var(--white);

    font-weight: 600;

    text-align: center;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    nav {
        gap: 16px;
    }

    .existing-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .approach-grid,
    .values-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .top-content {

        padding: 8px 0;

    }

    .top-contact {

        gap: 10px;

        flex-direction: column;

    }

    .social-links {

        display: none;

    }


    .menu-toggle {

        display: block;

    }

    nav {

        display: none;

        position: absolute;

        top: 78px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: white;

        flex-direction: column;

        align-items: flex-start;

        box-shadow: 0 15px 30px rgba(0,0,0,0.1);

    }

    nav.show {

        display: flex;

    }


    .hero {

        min-height: 650px;

    }

    .hero-content {

        align-items: flex-start;

    }

    .hero-message {

        display: none;

    }


    .startup-grid,
    .existing-grid {

        grid-template-columns: 1fr;

    }


    .about-container {

        grid-template-columns: 1fr;

    }


    .approach-grid,
    .values-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .cta-content {

        flex-direction: column;

        align-items: flex-start;

    }


    .footer-container {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 550px) {

    .container {

        width: 90%;

    }

    .top-contact a {

        font-size: 11px;

    }

    .logo img {

        width: 155px;

    }

    .hero {

        min-height: 600px;

    }

    .hero h1 {

        font-size: 38px;

    }

    .hero p {

        font-size: 15px;

    }

    .service-group {

        padding: 18px;

    }

    .approach-grid,
    .values-grid,
    .contact-grid {

        grid-template-columns: 1fr;

    }

    .footer-container {

        grid-template-columns: 1fr;

    }

    .footer-bottom {

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        padding: 15px 0;

    }

}
