/* ==========================================================================

           Reset and Base Styles

           ========================================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: "Avenir", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    line-height: 1.6;

    color: #333;

    background: #ffffff;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



/* ==========================================================================

           Header and Navigation

           ========================================================================== */

header {

    background: #fff;

    padding: 0.75rem 0;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

    position: sticky;

    top: 0;

    z-index: 1000;

}



nav {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo {

    width: 250px;
    height: auto;

}



.nav-menu {

    display: flex;

    gap: 2.5rem;

    list-style: none;

    align-items: center;

}



.nav-menu a {

    color: #666;

    text-decoration: none;

    font-size: 0.95rem;

    transition: color 0.3s;

}



.nav-menu a:hover {

    color: #333;

}



.login-btn {

    background: #333;

    color: #fff !important;

    padding: 8px 20px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 0.9rem;

    transition: background 0.3s;

}



.login-btn:hover {

    background: #555;

}



.hamburger {

    display: none;

    flex-direction: column;

    cursor: pointer;

}



.hamburger span {

    width: 25px;

    height: 2px;

    background: #333;

    margin: 4px 0;

    transition: 0.3s;

}



/* ==========================================================================

           Hero Section with Quote Form - CORRECTED DESIGN

           ========================================================================== */

.hero {

    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    margin-top: 20px;
    padding: 80px 0;
    border-radius: 25px;
    position: relative;

    overflow: hidden;

}



.hero-content {

    display: flex;

    flex-direction: row;

    gap: 4rem;
    justify-content: space-between;
    align-items: center;

    position: relative;

    z-index: 1;

}



.hero-text {

    color: #fff;
    margin-left: 60px;
}



.hero-text h1 {

    font-family: 'Rock Salt', cursive;

    font-size: 2.2rem;

    font-weight: 400;

    line-height: 1.4;

    margin-bottom: 1.5rem;

    color: #fff;

}



.hero-text p {

    font-size: 0.95rem;

    opacity: 0.9;

    line-height: 1.7;

    margin-bottom: 2rem;

}



/* Quote Form - NO BOX, just the input field */

.quote-form-wrapper {

    margin-bottom: 2rem;

}



.quote-input-group {

    position: relative;

    max-width: 400px;

}



.quote-input {

    width: 100%;

    padding: 14px 120px 14px 20px;

    border: none;

    border-radius: 30px;

    background: #fff;

    font-size: 0.95rem;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}



.quote-submit {

    position: absolute;

    right: 5px;

    top: 50%;

    transform: translateY(-50%);

    background: #333;

    color: #fff;

    padding: 10px 28px;

    border: none;

    border-radius: 25px;

    font-size: 0.9rem;

    cursor: pointer;

    transition: background 0.3s;

}



.quote-submit:hover {

    background: #555;

}







.hero-features {

    display: flex;

    gap: 3rem;

    margin-top: 3rem;

}



.hero-feature {

    text-align: center;

    color: #fff;

}



.feature-icon-circle {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    border: 2px solid rgba(255, 255, 255, 0.3);

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 12px;

    font-size: 1.3rem;

}

.feature-icon-circle img {

    width: 30px;

    height: 30px;

    object-fit: contain;

}



.hero-feature-text {

    font-size: 0.8rem;

    opacity: 0.9;

    line-height: 1.3;

}



.hero-image {

    position: relative;
    /* background-color: #4CAF50; */
    margin-right: -40px;

}


.hero-image::before {

    content: '" ';

    position: absolute;

    top: -30px;

    left: -20px;

    font-size: 8rem;

    color: rgba(255, 255, 255, 0.1);

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, serif;

    line-height: 1;

    z-index: 1;

}



.hero-image::after {

    content: '"';

    position: absolute;

    bottom: -30px;

    right: -20px;

    font-size: 8rem;

    color: rgba(255, 255, 255, 0.1);

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, serif;

    line-height: 1;

    transform: rotate(180deg);

    z-index: 1;

}



.image-gradient-wrapper {


    overflow: hidden;


}



.hero-image img {

    width: 100%;

    display: block;
    object-fit: contain;

    position: relative;

    z-index: 0;

}


.family-testimonial {
    font-family: "Avenir";
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 1px;

    position: absolute;

    top: 0px;

    left: 40px;

    /* background: rgba(0, 0, 0, 0.7); */

    color: #fff;

    padding: 8px 16px;

    border-radius: 4px;

    font-size: 0.75rem;

    z-index: 2;

}


.family-label {
    font-family: "Avenir";
    font-weight: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;

    bottom: 20px;

    right: 20px;

    /* background: rgba(0, 0, 0, 0.7); */

    color: #fff;

    padding: 8px 16px;

    border-radius: 4px;

    font-size: 0.5rem;

    z-index: 2;

}




/* ==========================================================================

           Insurance Categories

           ========================================================================== */

.categories {

    padding: 80px 0;


}



.categories-icons {

    display: flex;

    justify-content: center;

    gap: 4rem;

    margin-bottom: 60px;

    flex-wrap: wrap;

}



.category-icon-item {

    text-align: center;

    text-decoration: none;

    color: #666;

    transition: transform 0.3s;

}



.category-icon-item:hover {

    transform: translateY(-5px);

}



.category-icon-img {

    width: 50px;

    height: 50px;

    margin-bottom: 10px;

    opacity: 0.7;

}



.category-icon-label {

    font-size: 0.85rem;

    color: #666;

}



.categories-cards {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

}



.category-card {
    background-color: transparent;
    background-image: url('../img/sketch_0002_Layer\ 1.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* Changed to cover for better responsiveness */
    background-position: center; /* Changed to center for better alignment */
    padding: 2rem;
    padding-top: 25rem;
    text-align: center;

}

.categories-cards .category-card:nth-child(1) {
    background-image: url('../img/sketch_0002_Layer\ 1.jpg');

}

.categories-cards .category-card:nth-child(2) {
    background-image: url('../img/sketch_0000_Layer\ 3.jpg');


}

.categories-cards .category-card:nth-child(3) {
    background-image: url('../img/sketch_0001_Layer\ 2.jpg');

}




.category-illustration {

    width: 100%;

    height: 180px;

    margin-bottom: 1.5rem;

    border-radius: 8px;

    background: #f5f3f0;

    display: flex;

    align-items: center;

    justify-content: center;

}



.category-illustration img {

    width: 90%;

    height: 90%;

    object-fit: contain;

    opacity: 0.8;

}



.category-title {

    font-size: 1.3rem;

    color: #333;

    margin-bottom: 0.5rem;

    font-family: serif;

    font-style: italic;

}



.category-subtitle {

    font-size: 0.85rem;

    color: #888;

    text-transform: uppercase;

    letter-spacing: 1px;

}



/* ==========================================================================

           Mobile App Section

           ========================================================================== */

.mobile-app {

    padding: 80px 0;

    background: #fff;

}



.mobile-app-content {

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 4rem;

    align-items: center;

}



.phone-mockup {

    text-align: center;

}



.phone-mockup img {

    max-width: 280px;

    width: 100%;

}



.app-info h2 {
    font-family: "Libre Caslon Text", serif;
    font-weight: 400;
    line-height: 1;
    font-style: normal;
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;


}



.app-info p {

    color: #666;

    margin-bottom: 2rem;

}



.app-features {

    list-style: none;

    margin-bottom: 2rem;

}



.app-features li {

    padding: 10px 0;

    padding-left: 30px;

    position: relative;

    color: #666;

}



.app-features li::before {

    content: '✓';

    position: absolute;

    left: 0;

    color: #4CAF50;

    font-weight: bold;

}



.app-buttons {

    display: flex;

    gap: 1rem;

}



.app-btn {

    padding: 12px 28px;

    border-radius: 25px;

    text-decoration: none;

    font-size: 0.95rem;

    transition: all 0.3s;

}



.app-btn.android {

    background: #fff;

    color: #333;

    border: 2px solid #333;

}



.app-btn.ios {

    background: #333;

    color: #fff;

    border: 2px solid #333;

}



.app-btn:hover {

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);

}



/* ==========================================================================

           Business Section

           ========================================================================== */

.business-section {

    background: #4a5568;

    color: #fff;

    padding: 80px 0;

}



.business-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;

}



.business-text h2 {
    font-family: "Libre Caslon Text", serif;
    font-weight: 300;
    font-size: 2rem;


    font-weight: 300;

}



.business-text p {
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;

}



.liability-quote-btn {

    background: transparent;

    color: #fff;

    padding: 12px 28px;

    border: 2px solid #fff;

    border-radius: 25px;

    text-decoration: none;

    display: inline-block;

    transition: all 0.3s;

}



.liability-quote-btn:hover {

    background: #fff;

    color: #4a5568;

}



.business-image {

    border-radius: 8px;

    overflow: hidden;

}



.business-image img {

    width: 100%;

    height: auto;

}



/* ==========================================================================

           FAQ Section

           ========================================================================== */


.faq-section {
    padding: 60px 0;
}


.faq-section h2 {
    font-family: "Libre Caslon Text", serif;
    font-size: 2.5rem;

    text-align: center;

    margin-bottom: 3rem;

    font-weight: 300;

}



.faq-list {

    max-width: 800px;

    margin: 0 auto;

}

.faq-item {
    border-bottom: #2d3748 solid 1px;
    overflow: hidden;
}

.faq-question {

    padding: 20px;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-weight: 500;

    transition: background 0.3s;

}



.faq-question:hover {

    background: #f5f5f5;

}



.faq-toggle {

    font-size: 1.5rem;

    color: #999;

    transition: transform 0.3s;

}



.faq-item.active .faq-toggle {

    transform: rotate(45deg);

}



.faq-answer {

    padding: 0 20px;

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s, padding 0.3s;

}



.faq-item.active .faq-answer {

    padding: 0 20px 20px;

    max-height: 300px;

}



/* ==========================================================================

           Footer

           ========================================================================== */

footer {

    background: #2d3748;

    color: #fff;

    padding: 40px 0 20px;

}

.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 2rem;

}



.footer-logo  img{

    width: 120px;
    height: auto;

}



.footer-nav {

    display: flex;

    gap: 2rem;

    list-style: none;

}



.footer-nav a {

    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;

    font-size: 0.9rem;

    transition: color 0.3s;

}



.footer-nav a:hover {

    color: #fff;

}



.footer-bottom {

    text-align: center;

    padding-top: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.85rem;

}



/* ==========================================================================

           Mobile Responsive (merged from styles.css for consistency)

           ========================================================================== */

@media (max-width: 768px) {

    .hamburger {

        display: flex;

    }



    .nav-menu {

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: #fff;

        flex-direction: column;

        padding: 1rem;

        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    }



    .nav-menu.active {

        display: flex;

    }



    .hero-content {

        grid-template-columns: 1fr;

    }



    .hero-text h1 {

        font-size: 2rem;

    }



    .hero-features {

        flex-direction: column;

        gap: 1rem;

    }



    .categories-cards {

        grid-template-columns: 1fr;

    }



    .mobile-app-content {

        grid-template-columns: 1fr;

        text-align: center;

    }



    .business-content {

        grid-template-columns: 1fr;

        text-align: center;

    }



    .footer-content {

        flex-direction: column;

        gap: 2rem;

        text-align: center;

    }



    .footer-nav {

        flex-direction: column;

        gap: 1rem;

    }

}