/*
Theme Name: Mom N Pop Insurance
Theme URI: https://mnpins.com
Author: Mom N Pop Insurance
Author URI: https://mnpins.com
Description: A premium, friendly theme for Mom N Pop Insurance — family-owned agency.
Version: 2.0.0
Text Domain: mnp-theme
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --navy: #001A70;
    --navy-light: #002a99;
    --navy-dark: #000f42;
    --green: #52D93E;
    --green-dark: #3dbf2a;
    --pink: #DC08B1;
    --yellow: #FAE600;
    --orange: #FF5900;
    --peach: #F1CCAE;
    --peach-dark: #FBAF72;
    --white: #ffffff;
    --off-white: #f8f9fc;
    --text-dark: #1a1a2e;
    --text-muted: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 26, 112, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 26, 112, 0.12);
    --shadow-lg: 0 16px 50px rgba(0, 26, 112, 0.18);
    --shadow-hover: 0 20px 60px rgba(0, 26, 112, 0.22);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Rowdies', cursive;
    --font-body: 'Figtree', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navy);
    transition: var(--transition);
}

/* Offset for WordPress admin bar */
.admin-bar .site-header {
    top: 32px;
}
.admin-bar .hero {
    padding-top: 112px;
}
.admin-bar .page-hero {
    padding-top: 112px;
}
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
    .admin-bar .hero {
        padding-top: 126px;
    }
    .admin-bar .page-hero {
        padding-top: 126px;
    }
}

.site-header.scrolled {
    background: rgba(0, 26, 112, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    z-index: 1001;
}

.site-logo .logo-img {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown nav */
.has-dropdown {
    position: relative;
}
.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    background: var(--navy);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 1002;
    border: 1px solid rgba(255,255,255,0.1);
}
.has-dropdown:hover .dropdown {
    display: block;
}
.has-dropdown .dropdown li {
    padding: 0;
}
.has-dropdown .dropdown a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}
.has-dropdown .dropdown a:hover {
    background: rgba(255,255,255,0.1);
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(82, 217, 62, 0.3);
}

.btn-quote:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(82, 217, 62, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 8px;
    justify-self: end;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile overlay nav */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-overlay a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 16px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav-overlay.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-overlay.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.open a:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-overlay .btn-quote {
    margin-top: 24px;
    font-size: 1.2rem;
    padding: 16px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, background var(--transition), box-shadow var(--transition);
}

.mobile-nav-overlay.open .btn-quote {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

/* Animated SVG decorations */
.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-cloud {
    position: absolute;
    opacity: 0.08;
    fill: var(--white);
}

.hero-cloud-1 {
    width: 300px;
    top: 12%;
    animation: cloudDrift 35s linear infinite;
}

.hero-cloud-2 {
    width: 200px;
    top: 30%;
    animation: cloudDrift 50s linear infinite;
    animation-delay: -15s;
}

.hero-cloud-3 {
    width: 250px;
    top: 55%;
    animation: cloudDrift 42s linear infinite;
    animation-delay: -25s;
}

@keyframes cloudDrift {
    from { transform: translateX(-400px); }
    to { transform: translateX(calc(100vw + 400px)); }
}

.hero-sun {
    position: absolute;
    top: 8%;
    right: 10%;
    width: 120px;
    height: 120px;
    opacity: 0.12;
}

.hero-sun .sun-core {
    fill: var(--yellow);
}

.hero-sun .sun-rays {
    fill: var(--yellow);
    transform-origin: center;
    animation: sunRotate 30s linear infinite;
}

@keyframes sunRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--white);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.hero-star:nth-child(1) { top: 15%; left: 20%; animation-delay: 0s; }
.hero-star:nth-child(2) { top: 25%; left: 75%; animation-delay: 0.8s; }
.hero-star:nth-child(3) { top: 40%; left: 45%; animation-delay: 1.5s; }
.hero-star:nth-child(4) { top: 60%; left: 15%; animation-delay: 2.1s; }
.hero-star:nth-child(5) { top: 35%; left: 88%; animation-delay: 0.4s; }
.hero-star:nth-child(6) { top: 70%; left: 65%; animation-delay: 1.8s; }
.hero-star:nth-child(7) { top: 18%; left: 55%; animation-delay: 2.5s; }
.hero-star:nth-child(8) { top: 50%; left: 30%; animation-delay: 1.1s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.8); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(82, 217, 62, 0.15);
    border: 1px solid rgba(82, 217, 62, 0.3);
    color: var(--green);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 .accent {
    color: var(--green);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    margin-bottom: 50px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(82, 217, 62, 0.35);
}

.btn-hero-primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(82, 217, 62, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge svg {
    width: 22px;
    height: 22px;
    fill: var(--green);
    flex-shrink: 0;
}

/* Hero wave divider */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    margin-bottom: 12px;
}

.section-header .underline-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--green);
    border-radius: 4px;
    margin: 16px auto 0;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 16px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 26, 112, 0.06);
    border-top: 4px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.12);
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-icon.auto { background: none; }
.service-icon.auto svg { fill: var(--green-dark); }
.service-icon.home { background: linear-gradient(135deg, #e3f2fd, #bbdefb); }
.service-icon.home svg { fill: var(--navy); }
.service-icon.life { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.service-icon.life svg { fill: var(--pink); }
.service-icon.business { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.service-icon.business svg { fill: var(--orange); }

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--green-dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   STATS COUNTER BAR
   ============================================ */
.stats {
    background: var(--green);
    position: relative;
    padding: 70px 0;
}

.stats .wave-top,
.stats .wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.stats .wave-top {
    top: -2px;
    transform: rotate(180deg);
}

.stats .wave-bottom {
    bottom: -2px;
}

.stats .wave-top svg,
.stats .wave-bottom svg {
    width: 100%;
    height: auto;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.stat-item {
    color: var(--navy);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.85;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    background: var(--peach);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-icon svg {
    width: 42px;
    height: 42px;
}

.why-icon.shield { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.why-icon.shield svg { fill: var(--white); }
.why-icon.handshake { background: none; }
.why-icon.handshake img { width: 100%; height: 100%; object-fit: contain; }
.why-icon.piggy { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.why-icon.piggy svg { fill: var(--white); }
.why-icon.smiley { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.why-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.est-badge {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.est-badge-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--navy);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.est-badge-top {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    line-height: 1;
}

.est-badge-year {
    text-align: center;
}

.est-badge-inner svg {
    width: 20px;
    height: 20px;
    fill: var(--green);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 550px;
}

.about-text {
    background: var(--navy);
    color: var(--white);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
}

.about-text .accent {
    color: var(--green);
}

.about-story {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-checks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.about-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 1rem;
}

.about-check svg {
    width: 22px;
    height: 22px;
    fill: var(--green);
    flex-shrink: 0;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--green);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    border: 2px solid var(--green);
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-about:hover {
    background: var(--green);
    color: var(--navy);
    transform: translateY(-2px);
}

.about-visual {
    background: linear-gradient(135deg, var(--peach) 0%, var(--peach-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.about-shape-1 {
    width: 200px;
    height: 200px;
    background: var(--navy);
    top: 15%;
    left: 20%;
    animation: floatShape 6s ease-in-out infinite;
}

.about-shape-2 {
    width: 120px;
    height: 120px;
    background: var(--green);
    top: 50%;
    right: 15%;
    animation: floatShape 8s ease-in-out infinite;
    animation-delay: -2s;
}

.about-shape-3 {
    width: 80px;
    height: 80px;
    background: var(--pink);
    bottom: 20%;
    left: 35%;
    animation: floatShape 7s ease-in-out infinite;
    animation-delay: -4s;
}

.about-dots {
    position: absolute;
    top: 10%;
    right: 10%;
    display: grid;
    grid-template-columns: repeat(5, 8px);
    gap: 12px;
    opacity: 0.25;
}

.about-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navy);
}

.about-placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.about-placeholder-icon svg {
    width: 160px;
    height: 160px;
    opacity: 0.2;
    fill: var(--navy);
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.about-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.about-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.testimonials-track-wrapper {
    overflow: hidden;
    margin-top: 50px;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: scrollTestimonials 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    flex-shrink: 0;
    width: 360px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 26, 112, 0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--yellow);
}

.testimonial-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-avatar.a1 { background: var(--navy); }
.testimonial-avatar.a2 { background: var(--green-dark); }
.testimonial-avatar.a3 { background: var(--pink); }
.testimonial-avatar.a4 { background: var(--orange); }
.testimonial-avatar.a5 { background: var(--navy-light); }
.testimonial-avatar.a6 { background: #6b21a8; }

.testimonial-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.testimonial-type {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--green);
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    left: -80px;
    animation: floatShape 10s ease-in-out infinite;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    right: -40px;
    animation: floatShape 8s ease-in-out infinite;
    animation-delay: -3s;
}

.cta-shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    background: var(--pink);
    animation: floatShape 7s ease-in-out infinite;
    animation-delay: -5s;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content .cta-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 18px 44px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 25px rgba(82, 217, 62, 0.35);
    animation: pulse 2.5s ease-in-out infinite;
}

.btn-cta:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(82, 217, 62, 0.5);
    animation: none;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 25px rgba(82, 217, 62, 0.35); }
    50% { box-shadow: 0 4px 40px rgba(82, 217, 62, 0.55); }
}

.cta-contact {
    margin-top: 28px;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.cta-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.cta-contact a:hover {
    color: var(--green);
}

.cta-contact svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    color: var(--white);
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 80px 0 50px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-logo svg {
    width: 36px;
    height: 36px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.footer-social a:hover svg {
    fill: var(--navy);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--green);
    padding-left: 4px;
}

.footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col .contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--green);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--green);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — 1200px
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ============================================
   RESPONSIVE — 992px
   ============================================ */
@media (max-width: 992px) {
    .nav-links,
    .main-nav .btn-quote {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav-overlay {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding: 60px 40px;
    }

    .about-visual {
        min-height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero {
        min-height: 88svh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-contact {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        width: 300px;
    }

    .about-text {
        padding: 50px 24px;
        text-align: center;
    }

    .btn-about {
        align-self: center;
    }

    .about-checks {
        align-items: center;
    }
}

/* ============================================
   RESPONSIVE — 576px
   ============================================ */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1rem;
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .mobile-nav-overlay a {
        font-size: 1.5rem;
    }

    .testimonial-card {
        width: 270px;
        padding: 24px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 16px 32px;
    }
}

/* ============================================
   UTILITY / WP CLASSES
   ============================================ */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
