/* =========================================================
   SENTINEL LAW — PROFESSIONAL WEBSITE STYLES
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    color: #1b2430;
    background: #ffffff;
    line-height: 1.7;
}

a {
    transition: all 0.25s ease;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 7%;
    background: #0d1826;
    border-bottom: 1px solid rgba(176, 141, 87, 0.35);
    position: relative;
    z-index: 10;
}

.logo h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    letter-spacing: 2px;
}

.logo p {
    margin: 3px 0 0;
    color: #c6cbd1;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #b08d57;
    transition: width 0.25s ease;
}

nav a:hover {
    color: #d0a968;
}

nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

#home {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            110deg,
            rgba(13, 24, 38, 0.98),
            rgba(16, 42, 67, 0.94)
        );
    color: white;
    padding: 125px 7%;
}

#home::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -140px;
    top: -140px;
    border: 1px solid rgba(176, 141, 87, 0.25);
    border-radius: 50%;
}

#home h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    font-weight: 600;
    margin: 0 0 25px;
}

#home p {
    position: relative;
    z-index: 1;
    max-width: 680px;
    font-size: 18px;
    color: #e0e5ea;
    margin-bottom: 38px;
}

#home a {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #b08d57;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#home a:hover {
    background: #d0a968;
    transform: translateY(-2px);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section {
    padding: 90px 7%;
}

section h2 {
    color: #102a43;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 25px;
}


/* =========================================================
   PRACTICE AREAS
   ========================================================= */

#practice {
    background: #f7f8fa;
}

.section-intro {
    max-width: 720px;
    margin: 0 0 45px;
    color: #626b75;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.practice-card {
    display: block;
    background: #ffffff;
    padding: 34px;
    border: 1px solid #e3e6e9;
    border-left: 4px solid #102a43;
    text-decoration: none;
    color: #333;
    box-shadow: 0 5px 18px rgba(15, 30, 45, 0.035);
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
    border-left-color: #b08d57;
    box-shadow: 0 15px 35px rgba(15, 30, 45, 0.09);
}

.practice-card h3 {
    color: #102a43;
    margin: 0 0 12px;
    font-size: 22px;
}

.practice-card p {
    color: #68717b;
    margin: 0;
}

.practice-card span {
    display: inline-block;
    margin-top: 20px;
    color: #b08d57;
    font-weight: 600;
}

.view-all {
    display: inline-block;
    margin-top: 35px;
    background: #102a43;
    color: white;
    padding: 14px 27px;
    text-decoration: none;
    font-weight: 600;
}

.view-all:hover {
    background: #b08d57;
}


/* =========================================================
   ABOUT
   ========================================================= */

#about p {
    max-width: 760px;
    color: #626b75;
}


/* =========================================================
   LEGAL RESOURCES
   ========================================================= */

#resources {
    background: #ffffff;
}

article {
    max-width: 850px;
    padding: 25px 0;
    border-bottom: 1px solid #e2e5e8;
}

article h3 {
    color: #102a43;
    font-size: 22px;
    margin-bottom: 8px;
}

article p {
    color: #68717b;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

#contact {
    background: #f8f7f4;
    padding: 95px 7%;
}

#contact h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 12px;
}

#contact > p {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
    color: #626b75;
    font-size: 17px;
}


/* Contact cards */

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 55px;
}

.contact-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #dedede;
    border-left: 4px solid #102a43;
    border-radius: 4px;
    padding: 34px;
    min-height: 205px;
    box-shadow: 0 8px 25px rgba(13, 24, 38, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-left-color: #b08d57;
    box-shadow: 0 16px 35px rgba(13, 24, 38, 0.10);
}

.contact-label {
    display: block;
    color: #b08d57;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.contact-card h3 {
    margin: 0 0 20px;
    color: #102a43;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    word-break: break-word;
}

.contact-card a {
    display: inline-block;
    color: #102a43;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid #d8c29d;
}

.contact-card a:hover {
    color: #b08d57;
}


/* =========================================================
   ENQUIRY FORM
   ========================================================= */

#contact form {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #d9d9d9;
}

#contact form::before {
    content: "SEND US AN ENQUIRY";
    display: block;
    color: #102a43;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 25px;
}

#contact form label {
    display: block;
    margin: 20px 0 8px;
    color: #263442;
    font-size: 14px;
    font-weight: 600;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid #d6d9dc;
    border-radius: 2px;
    color: #1b2430;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#contact input {
    height: 50px;
}

#contact textarea {
    min-height: 160px;
    resize: vertical;
}

#contact input:focus,
#contact textarea:focus {
    border-color: #b08d57;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.10);
}

#contact button {
    margin-top: 25px;
    padding: 15px 30px;
    background: #102a43;
    color: white;
    border: none;
    cursor: pointer;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

#contact button:hover {
    background: #b08d57;
    transform: translateY(-2px);
}


/* =========================================================
   PRACTICE AREAS PAGE
   ========================================================= */

.page-header {
    background: #102a43;
    color: white;
    padding: 90px 7%;
}

.page-header h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 52px;
    font-weight: 600;
    margin: 0 0 15px;
}

.page-header p {
    max-width: 700px;
    color: #dfe5eb;
    font-size: 18px;
}


/* Individual practice areas */

.practice-detail {
    max-width: 900px;
    margin: auto;
    padding: 75px 7%;
    border-bottom: 1px solid #e1e5e8;
}

.practice-detail h2 {
    margin-bottom: 20px;
}

.practice-detail h3 {
    color: #102a43;
    margin-top: 30px;
}

.practice-detail li {
    margin-bottom: 10px;
}


/* Practice page contact */

.practice-contact {
    text-align: center;
    background: #f7f8fa;
}

.practice-contact a {
    display: inline-block;
    margin-top: 20px;
    background: #102a43;
    color: white;
    padding: 14px 27px;
    text-decoration: none;
    font-weight: 600;
}

.practice-contact a:hover {
    background: #b08d57;
}


/* =========================================================
   LEGAL RESOURCE ARTICLE
   ========================================================= */

.legal-article {
    max-width: 900px;
    margin: auto;
    padding: 65px 7%;
}

.breadcrumb {
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
}

.legal-article > h1 {
    color: #102a43;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.article-intro {
    font-size: 19px;
    color: #555;
    max-width: 750px;
    margin-bottom: 40px;
}


/* Table of Contents */

.contents {
    background: #f7f8fa;
    border: 1px solid #e1e5e8;
    border-left: 4px solid #b08d57;
    padding: 25px;
    margin-bottom: 50px;
}

.contents h2 {
    font-size: 22px;
    margin-top: 0;
}

.contents ol {
    margin-bottom: 0;
}

.contents li {
    margin-bottom: 8px;
}

.contents a {
    color: #102a43;
    text-decoration: none;
}

.contents a:hover {
    color: #b08d57;
}


/* Article sections */

.legal-article section {
    padding: 35px 0;
    border-bottom: 1px solid #e1e5e8;
}

.legal-article section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.legal-article section p {
    max-width: 780px;
}

.legal-article li {
    margin-bottom: 10px;
}


/* Disclaimer */

.legal-disclaimer {
    margin-top: 40px;
    padding: 25px;
    background: #f7f8fa;
    border-left: 4px solid #102a43;
}

.legal-disclaimer p {
    margin-bottom: 0;
}


/* References */

.references {
    border-bottom: none !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #0d1826;
    color: white;
    padding: 35px 7%;
    text-align: center;
    border-top: 2px solid #b08d57;
}

footer p {
    margin: 0;
    color: #c6cbd1;
    font-size: 13px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 6%;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px 20px;
    }

    #home {
        padding: 90px 6%;
    }

    #home h1 {
        font-size: 42px;
    }

    section {
        padding: 70px 6%;
    }

    section h2 {
        font-size: 34px;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    #contact h2 {
        font-size: 38px;
    }

    .page-header {
        padding: 70px 6%;
    }

    .page-header h1 {
        font-size: 40px;
    }

    .legal-article {
        padding: 55px 6%;
    }

    .legal-article > h1 {
        font-size: 40px;
    }
}


@media (max-width: 480px) {

    nav {
        gap: 12px 16px;
    }

    nav a {
        font-size: 13px;
    }

    #home h1 {
        font-size: 36px;
    }

    #home p {
        font-size: 16px;
    }

    .contact-card {
        padding: 28px 24px;
    }

    #contact h2 {
        font-size: 34px;
    }
}

/* =========================
   THANK YOU PAGE
========================= */

.thank-you {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: #f5f1ea;
}

.thank-you-content {
    max-width: 700px;
    text-align: center;
    background: #ffffff;
    padding: 60px 50px;
    border-top: 4px solid #b08d57;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.thank-you-mark {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b08d57;
    border-radius: 50%;
    color: #b08d57;
    font-size: 32px;
    font-weight: bold;
}

.thank-you-label {
    color: #b08d57;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.thank-you-content h1 {
    color: #102a43;
    font-family: "Playfair Display", serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 16px;
}

.thank-you-note {
    margin-top: 15px;
    font-size: 14px !important;
}

.thank-you-content a {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 28px;
    background: #102a43;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.thank-you-content a:hover {
    background: #b08d57;
}


/* MOBILE */

@media (max-width: 768px) {

    .thank-you {
        padding: 60px 20px;
    }

    .thank-you-content {
        padding: 45px 25px;
    }

    .thank-you-content h1 {
        font-size: 32px;
    }

}
/* ================================
   LEGAL CORRESPONDENCE
================================ */

.legal-correspondence {
    padding: 80px 20px;
    background: #f5f1e8;
}

.correspondence-container {
    max-width: 800px;
    margin: 0 auto;
}

.correspondence-container h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 12px;
    color: #111827;
}

.correspondence-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

#legal-email-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

#legal-email-form label {
    display: block;
    margin-bottom: 8px;
    margin-top: 20px;
    font-weight: 600;
    color: #222;
}

#legal-email-form label:first-child {
    margin-top: 0;
}

#legal-email-form input,
#legal-email-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

#legal-email-form textarea {
    resize: vertical;
}

#legal-email-form input:focus,
#legal-email-form textarea:focus {
    outline: none;
    border-color: #b89b5e;
}

#legal-email-form button {
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    border: none;
    border-radius: 5px;
    background: #111827;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#legal-email-form button:hover {
    background: #b89b5e;
}