@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {

    --primary: #7b1e3a;
    --secondary: #a52a4e;

    --dark: #1f1f1f;
    --light: #f7f9fc;
    --white: #ffffff;
    --text: #555;

    --shadow: 0 10px 30px rgba(0,0,0,0.08);

}

/* RESET */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* CONTAINER */

.container{
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

/* SECTION */

.section{
    padding: 100px 0;
}

/* NAVBAR */

.navbar{
    background: #f8f2f4;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */

.logo{
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo img{
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.logo-text h2{
    font-size: 21px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* NAVIGATION */

.nav-links{
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a{
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover{
    color: var(--secondary);
}

.nav-links a::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -7px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-links a:hover::after{
    width: 100%;
}

/* MOBILE MENU */

.menu-toggle{
    display: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
}

/* HERO */

.hero{
    min-height: 92vh;
    display: flex;
    align-items: center;
    background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('../images/legal-bg.jpg') center/cover;
    color: white;
}

.hero-content{
    max-width: 750px;
}

.hero-tag{
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.hero h1{
    font-size: 65px;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero p{
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 650px;
}

/* BUTTONS */

.hero-buttons{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn{
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn:hover{
    transform: translateY(-3px);
    background: var(--secondary);
}

.btn-outline{
    background: transparent;
    border: 2px solid white;
}

.btn-outline:hover{
    background: white;
    color: var(--dark);
}

/* SECTION TITLES */

.section-title{
    text-align: center;
    margin-bottom: 65px;
}

.section-mini-title{
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title h2{
    font-size: 45px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p{
    max-width: 650px;
    margin: auto;
}

/* PAGE HERO */

.page-hero{
    padding: 140px 0;
    text-align: center;
    background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('../images/legal-bg.jpg') center/cover;
    color: white;
}

.page-hero-content{
    max-width: 850px;
    margin: auto;
}

.page-hero h1{
    font-size: 58px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-hero p{
    font-size: 18px;
}

/* STATS */

.stats-section{
    background: white;
    padding: 70px 0;
}

.stats-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
}

.stat-box{
    background: var(--light);
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    transition: 0.3s;
}

.stat-box:hover{
    transform: translateY(-7px);
}

.stat-box h2{
    color: var(--primary);
    font-size: 48px;
    margin-bottom: 10px;
}

/* ABOUT */

.about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-grid img{
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-content h2{
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 25px;
}

.about-content p{
    margin-bottom: 20px;
}

/* LIGHT BG */

.bg-light{
    background: #f3f6fa;
}

/* CARDS */

.cards,
.why-grid,
.team-grid,
.resource-grid,
.practice-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 30px;
}

.card,
.why-box,
.team-card,
.resource-card,
.practice-card{
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.card:hover,
.why-box:hover,
.team-card:hover,
.resource-card:hover,
.practice-card:hover{
    transform: translateY(-8px);
}

.card i,
.why-box i{
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 25px;
}

/* PRACTICE ICON */

.practice-icon,
.resource-icon,
.contact-icon{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

/* TEAM */

.team-card{
    overflow: hidden;
}

.team-image img,
.team-card img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.team-content{
    padding-top: 25px;
}

.team-content span{
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 18px;
}

/* CONTACT */

.contact-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item{
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.contact-form-box{
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group{
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: var(--primary);
}

/* MAP */

.map-box{
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* CTA */

.cta-section{
    padding: 110px 0;
    text-align: center;
    color: white;
    background:
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url('../images/legal-bg.jpg') center/cover;
}

.cta-content{
    max-width: 750px;
    margin: auto;
}

.cta-content h2{
    font-size: 52px;
    margin-bottom: 20px;
}

.cta-content p{
    font-size: 18px;
    margin-bottom: 35px;
}

/* FOOTER */

.footer{
    background: #111;
    color: white;
    padding: 80px 0 30px;
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 50px;
}

.footer h3{
    color: var(--primary);
    margin-bottom: 20px;
}

.footer p,
.footer a{
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer a:hover{
    color: white;
}

.footer-bottom{
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* MOBILE */

@media(max-width: 992px){

    .menu-toggle{
        display: block;
    }

    .nav-container{
        position: relative;
    }

    .nav-links{
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        z-index: 999;
    }

    .nav-links.active{
        display: flex;
    }

    .nav-links a{
        width: 100%;
        padding-bottom: 12px;
        border-bottom: 1px solid #eee;
    }

    .hero h1{
        font-size: 48px;
    }

    .about-grid,
    .contact-wrapper{
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px){

    .section{
        padding: 70px 0;
    }

    .hero{
        text-align: center;
    }

    .hero h1{
        font-size: 38px;
    }

    .hero p{
        font-size: 16px;
    }

    .hero-buttons{
        flex-direction: column;
    }

    .hero-buttons .btn{
        width: 100%;
        text-align: center;
    }

    .section-title h2,
    .page-hero h1,
    .cta-content h2{
        font-size: 36px;
    }

    .logo-text h2{
        font-size: 16px;
    }

    .cards,
    .why-grid,
    .team-grid,
    .resource-grid,
    .practice-grid{
        grid-template-columns: 1fr;
    }
}