.content{
    max-width: 900px;
}
.mobile-nav-bar{
    max-width: 900px;
}
.grid-container{
    max-width: 900px;
}
.footer{
    max-width: 900px;
}
@media (min-width: 840px) {
    .df50-tip {
        max-width: 900px;
    }
}
/* ===== TESTIMONIAL CAROUSEL STYLES ===== */

/* Testimonials Section */
.typ-testimonials {
    background: #F1F6F8;
    padding: 30px 60px 60px;
    overflow: visible;
}
.typ-testimonials__heading {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.364;
    color: #0A3055;
    text-align: center;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .typ-testimonials__heading {
        font-size: 40px;
        margin-bottom: 40px;
    }
}

/* Hide slider cards until Slick initializes — prevents FOUC (flash of unstyled stacked cards) */
.typ-testimonials-slider:not(.slick-initialized) {
    overflow: hidden;
    height: 0;
    opacity: 0;
}
.typ-testimonials-slider.slick-initialized {
    height: auto;
    opacity: 1;
    transition: opacity 0.25s ease;
}

/* Slick Carousel Wrapper */
.typ-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 48px 60px;
    min-height: 180px; /* reserve space while Slick initializes */
}
@media (min-width: 768px) {
    .typ-carousel-wrapper {
        padding: 8px 0px;
        min-height: 220px;
    }
}

/* Loading spinner shown before Slick initializes */
.typ-carousel-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border: 3px solid #D9D9D9;
    border-top-color: #006FBB;
    border-radius: 50%;
    animation: typ-spin 0.7s linear infinite;
    opacity: 1;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
/* Hide spinner once Slick is initialized */
.typ-carousel-wrapper:has(.slick-initialized)::before {
    opacity: 0;
    pointer-events: none;
}
@keyframes typ-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.typ-testimonials-slider .slick-track {
    display: flex !important;
}

/* Slick slide card spacing */
.typ-testimonials-slider .slick-slide {
    padding: 8px 8px;
    margin: 0 10px; 
    height: inherit !important;
    display: flex !important;
    align-items: stretch;
}
.typ-testimonials-slider .slick-list {
    margin: 0 -10px; 
}

/* Testimonial Cards */
.typ-testimonial-card {
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}
.typ-testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 24px;
    background: linear-gradient(90deg, rgba(255,239,234,1) 0%, rgba(236,247,255,1) 100%);
}
.typ-testimonial-card__avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #FFFFFF;
}
.typ-avatar--1 { background: #4A90D9; }
.typ-avatar--2 { background: #E67E22; }
.typ-avatar--3 { background: #27AE60; }
.typ-avatar--4 { background: #8E44AD; }
.typ-avatar--5 { background: #E74C3C; }
.typ-avatar--6 { background: #2C3E50; }
.typ-testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.typ-testimonial-card__name {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
    display: block;
    line-height: 1.2;
}
@media (min-width: 768px) {
    .typ-testimonial-card__name {
        font-size: 23px;
    }
}
.typ-testimonial-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
}
.typ-stars {
    color: #FC9835;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 1;
}
.typ-testimonial-card__body {
    padding: 12px 16px;
    flex: 1;
    display: flex;
    align-items: flex-start;
}
.typ-testimonial-card__body p {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #272727;
    margin: 0;
}
@media (min-width: 768px) {
    .typ-testimonial-card__body p { font-size: 19px; }
}

/* Slick Arrows */
.typ-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
    transition: background 0.2s ease;
    margin-top: -30px;
}
.typ-slick-arrow svg{
    height: 24px;
    width: 24px;
}
@media (min-width: 768px) {
    .typ-slick-arrow {
        width: 40px;
        height: 40px;
    }
}
.typ-slick-prev {
    left: -50px;
}
.typ-slick-next {
    right: -50px;
}
.typ-slick-arrow:hover {
    background: #75B1DA;
    
}
.typ-slick-arrow:hover svg path {
    stroke: #FFFFFF;
}
.typ-slick-arrow:focus {
    outline:0;
   
}
.typ-slick-arrow svg path {
    stroke: #7E8FA1;
    transition: stroke 0.2s ease;
}


/* Hide arrows on tablet and mobile */
@media screen and (max-width: 1024px) {
    .typ-slick-arrow{
         display: none !important;
    }
    .typ-testimonials {
        padding: 24px 24px 0px;
    }
}
@media (max-width: 768px) {
    .typ-testimonials {
        padding: 24px 24px 0px;
    }
    .typ-carousel-wrapper{
        padding: 0 0px 60px;
    }
}
/* Slick Dots */
.typ-testimonials-slider .slick-dots {
    bottom: -40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}
.typ-testimonials-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}
.typ-testimonials-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D9D9D9;
    border: none;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}
.typ-testimonials-slider .slick-dots li button::before {
    display: none;
}
.typ-testimonials-slider .slick-dots li.slick-active button {
    background: #75B1DA;
}

/* ===== ADDITIONAL PAGE STYLES ===== */

.grid-x.frame6 form .form-icons .input-group label {
    display: none;
}
.cro-placeholder.cro-show {
    opacity: 1;
}
.cro-placeholder {
    font-family: 'Public Sans';
    font-weight: 400;
    font-size: 12px;
    vertical-align: middle;
    color: #494E67DE;
    position: absolute;
    top: -2px;
    left: 4px;
    background-color: #FFFFFF;
    display: flex;
    height: 4px;
    align-items: center;
    padding: 0 2px;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

/* ===== TYP REDESIGN STYLES ===== */
.typ-redesign {
    font-family: 'Nunito Sans', sans-serif;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
}

/* Hero Section */
.typ-hero {
    padding: 40px 24px;
    text-align: center;
}
.typ-hero__heading {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.364;
    color: #0A3055;
    margin-bottom: 24px;
    text-transform: inherit;
}
@media (min-width: 600px) {
    .typ-hero__heading { font-size: 36px; }
}
@media (min-width: 768px) {
    .typ-hero__heading { font-size: 48px; }
}
.typ-hero__subtext {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.364;
    color: #272727;
    text-align: center;
    margin: 0;
}
@media (min-width: 768px) {
    .typ-hero__subtext { font-size: 28px; }
}

/* CTA Box */
.typ-cta-box {
    margin: 0 24px 40px;
    background: #EDF8FF;
    box-shadow: -8px 0px 0px 0px rgba(0, 111, 187, 1);
    padding: 24px;
}
.typ-cta-box__heading {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.091;
    color: #272727;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .typ-cta-box__heading { font-size: 40px; }
}
.typ-cta-box__text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.364;
    color: #373737;
    margin: 0;
}
@media (min-width: 768px) {
    .typ-cta-box__text { font-size: 28px; }
}
.typ-phone-link {
    color: #1042A6;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.typ-phone-link:hover { text-decoration: underline; }

/* Why Premier Section */
.typ-why-premier {
    padding: 40px 24px;
}
.typ-why-premier__heading {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.364;
    color: #0A3055;
    text-align: center;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .typ-why-premier__heading { font-size: 40px; }
}
.typ-why-premier__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}
@media (min-width: 768px) {
    .typ-why-premier__inner {
        flex-direction: row;
        align-items: flex-start;
    }
}
.typ-why-premier__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    width: 100%;
}
.typ-feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: #EDF8FF;
    border-radius: 4px;
}
.typ-feature-box__icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.typ-feature-box span {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.364;
    color: #272727;
}
@media (min-width: 768px) {
    .typ-feature-box span { font-size: 23px; }
}
.typ-why-premier__image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: stretch;
}
.typ-why-premier__image img {
    max-width: 309px;
    height: auto;
    display: block;
    margin: 0 auto;
}