/* ================= CSS RESET ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================= ROOT ================= */
html {
    scroll-behavior: smooth;
}

/* ================= GLOBAL ================= */
body {
    font-family: 'Philosopher', serif;
    margin: 0;
    padding: 0;
}


/* ===== Base Fade Animation ===== */
.fade-anim {
    opacity: 0;
}

/* Trigger animation */
.fade-anim.active {
    animation-duration: 1.2s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

/* ===== Fade In From Left ===== */
.fade-left.active {
    animation-name: fadeLeft;
}

/* ===== Fade In From Right ===== */
.fade-right.active {
    animation-name: fadeRight;
}

/* ===== Keyframes ===== */
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* ================= TOP HEADER (POPPINS) ================= */
.top-header {
    padding: 20px 0;
    border-bottom: 1px solid #bdbdbd;
    font-family: 'Poppins', sans-serif;
}

.logo {
    height: 70px;
}

/* ================= INFO BOXES ================= */
.info-box {
    color: #fff;
    padding: 8px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.social-box {
    background-color: #0072ce;
}

.hours-box {
    background-color: #8cc300;
}

.phone-box {
    background-color: #ff7a00;
    font-size: 16px;
    font-weight: 600;
}

/* ================= ICON STYLES ================= */
.icon-box {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.light {
    background: rgba(255, 255, 255, 0.35);
}

/* ================= NAVIGATION (POPPINS) ================= */


.main-nav {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}



.main-nav .nav-link {
    font-size: 18px;
    color: #000;
    padding: 14px 0;
}

.main-nav .nav-link.active {
    color: #ff7a00;
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 991px) {

    .logo {
        height: 60px;
    }

    .info-box {
        padding: 12px 16px;
        font-size: 14px;
    }

    .hours-box {
        display: none !important;
    }

    .main-nav .nav-link {
        font-size: 16px;
        padding: 10px 0;
    }

}

@media (max-width: 575px) {
    .icon-box {
        padding: 4px 6px;
        /* smaller box */
        font-size: 12px;
        /* smaller icon */
    }
}



/* ================= RESPONSIVE NAV (NO HAMBURGER) ================= */
@media (max-width: 991px) {

    /* Hide hamburger */
    .navbar-toggler {
        display: none;
    }

    .social-text {
        display: none;
    }

    /* Force menu always visible */
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    /* Allow wrapping but keep clean */
    .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1px;
    }

    /* Reduce font size */
    .main-nav .nav-link {
        font-size: 11px;

    }


}






/* ================= HERO SECTION ================= */
.hero-section {
    min-height: 90vh;
    position: relative;
    color: #ffffff;
}

/* Video background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Content above video */
.hero-section .container {
    z-index: 2;
}

/* Mobile optimization */
@media (max-width: 991px) {
    .hero-section {
        min-height: 65vh;
    }
}

/* Optional dark overlay (for text readability) */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ================= TEXT ================= */
.hero-title {
    font-family: 'Philosopher', serif;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}



.hero-text {
    font-size: 18px;
    max-width: 800px;
}

.text {
    font-size: 18px;
}

/* ================= BUTTONS ================= */
.hero-btn-primary {
    background-color: #f36b00;
    border: none;
    padding: 12px 26px;
    font-weight: 500;
    border-radius: 0;
    /* 🔹 sharp edges */
}

.hero-btn-primary:hover {
    background-color: #e25f00;
}

.hero-btn-outline {
    padding: 12px 26px;
    font-weight: 500;
    border-radius: 0;
    /* 🔹 sharp edges */
}


/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .hero-title {
        font-size: 35px;
        /* ↓ from 40px */

    }

    .hero-section {
        min-height: 65vh;
        /* slightly reduced */
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-title {
        margin-bottom: 8px;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        padding: 8px 18px;
        /* smaller height & width */
        font-size: 14px;
        /* smaller text */
    }


}


/* ===== Timeline Wrapper ===== */
.policy-timeline {
    position: relative;
    padding-left: 50px;
}

.policy-timeline::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f36b00;
}

/* ===== Timeline Item ===== */
.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

/* ===== Double Circle Point ===== */
.timeline-point {
    width: 42px;
    height: 42px;
    background: rgba(243, 107, 0, 0.15);
    /* light outer circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-point span {
    width: 30px;
    height: 30px;
    background: #f36b00;
    /* inner solid circle */
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Content ===== */
.timeline-content h5 {
    margin-bottom: 6px;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* ===== Animation (optional, keep if you want) ===== */
.fade-anim {
    opacity: 0;
    animation: fadeRight 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Mobile ===== */
@media (max-width: 576px) {
    .policy-timeline {
        padding-left: 40px;
    }
}



/* Section */
.policy-section {
    background-color: #fff;
}

/* Heading */
.policy-title {
    font-weight: 700;
    font-size: 32px;
}

.policy-title span {
    font-weight: 400;
}



/* Timeline */
.timeline-item {
    margin-bottom: 2.8rem;
}

.timeline-left {
    width: 72px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Circle design */
.circle-outer {
    width: 56px;
    height: 56px;
    background-color: #fde6d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.circle-inner {
    width: 36px;
    height: 36px;
    background-color: #f97316;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vertical line */
.line {
    position: absolute;
    top: 56px;
    /* starts exactly under outer circle */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 28px);
    /* connects to next item */
    background-color: #f97316;
    z-index: 1;
}

/* Content */
.timeline-content {
    padding-left: 1rem;
}



/* Image */
.policy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.insurance-hero {
    min-height: 500px;
    background:
        url("/assets/Home\ Indurance.png");
    /* replace image path */
    background-size: cover;
    background-position: center right;
}



/* BRAND ORANGE */
.text-orange {
    color: #EF5D00 !important;
}

.btn-orange {
    background-color: #EF5D00;
    border-color: #EF5D00;
    color: #fff;
}

.btn-orange:hover {
    background-color: #d65400;
    border-color: #d65400;
    color: white;
}

/* LEFT CONTENT TYPOGRAPHY */
.contact-left h2 {
    font-size: 2.6rem;
    font-weight: 500;
}

.contact-left p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-left span {
    font-size: 1.2rem;
}

/* FORM INPUT SPACING */
.form-control {
    padding: 10px;
    border-color: #e0e0e0;
}

.contact-icon {
    width: 22px;
    /* adjust: 20–26px */
    height: 22px;
    object-fit: contain;
    margin-top: 2px;
    /* aligns with text baseline */
}

.contact-link {
    color: black;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}





/* FOOTER BASE */
.footer-main {
    background-color: #F3F3F3;
    color: #222;
}

/* TITLE */
.footer-title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
}

/* DIVIDER */
.footer-divider {
    width: 1px;
    height: 100%;
    background-color: #777;
}


/* LINKS */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #222;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* SOCIAL */
.footer-social {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.footer-social:hover {
    color: #EF5D00;
}

/* BOTTOM BAR */
.footer-bottom {
    background-color: #EF5D00;
    color: #fff;
    padding: 16px 0;
    font-size: 0.95rem;
}

.white {
    color: white;
}






.about-banner {
    position: relative;
}

.about-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.about-banner .container {
    position: relative;
    z-index: 2;
}


@media (max-width: 768px) {
    .about-banner {
        height: 250px;
    }

    .about-banner h1 {
        font-size: 32px;
    }
}



.team-card {
    background: #f5f5f5;
    transition: 0.3s ease;
    height: 100%;
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-content {
    padding: 25px;
}

.team-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.role {
    color: #555;
}

.social-icons a {
    color: #000;
    margin-right: 15px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #0d6efd;
    /* Bootstrap primary */
}

.team-card:hover {
    transform: translateY(-5px);
}




.policy-box {
    background: #e9e9e9;
    padding: 30px;
}

.policy-box h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.policy-box p {
    margin-bottom: 0;
    line-height: 1.7;
    color: #333;
}

.policy-image img {
    border-radius: 0;
}






.map-wrapper {
    height: 300px;
    /* desktop height */
    border-radius: 20px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .map-wrapper {
        height: 300px;
    }
}









/* Wrapper (outer soft circle) */
.icon-wrapper {
    width: 50px;
    /* reduced from 85px */
    height: 50px;
    background: rgba(242, 101, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner orange circle */
.icon-circle {
    width: 33px;
    /* reduced from 60px */
    height: 33px;
    background: #f26500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    /* slightly smaller arrow */
    font-weight: 600;
}

.insurance-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    /* was 28px+ → reduced */
}


.insurance-text {
    margin-left: 20px;
    font-size: 18px;
    font-weight: 700;
    /* makes text bold */
    letter-spacing: 0.5px;
}


.icon-arrow-right {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}






.services-section .row {
    align-items: stretch;
}

.service-card {
    border: none;
    height: fit-content;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card:hover {
    transform: translateY(-5px);
}


.service-card .card-body {
    flex: 1;
    /* THIS makes all cards equal height */
    display: flex;
    flex-direction: column;
}

.service-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* ===== Masonry Layout ===== */
.masonry {
    column-count: 4;
    column-gap: 1.5rem;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Card style */
.service-card {
    border: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
    .masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry {
        column-count: 1;
    }
}


/* Position Bottom Center */
.toast-wrapper {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* Toast Card */
.custom-toast {
    min-width: 350px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.35s ease;
    border: 1px solid #e6f4ea;
}

/* Show Animation */
.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Inner Layout */
.toast-body-custom {
    display: flex;
    align-items: center;
    padding: 16px 20px;
}

/* Green Icon Circle */
.toast-icon {
    width: 38px;
    height: 38px;
    background: #28a745;
    color: #ffffff;
    /* white tick */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    margin-right: 15px;
}

/* Text Styling */
.toast-content strong {
    color: #198754;
    font-size: 15px;
}

.toast-content {
    color: #555;
}

/* Error Style */
.custom-toast.error .toast-icon {
    background: #dc3545;
}

.custom-toast.error .toast-content strong {
    color: #dc3545;
}