/* =========================================================
   MILL HILL ATTORNEYS & SOLICITORS
   MAIN STYLESHEET
========================================================= */


:root {

    --navy: #08152e;

    --navy-light: #112443;

    --navy-dark: #050d1c;

    --gold: #c9a45c;

    --gold-light: #e2c784;

    --cream: #f6f3ec;

    --white: #ffffff;

    --black: #101010;

    --text: #273143;

    --muted: #6d7585;

    --border: #e5e1d8;

}


/* =========================================================
   GLOBAL
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    line-height: 1.7;

    background: #ffffff;

}


h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: "Playfair Display", serif;

}


a {

    text-decoration: none;

}


img {

    max-width: 100%;

}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {

    background: var(--navy-dark);

    color: #c8d0dd;

    font-size: 12px;

    padding: 9px 0;

}


.top-bar-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.top-bar i {

    color: var(--gold);

    margin-right: 5px;

}


.top-contact {

    display: flex;

    align-items: center;

    gap: 22px;

}


.top-contact a {

    color: #c8d0dd;

}


.top-contact a:hover {

    color: var(--gold-light);

}


/* =========================================================
   NAVIGATION
========================================================= */

.main-navbar {

    background: rgba(8, 21, 46, 0.97);

    padding: 13px 0;

    transition: all .3s ease;

    box-shadow: 0 5px 30px rgba(0,0,0,.12);

}


.main-navbar.scrolled {

    padding: 8px 0;

}


.navbar-brand {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #fff !important;

}


.logo-image {

    width: 48px;

    height: 48px;

    object-fit: contain;

}


.brand-text strong {

    display: block;

    font-family: "Playfair Display", serif;

    font-size: 20px;

    letter-spacing: 2px;

    line-height: 1;

}


.brand-text small {

    display: block;

    font-size: 8px;

    letter-spacing: 2px;

    color: #aab3c3;

    margin-top: 5px;

}


.nav-link {

    color: #dce2ec !important;

    font-size: 13px;

    font-weight: 600;

    padding: 10px 13px !important;

    transition: .3s;

}


.nav-link:hover,
.nav-link.active {

    color: var(--gold-light) !important;

}


.consultation-nav {

    margin-left: 12px;

}


/* =========================================================
   BUTTONS
========================================================= */

.btn-gold {

    background: var(--gold);

    color: var(--navy);

    border: 1px solid var(--gold);

    font-weight: 700;

    padding: 12px 23px;

    transition: all .3s ease;

}


.btn-gold:hover {

    background: var(--gold-light);

    border-color: var(--gold-light);

    color: var(--navy);

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(201,164,92,.22);

}


/* =========================================================
   HERO
========================================================= */

.hero-section {

    min-height: 86vh;

    position: relative;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-image:

        url("../images/hero-wig.jpg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            90deg,

            rgba(5,13,28,.96) 0%,

            rgba(5,13,28,.87) 42%,

            rgba(5,13,28,.57) 72%,

            rgba(5,13,28,.35) 100%

        );

}


.hero-container {

    position: relative;

    z-index: 2;

}


.hero-eyebrow {

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 20px;

}


.hero-eyebrow span {

    display: inline-block;

    width: 38px;

    height: 1px;

    background: var(--gold);

    vertical-align: middle;

    margin-right: 10px;

}


.hero-section h1 {

    font-size: clamp(45px, 6vw, 82px);

    line-height: 1.03;

    color: #fff;

    letter-spacing: -2px;

    margin-bottom: 25px;

}


.hero-section h1 span {

    color: var(--gold-light);

}


.hero-description {

    color: #d7deea;

    max-width: 650px;

    font-size: 18px;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;

}


.hero-buttons .btn {

    border-radius: 50px;

    padding: 13px 25px;

}


/* =========================================================
   HERO SCROLL INDICATOR
========================================================= */

.hero-scroll {
    position: absolute;
    right: 45px;
    bottom: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: #ffffff;
    text-decoration: none;

    cursor: pointer;
    z-index: 10;

    transition: all 0.3s ease;
}

.hero-scroll i {
    font-size: 1.4rem;
    animation: scrollBounce 1.8s infinite;
}

.hero-scroll span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    white-space: nowrap;
}

.hero-scroll:hover {
    color: #d4af37;
    transform: translateY(-5px);
}

.hero-scroll:hover span {
    opacity: 1;
}


/* =========================================================
   ARROW ANIMATION
========================================================= */

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}


/* =========================================================
   SMOOTH SCROLL
========================================================= */

html {
    scroll-behavior: smooth;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hero-scroll {
        right: 20px;
        bottom: 20px;
    }

    .hero-scroll span {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .hero-scroll i {
        font-size: 1.15rem;
    }

}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {

    background: var(--cream);

    border-bottom: 1px solid var(--border);

}


.trust-item {

    padding: 27px 15px;

    text-align: center;

}


.trust-item strong {

    display: block;

    font-family: "Playfair Display", serif;

    font-size: 17px;

}


.trust-item span {

    color: var(--muted);

    font-size: 12px;

}


/* =========================================================
   SECTIONS
========================================================= */

.section-padding {

    padding: 105px 0;

}


.bg-cream {

    background: var(--cream);

}


.section-heading {

    max-width: 780px;

    margin: auto;

}


.section-number {

    color: var(--gold);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2.5px;

    margin-bottom: 17px;

}


.section-number.light {

    color: var(--gold-light);

}


.section-title {

    font-size: clamp(38px, 4.5vw, 65px);

    line-height: 1.08;

    letter-spacing: -1.3px;

}


.section-title span {

    color: var(--gold);

}


.large-text {

    font-size: 19px;

    color: #1c2535;

}


.gold-line {

    width: 70px;

    height: 3px;

    background: var(--gold);

    margin-top: 25px;

}


/* =========================================================
   MISSION CARDS
========================================================= */

.mission-card {

    height: 100%;

    padding: 25px;

    border: 1px solid var(--border);

    background: #fff;

    transition: .3s;

}


.mission-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 18px 40px rgba(0,0,0,.06);

}


.mission-icon {

    color: var(--gold);

    font-size: 28px;

    margin-bottom: 10px;

}


.mission-card h4 {

    font-size: 21px;

}


.mission-card p {

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 0;

}


/* =========================================================
   DARK SECTION
========================================================= */

.dark-section {

    background:

        linear-gradient(

            135deg,

            #07132a,

            #122846

        );

}


.approach-card {

    border-top: 1px solid rgba(255,255,255,.2);

    padding-top: 18px;

    height: 100%;

}


.approach-card span {

    color: var(--gold);

    font-weight: 800;

}


.approach-card h4 {

    color: #fff;

    margin-top: 13px;

}


.approach-card p {

    color: #8e9aac;

    font-size: 13px;

}


/* =========================================================
   REASONS
========================================================= */

.reason-card {

    background: #fff;

    border: 1px solid var(--border);

    padding: 32px;

    height: 100%;

    transition: .35s;

}


.reason-card:hover {

    transform: translateY(-7px);

    box-shadow: 0 20px 50px rgba(9,20,40,.08);

}


.reason-card > i {

    color: var(--gold);

    font-size: 30px;

}


.reason-card h4 {

    font-size: 21px;

    margin-top: 17px;

}


.reason-card p {

    color: var(--muted);

    font-size: 13px;

    margin-bottom: 0;

}


/* =========================================================
   PRACTICE FILTER
========================================================= */

.practice-filter {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin: 45px 0 35px;

}


.filter-btn {

    border: 1px solid var(--border);

    background: #fff;

    color: var(--text);

    border-radius: 50px;

    padding: 10px 21px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}


.filter-btn:hover,
.filter-btn.active {

    background: var(--navy);

    color: #fff;

    border-color: var(--navy);

}


/* =========================================================
   PRACTICE CARDS
========================================================= */

.practice-card {

    height: 100%;

    padding: 30px;

    border: 1px solid var(--border);

    background: #fff;

    transition: .35s;

    position: relative;

}


.practice-card:hover {

    transform: translateY(-7px);

    border-color: #d8c59e;

    box-shadow: 0 20px 50px rgba(10,20,40,.08);

}


.practice-icon {

    width: 50px;

    height: 50px;

    background: var(--cream);

    color: var(--gold);

    display: grid;

    place-items: center;

    font-size: 22px;

    margin-bottom: 25px;

}


.practice-card > span {

    color: var(--gold);

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

}


.practice-card h3 {

    font-size: 22px;

    margin: 8px 0 12px;

}


.practice-card p {

    color: var(--muted);

    font-size: 13px;

}


.practice-card a {

    display: inline-block;

    color: var(--navy);

    font-size: 12px;

    font-weight: 800;

    margin-top: 10px;

}


.practice-card a i {

    color: var(--gold);

    margin-left: 5px;

}


/* =========================================================
   QUOTE
========================================================= */

.quote-section {

    background: var(--navy);

    padding: 85px 20px;

}


.quote-content {

    max-width: 900px;

    text-align: center;

    margin: auto;

}


.quote-mark {

    color: var(--gold);

    font-family: "Playfair Display", serif;

    font-size: 85px;

    height: 75px;

}


.quote-content blockquote {

    color: #fff;

    font-family: "Playfair Display", serif;

    font-size: clamp(28px, 4vw, 48px);

    line-height: 1.25;

}


.quote-content p {

    color: var(--gold-light);

    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 700;

    margin-top: 25px;

}


/* =========================================================
   TEAM
========================================================= */

.team-member {

    background: #fff;

    border: 1px solid var(--border);

    height: 100%;

    overflow: hidden;

    transition: .35s;

}


.team-member:hover {

    transform: translateY(-7px);

    box-shadow: 0 20px 45px rgba(0,0,0,.09);

}


.team-image {

    height: 390px;

    background:

        linear-gradient(

            135deg,

            #d9d6ce,

            #f3f1ec

        );

    overflow: hidden;

}


.team-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: .5s;

}


.team-member:hover .team-image img {

    transform: scale(1.04);

}


.team-info {

    padding: 22px;

}


.team-info span {

    color: var(--gold);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.team-info h3 {

    font-size: 19px;

    line-height: 1.25;

    margin: 7px 0;

}


.team-info p {

    color: var(--muted);

    font-size: 12px;

    margin: 0;

}


/* =========================================================
   AFFILIATIONS
========================================================= */

.affiliation-list {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.affiliation-list span {

    background: #fff;

    border: 1px solid var(--border);

    padding: 10px 15px;

    font-size: 11px;

    font-weight: 600;

}


/* =========================================================
   CONSULTATION
========================================================= */

.consultation-section {

    position: relative;

    padding: 110px 0;

    background-image:

        url("../images/courtroom.jpg");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

}


.consultation-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            100deg,

            rgba(5,14,30,.94),

            rgba(8,20,43,.85)

        );

}


.consultation-section .container {

    position: relative;

    z-index: 2;

}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-information {

    margin-top: 30px;

    display: grid;

    gap: 13px;

}


.contact-information a {

    color: #fff;

    display: flex;

    align-items: center;

    gap: 13px;

}


.contact-information i {

    color: var(--gold);

    width: 20px;

}


/* =========================================================
   CONSULTATION FORM
========================================================= */

.consultation-form {

    background: rgba(255,255,255,.98);

    padding: 35px;

    box-shadow: 0 30px 70px rgba(0,0,0,.25);

}


.form-heading h3 {

    font-size: 27px;

}


.form-heading p {

    color: var(--muted);

    font-size: 13px;

}


.consultation-form label {

    display: block;

    font-size: 11px;

    font-weight: 800;

    margin-bottom: 6px;

}


.consultation-form .form-control,
.consultation-form .form-select {

    border-radius: 0;

    padding: 12px 14px;

    border: 1px solid #dedbd3;

    font-size: 13px;

}


.consultation-form .form-control:focus,
.consultation-form .form-select:focus {

    border-color: var(--gold);

    box-shadow: 0 0 0 .2rem rgba(201,164,92,.13);

}


.form-message {

    font-size: 12px;

    margin-top: 12px;

    color: #198754;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #050d1c;

    color: #fff;

    padding: 80px 0 25px;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 13px;

}


.footer-brand img {

    width: 46px;

    height: 46px;

}


.footer-brand strong {

    display: block;

    font-family: "Playfair Display", serif;

    letter-spacing: 2px;

    font-size: 19px;

}


.footer-brand small {

    display: block;

    font-size: 8px;

    color: #8993a6;

    letter-spacing: 2px;

}


.footer-description {

    color: #929daf;

    max-width: 480px;

    margin-top: 25px;

    font-size: 13px;

}


.footer h5 {

    color: var(--gold-light);

    margin-bottom: 20px;

}


.footer a {

    display: block;

    color: #9ca7b8;

    font-size: 13px;

    margin-bottom: 9px;

}


.footer a:hover {

    color: #fff;

}


.footer p {

    color: #9ca7b8;

    font-size: 13px;

}


.social-links {

    display: flex;

    gap: 8px;

    margin-top: 20px;

}


.social-links a {

    width: 38px;

    height: 38px;

    border: 1px solid rgba(255,255,255,.15);

    display: grid;

    place-items: center;

    color: var(--gold);

}


.footer hr {

    border-color: rgba(255,255,255,.1);

    margin: 50px 0 20px;

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #788396;

    font-size: 11px;

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 45px;

    height: 45px;

    border: none;

    background: var(--gold);

    color: var(--navy);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 999;

    cursor: pointer;

}


.back-to-top.show {

    display: flex;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {


    .top-bar {

        display: none;

    }


    .main-navbar {

        padding: 10px 0;

    }


    .navbar-collapse {

        padding-top: 15px;

        padding-bottom: 10px;

    }


    .consultation-nav {

        margin-left: 0;

        margin-top: 10px;

    }


    .hero-section {

        min-height: 80vh;

        background-attachment: scroll;

    }


    .section-padding {

        padding: 75px 0;

    }


    .consultation-section {

        background-attachment: scroll;

    }

}


@media (max-width: 767px) {


    .hero-section h1 {

        font-size: 45px;

        letter-spacing: -1px;

    }


    .hero-description {

        font-size: 16px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

    }


    .hero-buttons .btn {

        width: 100%;

        text-align: center;

    }


    .section-title {

        font-size: 40px;

    }


    .section-padding {

        padding: 65px 0;

    }


    .team-image {

        height: 420px;

    }


    .consultation-form {

        padding: 25px;

    }


    .footer-bottom {

        flex-direction: column;

    }

}


@media (max-width: 480px) {


    .brand-text strong {

        font-size: 17px;

    }


    .brand-text small {

        font-size: 6px;

    }


    .logo-image {

        width: 42px;

        height: 42px;

    }


    .hero-section h1 {

        font-size: 38px;

    }


    .section-title {

        font-size: 34px;

    }


    .practice-filter {

        justify-content: flex-start;

    }


    .filter-btn {

        width: 100%;

    }


}