/* =========================================================
   RR LEGAL INFRA
   LEGAL SERVICES PAGE
========================================================= */


/* =========================================================
   LEGAL HERO
========================================================= */

.legal-hero {
    position: relative;

    background:
        linear-gradient(
            rgba(11, 25, 44, 0.88),
            rgba(11, 25, 44, 0.88)
        ),
        url("../images/legal.jpeg") center/cover no-repeat;

    min-height: 430px;

    display: flex;
    align-items: center;

    color: #fff;
}


.legal-hero-content {
    max-width: 760px;
    padding: 80px 0;
    
}


/* SMALL TITLE */

.legal-label {
    color: #c69b45;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 15px;

    text-transform: uppercase;
}


/* HERO HEADING */

.legal-hero h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 48px;

    line-height: 1.15;

    margin: 0 0 20px 0;

    font-weight: 700;
}


.legal-hero h2 span {
    display: block;

    color: #c69b45;
}


/* HERO TEXT */

.legal-hero p {
    max-width: 650px;

    font-size: 16px;

    line-height: 1.7;

    color: #e4e4e4;

    margin-bottom: 30px;
}


/* =========================================================
   BUTTONS
========================================================= */

.legal-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


.legal-btn-primary,
.legal-btn-secondary {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 13px 22px;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    text-decoration: none;

    transition: all 0.3s ease;
}


/* GOLD BUTTON */

.legal-btn-primary {
    background-color: #c69b45;

    color: #0b192c;

    border: 1px solid #c69b45;
}


.legal-btn-primary:hover {
    background-color: #fff;

    border-color: #fff;

    color: #0b192c;

    transform: translateY(-2px);
}


/* OUTLINE BUTTON */

.legal-btn-secondary {
    background-color: transparent;

    color: #fff;

    border: 1px solid #fff;
}


.legal-btn-secondary:hover {
    background-color: #fff;

    color: #0b192c;

    transform: translateY(-2px);
}


/* =========================================================
   LEGAL INTRO
========================================================= */

.legal-intro {
    background-color: #fff;

    padding: 80px 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.legal-section-heading {
    text-align: center;

    max-width: 800px;

    margin: 0 auto 50px auto;
}


.section-label {
    color: #b98b32;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.legal-section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;

    color: #0b192c;

    font-size: 36px;

    margin: 0 0 15px 0;
}


.legal-section-heading p {
    color: #666;

    font-size: 14px;

    line-height: 1.7;

    margin: 15px auto 0 auto;
}


.gold-line {
    width: 60px;

    height: 3px;

    background-color: #c69b45;

    margin: 0 auto;
}


/* =========================================================
   LEGAL SERVICES GRID
========================================================= */

.legal-services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.legal-service-card {
    background-color: #fff;

    border: 1px solid #e5e5e5;

    padding: 25px;

    display: flex;

    align-items: flex-start;

    gap: 18px;

    min-height: 155px;

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.legal-service-card:hover {
    transform: translateY(-5px);

    border-color: #c69b45;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   SERVICE ICON
========================================================= */

.legal-service-icon {
    min-width: 48px;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #0b192c;

    color: #c69b45;

    border-radius: 50%;

    font-size: 18px;

    transition: 0.3s;
}


.legal-service-card:hover .legal-service-icon {
    background-color: #c69b45;

    color: #0b192c;
}


/* =========================================================
   SERVICE NUMBER
========================================================= */

.legal-service-card span {
    display: block;

    color: #c69b45;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 4px;
}


/* =========================================================
   SERVICE TITLE
========================================================= */

.legal-service-card h3 {
    margin: 0 0 9px 0;

    color: #0b192c;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;

    line-height: 1.3;
}


/* =========================================================
   SERVICE DESCRIPTION
========================================================= */

.legal-service-card p {
    margin: 0;

    color: #666;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   LEGAL AWARENESS SECTION
========================================================= */

.legal-awareness {
    background-color: #f7f6f3;

    padding: 80px 0;
}


/* =========================================================
   3 IMAGE CARDS
   EXACTLY SAME WIDTH + SAME HEIGHT
========================================================= */

.legal-image-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    align-items: stretch;
}


/* =========================================================
   IMAGE CARD
========================================================= */

.legal-image-card {
    background-color: #fff;

    border: 1px solid #e4e4e4;

    border-radius: 4px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.legal-image-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMAGE WRAPPER

   All 3 image boxes have the EXACT SAME HEIGHT.
========================================================= */

.legal-image-wrapper {
    width: 100%;

    height: 570px;

    background-color: #f5f5f5;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


/* =========================================================
   IMAGE

   object-fit: contain means:
   - entire image visible
   - no cropping
   - same image box size
========================================================= */

.legal-image-wrapper img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;
}


/* =========================================================
   IMAGE CARD CONTENT
========================================================= */

.legal-image-content {
    padding: 20px;

    flex: 1;
}


.legal-image-content h3 {
    margin: 0 0 10px 0;

    color: #0b192c;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 19px;

    line-height: 1.3;
}


.legal-image-content p {
    margin: 0;

    color: #666;

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   ALTERNATIVE DISPUTE RESOLUTION
========================================================= */

.adr-section {
    background-color: #0b192c;

    color: #fff;

    padding: 80px 0;
}


.adr-grid {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 40px;

    align-items: center;
}


/* ADR ICON */

.adr-icon {
    width: 100px;

    height: 100px;

    border: 1px solid #c69b45;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #c69b45;

    font-size: 40px;
}


/* ADR CONTENT */

.adr-content .section-label {
    color: #c69b45;
}


.adr-content h2 {
    margin: 8px 0 15px 0;

    color: #fff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 34px;
}


.adr-content .gold-line {
    margin: 0 0 20px 0;
}


.adr-content p {
    max-width: 850px;

    color: #d9d9d9;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================================================
   ADR LIST
========================================================= */

.adr-list {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;
}


.adr-list div {
    color: #fff;

    font-size: 13px;

    display: flex;

    align-items: center;

    gap: 8px;
}


.adr-list i {
    color: #c69b45;
}


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

.legal-contact {
    background-color: #f7f6f3;

    padding: 75px 0;

    text-align: center;
}


.legal-contact-content {
    max-width: 750px;

    margin: 0 auto;
}


.legal-contact h2 {
    color: #0b192c;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 36px;

    margin: 8px 0 15px 0;
}


.legal-contact p {
    color: #666;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 25px;
}


.legal-contact .legal-buttons {
    justify-content: center;
}


/* DARK BUTTON */

.legal-btn-secondary.dark {
    color: #0b192c;

    border-color: #0b192c;
}


.legal-btn-secondary.dark:hover {
    background-color: #0b192c;

    color: #fff;
}


/* =========================================================
   FOOTER STRIP
   Only page-specific styling.
   Main footer styling can remain in styleCss.css.
========================================================= */

.footer-strip {
    background-color: #071322;

    color: #fff;

    padding: 30px 0;
}


.footer-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}


.footer-box {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}


.footer-box > i {
    color: #c69b45;

    font-size: 18px;

    margin-top: 3px;
}


.footer-box-content h5 {
    margin: 0 0 5px 0;

    font-size: 12px;

    color: #fff;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.footer-box-content p {
    margin: 0;

    color: #aaa;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1000px) {

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


    .legal-image-grid {
        grid-template-columns: repeat(3, 1fr);

        gap: 15px;
    }


    .legal-image-wrapper {
        height: 450px;
    }


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

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 700px) {

    .legal-hero {
        min-height: auto;
    }


    .legal-hero-content {
        padding: 60px 0;
    }


    .legal-hero h2 {
        font-size: 34px;
    }


    .legal-hero p {
        font-size: 14px;
    }


    .legal-intro,
    .legal-awareness,
    .adr-section,
    .legal-contact {
        padding: 60px 0;
    }


    .legal-section-heading h2 {
        font-size: 30px;
    }


    /* SERVICES */

    .legal-services-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .legal-service-card {
        min-height: auto;

        padding: 20px;
    }


    /* IMAGE CARDS */

    .legal-image-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    /*
       On mobile the images become full-width.
       Their complete content remains visible.
    */

    .legal-image-wrapper {
        height: auto;

        min-height: 0;
    }


    .legal-image-wrapper img {
        width: 100%;

        height: auto;

        object-fit: contain;
    }


    /* ADR */

    .adr-grid {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 25px;
    }


    .adr-icon {
        margin: 0 auto;
    }


    .adr-content .gold-line {
        margin: 0 auto 20px auto;
    }


    .adr-list {
        justify-content: center;
    }


    /* CONTACT */

    .legal-contact h2 {
        font-size: 30px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 450px) {

    .container {
        width: 92%;
    }


    .legal-hero h2 {
        font-size: 29px;
    }


    .legal-label {
        font-size: 10px;

        letter-spacing: 2px;
    }


    .legal-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .legal-btn-primary,
    .legal-btn-secondary {
        width: 100%;

        box-sizing: border-box;
    }


    .legal-section-heading h2 {
        font-size: 27px;
    }


    .legal-service-card {
        padding: 18px;
    }


    .legal-service-icon {
        min-width: 42px;

        width: 42px;

        height: 42px;

        font-size: 16px;
    }


    .legal-service-card h3 {
        font-size: 16px;
    }


    .legal-image-content {
        padding: 17px;
    }


    .legal-image-content h3 {
        font-size: 17px;
    }


    .adr-content h2 {
        font-size: 28px;
    }

}