/* Olivia's Consulting
   A colorful, responsive theme for a technology sales & marketing consultant.
*/

:root {
    --ink: #172033;
    --muted: #5f687a;
    --paper: #ffffff;
    --soft: #f6f7fb;
    --purple: #7657e8;
    --purple-dark: #5640bb;
    --coral: #ff6b6b;
    --teal: #16b8a6;
    --gold: #ffc857;
    --border: #e6e8f0;
    --shadow: 0 18px 45px rgba(38, 34, 79, 0.12);
    --radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(118, 87, 232, 0.10), transparent 26rem),
        radial-gradient(circle at 90% 20%, rgba(22, 184, 166, 0.11), transparent 24rem),
        #fafbff;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 251, 255, 0.92);
    border-bottom: 1px solid rgba(230, 232, 240, 0.85);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--coral));
    color: white;
    box-shadow: 0 8px 20px rgba(118, 87, 232, 0.25);
}

.brand-text {
    font-size: 1.05rem;
}

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

.nav-links a {
    padding: 9px 13px;
    color: #4f586b;
    border-radius: 10px;
    font-weight: 650;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--purple-dark);
    background: rgba(118, 87, 232, 0.09);
    text-decoration: none;
}

.hero {
    padding: 92px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 54px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(118, 87, 232, 0.16);
    border-radius: 999px;
    background: rgba(118, 87, 232, 0.08);
    color: var(--purple-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

h1, h2, h3 {
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.65rem, 5vw, 4.9rem);
    max-width: 720px;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.hero-copy {
    font-size: 1.14rem;
    max-width: 620px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    box-shadow: 0 10px 22px rgba(118, 87, 232, 0.26);
}

.button-secondary {
    background: white;
    color: var(--ink);
    border-color: var(--border);
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -20px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(118, 87, 232, 0.26), rgba(22, 184, 166, 0.22));
    transform: rotate(2deg);
}

.hero-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 8px solid rgba(255, 255, 255, 0.78);
    background: #ddd;
}

.hero-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(20, 26, 42, 0.88);
    color: white;
    font-size: 0.87rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(20, 26, 42, 0.20);
}

.section {
    padding: 78px 0;
}

.section-alt {
    background: linear-gradient(135deg, #f0edff 0%, #fff7f3 48%, #eafcf9 100%);
    border-top: 1px solid rgba(118, 87, 232, 0.08);
    border-bottom: 1px solid rgba(118, 87, 232, 0.08);
}

.section-heading {
    max-width: 710px;
    margin-bottom: 34px;
}

.section-heading p {
    max-width: 650px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 10px 30px rgba(39, 36, 74, 0.07);
}

.service-card {
    min-height: 250px;
}

.icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 900;
}

.icon-purple { background: linear-gradient(135deg, #8f76f1, #6b51d8); }
.icon-coral { background: linear-gradient(135deg, #ff8a7a, #ff5e64); }
.icon-teal { background: linear-gradient(135deg, #35cdbd, #0c9f90); }
.icon-gold { background: linear-gradient(135deg, #ffd86b, #f0a91c); }
.icon-blue { background: linear-gradient(135deg, #69a9ff, #4071dc); }
.icon-pink { background: linear-gradient(135deg, #f68fbe, #d95199); }

.service-card p {
    font-size: 0.96rem;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-list li {
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--soft);
    color: #535e72;
    font-size: 0.78rem;
    font-weight: 750;
}

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

.highlight-box {
    border-radius: 24px;
    padding: 32px;
    background: linear-gradient(145deg, #252b45, #44316f);
    color: white;
    box-shadow: var(--shadow);
}

.highlight-box h2,
.highlight-box h3 {
    color: white;
}

.highlight-box p {
    color: rgba(255,255,255,0.78);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.stat {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
}

.stat strong {
    display: block;
    font-size: 1.5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project {
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(39, 36, 74, 0.06);
}

.project-body {
    padding: 23px;
}

.project-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--purple-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
}

.project-body p {
    margin-bottom: 0;
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
}

.about-portrait {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 30px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.75), transparent 16%),
        linear-gradient(145deg, #8d73ee, #f4748a 55%, #23b9a8);
    box-shadow: var(--shadow);
}

.about-portrait-inner {
    width: 180px;
    height: 180px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--purple-dark);
    font-size: 3.2rem;
    font-weight: 900;
    box-shadow: 0 15px 35px rgba(48, 31, 100, 0.20);
}

.check-list {
    list-style: none;
    display: grid;
    gap: 13px;
    margin: 22px 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: #4e596c;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(22, 184, 166, 0.12);
    color: #0b9889;
    font-size: 0.77rem;
    font-weight: 900;
}

.contact-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(39, 36, 74, 0.06);
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.contact-list strong {
    display: block;
    color: var(--ink);
}

form {
    display: grid;
    gap: 15px;
}

label {
    display: grid;
    gap: 7px;
    color: #40495b;
    font-size: 0.9rem;
    font-weight: 750;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d9ddea;
    border-radius: 11px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(118, 87, 232, 0.12);
    border-color: var(--purple);
}

.site-footer {
    margin-top: 20px;
    background: #1d2437;
    color: rgba(255,255,255,0.72);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0;
}

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

.small {
    font-size: 0.88rem;
}

.page-hero {
    padding: 78px 0 48px;
    background: linear-gradient(120deg, rgba(118,87,232,0.10), rgba(255,107,107,0.08), rgba(22,184,166,0.10));
}

.page-hero p {
    max-width: 700px;
    font-size: 1.08rem;
}

.about-portrait-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.about-portrait-inner img {
  width: 95%;
  height: 95%;
  object-fit: cover; /* Expands to fill 95% of the space without stretching or distorting */
}

@media (max-width: 900px) {
    .hero-grid,
    .split,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 65px;
    }

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

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .navbar {
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 3px;
    }

    .nav-links a {
        flex: 0 0 auto;
    }

    .hero {
        padding: 48px 0 55px;
    }

    .cards,
    .portfolio-grid,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.7rem;
    }

    .footer-inner {
        flex-direction: column;
    }
}
