* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a5195;
    --secondary-color: #ff6b35;
    --accent-color: #f4a261;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   Landing Page (Beehiiv) UI
   ========================= */
.lp {
    padding-top: 0; /* No padding - hero extends behind navbar */
}

.lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 0 2.5rem;
    padding-top: 80px; /* Account for navbar, but background extends behind */
    color: var(--white);
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Dumbbells.avif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.lp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 18, 34, 0.75) 0%, rgba(33, 75, 126, 0.75) 100%);
    z-index: 0;
}

.lp-hero-card {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 4rem auto 0;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.lp-hero-card .lp-title {
    color: var(--white);
}

.lp-hero-card .lp-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.lp-hero-card .lp-eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.lp-hero-card .lp-consent {
    color: rgba(255, 255, 255, 0.85);
}

.lp-hero-card .lp-link {
    color: rgba(255, 255, 255, 0.9);
}

.lp-hero-card .lp-link:hover {
    color: var(--white);
}

.lp-hero-card .lp-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lp-hero-card #decline-upsell:hover {
    color: var(--white) !important;
}

.lp-hero-card .btn-primary {
    background: #5BA3E8;
    color: var(--white);
}

.lp-hero-card .btn-primary:hover {
    background: #4A8FD4;
    color: var(--white);
}

.lp-eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.lp-title {
    color: var(--dark-color);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.lp-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.lp-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.lp-badge {
    background: rgba(26, 81, 149, 0.08);
    color: var(--primary-color);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.lp-optin {
    margin-top: 0.75rem;
}

.lp-optin-placeholder {
    border: 2px dashed rgba(26, 81, 149, 0.35);
    border-radius: 12px;
    padding: 1rem;
    background: rgba(26, 81, 149, 0.04);
}

.lp-optin-form {
    margin-top: 0.75rem;
}

.lp-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lp-form-input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.lp-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 81, 149, 0.1);
}

.lp-form-submit {
    white-space: nowrap;
    padding: 0.95rem 1.5rem;
}

.lp-consent {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

.lp-secondary-cta {
    margin-top: 0.75rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lp-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.lp-section {
    padding: 4rem 0;
}

.lp-section-alt {
    background: var(--light-color);
}

.lp-section-cta {
    background: var(--white);
}

.lp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.lp-grid-center {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.lp-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.lp-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.lp-list li {
    padding: 0.5rem 0;
    color: var(--text-color);
    line-height: 1.5;
}

.lp-faq {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.lp-faq summary {
    cursor: pointer;
    font-weight: 700;
}

.lp-cta {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .lp-grid {
        grid-template-columns: 1fr;
    }

    .lp-grid-center {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .lp-two-col {
        grid-template-columns: 1fr;
    }

    .lp-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .lp-hero-card {
        padding: 1.25rem;
    }

    .lp-title {
        font-size: 1.9rem;
    }

    .lp-form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .lp-form-submit {
        width: 100%;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.darkened {
    background: rgba(18, 46, 80, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 100%;
}

.nav-logo {
    height: auto;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

.nav-btn-primary {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

@media (hover: hover) {
    .nav-btn-primary:hover {
        background: var(--white);
        color: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(255,107,53,0.2);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('DSC03153_Original.JPG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 18, 34, 0.75) 0%, rgba(33, 75, 126, 0.75) 100%);
    z-index: 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

@media (hover: hover) {
    .btn-primary:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Hero Pathways Section */
.hero-pathways {
    position: relative;
    z-index: 1;
    padding: 3rem 0 5rem;
    background: transparent;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 0.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pathway-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
    border: 3px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    backface-visibility: hidden;
    /* Initial hidden state for animation */
    opacity: 0;
    transform: translateY(20px);
}

.pathway-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pathway-card.pathway-featured {
    transform: scale(1.10) translateY(20px);
}

.pathway-card.pathway-featured.animate-in {
    transform: scale(1.10) translateY(0);
}

.pathway-card:not(.pathway-featured):hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: #4A90E2;
}

.pathway-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pathway-card.pathway-featured {
    border-color: transparent;
    border-width: 4px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    box-shadow: 0 12px 35px rgba(26, 81, 149, 0.25), 
                0 0 20px rgba(255, 107, 53, 0.3),
                0 0 40px rgba(255, 107, 53, 0.15),
                0 0 0 1px rgba(26, 81, 149, 0.1);
    position: relative;
    padding: 3rem 2.5rem;
    min-height: auto;
    z-index: 1;
}

.pathway-card.pathway-featured::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 19px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.pathway-card.pathway-featured:hover {
    transform: scale(1.15) !important;
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(255, 107, 53, 0.4),
                0 0 50px rgba(255, 107, 53, 0.2);
}

.pathway-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.pathway-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.pathway-tag {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
}

.pathway-featured .pathway-tag {
    background: var(--secondary-color);
}

.pathway-card p:not(.pathway-tag) {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pathway-see-more {
    display: none;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem 0 1rem;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.pathway-see-more[aria-expanded="true"] {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

@media (hover: hover) {
    .pathway-see-more:hover {
        background: var(--primary-color);
        color: var(--white);
    }

    .pathway-see-more[aria-expanded="true"]:hover {
        background: var(--secondary-color);
        color: var(--white);
    }
}

.pathway-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pathway-features li {
    color: var(--text-color);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.pathway-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.pathway-featured .pathway-btn {
    background: var(--secondary-color);
    color: var(--white);
}

@media (hover: hover) {
    .pathway-featured .pathway-btn:hover {
        background: #ff853a;
        color: var(--white);
    }

    .pathway-card:not(.pathway-featured) .pathway-btn:hover {
        background: #4A90E2;
        color: var(--white);
    }
}

/* Trust Section */
.trust {
    background: var(--white);
    padding: 4rem 0;
}

.trust-content {
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.trust-item {
    padding: 2rem;
}

.trust-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    border-top: 2px solid var(--light-color);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-logo {
    height: auto;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo {
        max-height: 45px;
    }

    .nav-btn-primary {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-btn-primary:active,
    .nav-btn-primary:focus,
    .nav-btn-primary:visited {
        color: var(--primary-color);
        background: var(--white);
    }

    .hero {
        padding-top: 70px;
        min-height: auto;
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 4rem 20px 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-pathways {
        padding: 1rem 0 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form .btn-primary {
        align-self: center;
        max-width: 300px;
    }

    .pathways-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 0 0.75rem;
    }
    
    .pathway-card.pathway-featured {
        order: -1;
    }

    .pathway-card {
        padding: 2rem 1.75rem;
        margin: 0;
        min-height: auto;
    }
    
    /* Remove all hover effects on mobile */
    .pathway-card:hover,
    .pathway-card:not(.pathway-featured):hover {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border-color: transparent;
    }
    
    /* Keep border for featured card on hover */
    .pathway-card.pathway-featured:hover {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border-color: var(--secondary-color) !important;
    }

    .pathway-card:active {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    .pathway-card.pathway-featured {
        transform: translateY(20px) !important;
        border-width: 3px;
        border-color: var(--secondary-color);
    }
    
    .pathway-card.pathway-featured.animate-in {
        transform: translateY(0) !important;
    }
    
    /* Keep border for featured card on hover and active states */
    .pathway-card.pathway-featured:hover,
    .pathway-card.pathway-featured:active,
    .pathway-card.pathway-featured:focus-within {
        border-color: var(--secondary-color) !important;
    }

    .pathway-card.pathway-featured:active {
        transform: translateY(-2px);
        border-color: var(--secondary-color);
    }

    .pathway-icon {
        font-size: 2.75rem;
        margin-bottom: 1rem;
    }

    .pathway-card h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .pathway-tag {
        padding: 0.4rem 1.25rem;
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .pathway-card p:not(.pathway-tag) {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.7;
    }

    .pathway-see-more {
        display: block;
    }

    .pathway-features {
        margin-bottom: 0;
        padding-left: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease;
        opacity: 0;
    }
    
    .pathway-features.expanded {
        max-height: 500px;
        margin-bottom: 1.75rem;
        opacity: 1;
    }

    .pathway-features li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        line-height: 1.6;
    }

    .pathway-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonials-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        max-height: 40px;
    }
    
    .hero {
        background-size: cover;
        background-position: center center;
        min-height: 100vh;
    }

    .hero-content {
        padding: 3.5rem 20px 1.25rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pathways-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.75rem;
        padding: 0 0.5rem;
    }
    
    .pathway-card.pathway-featured {
        order: -1;
        transform: translateY(20px) !important;
        border-color: var(--secondary-color);
    }
    
    .pathway-card.pathway-featured.animate-in {
        transform: translateY(0) !important;
    }

    .pathway-card {
        padding: 1.75rem 1.5rem;
    }
    
    /* Remove all hover effects on mobile */
    .pathway-card:hover,
    .pathway-card:not(.pathway-featured):hover {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border-color: transparent;
    }
    
    /* Keep border for featured card on hover */
    .pathway-card.pathway-featured:hover {
        transform: none !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border-color: var(--secondary-color) !important;
    }

    .pathway-icon {
        font-size: 2.5rem;
        margin-bottom: 0.875rem;
    }

    .pathway-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.625rem;
    }

    .pathway-tag {
        padding: 0.35rem 1.1rem;
        font-size: 0.85rem;
    }

    .pathway-card p:not(.pathway-tag) {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.15rem;
    }

    .pathway-see-more {
        display: block;
    }
    
    .pathway-features {
        margin-bottom: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease;
        opacity: 0;
        will-change: max-height;
    }
    
    .pathway-features.expanded {
        max-height: 500px;
        margin-bottom: 1.5rem;
        opacity: 1;
    }

    .pathway-features li {
        font-size: 0.9rem;
        padding: 0.45rem 0;
        line-height: 1.55;
    }

    .pathway-btn {
        padding: 0.95rem 1.4rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

/* Free Program Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
    display: flex;
}

.popup-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: var(--text-color);
}

.popup-content {
    text-align: center;
}

.popup-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.popup-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.popup-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.popup-input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.popup-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 81, 149, 0.1);
}

.popup-btn {
    width: 100%;
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .popup-modal {
        padding: 1.5rem;
    }

    .popup-title {
        font-size: 1.5rem;
    }

    .popup-subtitle {
        font-size: 1.1rem;
    }
}
