/* ================================================================
   SMOLINK SITE - CSS
   Body bg: #1a1a1a | Purple: #7a4d95 | Gold: #da921b
   ================================================================ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { max-width: 100%; overflow-x: hidden; }

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: #fff;
    background-color: #1a1a1a;
    font-size: 16px;
    line-height: 1.5;
}

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

.skip-link {
    position: absolute; top: -40px; left: 0;
    background: #7a4d95; color: #fff; padding: 8px;
    text-decoration: none; z-index: 200;
}
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Container — used by most sections ─────────────────────── */
.container {
    max-width: 61rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #7a4d95;
    text-align: center;
}
h1 { font-size: 3.3rem; }
h2 { font-size: 1.875rem; font-weight: 600; }  /* 30px */
h3 { font-size: 1.5rem; font-weight: 500; }    /* 24px */
@media (max-width: 975px) {
    h1 { font-size: 2.805rem; }
    h2 { font-size: 1.5625rem; }  /* 25px */
    h3 { font-size: 1.25rem; }    /* 20px */
}
@media (max-width: 576px) {
    h1 { font-size: 2.31rem; }
    h2 { font-size: 1.25rem; }    /* 20px */
    h3 { font-size: 1.125rem; }   /* 18px */
}
p { margin-bottom: 1rem; color: #fff; }
p:last-child { margin-bottom: 0; }
a { color: #da921b; text-decoration: none; transition: color .3s; }
a:hover { color: #b56e04; }

/* ── Buttons — gold bg, black text, square, uppercase ───────── */
.btn {
    display: inline-block;
    padding: .5rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #da921b;
    color: #1a1a1a;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background .3s, color .3s;
    line-height: 1.5;
}
.btn:hover { background: #7e632d; color: #1a1a1a; text-decoration: none; }

.section-title {
    text-align: center;
    color: #7a4d95;
    margin-bottom: 2rem;
    font-size: 1.875rem;  /* 30px — match h2 */
}

/* ================================================================
   HEADER — transparent, floats over hero
   ================================================================ */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(26, 26, 26, 0.97);
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
    z-index: 100;
    transition: background .3s;
}
.header.scrolled {
    background: rgba(26, 26, 26, 0.97);
    box-shadow: 0 2px 16px rgba(0,0,0,.6);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 1.5rem 0;
    max-width: 61rem;
    width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #7a4d95;
    margin: 0;
    line-height: 1;
    text-decoration: none;
}
a.logo:hover { color: #7a4d95; text-decoration: none; }

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 26px; height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: .35rem .75rem;
    font-family: 'Nunito', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    border-bottom: 2px solid transparent;
    transition: all .25s;
    letter-spacing: 0.02em;
}
.nav-link:hover { color: #da921b; border-color: #da921b; text-decoration: none; }

@media (max-width: 975px) {
    .menu-toggle { display: flex; }
    .nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(26,26,26,.97);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .nav.open { max-height: 550px; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link {
        padding: .9rem 1.5rem;
        border-bottom: 1px solid #333;
        border-right: 3px solid transparent;
    }
    .nav-link:hover { border-bottom-color: #333; border-right-color: #da921b; }
}

/* ================================================================
   HERO — full width, tall, header overlaps it
   ================================================================ */

.hero {
    position: relative;
    min-height: 840px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    max-width: 100%;
    width: 100%;
    margin: 6rem 0 0;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero > .news-bar {
    position: relative;
    z-index: 2;
    margin: 1.2rem auto 0;
    min-height: 280px;
}

/* hero content fills full hero width natively, but we will flex it */
.hero-content .container {
    max-width: 100%;
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: 50% 20%;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-background--home {
    background-image: url('../assets/images/hero-bg-Web.webp');
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 0;
    margin-top: -2cm;
    flex: 0 0 auto;
    /* clamp width so text never overlaps the right-side widget */
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.hero-content h2 {
    color: #7a4d95;
    font-size: 1.875rem;
    font-weight: 600;
    margin: 0 auto 1rem;   /* auto horizontal margins center the block */
    width: 100%;           /* full width of its constrained container */
    max-width: 600px;      /* reasonable text measure */
    text-align: center;    /* text aligned center */
}

.hero-content p {
    color: #f2f0f0;
    font-size: 0.95rem;
    margin: 0 auto 1.5rem; /* auto horizontal margins center the block */
    line-height: 1.7;
    font-weight: 500;
    width: 100%;
    max-width: 780px;
    text-align: center;    /* text aligned center */
}

/* Get Started button */
.hero-content .btn {
    display: block;
    width: fit-content;
    margin: 0 auto; /* block + margin auto centers it against the body above it */
}

@media (max-width: 1200px) {
    .hero-content .btn { margin-left: auto; margin-right: auto; } /* center fallback */
}

/* ── Hero Border Beam ── */
.hero-beam-ring {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    border: 1px solid rgba(0, 180, 255, 0.75);
    box-shadow:
        0 0 6px rgba(0, 180, 255, 0.55),
        0 0 14px rgba(0, 180, 255, 0.25),
        inset 0 0 6px rgba(0, 180, 255, 0.15);
}

@media (max-width: 975px) {
    .hero-beam-ring { display: none; }
}

/* ── Hero Text Frame ── */
.hero-text-frame {
    position: relative;
    background: rgba(26, 26, 26, 0.85);
    border: 3px solid rgba(5, 2, 10, 0.88);
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(218, 146, 27, 0.22), 0 8px 24px rgba(0, 0, 0, 0.50);
    padding: 1.75rem 2rem 1.5rem;
    margin: 0 auto 1.2rem;
    max-width: 820px;
    width: 100%;
}

.hero-text-frame p {
    margin-bottom: 0;
}

.hero-text-frame::before,
.hero-text-frame::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: #da921b;
    border-radius: 50%;
    animation: goldShimmer 1.8s infinite;
}

.hero-text-frame::before {
    top: -4.5px;
    left: -4.5px;
    animation-delay: 0s;
}

.hero-text-frame::after {
    bottom: -4.5px;
    right: -4.5px;
    animation-delay: 1.1s;
}

@keyframes goldShimmer {
    0%   { box-shadow: 0 0 3px rgba(218,146,27,0.5),  0 0 6px rgba(218,146,27,0.2); }
    25%  { box-shadow: 0 0 8px rgba(255,200,75,0.95), 0 0 16px rgba(218,146,27,0.45); }
    50%  { box-shadow: 0 0 4px rgba(218,146,27,0.6),  0 0 8px rgba(218,146,27,0.25); }
    75%  { box-shadow: 0 0 11px rgba(255,215,85,1),   0 0 20px rgba(218,146,27,0.35); }
    100% { box-shadow: 0 0 3px rgba(218,146,27,0.5),  0 0 6px rgba(218,146,27,0.2); }
}

/* ── News Bar — horizontal strip below hero, full hero width ── */
.news-bar {
    max-width: calc(61rem + 4in);
    width: 100%;
    margin: 1cm auto 0.5in;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(218, 146, 27, 0.3);
    border-top: 2px solid #da921b;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.news-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(218, 146, 27, 0.2);
}

.news-widget-title {
    color: #da921b;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Nunito', 'Poppins', sans-serif;
    letter-spacing: 0.02em;
}

.news-refresh-label {
    color: #da921b;
    font-size: 0.76rem;
    font-family: 'Nunito', 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.13em;
    opacity: 0.85;
}

.news-live-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3b3b;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3b3b;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 59, 59, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.news-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

/* scrollbar styling for news widget */
.news-items::-webkit-scrollbar { width: 6px; }
.news-items::-webkit-scrollbar-track { background: transparent; }
.news-items::-webkit-scrollbar-thumb { background: rgba(218, 146, 27, 0.4); border-radius: 3px; }

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.news-thumb {
    width: 80px;
    height: 80px;
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-thumb--none {
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-thumb--none::after {
    content: '📰';
    font-size: 2rem;
    opacity: 0.5;
}

.news-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-source {
    color: #da921b;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.news-item-title {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 500;
    /* max 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-date {
    color: #888;
    font-size: 0.75rem;
}

.news-loading, .news-empty {
    color: #aaa;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 100%;
}

.news-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(218, 146, 27, 0.3);
    border-top-color: #da921b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── News Bar thin-row overrides ─────────────────────────────── */
.news-bar .news-items {
    padding: 0;
    overflow: hidden;
}
.news-bar .news-item {
    padding: 0.35rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
}
.news-bar .news-item:last-child { border-bottom: none; }
.news-bar .news-thumb { width: 48px; height: 48px; }
.news-bar .news-item-body {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.news-bar .news-item-source { flex-shrink: 0; white-space: nowrap; }
.news-bar .news-item-title {
    flex: 1;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    font-size: 0.88rem;
}
.news-bar .news-item-date { flex-shrink: 0; white-space: nowrap; margin-left: auto; }

@media (max-width: 1200px) {
    .hero { height: auto; min-height: 600px; }
}

@media (max-width: 975px) {
    .hero { flex-direction: column; padding-bottom: 2rem; height: auto; max-width: 100%; overflow: visible; }
    .hero-content { max-width: 90%; margin-top: 0; }
    .hero-content .container { max-width: 100%; width: 100%; }
    .hero-text-frame { max-width: 100%; }
    .news-bar { max-width: 100%; }
}

@media (max-width: 768px) {
    .hero { height: auto; min-height: 500px; }
    .hero { justify-content: flex-start; }
    .hero-content { max-width: 100%; width: 88%; padding-top: 1rem; margin-top: 0; }
    .hero-background { background-size: 100% auto; background-position: top center; }
    .hero-content h2 { font-size: 1.5rem; }
    .hero-text-frame {
        display: block;
        padding: 1.25rem 1.25rem 1rem;
        background: rgba(26, 26, 26, 0.85);
        border: 3px solid rgba(5, 2, 10, 0.88);
        border-radius: 6px;
        box-shadow: inset 0 0 0 1px rgba(218, 146, 27, 0.22), 0 8px 24px rgba(0, 0, 0, 0.50);
        max-width: 100%;
        width: 100%;
    }
    .news-bar { max-width: 100%; margin-bottom: 0; }
    .news-bar .news-item-body { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
    .news-bar .news-item-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .news-bar .news-item-date { margin-left: 0; }
}

/* ================================================================
   ABOUT — within container, image left / text right
   ================================================================ */

.about {
    padding: 0;
    background: #1a1a1a;
    border-top: 2px solid #da921b;
    border-bottom: 2px solid #da921b;
    overflow: hidden;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* equal — image big, text in right half */
    column-gap: 2rem;
    align-items: start;
    max-width: calc(61rem + 4in); /* match hero width so image fills left side */
    width: 100%;
    margin: 0 auto;
    padding: 0.5cm 1.5rem;
}

.about-image {
    background-image: url('../assets/images/about_bg_small.webp');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    width: 750px;
    min-height: 500px;
    max-width: 100%;
    justify-self: start;
    align-self: stretch;
    margin-left: -1.5rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: center;    /* midpoint aligns with image midpoint */
    padding: 1rem 0 2rem 0.3in; /* reduced slightly to widen text area so 'skills' fits */
}

.about-text h2 {
    color: #7a4d95;
    text-align: center;
    margin-bottom: 1.2rem; /* clear space between title and body */
    line-height: 1.2;
}

.about-text p {
    text-align: center;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding: 0 0;
    font-weight: 500;
}

.about-text .btn { align-self: center; }

@media (max-width: 768px) {
    .about-inner { grid-template-columns: 1fr; padding: 0 0 0.75rem; width: 100%; overflow-x: hidden; }
    .about-image {
        order: 2;
        width: 250px;
        height: 250px;
        min-height: 0;
        max-width: 70vw;
        aspect-ratio: unset;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin: 0.75rem auto 0;
        align-self: center;
        justify-self: center;
    }
    .about-text { order: 1; padding: 2.5rem 1.5rem 0; width: 100%; }
    .about-text h2 { font-size: 1.5rem; }
    .about-text .btn { margin-top: 0; }
}

/* ================================================================
   SERVICES — within container, 3-col grid
   ================================================================ */

.services {
    padding: 0.5in 0 4rem;
    background: #1a1a1a;
    border-top: 2px solid #da921b; /* gold spacer above Our Services */
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -1rem;
    padding-top: 2.5rem; /* room for icons that hang above first row */
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 1 calc(25% - 2rem);
    max-width: none;
    margin: 3rem 1rem 1rem;
    background: #f0f2f1;
    border-radius: 0;
    position: relative;
    aspect-ratio: 1.25 / 1;
    justify-content: center;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0.3cm;
    background: rgba(10, 25, 80, 0.13);
    z-index: 0;
    pointer-events: none;
}

/* Purple icon overlaps top-center of card */
.service-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7a4d95;
    z-index: 2;
    flex-shrink: 0;
}

.service-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: #fff;
    display: block;
}

.service-body {
    padding: 2.5rem 1.5rem 1.5rem; /* top clears icon hang-in zone */
    width: 100%;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    color: #7a4d95;
    font-size: 1.35rem;
    margin-bottom: .5rem;
}

.service-card p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 600;
}

@media (max-width: 975px) {
    .service-card { flex: 0 1 calc(50% - 2rem); max-width: calc(50% - 2rem); }
}
@media (max-width: 576px) {
    .service-card { flex: 0 1 100%; max-width: 100%; aspect-ratio: auto; min-height: 220px; }
}

/* ================================================================
   CTA SECTION
   ================================================================ */

.cta {
    background: #0f0720;
    color: #f2f0f0;
    padding: 3rem 0;
    text-align: center;
    min-height: 230px;
    display: flex;
    align-items: center;
    width: 100%;
}

.cta .container { width: 100%; }

.cta h2 { color: #f2f0f0; font-size: 1.6rem; margin-bottom: .5rem; }
.cta p  { color: #f2efef; font-size: 1rem; margin-bottom: 1.5rem; }

/* ================================================================
   FAQ — FULL WIDTH (breaks out of margins intentionally)
   ================================================================ */

.faq {
    padding: 4rem 0;
    background: #1a1a1a;
    /* No container — goes full viewport width */
}

/* FAQ heading stays readable but full width */
.faq-title {
    text-align: center;
    color: #7a4d95;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.accordion {
    width: 100%;
    /* no max-width — full bleed */
    padding: 0 4rem;
}

.accordion-item {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
}

/* Purple text trigger, purple bottom border */
.accordion-trigger {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 2rem;
    background: none;
    border: none;
    border-bottom: 1px solid #7a4d95;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #7a4d95;
    cursor: pointer;
    position: relative;
    transition: color .25s;
}
.accordion-trigger:hover { color: #da921b; }

.accordion-trigger::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 300;
    color: #7a4d95;
    transition: transform .3s;
}
.accordion-trigger[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Content: dark bg, white text */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #1a1a1a;
}
.accordion-content p {
    padding: 1rem 2rem;
    color: #fff;
    line-height: 1.7;
}
.accordion-item.active .accordion-content { max-height: 400px; }

@media (max-width: 576px) {
    .faq { padding: 2rem 0; }
    .accordion { padding: 0 1.5rem; }
    .accordion-trigger { padding: 1rem 2.5rem 1rem 0rem; font-size: 1.1rem; }
    .accordion-trigger::after { right: 0.5rem; }
    .accordion-content p { padding: 1rem 0; }
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */

.contact {
    padding: 0.5in 0 4rem;
    background: #1a1a1a;
    border-top: 2px solid #da921b; /* gold spacer above Get In Touch */
}

.contact .section-title { color: #7a4d95; }

/* Two-column layout matching original form */
.contact-form {
    max-width: 920px;
    margin: 1.5rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

/* Full-width fields */
.form-group {
    grid-column: span 1;
}
.form-group.full {
    grid-column: span 2;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: 0;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color .25s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7a4d95;
    box-shadow: 0 0 0 2px rgba(122,77,149,.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    border-color: #d38606;
}

/* reCAPTCHA mock — sits right of checkbox on same row */
.form-captcha {
    grid-column: span 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.recaptcha-mock {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 14px 16px;
    width: 304px;
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
    cursor: default;
    user-select: none;
}

.recaptcha-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s;
}
.recaptcha-mock.checked .recaptcha-checkbox {
    border-color: #4a90d9;
    background: #fff;
}
.recaptcha-checkmark {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #4a90d9;
    stroke-width: 2.5;
    opacity: 0;
    transition: opacity .2s;
}
.recaptcha-mock.checked .recaptcha-checkmark { opacity: 1; }

.recaptcha-text {
    flex: 1;
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    color: #333;
}

.recaptcha-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.recaptcha-logo-icon {
    width: 32px;
    height: 32px;
}
.recaptcha-brand-name {
    font-size: .6rem;
    color: #4a90d9;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.recaptcha-brand-links {
    font-size: .55rem;
    color: #888;
}

/* Privacy checkbox — sits left of captcha on same row */
.form-group.checkbox {
    grid-column: span 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .25rem 0;
}
.form-group.checkbox input[type="checkbox"] {
    width: 18px; min-width: 18px; height: 18px;
    margin-top: 3px;
    accent-color: #7a4d95;
    cursor: pointer;
}
.form-group.checkbox label {
    color: #f7f7fd;
    font-size: .95rem;
    cursor: pointer;
}
.form-group.checkbox label a { color: #da921b; text-decoration: underline; }

/* Submit button full width */
.form-submit {
    grid-column: span 2;
}
.form-submit .btn {
    display: block;
    width: 100%;
    padding: .75rem;
    font-size: 1rem;
    font-weight: 700;
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
    background: #1a0a2e;
    color: #f2f0f0;
    padding: 2.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Reorder: move Navigation (3rd) to right (4th), Social (4th) to 3rd */
.footer-column:nth-child(3) { order: 4; }
.footer-column:nth-child(4) { order: 3; }

.footer-column h3 { font-size: 2.5rem; color: #fff; margin-bottom: .6rem; font-weight: 700; }
.footer-column h4 { font-size: 1.25rem; color: #fff; margin-bottom: .6rem; font-weight: 700; }
.footer-column p  { font-size: 1rem; color: #f0ecf7; margin-bottom: .25rem; font-weight: 600; }
.footer-column a  { color: #f0ecf7; font-weight: 600; }
.footer-column a:hover { color: #da921b; text-decoration: none; }

address { font-style: normal; }
.footer-studio-link { color: #da921b; }

.footer-nav ul, .social-links { list-style: none; }
.footer-nav ul li, .social-links li { margin-bottom: .25rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: .75rem;
    text-align: center;
    font-size: 1rem;
    color: rgba(255,255,255,.85);
}

@media (max-width: 975px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }

/* Contact form responsive */
@media (max-width: 576px) {
    .contact-form { grid-template-columns: 1fr; }
    .form-group.full,
    .form-group.checkbox,
    .form-captcha,
    .form-submit { grid-column: span 1; }
    
    /* Scale down Google reCAPTCHA so it fits on 320px phones */
    .form-captcha { justify-content: flex-start; }
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

/* ================================================================
   NEW MULTI-PAGE SITE STYLES
   ================================================================ */

/* Hero variant for service pages */
.hero-service {
    height: 500px;
}

.hero-service h1 {
    color: #7a4d95;
    font-size: 1.875rem;
    margin: 0 auto 1.5rem;
    width: 100%;
    max-width: 820px;
    text-align: center;
}

.hero-service p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    text-align: center;
    margin: 0 auto 1.5rem;
}

/* Make service cards clickable */
.service-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.service-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.service-card-link .service-icon {
    background: #7a4d95;
}

.service-card-link:hover .service-icon {
    background: #da921b;
}

/* Service Overview Section */
.service-overview {
    padding: 3rem 0;
    background: #1a1a1a;
    border-top: 2px solid #da921b;
    border-bottom: 2px solid #da921b;
}

.service-overview h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #7a4d95;
}

.service-overview > .container > p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #fff;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(122, 77, 149, 0.1);
    border-left: 4px solid #7a4d95;
    padding: 1.25rem;
    border-radius: 4px;
}

.feature h3 {
    color: #da921b;
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
}

.feature p {
    color: #fff;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Capabilities Grid */
.capabilities {
    padding: 3rem 0;
    background: #1a1a1a;
    border-top: 2px solid #da921b;
}

.capabilities h2 {
    text-align: center;
    color: #7a4d95;
    margin-bottom: 2rem;
}

@media (max-width: 975px) {
    .service-features { grid-template-columns: repeat(2, 1fr); }
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .service-features { grid-template-columns: 1fr; }
    .capabilities-grid { grid-template-columns: 1fr; }
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.capability-card {
    background: #f0f2f1;
    border-radius: 4px;
    padding: 1.55rem;
}

.capability-card h3 {
    color: #7a4d95;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.capability-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capability-card li {
    color: #444;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.capability-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #da921b;
    font-weight: bold;
}

/* Portfolio / Case Studies */
.portfolio-section {
    padding: 3rem 0;
    background: #1a1a1a;
    border-top: 2px solid #da921b;
}

.portfolio-section .container {
    max-width: 90rem;
    padding: 0 0.75rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.case-study {
    background: rgba(122, 77, 149, 0.08);
    border: 1px solid rgba(218, 146, 27, 0.2);
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.case-study:hover {
    border-color: #da921b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: rgba(122, 77, 149, 0.12);
}

.case-study-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    gap: 0.6rem;
}

.case-study-header h3 {
    color: #7a4d95;
    margin: 0;
    font-size: 1.3rem;
    text-align: left;
}

.case-study-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    background: #da921b;
    color: #1a1a1a;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-study p {
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.case-study strong {
    color: #da921b;
}

.case-study .btn-small {
    align-self: flex-start;
    margin-top: auto;
}

.btn-small {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    display: inline-block;
}

/* Form select styling */
select {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(218, 146, 27, 0.3);
    border-radius: 0;
    padding: 0.8rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

select:hover,
select:focus {
    border-color: #da921b;
    outline: none;
}

select option {
    background: #333;
    color: #fff;
}

/* Responsive adjustments for new sections */
@media (max-width: 975px) {
    .case-study-tags {
        margin-top: 0.2rem;
    }
}

@media (max-width: 768px) {
    .hero-service {
        height: auto;
        min-height: 400px;
    }

    .hero-service h1 {
        font-size: 1.5rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

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

/* Portfolio Mobile Overrides (must be at extreme bottom for cascading) */
@media (max-width: 975px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 576px) {
    .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }
    .case-study { padding: 1.5rem; }
    .case-study-header h3 { font-size: 1.2rem; }
    .tag { font-size: 0.75rem; }
    .case-study p { font-size: 0.95rem; }
    .btn-small { font-size: 0.85rem; }
}


/* ================================================================
   PRIVACY / LEGAL PAGE
   ================================================================ */

.legal-section {
    padding: 3rem 0;
    background: #1a1a1a;
    border-top: 2px solid #da921b;
}
.legal-header {
    padding-top: 120px;
    padding-bottom: 2rem;
    text-align: center;
}
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: #f2f0f0;
    line-height: 1.8;
}
.legal-content h2 { margin-top: 2.5rem; color: #da921b; font-size: 1.5rem; }
.legal-content h3 { margin-top: 1.5rem; font-size: 1.2rem; color: #7a4d95; }
.legal-content p, .legal-content ul { margin-bottom: 1.2rem; font-size: 1.05rem; }
.legal-content ul { padding-left: 1.5rem; list-style-type: square; }
.legal-content li { margin-bottom: 0.5rem; color: #ccc; }
