/* =====================================================
   RR LEGAL INFRA
   MAIN / GLOBAL WEBSITE STYLES
===================================================== */


/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {
    --navy: #0b192c;
    --navy-dark: #07101d;
    --gold: #c5a059;
    --gold-hover: #d5b36c;

    --white: #ffffff;
    --background: #f9f9f9;

    --text-dark: #0b192c;
    --text-main: #555555;
    --text-light: #777777;

    --border: #eaeaea;

    --container-width: 1200px;

    --transition: 0.3s ease;
}


/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    color: #333333;
    background-color: var(--background);

    line-height: 1.6;

    overflow-x: hidden;
}


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


a {
    text-decoration: none;
    color: inherit;
}


ul,
ol {
    list-style: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    cursor: pointer;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =====================================================
   TOP BAR
===================================================== */

.top-bar {
    background-color: var(--navy);

    color: var(--white);

    font-size: 13px;

    padding: 8px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);
}


.top-bar .container {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 20px;
}


.top-bar-item {
    display: flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;
}


.top-bar-item i {
    color: var(--gold);
}


.social-icons a {
    color: var(--white);

    margin-left: 10px;

    transition: color var(--transition);
}


.social-icons a:hover {
    color: var(--gold);
}


.btn-consultation-top {
    background-color: var(--gold);

    color: var(--navy);

    padding: 4px 12px;

    font-weight: 600;

    font-size: 11px;

    text-transform: uppercase;

    border-radius: 2px;

    margin-left: 10px;

    transition:
        background-color var(--transition),
        transform var(--transition);
}


.btn-consultation-top:hover {
    background-color: var(--gold-hover);

    transform: translateY(-1px);
}


/* =====================================================
   MAIN NAVIGATION
===================================================== */

.navbar {
    background-color: var(--navy);

    padding: 15px 0;

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3);
}


.navbar .container {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


.logo-icon img {
    width: 50px;
    height: 50px;

    object-fit: contain;
}


.logo-text h1 {
    color: var(--white);

    font-size: 18px;

    letter-spacing: 1px;

    font-weight: 700;

    line-height: 1.2;
}


.logo-text span {
    color: var(--gold);

    font-size: 10px;

    letter-spacing: 2px;

    display: block;

    text-transform: uppercase;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.nav-links {
    display: flex;

    gap: 20px;

    align-items: center;
}


.nav-links a {
    color: var(--white);

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        color var(--transition),
        background-color var(--transition);
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}


.search-icon {
    color: var(--white);

    cursor: pointer;
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    background-color: transparent;

    border:
        1px solid rgba(255, 255, 255, 0.25);

    border-radius: 3px;

    color: var(--white);

    font-size: 18px;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}


.menu-toggle:hover {
    background-color: var(--gold);

    border-color: var(--gold);

    color: var(--navy);
}


/* =====================================================
   HOMEPAGE HERO
===================================================== */

.hero {
    position: relative;

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

    color: var(--white);

    padding: 80px 0 100px;
}


.hero-content {
    max-width: 650px;
}


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

    font-size: 42px;

    line-height: 1.2;

    font-weight: 700;

    margin-bottom: 10px;
}


.hero h2 span {
    color: var(--gold);
}


.hero p {
    font-size: 14px;

    color: #cccccc;

    margin-bottom: 30px;
}


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

.contact-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


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

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 12px 24px;

    font-weight: 700;

    font-size: 12px;

    text-transform: uppercase;

    border-radius: 2px;

    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}


.btn-primary {
    background-color: var(--gold);

    color: var(--navy);

    border: 1px solid var(--gold);
}


.btn-primary:hover {
    background-color: var(--gold-hover);

    border-color: var(--gold-hover);

    transform: translateY(-2px);
}


.btn-secondary {
    background-color: transparent;

    color: var(--white);

    border: 1px solid var(--white);
}


.btn-secondary:hover {
    background-color: var(--white);

    color: var(--navy);

    transform: translateY(-2px);
}


.btn-dark {
    background-color: var(--navy);

    color: var(--white);

    border: 1px solid var(--navy);

    padding: 10px 20px;

    font-size: 11px;
}


.btn-dark:hover {
    background-color: transparent;

    color: var(--navy);

    transform: translateY(-2px);
}


/* =====================================================
   HERO CATEGORIES STRIP
===================================================== */

.hero-categories {
    background-color: var(--navy-dark);

    border-top:
        1px solid rgba(197, 160, 89, 0.3);

    padding: 15px 0;
}


.hero-categories .container {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.category-item {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--white);

    font-size: 13px;

    font-weight: 600;
}


.category-item i {
    color: var(--gold);

    font-size: 16px;
}


/* =====================================================
   FEATURED CARDS
===================================================== */

.featured-cards {
    padding: 50px 0;

    margin-top: -30px;

    position: relative;

    z-index: 10;
}


.cards-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 15px;
}


.card {
    background-color: var(--white);

    border-radius: 4px;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


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

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


.card img {
    width: 100%;

    height: 120px;

    object-fit: cover;
}


.card-body {
    padding: 15px;

    flex-grow: 1;

    display: flex;

    flex-direction: column;
}


.card-title {
    font-size: 12px;

    font-weight: 700;

    color: var(--navy);

    margin-bottom: 8px;

    text-transform: uppercase;
}


.card-text {
    font-size: 11px;

    color: #666666;

    margin-bottom: 15px;

    line-height: 1.4;

    flex-grow: 1;
}


.card-link {
    font-size: 10px;

    font-weight: 700;

    color: var(--navy);

    text-transform: uppercase;

    display: flex;

    align-items: center;

    gap: 5px;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about-section {
    padding: 60px 0;

    background-color: var(--white);
}


.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: clamp(40px, 8vw, 120px);

    align-items: center;
}


.about-text .sub-heading {
    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: #888888;

    font-weight: 700;

    margin-bottom: 5px;
}


.about-text h2 {
    font-size: 26px;

    color: var(--navy);

    margin-bottom: 15px;

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


.about-text p {
    font-size: 13px;

    color: var(--text-main);

    margin-bottom: 20px;
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    background-color: #fcfcfc;

    padding: 20px;

    border: 1px solid #eeeeee;
}


.stat-item {
    text-align: left;
}


.stat-item i {
    font-size: 24px;

    color: var(--navy);

    margin-bottom: 8px;
}


.stat-number {
    font-size: 22px;

    font-weight: 700;

    color: var(--navy);
}


.stat-label {
    font-size: 11px;

    color: var(--text-light);
}


.about-image img {
    width: 100%;

    height: auto;

    border-radius: 4px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.1);
}


/* =====================================================
   SERVICES SECTION
===================================================== */

.services-section {
    padding: 60px 0;

    background-color: var(--background);

    text-align: center;
}


.section-title {
    font-size: 18px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--navy);

    font-weight: 700;

    margin-bottom: 40px;

    position: relative;
}


.services-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 30px;
}


.service-card {
    background-color: var(--white);

    padding: 25px 15px;

    border: 1px solid var(--border);

    border-radius: 4px;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


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

    border-color:
        rgba(197, 160, 89, 0.5);

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.05);
}


.service-card i {
    font-size: 30px;

    color: var(--navy);

    margin-bottom: 15px;
}


.service-card h4 {
    font-size: 12px;

    color: var(--navy);

    font-weight: 600;
}


/* =====================================================
   PROCESS & WHY CHOOSE US
===================================================== */

.info-section {
    padding: 60px 0;

    background-color: var(--white);

    border-top:
        1px solid #eeeeee;
}


.info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 50px;
}


.process-title,
.why-title {
    font-size: 14px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--navy);

    margin-bottom: 30px;
}


/* PROCESS FLOW */

.process-flow {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    text-align: center;

    position: relative;
}


.process-step {
    display: flex;

    flex-direction: column;

    align-items: center;

    position: relative;
}


.process-icon {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    border:
        1px dashed #aaaaaa;

    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 8px;

    background-color: var(--white);

    font-size: 16px;

    color: var(--navy);
}


.process-step span {
    font-size: 10px;

    font-weight: 600;

    color: #444444;

    line-height: 1.2;
}


/* WHY CHOOSE US */

.why-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px 20px;
}


.why-item {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    color: #444444;
}


.why-item i {
    color: var(--gold);

    font-size: 14px;
}


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

.footer-strip {
    background-color: var(--navy);

    color: var(--white);

    padding: 25px 0;
}


.footer-grid {
    display: grid;

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

    gap: 20px;
}


.footer-box {
    display: flex;

    align-items: center;

    gap: 15px;

    border-right:
        1px solid rgba(255, 255, 255, 0.1);

    padding-right: 15px;
}


.footer-box:last-child {
    border-right: none;
}


.footer-box i {
    font-size: 24px;

    color: var(--gold);

    flex-shrink: 0;
}


.footer-box-content h5 {
    font-size: 11px;

    text-transform: uppercase;

    color: var(--white);

    letter-spacing: 0.5px;
}


.footer-box-content p {
    font-size: 10px;

    color: #aaaaaa;

    margin-bottom: 4px;
}


.footer-box-content a {
    font-size: 10px;

    color: var(--gold);

    font-weight: 700;

    text-transform: uppercase;
}


.footer-copyright {
    margin-top: 25px;

    padding-top: 18px;

    border-top:
        1px solid rgba(255, 255, 255, 0.1);

    text-align: center;
}


.footer-copyright p {
    margin: 0;

    color: #888888;

    font-size: 11px;
}


/* =====================================================
   LARGE LAPTOP / SMALL DESKTOP
===================================================== */

@media (max-width: 1100px) {

    .nav-links {
        gap: 14px;
    }


    .nav-links a {
        font-size: 11px;
    }


    .cards-grid,
    .services-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =====================================================
   TABLET & MOBILE NAVIGATION
===================================================== */

@media (max-width: 992px) {

    .navbar {
        position: relative;
    }


    .navbar .container {
        position: relative;

        min-height: 70px;
    }


    .menu-toggle {
        display: inline-flex;
    }


    .nav-links {
        display: none;

        position: absolute;

        top: 100%;

        left: 0;
        right: 0;

        width: 100%;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background-color: var(--navy);

        border-top:
            1px solid rgba(255, 255, 255, 0.1);

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.25);

        z-index: 999;
    }


    .nav-links.active {
        display: flex;
    }


    .nav-links a {
        display: flex;

        align-items: center;

        min-height: 52px;

        padding: 14px 20px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        font-size: 12px;

        transition:
            background-color var(--transition),
            color var(--transition);
    }


    .nav-links a:hover,
    .nav-links a.active {
        background-color:
            rgba(197, 160, 89, 0.12);

        color: var(--gold);
    }


    .about-grid,
    .info-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


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


    .footer-box:nth-child(2) {
        border-right: none;
    }

}


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

@media (max-width: 768px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }


    .hero {
        padding: 70px 0 80px;
    }


    .hero h2 {
        font-size: 36px;
    }


    .hero-categories .container {
        flex-wrap: wrap;

        justify-content: center;
    }


    .category-item {
        font-size: 12px;
    }


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


    .process-flow {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        row-gap: 25px;
    }


    .footer-box {
        border-right: none;

        padding-right: 0;
    }

}


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

@media (max-width: 600px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    .top-bar .container {
        justify-content: center;

        flex-wrap: wrap;

        gap: 6px 15px;

        text-align: center;
    }


    .top-bar-item {
        font-size: 11px;
    }


    .navbar {
        padding: 10px 0;
    }


    .navbar .container {
        min-height: 60px;
    }


    .logo {
        gap: 9px;
    }


    .logo-icon img {
        width: 45px;
        height: 45px;
    }


    .logo-text h1 {
        font-size: 16px;
    }


    .logo-text span {
        font-size: 8px;

        letter-spacing: 1.5px;
    }


    .menu-toggle {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }


    .hero {
        padding: 60px 0 70px;
    }


    .hero h2 {
        font-size: 30px;
    }


    .hero p {
        font-size: 13px;
    }


    .contact-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .contact-buttons a {
        width: 100%;
    }


    .hero-categories .container {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }


    .category-item {
        justify-content: center;
    }


    .featured-cards {
        margin-top: 0;

        padding: 40px 0;
    }


    .cards-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }


    .about-section,
    .services-section,
    .info-section {
        padding: 50px 0;
    }


    .section-title {
        margin-bottom: 30px;
    }


    .about-text h2 {
        font-size: 24px;
    }


    .info-grid {
        gap: 40px;
    }


    .process-flow {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .why-list {
        grid-template-columns: 1fr;
    }


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

        gap: 18px;
    }


    .footer-box {
        align-items: flex-start;
    }

}


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

@media (max-width: 380px) {

    .top-bar-item {
        font-size: 10px;
    }


    .logo-icon img {
        width: 38px;
        height: 38px;
    }


    .logo-text h1 {
        font-size: 13px;
    }


    .logo-text span {
        font-size: 7px;

        letter-spacing: 1px;
    }


    .menu-toggle {
        width: 38px;
        height: 38px;

        font-size: 15px;
    }


    .hero h2 {
        font-size: 27px;
    }


    .hero-categories .container {
        grid-template-columns: 1fr;
    }


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

}