/**
 * home.css
 * GoodHope Insure — Homepage Styles
 */

/* Reset main layout max-width for homepage to allow full-width hero */
main {
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Constrain non-hero sections to match layout width */
main > div:not(.testimonials-sec),
main > section:not(.new-hero-section):not(.callback-request-section):not(.why-choose-sec) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

main > section.why-choose-sec,
section.why-choose-sec,
.why-choose-sec {
    max-width: 1152px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

main > div.testimonials-sec,
div.testimonials-sec,
.testimonials-sec {
    max-width: 1152px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* ===== HERO: matches reference screenshot ===== */
.new-hero-section {
    width: 100%;
    background: #063b78;
    padding: 70px 0;
    overflow: hidden;
    margin-bottom: 50px;
}

.new-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.new-hero-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    gap: 0;
}

/* ---------- LEFT TEXT ---------- */
.new-hero-left {
    min-width: 0;
}

/* "WELCOME TO" — premium pill badge */
.new-hero-left .welcome-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 90, 34, 0.55);
    background: rgba(255, 90, 34, 0.08);
    color: #FF5A22;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(255, 90, 34, 0.15);
    margin-bottom: 22px;
}

/* Main heading: white on first line, cyan gradient on second */
.new-hero-left h1 {
    font-size: clamp(36px, 3.8vw, 62px);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    max-width: 540px;
}

.new-hero-left h1 span {
    background: linear-gradient(135deg, #00f0ff 30%, #0072ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

/* Subtitle */
.new-hero-left p {
    font-size: 15px;
    line-height: 1.6;
    color: #cde0f5;
    margin-bottom: 34px;
    max-width: 460px;
}

/* CTA buttons */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-buttons .btn-primary {
    background-color: #ff5a22;
    color: #ffffff;
    border: 2px solid #ff5a22;
    box-shadow: 0 8px 20px rgba(255, 90, 34, 0.35);
}

.hero-buttons .btn-primary:hover {
    background-color: #e04410;
    border-color: #e04410;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 90, 34, 0.50);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.hero-buttons .btn-outline:hover {
    background-color: #ffffff;
    color: #063b78;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* ---------- RIGHT SLIDER CARD ---------- */
.new-hero-right {
    min-width: 0;
}

/* Card: rounded corners, white bg, contained within column */
.new-hero-slider-card {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

/* Slide images wrapper — gives the card its height */
.new-hero-slides {
    position: relative;
    width: 100%;
    height: 360px;
    background: #ffffff;
}

/* All slides stack absolutely inside the wrapper */
.new-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.85s ease-in-out, visibility 0.85s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.new-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Image: cover to fill the full card area cleanly */
.new-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dots bar — static block below the slides, light grey strip */
.new-hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 10px;
    background: #f4f6f9;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.new-hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.35s ease;
}

.new-hero-dot.active {
    background-color: #ff5a22;
    width: 22px;
    border-radius: 10px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .new-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .new-hero-left h1 {
        max-width: 100%;
    }
    .new-hero-left h1 span {
        display: inline-block;
    }
    .new-hero-left p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .new-hero-slider-card {
        max-width: 100%;
        margin-left: 0;
    }
    .new-hero-slides {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .new-hero-section {
        padding: 48px 0 42px;
    }
    .new-hero-left h1 {
        font-size: 32px;
    }
    .hero-buttons .btn {
        padding: 11px 20px;
        font-size: 14px;
    }
    .new-hero-slides {
        height: 200px;
    }
}

/* Section Headers */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.product-card {
    background-color: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.product-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(255, 90, 34, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
    transition: all 0.3s;
}
.product-card:hover .product-icon {
    background-color: var(--accent);
    color: var(--white);
}
.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}
.product-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials-sec {
    background-color: #f1f5f9;
    padding: 60px 20px;
    border-radius: 12px;
    margin-bottom: 60px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.testi-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: relative;
}
.testi-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 72px;
    color: rgba(255, 90, 34, 0.1);
    font-family: serif;
    line-height: 1;
}
.testi-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}
.testi-meta h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.testi-meta span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Partners Logo Section */
.partners-sec {
    text-align: center;
    margin-bottom: 60px;
}
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.partner-text-logo {
    font-weight: 700;
    color: var(--primary-light);
    opacity: 0.8;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    cursor: pointer;
    padding: 18px 24px;
    border-radius: 6px;
    background-color: rgba(13, 35, 58, 0.04);
    border: 1px dashed rgba(13, 35, 58, 0.15);
}
.partner-text-logo:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-2px);
    background-color: rgba(255, 90, 34, 0.05);
    border-color: var(--accent);
}
.partner-logo-img {
    height: 70px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.partner-logo-img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* FAQ Section */
.faq-sec {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.faq-item {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.2s;
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question:hover {
    background-color: #fafbfc;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding: 15px 20px 20px 20px;
    max-height: 200px;
    border-top: 1px solid #f1f5f9;
}
.faq-icon {
    transition: transform 0.2s;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Blogs Grid */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.blog-card-img {
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.03);
}

/* Dynamic Lead Forms */
.lead-form-sec {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
@media(min-width: 768px) {
    .lead-form-sec {
        grid-template-columns: 1fr 2fr;
    }
}
.lead-contact-info {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}
.contact-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #e2e8f0;
}
.contact-item-text p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 576px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-full-width {
        grid-column: span 2;
    }
}
.form-group {
    margin-bottom: 0;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    background-color: var(--white);
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,90,34,0.15);
}

/* Trust Strip Styles */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.trust-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}
.trust-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 35, 58, 0.05);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.trust-card:hover .trust-icon {
    background-color: var(--accent);
    color: var(--white);
}
.trust-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.trust-content p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Callback Request Section Styles */
.callback-request-section {
    width: 100% !important;
    background-color: #f5f5f5 !important;
    padding: 30px 0 !important;
    margin-bottom: 50px !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}
.callback-request-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.callback-left h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}
.callback-right-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.callback-input-group {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
    height: 42px;
}
.callback-input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.callback-input-icon {
    background-color: #f1f3f5;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #cbd5e1;
    color: #0fbba4; /* Match green phone icon in reference */
}
.callback-input-group input {
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    width: 220px;
    font-family: inherit;
    background: transparent;
}
.callback-select {
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    background-color: #ffffff;
    width: 200px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.callback-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.callback-btn {
    height: 42px;
    background-color: #d32f2f; /* Red submit button */
    color: #ffffff;
    border: none;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.callback-btn:hover {
    background-color: #b71c1c;
}

@media (max-width: 768px) {
    .callback-request-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
        gap: 16px;
    }
    .callback-left,
    .callback-right {
        width: 100%;
    }
    .callback-right-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .callback-input-group,
    .callback-select,
    .callback-btn {
        width: 100% !important;
        box-sizing: border-box;
    }
    .callback-input-group input {
        flex: 1;
        width: 100%;
        min-width: 0;
    }
}

.callback-alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.4s ease, height 0.4s ease, margin-top 0.4s ease, padding 0.4s ease;
    overflow: hidden;
}
.callback-alert-success.fade-out {
    opacity: 0;
    height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

/* Explore Products Featured Image Cards */
#products .product-card {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    text-align: left !important;
}
.product-card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}
.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#products .product-card:hover .product-card-image {
    transform: scale(1.05);
}
.product-card-content {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.product-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 10px 0;
}
.product-card-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* =======================================================
   HOME SECTIONS STYLES
   ======================================================= */

/* Why Choose Us Section */
main > section.why-choose-sec,
section.why-choose-sec,
.why-choose-sec {
    max-width: 1152px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(241, 245, 249, 0.6) 100%);
    border-radius: 24px;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(13, 35, 58, 0.05);
}
.why-choose-sec::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(13, 35, 58, 0.02) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(255, 90, 34, 0.02) 0%, transparent 20%);
    pointer-events: none;
}
.why-choose-header {
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.why-choose-label {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}
.why-choose-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    margin-top: 0;
}
.why-choose-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}
.why-choose-divider .line {
    height: 1px;
    width: 50px;
    background: rgba(13, 35, 58, 0.15);
}
.why-choose-divider .icon-wrap {
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-choose-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
@media(min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.why-choose-card {
    background: #ffffff;
    border: 1px solid rgba(13, 35, 58, 0.06);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(255, 90, 34, 0.15);
}
.why-choose-img-wrap {
    width: 140px;
    height: 140px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}
.why-choose-icon {
    font-size: 58px;
    color: var(--accent);
}
.why-choose-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px 0;
}
.why-choose-card-line {
    width: 40px;
    height: 2px;
    margin-bottom: 20px;
}
.why-choose-card-line.blue {
    background: #3b82f6;
}
.why-choose-card-line.orange {
    background: var(--accent);
}
.why-choose-card-line.green {
    background: #10b981;
}
.why-choose-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Homepage Testimonials Style Overrides */
main > div.testimonials-sec,
div.testimonials-sec,
.testimonials-sec {
    position: relative;
    max-width: 1152px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.testimonials-sec .view-all-btn {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    white-space: nowrap;
}
.testimonials-sec .view-all-btn:hover {
    background-color: var(--accent);
    color: var(--white);
}
.testimonials-sec .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonials-sec .testi-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}
.testimonials-sec .testi-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.testimonials-sec .testi-stars {
    color: var(--accent);
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}
.testimonials-sec .testi-text {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
    line-height: 1.5;
}
.testimonials-sec .testi-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}
.testimonials-sec .testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonials-sec .testi-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}
.testimonials-sec .testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid var(--accent);
    box-sizing: border-box;
    flex-shrink: 0;
}
.testimonials-sec .testi-meta {
    text-align: left;
    line-height: 1.2;
}
.testimonials-sec .testi-meta h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.testimonials-sec .testi-meta span {
    font-size: 12px;
    color: var(--text-muted);
}
.testimonials-sec .testi-action-divider {
    border-top: 1px solid #f1f5f9;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
}
.testimonials-sec .testi-action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.testimonials-sec .google-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.testimonials-sec .google-btn:hover {
    background-color: var(--accent);
    color: var(--white);
}
@media (max-width: 991px) {
    .testimonials-sec .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .testimonials-sec .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Partners Section Responsive Margins */
.partners-sec {
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .partners-sec {
        margin-bottom: 40px;
    }
}

/* FAQs Section Grid and Margins */
.faq-sec {
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .faq-sec {
        margin-bottom: 40px;
    }
}
.faq-columns-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media(min-width: 768px) {
    .faq-columns-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Custom Quote Form Scroll Margin */
#custom-quote {
    scroll-margin-top: 150px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    #custom-quote {
        scroll-margin-top: 170px;
        margin-bottom: 40px;
    }
}

/* Homepage Blogs Section & Cards */
.blogs-sec {
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .blogs-sec {
        margin-bottom: 40px;
    }
}
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 60px;
}
@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}
@media (max-width: 640px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.blog-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.blog-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.03);
}
.blog-card-placeholder {
    background-color: var(--primary);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 36px;
}
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 5;
}
.blog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}
.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-card-meta-item i {
    color: #94a3b8;
}
.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s ease;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: var(--accent);
}
.blog-card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}
.blog-card-footer {
    padding: 0 24px 24px 24px;
    display: flex;
    justify-content: flex-start;
}
.blog-view-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.blog-view-details-btn:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}
