/* =========================================================
   PROUD INSURANCE
   Main Stylesheet
========================================================= */

:root {
    --primary: #0b5ed7;
    --primary-dark: #084298;
    --secondary: #0b1e3d;
    --accent: #19b5a5;
    --light: #f5f8fc;
    --white: #ffffff;
    --text: #526071;
    --heading: #10213f;
    --border: #e4eaf2;
    --shadow: 0 15px 45px rgba(16, 33, 63, 0.10);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Lexend", sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 100px 0;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: var(--secondary);
    padding: 11px 0;
    text-align: center;
}

.top-phone {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: var(--transition);
}

.top-phone:hover {
    color: #b8d5ff;
}

.top-phone i {
    color: #66d7cc;
}


/* =========================================================
   NAVBAR
========================================================= */

.main-navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 17px 0;
    transition: var(--transition);
}

.navbar-brand {
    color: var(--heading);
    font-size: 23px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand strong {
    font-weight: 800;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.navbar-nav {
    gap: 7px;
}

.nav-link {
    color: var(--heading) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px !important;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    background: var(--primary);
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 22px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-quote {
    padding: 11px 20px !important;
}


/* =========================================================
   BUTTON
========================================================= */

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 7px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 94, 215, 0.22);
}

.btn i {
    margin-left: 7px;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(7, 25, 53, 0.96) 0%,
            rgba(7, 25, 53, 0.87) 42%,
            rgba(7, 25, 53, 0.52) 75%,
            rgba(7, 25, 53, 0.35) 100%
        ),
        url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 94, 215, 0.25),
        transparent
    );
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    padding: 70px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dceaff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
}

.hero-badge i {
    color: #6be0d5;
}

.hero-section h1 {
    color: var(--white);
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 760px;
}

.hero-section h1 span {
    color: #67d6cc;
    display: block;
}

.hero-text {
    color: #d4dce8;
    font-size: 17px;
    line-height: 1.8;
    max-width: 650px;
    margin: 24px 0 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-buttons .btn {
    padding: 13px 23px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e4ebf5;
    font-size: 12px;
}

.trust-item i {
    color: #66d7cc;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    background: var(--white);
    position: relative;
    margin-top: -1px;
    padding: 0 0 20px;
}

.stat-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 27px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: -45px;
    position: relative;
    z-index: 2;
    height: 100%;
}

.stat-icon {
    color: var(--primary);
    font-size: 27px;
    margin-bottom: 8px;
}

.stat-box h3 {
    color: var(--heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 3px;
}

.stat-box p {
    font-size: 12px;
    margin: 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 700px;
    margin: 0 auto;
}

.section-label,
.quote-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.section-heading h2,
.about-section h2 {
    color: var(--heading);
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    margin: 13px 0 16px;
}

.section-heading h2 span,
.about-section h2 span,
.why-title span,
.quote-box h2 span {
    color: var(--primary);
}

.section-heading p {
    line-height: 1.8;
    font-size: 14px;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--light);
}

.service-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px 30px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(11, 94, 215, 0.25);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(11, 94, 215, 0.09);
    color: var(--primary);
    font-size: 25px;
    margin-bottom: 23px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    color: var(--heading);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 13px;
}

.service-card p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.service-card a i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-card a:hover i {
    margin-left: 10px;
}


/* =========================================================
   WHY SECTION
========================================================= */

.why-section {
    padding: 110px 0;
    background: var(--white);
}

.why-image {
    min-height: 470px;
    border-radius: 20px;
    position: relative;
    background:
        linear-gradient(
            145deg,
            rgba(11, 94, 215, 0.80),
            rgba(11, 30, 61, 0.95)
        ),
        url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=85")
        center/cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card {
    width: 260px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(10px);
    text-align: center;
    color: var(--white);
}

.image-card > i {
    font-size: 55px;
    color: #72ded4;
    display: block;
    margin-bottom: 18px;
}

.image-card h4 {
    font-size: 18px;
    font-weight: 700;
}

.image-card p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
    color: #dce6f3;
}

.experience-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.experience-badge strong {
    color: var(--primary);
    font-size: 27px;
}

.experience-badge span {
    color: var(--heading);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.why-title {
    color: var(--heading);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    font-weight: 800;
    margin: 13px 0 17px;
}

.why-description {
    font-size: 14px;
    line-height: 1.9;
    max-width: 570px;
}

.feature-list {
    margin: 30px 0 5px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 23px;
}

.feature-icon {
    min-width: 48px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(11, 94, 215, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-item h4 {
    color: var(--heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    background: var(--light);
}

.about-section h2 {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    max-width: 760px;
    margin: 0 auto 18px;
    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   QUOTE CTA
========================================================= */

.quote-section {
    padding: 90px 0;
    background: var(--light);
}

.quote-box {
    padding: 55px 60px;
    border-radius: 18px;
    background:
        linear-gradient(
            115deg,
            #0b1e3d,
            #0b5ed7
        );
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.quote-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    right: -100px;
    top: -100px;
}

.quote-label {
    color: #72ded4;
}

.quote-box h2 {
    color: var(--white);
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 800;
    margin: 12px 0;
}

.quote-box h2 span {
    color: #72ded4;
}

.quote-box p {
    color: #d9e3ef;
    font-size: 13px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0;
}

.quote-phone {
    position: relative;
    z-index: 2;
    color: var(--heading);
    font-weight: 700;
    border-radius: 7px;
    padding: 14px 22px;
}

.quote-phone:hover {
    color: var(--primary);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background: var(--white);
}

.contact-info {
    padding-right: 30px;
}

.contact-info h3 {
    color: var(--heading);
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-info > p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-icon {
    min-width: 47px;
    width: 47px;
    height: 47px;
    border-radius: 10px;
    background: rgba(11, 94, 215, 0.08);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item span {
    display: block;
    color: #8490a0;
    font-size: 11px;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--heading);
    font-size: 13px;
    font-weight: 600;
}

.contact-item p {
    color: var(--heading);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.contact-form {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form label {
    color: var(--heading);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px;
}

.form-control,
.form-select {
    border: 1px solid var(--border);
    border-radius: 7px;
    min-height: 48px;
    font-family: inherit;
    font-size: 12px;
    padding: 10px 14px;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.form-message {
    margin-top: 15px;
    font-size: 12px;
    text-align: center;
    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--secondary);
    padding: 75px 0 25px;
    color: #aebbd0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 21px;
    margin-bottom: 18px;
}

.footer-brand strong {
    font-weight: 800;
}

.footer-description {
    font-size: 12px;
    line-height: 1.8;
    max-width: 370px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h5 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #aebbd0;
    font-size: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    padding: 0;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.6;
}

.footer-contact i {
    color: #66d7cc;
    margin-top: 3px;
}

.footer-contact a {
    color: #aebbd0;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.10);
    margin: 45px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 10px;
}

.footer-bottom a {
    color: #aebbd0;
    font-size: 10px;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .main-navbar {
        padding: 13px 0;
    }

    .navbar-collapse {
        padding-top: 15px;
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 11px 5px !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-quote {
        display: inline-block;
        margin-top: 8px;
    }

    .hero-section {
        min-height: 650px;
    }

    .min-vh-75 {
        min-height: 650px;
    }

    .hero-content {
        padding: 50px 0;
    }

    .why-section {
        padding: 80px 0;
    }

    .why-image {
        min-height: 420px;
    }

    .contact-info {
        padding-right: 0;
    }

    .quote-box {
        padding: 45px 35px;
    }
}


@media (max-width: 767px) {

    .section-padding {
        padding: 75px 0;
    }

    .top-bar {
        padding: 10px 0;
    }

    .top-phone {
        font-size: 13px;
    }

    .navbar-brand {
        font-size: 19px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .hero-section {
        min-height: 650px;
        background-position: 60% center;
    }

    .min-vh-75 {
        min-height: 650px;
    }

    .hero-section h1 {
        letter-spacing: -1px;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-trust {
        gap: 13px;
        flex-direction: column;
    }

    .stats-section {
        padding-bottom: 5px;
    }

    .stat-box {
        margin-top: -25px;
        padding: 20px 10px;
    }

    .stat-box h3 {
        font-size: 23px;
    }

    .stat-box p {
        font-size: 10px;
    }

    .why-section {
        padding: 70px 0;
    }

    .why-image {
        min-height: 360px;
    }

    .experience-badge {
        left: 15px;
        bottom: 15px;
    }

    .quote-section {
        padding: 60px 0;
    }

    .quote-box {
        padding: 35px 25px;
    }

    .quote-phone {
        margin-top: 10px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .footer {
        padding-top: 60px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 15px;
    }

}


@media (max-width: 400px) {

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-section h1 {
        font-size: 39px;
    }

}