/* =========================================================
   IT WEB FUTURE — BUSINESS WEBSITE DEVELOPMENT
   Compact hero + content/form master layout
   ========================================================= */

:root {
    --bwd-navy: #151b63;
    --bwd-navy-deep: #0e1247;
    --bwd-wine: #8f123d;
    --bwd-red: #ef1238;
    --bwd-text: #202747;
    --bwd-muted: #68718f;
    --bwd-line: rgba(21, 27, 99, .12);
    --bwd-soft: #f7f8fc;
    /* background: #fff;
    color: var(--bwd-text); */
}

.bwd-container {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------------- HERO ---------------- */

.bwd-hero {
    position: relative;
    min-height: 345px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background:
        radial-gradient(circle at 10% 30%, rgba(143,18,61,.07), transparent 27%),
        radial-gradient(circle at 91% 20%, rgba(21,27,99,.09), transparent 28%),
        linear-gradient(135deg, #fbfcff 0%, #f4f6fb 100%);
    border-bottom: 1px solid var(--bwd-line);
}

.bwd-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .4;
    background-image:
        linear-gradient(rgba(21,27,99,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21,27,99,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    animation: bwdGridMove 18s linear infinite;
}

.bwd-hero-inner {
    padding: 28px 0 34px;
}

.bwd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bwd-muted);
}

.bwd-breadcrumb a {
    color: var(--bwd-navy);
    text-decoration: none;
    transition: color .25s ease;
}

.bwd-breadcrumb a:hover {
    color: var(--bwd-wine);
}


.bwd-eyebrow,
.bwd-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bwd-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bwd-hero-copy h1 {
    margin: 9px 0 13px;
    max-width: 760px;
    color: var(--bwd-navy);
    font-size: clamp(35px, 4vw, 57px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.bwd-hero-copy h1 span {
    color: var(--bwd-wine);
}

.bwd-hero-lead {
    max-width: 760px;
    margin: 0;
    color: var(--bwd-muted);
    font-size: 16px;
    line-height: 1.8;
}




/* ---------------- MAIN CONTENT ---------------- */

.bwd-main-section {
    position: relative;
    padding: 68px 0 90px;
    background:
        radial-gradient(circle at 7% 10%, rgba(143,18,61,.045), transparent 24%),
        #fff;
}


.bwd-content {
    min-width: 0;
}

.bwd-content-intro {
    margin-bottom: 33px;
}

.bwd-content h2 {
    margin: 10px 0 18px;
    color: var(--bwd-navy);
    font-size: clamp(31px, 3.2vw, 45px);
    line-height: 1.12;
    letter-spacing: -1px;
    font-weight: 800;
}

.bwd-content h2 span {
    color: var(--bwd-wine);
}

.bwd-content h3 {
    position: relative;
    margin: 38px 0 13px;
    padding-left: 15px;
    color: var(--bwd-navy);
    font-size: 27px;
    line-height: 1.25;
    font-weight: 800;
}

.bwd-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: calc(100% - 9px);
    border-radius: 5px;
    background: linear-gradient(var(--bwd-red), var(--bwd-wine));
}

.bwd-content h4 {
    margin: 27px 0 8px;
    color: var(--bwd-wine);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 750;
}

.bwd-content p {
    margin: 0 0 17px;
    color: #59627e;
    font-size: 15.5px;
    line-height: 1.9;
}

.bwd-section-kicker {
    font-size: 11px;
}

/* ---------------- FORM ---------------- */

.bwd-form-wrap {
    position: sticky;
    top: 95px;
}

.bwd-form-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(21,27,99,.13);
    border-radius: 26px;
    background: linear-gradient(145deg, #f8f9fc, #eef1f7);
    box-shadow: 0 22px 55px rgba(21,27,99,.13);
}

.bwd-form-card::before,
.bwd-form-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bwd-form-card::before {
    width: 160px;
    height: 160px;
    top: -90px;
    right: -70px;
    border: 1px dashed rgba(143,18,61,.22);
    animation: bwdFloat 6s ease-in-out infinite;
}

.bwd-form-card::after {
    width: 10px;
    height: 10px;
    top: 38px;
    right: 54px;
    background: var(--bwd-red);
    box-shadow: 0 0 0 7px rgba(239,18,56,.08);
    animation: bwdPulse 2.5s ease-in-out infinite;
}

.bwd-form-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.bwd-form-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bwd-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.bwd-form-heading h2 {
    margin: 7px 0 5px;
    color: var(--bwd-navy);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
}

.bwd-form-heading p {
    margin: 0;
    color: var(--bwd-muted);
    font-size: 13px;
    line-height: 1.6;
}

.bwd-enquiry-form {
    position: relative;
    z-index: 1;
}

.bwd-field {
    margin-bottom: 15px;
}

.bwd-field label {
    display: block;
    margin: 0 0 7px;
    color: #525c79;
    font-size: 12px;
    font-weight: 700;
}

.bwd-input {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 49px;
    padding: 0 13px;
    border: 1px solid rgba(21,27,99,.15);
    border-radius: 11px;
    background: rgba(255,255,255,.94);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.bwd-input:focus-within {
    border-color: var(--bwd-red);
    box-shadow: 0 0 0 4px rgba(239,18,56,.08);
    transform: translateY(-1px);
}

.bwd-input > i {
    flex: 0 0 auto;
    color: var(--bwd-wine);
    font-size: 15px;
}

.bwd-input input,
.bwd-input select,
.bwd-input textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #27304d;
    font-family: inherit;
    font-size: 13px;
}

.bwd-input input::placeholder,
.bwd-input textarea::placeholder {
    color: #9aa1b5;
}

.bwd-select select {
    appearance: none;
    cursor: pointer;
}

.bwd-select {
    position: relative;
}

.bwd-select::after {
    content: "\F282";
    position: absolute;
    right: 14px;
    color: #6c7490;
    font-family: "bootstrap-icons";
    pointer-events: none;
}

.bwd-textarea {
    align-items: flex-start;
    padding-top: 13px;
}

.bwd-textarea textarea {
    min-height: 105px;
    resize: vertical;
    line-height: 1.55;
}

.bwd-submit {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(100deg, var(--bwd-red), var(--bwd-wine));
    box-shadow: 0 15px 27px rgba(143,18,61,.22);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

.bwd-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 19px 34px rgba(143,18,61,.3);
    filter: saturate(1.1);
}

.bwd-submit i {
    transition: transform .3s ease;
}

.bwd-submit:hover i {
    transform: translate(3px, -3px);
}

.bwd-form-note {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    color: #747d98;
    font-size: 10px;
    font-weight: 600;
}

.bwd-form-note span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bwd-form-note i {
    color: var(--bwd-red);
}

/* ---------------- ANIMATIONS ---------------- */

@keyframes bwdGridMove {
    from { background-position: 0 0, 0 0; }
    to { background-position: 44px 44px, 44px 44px; }
}

@keyframes bwdSpin {
    to { transform: rotate(360deg); }
}

@keyframes bwdSpinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes bwdFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(10px) rotate(8deg); }
}

@keyframes bwdPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 991.98px) {
    .bwd-hero {
        min-height: auto;
    }
    .bwd-form-card {
        padding: 22px;
    }
}

@media (max-width: 767.98px) {
    .bwd-container {
        width: min(100% - 28px, 600px);
    }

    .bwd-hero-inner {
        padding: 21px 0 30px;
    }

    .bwd-breadcrumb {
        margin-bottom: 17px;
        flex-wrap: wrap;
        font-size: 12px;
    }

    .bwd-hero-copy h1 {
        margin-top: 8px;
        font-size: clamp(32px, 9vw, 46px);
        letter-spacing: -1.1px;
    }

    .bwd-hero-lead {
        font-size: 14px;
        line-height: 1.7;
    }
    .bwd-main-section {
        padding: 42px 0 65px;
    }
    .bwd-form-wrap {
        position: static;
        order: -1;
    }

    .bwd-content {
        order: 2;
    }

    .bwd-form-card {
        border-radius: 20px;
    }

    .bwd-content h2 {
        font-size: 31px;
    }

    .bwd-content h3 {
        margin-top: 31px;
        font-size: 24px;
    }

    .bwd-content p {
        font-size: 14.5px;
        line-height: 1.8;
    }
}

@media (max-width: 420px) {
    .bwd-form-card {
        padding: 18px;
    }

    .bwd-form-heading h2 {
        font-size: 23px;
    }

    .bwd-form-note {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bwd-page *,
    .bwd-page *::before,
    .bwd-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   FINAL VISUAL PASS — COMPACT HERO + FULL WIDTH CONTENT
   ========================================================= */
.bwd-hero {
    min-height: 220px;
    height: 250px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(255,255,255,.07), transparent 22%),
        radial-gradient(circle at 78% 82%, rgba(239,18,56,.28), transparent 28%),
        radial-gradient(circle at 100% 5%, rgba(82,96,190,.24), transparent 30%),
        linear-gradient(118deg, #080c36 0%, #111653 42%, #1a236c 72%, #351447 100%);
    border-bottom: 0;
    color: #fff;
}

.bwd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(7,10,43,.18), transparent 58%, rgba(255,255,255,.04));
    pointer-events: none;
}

.bwd-hero-grid {
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
    background-size: 38px 38px;
}

.bwd-hero-inner {
    position: relative;
    z-index: 3;
    width: min(1500px, calc(100% - 40px));
    padding: 0;
}

.bwd-breadcrumb {
    margin-bottom: 12px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    gap: 8px;
}

.bwd-breadcrumb a { color: #fff; }
.bwd-breadcrumb a:hover { color: #ff5573; }
.bwd-breadcrumb i { font-size: 9px; opacity: .65; }
.bwd-breadcrumb strong { color: #fff; font-weight: 700; }

.bwd-eyebrow {
    color: #ff5573;
    font-size: 10px;
    letter-spacing: .14em;
}

.bwd-hero-copy h1 {
    max-width: 1000px;
    margin: 6px 0 15px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -1.5px;
}

.bwd-hero-copy h1 span {
    color: var(--bwd-red);
}

.bwd-hero-lead {
    max-width: 690px;
    color: rgba(255,255,255,.75);
    font-size: 13.5px;
    line-height: 1.55;
}

.bwd-hero-art {
    position: absolute;
    right: 2%;
    top: -2px;
    width: min(430px, 34vw);
    height: 230px;
    z-index: 1;
    opacity: .95;
    pointer-events: none;
    animation: bwdHeroArtFloat 6s ease-in-out infinite;
}

.bwd-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.bwd-hero-glow-one {
    width: 260px;
    height: 260px;
    right: 13%;
    top: -125px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 0 80px rgba(255,255,255,.06);
    animation: bwdGlowFloat 7s ease-in-out infinite;
}

.bwd-hero-glow-two {
    width: 90px;
    height: 90px;
    right: 5%;
    bottom: -40px;
    background: rgba(239,18,56,.18);
    box-shadow: 0 0 50px rgba(239,18,56,.25);
    animation: bwdGlowFloat 5s ease-in-out infinite reverse;
}

/* Main top row: image + form */
.bwd-main-section {
    padding: 62px 0 90px;
    background:
        radial-gradient(circle at 2% 5%, rgba(21,27,99,.045), transparent 23%),
        radial-gradient(circle at 96% 12%, rgba(143,18,61,.04), transparent 20%),
        #fff;
}

.bwd-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 450px;
    gap: 48px;
    align-items: start;
    /* margin-bottom: 58px; */
}

.bwd-service-image-wrap {
    position: relative;
    min-width: 0;
    padding: 8px 12px 15px 0;
}

.bwd-service-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(21,27,99,.13);
    box-shadow: 0 25px 60px rgba(21,27,99,.13);
    transform: translateZ(0);
    transition: transform .45s ease, box-shadow .45s ease;
}

.bwd-service-image-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 32px 70px rgba(21,27,99,.19);
}

.bwd-service-image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(7,10,43,.82) 100%);
    pointer-events: none;
}

.bwd-service-image-card img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.bwd-service-image-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.bwd-image-caption {
    position: absolute;
    left: 27px;
    right: 27px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
}

.bwd-image-caption span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #ff7188;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bwd-image-caption strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
}

.bwd-service-image-orbit {
    position: absolute;
    width: 125px;
    height: 125px;
    right: -35px;
    top: -30px;
    border: 1px dashed rgba(21,27,99,.25);
    border-radius: 50%;
    animation: bwdSpin 14s linear infinite;
    z-index: 0;
}

.bwd-service-image-orbit::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    right: 15px;
    top: 18px;
    border-radius: 50%;
    background: var(--bwd-red);
    box-shadow: 0 0 0 7px rgba(239,18,56,.09), 0 0 25px rgba(239,18,56,.3);
}

.bwd-form-wrap {
    position: relative;
    top: auto;
}

/* Short content that fills the space below the image while the form remains alongside */
.bwd-side-copy {
    position: relative;
    margin: 26px 8px 0 2px;
    padding: 6px 4px 0 0;
}

.bwd-side-copy::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0;
    width: 3px;
    height: 58px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--bwd-red), var(--bwd-wine));
}

.bwd-side-copy h2 {
    margin: 9px 0 13px;
    color: var(--bwd-navy);
    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1.15;
    letter-spacing: -.7px;
    font-weight: 800;
}

.bwd-side-copy h2 span {
    color: var(--bwd-wine);
}

.bwd-side-copy p {
    max-width: 100%;
    margin: 0 0 12px;
    color: #626b86;
    font-size: 16px;
    line-height: 1.8;
}

/* Content deliberately comes BELOW the complete image/form row */
.bwd-content {
    width: 100%;
    max-width: none;
    margin: 0;
}

.bwd-content-intro {
    
    margin-bottom: 38px;
}

.bwd-content h2 {
    max-width: 1400px;
}

.bwd-content p {
    max-width: 1500px;
}

@keyframes bwdHeroArtFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(6px) rotate(1deg); }
}

@keyframes bwdGlowFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: .75; }
    50% { transform: translateY(10px) scale(1.04); opacity: 1; }
}

@media (max-width: 991.98px) {
    .bwd-hero { height: 215px; min-height: 215px; }
    .bwd-hero-art { right: -4%; width: 330px; opacity: .48; }
    .bwd-hero-copy { position: relative; z-index: 4; max-width: 680px; }
    .bwd-top-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
    .bwd-service-image-card img { height: 370px; }
}

@media (max-width: 767.98px) {
    .bwd-hero { height: 205px; min-height: 205px; }
    .bwd-hero-inner { width: min(100% - 28px, 600px); }
    .bwd-hero-art { right: -115px; top: -5px; width: 330px; opacity: .28; }
    .bwd-breadcrumb { margin-bottom: 9px; font-size: 10.5px; }
    .bwd-hero-copy h1 { font-size: clamp(28px, 8vw, 39px); max-width: 90%; }
    .bwd-hero-lead { max-width: 82%; font-size: 12px; line-height: 1.5; }
    .bwd-main-section { padding: 38px 0 65px; }
    .bwd-top-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 45px; }
    .bwd-service-image-wrap { padding: 0 4px 8px 0; }
    .bwd-service-image-card { border-radius: 19px; }
    .bwd-service-image-card img { height: 260px; }
    .bwd-side-copy { margin: 22px 3px 0; }
    .bwd-side-copy h2 { font-size: 27px; }
    .bwd-image-caption { left: 19px; right: 19px; bottom: 18px; }
    .bwd-image-caption strong { font-size: 18px; }
    .bwd-form-card { border-radius: 20px; }
}

@media (max-width: 420px) {
    .bwd-hero { height: 200px; min-height: 200px; }
    .bwd-hero-copy h1 { font-size: 28px; }
    .bwd-hero-lead { font-size: 11.5px; max-width: 88%; }
    .bwd-service-image-card img { height: 225px; }
    .bwd-side-copy h2 { font-size: 25px; }
    .bwd-side-copy p { font-size: 13.5px; }
}
