/* GLOBAL */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#faf7f4;
    color:#333;
}

/* TOP BAR */

.top-bar{
    background:#4B1D5A;
    color:white;
    display:flex;
    justify-content:center;
    gap:40px;
    padding:12px;
    font-size:14px;
}

/* NAVBAR */

.navbar{
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo img{
    height:145px;
    width:auto;
}

.logo{
    background:white;
    padding:10px 15px;
    border-radius:12px;
}

.nav-links{
    display:flex;
    list-style:none;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#4B1D5A;
}

.consult-btn{
    background:#4B1D5A;
    color:white;
    text-decoration:none;
    padding:14px 24px;
    border-radius:10px;
}

/* HERO */

.hero{
    position:relative;
    height:85vh;
    background:url("images/hero.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding-left:10%;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.45);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:700px;
}

.hero-tag{
    display:inline-block;
    background:#D8B36A;
    color:white;
    padding:10px 18px;
    border-radius:30px;
    margin-bottom:20px;
    font-size:14px;
    font-weight:600;
}

.hero h1{
    font-size:64px;
    line-height:1.1;
    color:#4B1D5A;
    font-family:'Playfair Display',serif;
}

.hero h2{
    font-size:50px;
    color:#D8B36A;
    margin-top:10px;
    font-family:'Playfair Display',serif;
}

.hero p{
    margin-top:25px;
    line-height:1.8;
    font-size:19px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:35px;
}

.primary-btn{
    background:#4B1D5A;
    color:white;
    text-decoration:none;
    border:none;
    padding:16px 30px;
    border-radius:10px;
    cursor:pointer;
}

.secondary-btn{
    border:2px solid #4B1D5A;
    color:#4B1D5A;
    text-decoration:none;
    padding:16px 30px;
    border-radius:10px;
}

/* SERVICES */

.services{
    padding:100px 8%;
}

.services h2{
    text-align:center;
    font-size:52px;
    margin-bottom:60px;
    color:#4B1D5A;
    font-family:'Playfair Display',serif;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:white;
    padding:40px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:55px;
    color:#4B1D5A;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
    color:#4B1D5A;
}

/* WHY US */

.why-us{
    background:#4B1D5A;
    color:white;
    padding:100px 8%;
}

.why-us h2{
    text-align:center;
    font-size:52px;
    margin-bottom:50px;
    font-family:'Playfair Display',serif;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.why-box{
    background:rgba(255,255,255,.1);
    padding:30px;
    border-radius:18px;
}

.why-box h3{
    margin-bottom:12px;
}

/* ABOUT */

.about{
    padding:100px 8%;
    background:white;
}

.about-banner{
    position:relative;
}

.about-banner img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:25px;
}

.about-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    border-radius:25px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;
    padding:40px;
}

.about-overlay h2{
    font-size:58px;
    font-family:'Playfair Display',serif;
    margin-bottom:20px;
}

.about-overlay p{
    max-width:800px;
    line-height:1.8;
}

.about-tag{
    background:#D8B36A;
    padding:10px 18px;
    border-radius:30px;
    margin-bottom:20px;
}

/* LOCATIONS */

.locations{
    padding:100px 8%;
    text-align:center;
}

.locations h2{
    font-size:52px;
    color:#4B1D5A;
    margin-bottom:25px;
    font-family:'Playfair Display',serif;
}

.location-card{
    max-width:800px;
    margin:40px auto 0;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* CONSULTATION */

.consultation{
    background:white;
    padding:100px 8%;
}

.consultation h2{
    text-align:center;
    color:#4B1D5A;
    font-size:52px;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;
}

.consultation form{
    max-width:800px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.consultation input,
.consultation textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.consultation h3{
    margin-top:20px;
    color:#4B1D5A;
}

.consultation label{
    display:block;
    margin-top:5px;
}

/* FOOTER */

footer{
    background:#341041;
    color:white;
    text-align:center;
    padding:50px 20px;
}

footer p{
    margin-top:10px;
}

/* MOBILE */

@media(max-width:900px){

    .service-grid,
    .why-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:42px;
    }

    .hero h2{
        font-size:34px;
    }

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .top-bar{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
}

.county-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:40px;
}

.county-card{
    background:white;
    padding:20px;
    border-radius:15px;
    text-align:center;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.statewide-box{
    margin-top:40px;
    background:#4B1D5A;
    color:white;
    padding:35px;
    border-radius:20px;
    text-align:center;
}

.card ul{
    list-style:none;
    margin-top:20px;
    text-align:left;
    padding-left:10px;
}

.card li{
    margin:12px 0;
    font-size:15px;
}

.card li i{
    color:#D8B36A;
    margin-right:10px;
}

.card p{
    margin-top:15px;
    line-height:1.7;
}

.services{
    padding:100px 8%;
    text-align:center;
}

.section-tag{
    background:#D8B36A;
    color:white;
    padding:10px 20px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
}

.services h2{
    margin-top:20px;
    font-size:55px;
    color:#4B1D5A;
    font-family:'Playfair Display',serif;
}

.section-text{
    max-width:700px;
    margin:20px auto 50px;
    color:#666;
    line-height:1.8;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.card{
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:55px;
    color:#4B1D5A;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
    color:#4B1D5A;
}

.service-tags{
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
}

.service-tags span{
    background:#f4ede6;
    color:#4B1D5A;
    padding:8px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:500;
}

.locations{
    padding:100px 8%;
    text-align:center;
    background:#faf7f4;
}

.locations-intro{
    max-width:800px;
    margin:20px auto 40px;
    line-height:1.8;
}

.county-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    margin-top:50px;
}

@media(max-width:900px){

    .county-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .county-grid{
        grid-template-columns:1fr;
    }

}

.county-card{
    background:white;
    padding:25px;
    border-radius:16px;
    text-align:center;
    font-weight:600;
    box-shadow:0 10px 25px rgba(0,0,0,.08);

    display:flex;
    align-items:center;
    justify-content:center;
    min-height:90px;

    transition:.3s;
}

.county-card:hover{
    transform:translateY(-5px);
}

.statewide-box{
    margin-top:50px;
    background:#4B1D5A;
    color:white;
    padding:45px;
    border-radius:25px;
}

.statewide-box i{
    font-size:45px;
    color:#D8B36A;
    margin-bottom:20px;
}

.statewide-box h3{
    margin-bottom:15px;
    font-size:30px;
}

.statewide-box .primary-btn{
    display:inline-block;
    margin-top:25px;
}

/* FADE UP ANIMATIONS */

.hidden{
    opacity:0;
    transform:translateY(50px);
    transition:all 1s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Stagger service cards */

.service-grid .card:nth-child(2){
    transition-delay:.2s;
}

.service-grid .card:nth-child(3){
    transition-delay:.4s;
}

/* Stagger county cards */

.county-card:nth-child(2){transition-delay:.1s;}
.county-card:nth-child(3){transition-delay:.2s;}
.county-card:nth-child(4){transition-delay:.3s;}
.county-card:nth-child(5){transition-delay:.4s;}
.county-card:nth-child(6){transition-delay:.5s;}
.county-card:nth-child(7){transition-delay:.6s;}
.county-card:nth-child(8){transition-delay:.7s;}

.section-text{
    max-width:750px;
    margin:20px auto 50px;
    text-align:center;
    line-height:1.8;
    color:#666;
}

.service-tags{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:20px;
}

.service-tags span{
    background:#f5eee8;
    color:#4B1D5A;
    padding:8px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.card{
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.thank-you{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#faf7f4;
    padding:40px;
}

.thank-you-box{
    background:white;
    padding:60px;
    border-radius:25px;
    text-align:center;
    max-width:600px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.thank-you-box h1{
    color:#4B1D5A;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;
    font-size:52px;
}

.thank-you-box p{
    margin-bottom:15px;
    line-height:1.8;
}

@media (max-width: 768px){

    .hero{
        padding:40px 25px;
    }

}

@media (max-width: 768px){

    .hero h1{
        font-size:42px;
        line-height:1.1;
    }

    .hero h2{
        font-size:32px;
    }

}

@media (max-width:768px){

    .nav-links{
        gap:15px;
    }

    .nav-links a{
        font-size:15px;
    }

}

@media (max-width:768px){

    .top-bar{
        display:none;
    }

}

@media (max-width:768px){

    .logo img{
        height:90px;
    }

    .navbar{
        padding:15px 20px;
    }

}

@media (max-width:768px){

    .hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

}

@media (max-width:768px){

    .about-overlay{
        padding:25px;
    }

    .about-overlay p{
        font-size:15px;
        line-height:1.7;
    }

}

@media (max-width:768px){

    .about-overlay h2{
        font-size:48px;
        line-height:1.1;
    }

}

/* TESTIMONIALS */

.testimonials{
    padding:100px 8%;
    text-align:center;
    background:white;
}

.testimonials h2{
    font-size:52px;
    color:#4B1D5A;
    margin-top:20px;
    font-family:'Playfair Display',serif;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:50px;
}

.testimonial-card{
    background:#faf7f4;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
}

.testimonial-card p{
    font-style:italic;
    line-height:1.8;
    color:#555;
}

.testimonial-card h4{
    margin-top:20px;
    color:#4B1D5A;
}

.map-section{
    margin-top:50px;
    background:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.map-section h3{
    text-align:center;
    color:#4B1D5A;
    margin-bottom:20px;
    font-size:28px;
    font-family:'Playfair Display', serif;
}

.map-section iframe{
    border-radius:15px;
}

.map-section{
    max-width:1200px;
    margin:60px auto;
    padding:30px;
    background:white;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.map-section h3{
    text-align:center;
    color:#4B1D5A;
    font-size:42px;
    margin-bottom:15px;
    font-family:'Playfair Display', serif;
}

.map-text{
    max-width:700px;
    margin:0 auto 30px;
    text-align:center;
    color:#666;
    line-height:1.8;
    font-size:17px;
}

.map-section iframe{
    width:100%;
    height:450px;
    border:none;
    border-radius:20px;
}

.top-bar a{
    color:white;
    text-decoration:none;
}

.top-bar a:hover{
    text-decoration:underline;
}

/* MOBILE STYLES */
@media (max-width: 768px) {

    .top-bar{
        display:flex;
        flex-direction:column;
        gap:8px;
        text-align:center;
        padding:10px;
        font-size:13px;
    }

}

.faq{
    padding:100px 8%;
    text-align:center;
    background:white;
}

.faq h2{
    color:#4B1D5A;
    font-size:52px;
    margin:20px 0 50px;
    font-family:'Playfair Display',serif;
}

.faq-container{
    max-width:900px;
    margin:auto;
    display:grid;
    gap:25px;
}

.faq-item{
    background:#faf7f4;
    padding:30px;
    border-radius:20px;
    text-align:left;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

.faq-item h3{
    color:#4B1D5A;
    margin-bottom:10px;
}

.back-to-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:55px;
    height:55px;
    background:#4B1D5A;
    color:white;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    z-index:999;
    transition:.3s;
}

.back-to-top:hover{
    transform:translateY(-4px);
}

.footer a{
    color:white;
    text-decoration:none;
}

.footer a:hover{
    color:#E4B85A;
}

.top-bar a{
    color:white;
    text-decoration:none;
}

.top-bar a:hover{
    color:#E4B85A;
}