/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* UNIVERSAL HERO SECTION CSS - Works on All Devices */

.hero-section-new {
    position: relative !important;
    min-height: clamp(500px, 80vh, 700px) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: scroll !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(20px, 5vw, 40px) clamp(10px, 3vw, 20px) !important;
}

/* Override ALL theme containers and force perfect centering */
.hero-section-new .wp-block-cover__inner-container,
.hero-section-new .wp-block-group__inner-container,
.site-main .hero-section-new .wp-block-group__inner-container,
.hero-section-new .wp-block-group,
.hero-section-new .alignfull,
.hero-section-new .alignwide {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Force content container to center everything perfectly */
.hero-content-new {
    width: 100% !important;
    max-width: clamp(300px, 90vw, 900px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Force ALL text elements to center */
.hero-content-new h1,
.hero-content-new p,
.hero-content-new .wp-block-heading,
.hero-content-new .wp-block-paragraph,
.hero-content-new > * {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Main heading - responsive sizing */
.hero-content-new h1.hero-main-heading,
.hero-content-new .hero-main-heading {
    font-size: clamp(2rem, 6vw, 3.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 3rem !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: center !important;
}

/* Subtitle - responsive sizing */
.hero-content-new p.hero-subtitle,
.hero-content-new .hero-subtitle {
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    margin-bottom: 5rem !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.5 !important;
    text-align: center !important;
    max-width: clamp(300px, 85vw, 800px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Button container - universal centering */
.hero-content-new .wp-block-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(0.8rem, 2vw, 1.2rem) !important;
    margin: 0 auto clamp(1.5rem, 4vw, 2.5rem) auto !important;
    margin-bottom: unset !important;
    width: 100% !important;
    text-align: center !important;
}

.hero-content-new .wp-block-button {
    margin: 0 !important;
    flex: 0 0 auto !important;
}

/* Primary CTA Button - responsive */
.btn-primary-cta .wp-block-button__link {
    background-color: #00a2d5 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: clamp(12px, 2.5vw, 18px) clamp(24px, 4vw, 35px) !important;
    font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 162, 213, 0.3);
    white-space: nowrap !important;
}

.btn-primary-cta .wp-block-button__link:hover {
    background-color: #005069 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 162, 213, 0.4);
}

/* Secondary CTA Button - responsive */
.btn-secondary-cta .wp-block-button__link {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 8px !important;
    padding: clamp(10px, 2.5vw, 16px) clamp(22px, 4vw, 33px) !important;
    font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn-secondary-cta .wp-block-button__link:hover {
    background-color: white !important;
    color: #005069 !important;
    border-color: white !important;
    transform: translateY(-2px);
}

/* Stats Section - universal responsive */
.hero-stats,
.hero-stats.wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    margin: clamp(20px, 5vw, 40px) auto 0 auto !important;
    padding: clamp(15px, 3vw, 25px) 0 !important;
    width: 100% !important;
    max-width: clamp(300px, 80vw, 800px) !important;
    gap: clamp(1rem, 3vw, 2rem) !important;
}

.hero-stats .wp-block-column,
.hero-stats .stat-item {
    flex: 1 1 clamp(120px, 25vw, 200px) !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 clamp(5px, 1vw, 15px) !important;
}

.hero-stats .stat-number,
.hero-stats h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center !important;
}

.hero-stats .stat-label,
.hero-stats p {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem) !important;
    font-weight: 500 !important;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Small screen adjustments only when absolutely needed */
@media (max-width: 600px) {
    .hero-content-new .wp-block-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-content-new .wp-block-button {
        width: 100% !important;
        max-width: 280px !important;
    }
}

/* Animation Effects (Optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content-new > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content-new h1 {
    animation-delay: 0.2s;
}

.hero-content-new p {
    animation-delay: 0.4s;
}

.hero-content-new .wp-block-buttons {
    animation-delay: 0.6s;
}

.hero-content-new .hero-stats {
    animation-delay: 0.8s;
    display:none !important;
}

/* MODERN QUICK LINKS SECTION CSS */

/* Reduce gap between hero and quick links */
.hero-section-new {
    margin-bottom: 0 !important;
}

/* Quick Links Section Specific Styling */
.quick-links-section {
    background-color: white !important;
    padding: clamp(15px, 2vw, 20px) clamp(20px, 3vw, 20px) !important;
    margin-bottom: 0 !important;
}

/* Override theme padding for quick links */
.site-main .quick-links-section.wp-block-group__inner-container,
.site-main .quick-links-section .wp-block-group__inner-container {
    padding: clamp(15px, 2vw, 20px) clamp(20px, 3vw, 20px);
}

/* Quick Links Grid Layout - Responsive */
.quick-links-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: stretch !important;
    margin-bottom: 0 !important;
}

/* Quick Links Columns - Force Equal Widths - Override theme styles */
.quick-links-grid .wp-block-column,
.site-main .quick-links-grid .wp-block-column,
.quick-links-section .wp-block-column {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    flex-basis: 0 !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
}

/* Modern Link Cards */
.modern-link-card {
    background-color: #f8f9fa !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 80, 105, 0.08) !important;
    cursor: pointer !important;
    min-height: clamp(100px, 12vw, 120px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(20px, 3vw, 25px) clamp(15px, 2vw, 15px) !important;
    text-align: center !important;
    width: 100% !important;
    position: relative !important;
}

/* Aggressive Centering for Everything */
.modern-link-card,
.modern-link-card * {
    text-align: center !important;
}

/* Icon Wrapper */
.link-icon-wrapper {
    margin-bottom: clamp(6px, 1vw, 8px) !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative !important;
}

/* Icon Styling */
.link-icon {
    width: clamp(20px, 2.5vw, 24px) !important;
    height: clamp(20px, 2.5vw, 24px) !important;
    color: #005069 !important;
    stroke: currentColor !important;
    transition: all 0.3s ease !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* Link Text Styling - Match Hero Section Font */
.link-text {
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #005069 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.3px !important;
    transition: color 0.3s ease !important;
    line-height: 1.2 !important;
}

/* Make entire card clickable - now using HTML wrapper */
.modern-link-card-wrapper {
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    height: 100% !important;
}

.modern-link-card-wrapper:hover .modern-link-card {
    background-color: #005069 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 80, 105, 0.15) !important;
}

.modern-link-card-wrapper:hover .link-icon {
    color: #00a2d5 !important;
    stroke: #00a2d5 !important;
    transform: scale(1.05) !important;
}

.modern-link-card-wrapper:hover .link-text {
    color: #ffffff !important;
}

/* Legacy hover effects - kept for backward compatibility */
.modern-link-card:hover {
    background-color: #005069 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 80, 105, 0.15) !important;
}

.modern-link-card:hover .link-icon {
    color: #00a2d5 !important;
    stroke: #00a2d5 !important;
    transform: scale(1.05) !important;
}

.modern-link-card:hover .link-text {
    color: #ffffff !important;
}

/* Desktop - 4 columns in a row */
@media (min-width: 1025px) {
    .quick-links-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
    }

    .quick-links-grid .wp-block-column,
    .site-main .quick-links-grid .wp-block-column {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        width: 25% !important;
        flex-basis: 0 !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
    }

    .modern-link-card {
        min-height: 130px !important;
        text-align: center !important;
    }

    .link-icon {
        width: 26px !important;
        height: 26px !important;
        margin: 0 auto !important;
    }

    .link-text {
        font-size: 16px !important;
        font-family: 'Outfit', sans-serif !important;
        text-align: center !important;
    }
}

/* Tablet - 2x2 Grid */
@media (max-width: 1024px) and (min-width: 769px) {
    .quick-links-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .quick-links-grid .wp-block-column {
        max-width: none !important;
    }

    .modern-link-card {
        min-height: 110px !important;
        text-align: center !important;
    }

    .link-icon {
        width: 24px !important;
        height: 24px !important;
        margin: 0 auto !important;
    }

    .link-text {
        font-size: 15px !important;
        font-family: 'Outfit', sans-serif !important;
        text-align: center !important;
    }
}

/* Mobile - 2x2 Grid */
@media (max-width: 768px) {
    .quick-links-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .site-main .wp-block-group__inner-container {
        padding: 20px 0px 20px 0px !important;
    }

    .quick-links-grid .wp-block-column {
        max-width: none !important;
    }

    .modern-link-card {
        min-height: 90px !important;
        padding: 15px 10px !important;
        text-align: center !important;
    }

    .link-icon {
        width: 20px !important;
        height: 20px !important;
        margin: 0 auto !important;
    }

    .link-text {
        font-size: 14px !important;
        font-family: 'Outfit', sans-serif !important;
        text-align: center !important;
    }
}

/* SERVICES SECTION CSS */

/* Services Section Container */
.services-section {
    background-color: #f8f9fa !important;
    padding: clamp(20px, 2.5vw, 30px) clamp(20px, 3vw, 20px) !important;
    margin: 0 !important;
    position: relative !important;
}

/* Override theme padding for services section */
.site-main .services-section.wp-block-group__inner-container,
.site-main .services-section .wp-block-group__inner-container {
    padding: clamp(20px, 2.5vw, 30px) clamp(20px, 3vw, 20px);
}

/* Section Title */
.services-section .section-title {
    color: #005069 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: clamp(2rem, 5vw, 3rem) !important;
    letter-spacing: -0.5px !important;
}

/* Services Grid Layout */
.services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: clamp(20px, 4vw, 40px) !important;
    align-items: stretch !important;
    justify-content: center !important;
    margin-bottom: clamp(20px, 3vw, 40px) !important;
}

.services-grid .wp-block-column {
    flex: 1 1 clamp(280px, 45%, 500px) !important;
    display: flex !important;
    align-items: stretch !important;
    min-width: 0 !important;
}

/* Service Card Styling */
.service-card {
    background-color: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 80, 105, 0.08) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: clamp(30px, 4vw, 40px) clamp(20px, 3vw, 30px) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Make entire service card clickable - HTML wrapper approach */
.service-card-wrapper {
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
}

.service-card-wrapper:hover .service-card {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(0, 80, 105, 0.2) !important;
}

.service-card-wrapper:hover .service-card::before {
    transform: scaleX(1) !important;
}

.service-card-wrapper:hover .service-icon {
    color: #005069 !important;
    transform: scale(1.2) rotateY(15deg) !important;
    animation: iconBounce 0.6s ease !important;
    filter: drop-shadow(0 4px 12px rgba(0, 80, 105, 0.3)) !important;
}

.service-card-wrapper:hover .service-title {
    color: #00a2d5 !important;
}

.service-card-wrapper:hover .service-header {
    transform: translateX(5px) !important;
}

.service-card-wrapper:hover .service-description {
    transform: translateX(3px) !important;
}

.service-card-wrapper:hover .service-link-text {
    transform: translateX(8px) !important;
    color: #005069 !important;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00a2d5, #005069);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Service Header - Icon and Title on Same Line */
.service-header {
    display: flex !important;
    align-items: center !important;
    gap: clamp(12px, 2vw, 16px) !important;
    margin-bottom: clamp(15px, 2vw, 20px) !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    perspective: 1000px !important;
}

.service-icon {
    color: #00a2d5 !important;
    width: clamp(40px, 5vw, 48px) !important;
    height: clamp(40px, 5vw, 48px) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-bottom: 0 !important;
    stroke: currentColor !important;
    filter: drop-shadow(0 2px 4px rgba(0, 162, 213, 0.2)) !important;
}

.animated-icon {
    transform-origin: center !important;
    animation: iconFloat 3s ease-in-out infinite !important;
}

/* Service Title */
.service-title {
    color: #005069 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.3rem, 2.5vw, 1.5rem) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    letter-spacing: -0.3px !important;
    text-align: left !important;
    flex-grow: 1 !important;
}

/* Service Description */
.service-description {
    color: #666666 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 1.5vw, 1rem) !important;
    line-height: 1.6 !important;
    margin-bottom: clamp(1.2rem, 2vw, 1.5rem) !important;
    flex-grow: 1 !important;
    text-align: left !important;
}

/* Service Link - text without anchor tag inside wrapper */
.service-link-text {
    color: #00a2d5 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 1.5vw, 1rem) !important;
    font-weight: 600 !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.service-link-text i {
    transition: transform 0.3s ease !important;
    font-size: 0.9em !important;
}


/* Responsive Layout Adjustments */
@media (min-width: 1200px) {
    .services-grid {
        max-width: 1200px !important;
        margin: 0 auto clamp(20px, 3vw, 40px) auto !important;
    }

    .services-grid .wp-block-column {
        flex: 1 1 calc(50% - 20px) !important;
        max-width: calc(50% - 20px) !important;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: clamp(15px, 2vw, 20px) clamp(15px, 3vw, 20px) !important;
    }

    .quick-links-section {
        padding: clamp(12px, 1.5vw, 15px) clamp(15px, 3vw, 20px) !important;
    }

    .services-grid {
        flex-direction: column !important;
        gap: clamp(15px, 3vw, 25px) !important;
    }

    .services-grid .wp-block-column {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .service-card {
        padding: clamp(25px, 4vw, 30px) clamp(20px, 3vw, 25px) !important;
    }

    .section-title {
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem) !important;
    }
}

/* Accessibility and Animation */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-icon,
    .service-link a,
    .service-card::before {
        transition: none !important;
        animation: none !important;
    }

    .service-card:hover {
        transform: none !important;
    }
}

/* Focus states for accessibility */
.service-card:focus-within {
    outline: 2px solid #00a2d5;
    outline-offset: 2px;
}

.service-link a:focus {
    outline: 2px solid #00a2d5;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Keyframe Animations */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% { transform: scale(1.2) rotateY(15deg) translateY(0); }
    40% { transform: scale(1.25) rotateY(15deg) translateY(-8px); }
    60% { transform: scale(1.2) rotateY(15deg) translateY(-4px); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

/* Staggered Entrance Animations */
.animate-on-scroll {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.service-card-1.animate-on-scroll {
    animation-delay: 0.1s;
}

.service-card-2.animate-on-scroll {
    animation-delay: 0.2s;
}

.service-card-3.animate-on-scroll {
    animation-delay: 0.3s;
}

.service-card-4.animate-on-scroll {
    animation-delay: 0.4s;
}

/* Enhanced Service Card Transitions */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.service-title {
    transition: all 0.3s ease !important;
}

.service-description {
    transition: all 0.3s ease !important;
}

/* Icon specific animations with different delays */
.service-card-1 .animated-icon {
    animation-delay: 0.5s;
}

.service-card-2 .animated-icon {
    animation-delay: 1s;
}

.service-card-3 .animated-icon {
    animation-delay: 1.5s;
}

.service-card-4 .animated-icon {
    animation-delay: 2s;
}

/* =====================================
   CONTENT SECTION STYLES
   ===================================== */

.content-section {
    font-family: 'Outfit', sans-serif !important;
}

/* Content Block Styling */
.content-block {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.content-block-1.animate-on-scroll {
    animation-delay: 0.2s;
}

.content-block-2.animate-on-scroll {
    animation-delay: 0.4s;
}

.content-block-3.animate-on-scroll {
    animation-delay: 0.6s;
}

/* Media Text Block Responsive Adjustments */
.wp-block-media-text {
    margin-bottom: clamp(40px, 8vw, 60px) !important;
}

.wp-block-media-text:last-child {
    margin-bottom: 0 !important;
}

/* Content Headings */
.content-heading {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #005069 !important;
    margin-bottom: 1.5rem !important;
}

.content-heading a {
    color: inherit !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.content-heading a:hover {
    color: #00a2d5 !important;
}

/* Content Descriptions */
.content-description {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1rem, 2.5vw, 1.1rem) !important;
    line-height: 1.7 !important;
    color: #444444 !important;
    margin-bottom: 1.5rem !important;
}

/* Content Links */
.content-link {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1rem, 2.5vw, 1.1rem) !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}

.content-link a {
    color: #00a2d5 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.content-link a:hover {
    color: #005069 !important;
    transform: translateX(5px) !important;
}

.content-link a i {
    font-size: 0.9em !important;
    transition: transform 0.3s ease !important;
}

.content-link a:hover i {
    transform: translateX(3px) !important;
}

/* Media Adjustments */
.wp-block-media-text__media img {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 80, 105, 0.1) !important;
    transition: all 0.4s ease !important;
}

.content-block:hover .wp-block-media-text__media img {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 40px rgba(0, 80, 105, 0.15) !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .content-section {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 4vw, 20px) !important;
    }

    .wp-block-media-text {
        margin-bottom: clamp(30px, 6vw, 40px) !important;
    }

    .content-heading {
        margin-bottom: 1rem !important;
        text-align: center !important;
    }

    .content-description,
    .content-link {
        text-align: center !important;
    }

    .wp-block-media-text__media {
        margin-bottom: 1.5rem !important;
    }
}

/* =====================================
   TESTIMONIAL SECTION STYLES
   ===================================== */

.testimonial-section {
    font-family: 'Outfit', sans-serif !important;
    background-color: #f8f9fa !important;
}

/* Override theme padding for testimonial section */
.site-main .testimonial-section.wp-block-group__inner-container,
.site-main .testimonial-section .wp-block-group__inner-container {
    padding: clamp(30px, 4vw, 40px) clamp(20px, 3vw, 20px) !important;
}

.testimonial-section .section-title {
    margin-bottom: clamp(1.5rem, 3vw, 2rem) !important;
}

.testimonial-slider-wrapper {
    position: relative !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 70px !important;
}

.testimonial-slider {
    position: relative !important;
    overflow: hidden !important;
    min-height: 350px !important;
}

.testimonial-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    transition: opacity 0.6s ease, visibility 0.6s ease !important;
}

.testimonial-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

.testimonial-content {
    text-align: center !important;
    padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 35px) !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 80, 105, 0.1) !important;
}

.quote-icon {
    color: #00a2d5 !important;
    opacity: 0.3 !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
}

.quote-icon svg {
    width: clamp(40px, 5vw, 48px) !important;
    height: clamp(40px, 5vw, 48px) !important;
}

.testimonial-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1rem, 2.2vw, 1.15rem) !important;
    line-height: 1.8 !important;
    color: #444444 !important;
    margin-bottom: 2rem !important;
    font-style: italic !important;
}

.testimonial-author {
    margin-top: 2rem !important;
}

.author-name {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem) !important;
    font-weight: 600 !important;
    color: #005069 !important;
    margin-bottom: 0.25rem !important;
}

.author-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
    color: #666666 !important;
    margin-bottom: 0 !important;
}

/* Testimonial Arrows */
.testimonial-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #005069 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 80, 105, 0.4) !important;
    opacity: 1 !important;
    padding: 0 !important;
}

.testimonial-arrow:hover {
    background: #00a2d5 !important;
    color: white !important;
    transform: translateY(-50%) scale(1.15) !important;
    box-shadow: 0 6px 20px rgba(0, 162, 213, 0.5) !important;
}

.testimonial-prev {
    left: 5px !important;
}

.testimonial-next {
    right: 5px !important;
}

.testimonial-arrow svg {
    width: 24px !important;
    height: 24px !important;
    stroke: white !important;
    stroke-width: 2.5 !important;
    fill: none !important;
    display: block !important;
}

/* Testimonial Dots */
.testimonial-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 2rem !important;
}

.testimonial-dots .dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #d0d0d0 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.testimonial-dots .dot:hover {
    background: #00a2d5 !important;
    transform: scale(1.2) !important;
}

.testimonial-dots .dot.active {
    background: #005069 !important;
    width: 32px !important;
    border-radius: 6px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-section {
        padding: clamp(25px, 3vw, 30px) clamp(15px, 3vw, 20px) !important;
    }

    .testimonial-slider-wrapper {
        padding: 0 60px !important;
    }

    .testimonial-slider {
        min-height: 400px !important;
    }

    .testimonial-arrow {
        width: 44px !important;
        height: 44px !important;
    }

    .testimonial-arrow svg {
        width: 20px !important;
        height: 20px !important;
        stroke-width: 2.5 !important;
    }

    .testimonial-content {
        padding: clamp(20px, 3vw, 25px) clamp(15px, 2vw, 20px) !important;
    }

    .testimonial-text {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }
}

@media (max-width: 480px) {
    .testimonial-slider-wrapper {
        padding: 0 50px !important;
    }

    .testimonial-arrow {
        width: 40px !important;
        height: 40px !important;
    }

    .testimonial-arrow svg {
        width: 18px !important;
        height: 18px !important;
        stroke-width: 2.5 !important;
    }
}

/* =====================================
   HELP SECTION STYLES
   ===================================== */

.help-section {
    font-family: 'Outfit', sans-serif !important;
}

/* Help Card Styling */
.help-card {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 20px rgba(0, 80, 105, 0.08) !important;
    position: relative !important;
    cursor: pointer !important;
    background-color: white !important;
    border-radius: 12px !important;
    padding: clamp(30px, 4vw, 40px) clamp(20px, 3vw, 30px) !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.help-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(0, 80, 105, 0.15) !important;
}

/* Make entire help card clickable - HTML wrapper approach */
.help-card-wrapper {
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
}

.help-card-wrapper:hover .help-card {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(0, 80, 105, 0.15) !important;
}

.help-card-wrapper:hover .help-icon {
    color: #005069 !important;
    transform: scale(1.1) !important;
}

.help-card-wrapper:hover .help-title {
    color: #00a2d5 !important;
}

.help-card-wrapper:hover .help-link-text {
    color: #005069 !important;
    transform: translateX(5px) !important;
}

.help-card-wrapper:hover .help-link-text i {
    transform: translateX(3px) !important;
}

.help-card-1.animate-on-scroll {
    animation-delay: 0.2s;
}

.help-card-2.animate-on-scroll {
    animation-delay: 0.4s;
}

/* Help Header with Icon and Title */
.help-header {
    width: 100% !important;
    margin-bottom: 0 !important;
    gap: 1rem !important;
}

.help-icon-wrapper {
    flex-shrink: 0 !important;
}

.help-icon {
    color: #00a2d5 !important;
    transition: all 0.3s ease !important;
}

.help-card:hover .help-icon {
    color: #005069 !important;
    transform: scale(1.1) !important;
}

.help-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.25rem, 3vw, 1.5rem) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #005069 !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.help-card:hover .help-title {
    color: #00a2d5 !important;
}

.help-description {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 2.2vw, 1rem) !important;
    line-height: 1.6 !important;
    color: #444444 !important;
}

/* Help Link - text without anchor tag inside wrapper */
.help-link-text {
    color: #00a2d5 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 2.2vw, 1rem) !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.help-link-text i {
    font-size: 0.9em !important;
    transition: transform 0.3s ease !important;
}


/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .help-section {
        padding: clamp(40px, 8vw, 60px) clamp(15px, 4vw, 20px) !important;
    }

    .help-card {
        padding: clamp(25px, 6vw, 30px) clamp(20px, 5vw, 25px) !important;
    }

    .help-header {
        justify-content: center !important;
        margin-bottom: 1rem !important;
    }

    .help-title,
    .help-description,
    .help-link {
        text-align: center !important;
    }
}

/* =====================================
   FOOTER SECTION STYLES
   ===================================== */

.footer-section {
    font-family: 'Outfit', sans-serif !important;
    background-color: #005069 !important;
    color: white !important;
}

/* Footer Grid Layout */
.footer-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: clamp(30px, 5vw, 40px) !important;
    margin-bottom: 0 !important;
}

.footer-column {
    flex: 1 1 clamp(200px, 22%, 300px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

/* Footer Logo */
.footer-logo-column {
    flex: 1 1 clamp(150px, 20%, 250px) !important;
}

.footer-logo {
    margin-bottom: 0 !important;
}

.footer-logo img {
    max-width: clamp(150px, 20vw, 200px) !important;
    height: auto !important;
    filter: brightness(0) invert(1) !important;
}

/* Footer Headings */
.footer-heading {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem) !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 1.5rem !important;
    margin-top: 0 !important;
    letter-spacing: 0.3px !important;
}

/* Footer Lists */
.footer-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.footer-list-item {
    margin-bottom: 0.8rem !important;
    list-style: none !important;
}

.footer-list-item::marker {
    display: none !important;
}

.footer-link {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 2vw, 1rem) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.footer-link:hover {
    color: #00a2d5 !important;
    transform: translateX(3px) !important;
}

/* Footer Contact Info */
.footer-contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.footer-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-family: 'Outfit', sans-serif !important;
}

.footer-contact-item.footer-address {
    align-items: flex-start !important;
}

.footer-icon {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    color: #00a2d5 !important;
    stroke: currentColor !important;
    margin-top: 3px !important;
}

.footer-contact-link {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 2vw, 1rem) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer-contact-link:hover {
    color: #00a2d5 !important;
}

.footer-contact-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 2vw, 1rem) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-address-text {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.95rem, 2vw, 1rem) !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6 !important;
}

/* Footer Divider */
.footer-divider {
    border: none !important;
    height: 1px !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    margin: clamp(30px, 5vw, 40px) 0 clamp(20px, 4vw, 30px) 0 !important;
}

/* Footer Copyright */
.footer-copyright {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(0.85rem, 1.8vw, 0.9rem) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }

    .footer-logo-column {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }

    .footer-logo img {
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: clamp(40px, 8vw, 50px) clamp(20px, 5vw, 25px) !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    .footer-column {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-logo-column {
        margin-bottom: 10px !important;
    }

    .footer-heading {
        text-align: center !important;
        margin-bottom: 1.2rem !important;
    }

    .footer-list {
        text-align: center !important;
    }

    .footer-list-item {
        margin-bottom: 0.6rem !important;
    }

    .footer-contact-info {
        align-items: center !important;
    }

    .footer-contact-item {
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-contact-item.footer-address {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-address-text {
        text-align: center !important;
    }

    .footer-icon {
        margin-top: 0 !important;
    }

    .footer-divider {
        margin: clamp(25px, 4vw, 30px) 0 clamp(15px, 3vw, 20px) 0 !important;
    }
}