/* ==============================================================================
   HOME PAGE STYLES - Fosseway Training
   Hero, Google Reviews, Authority Bar, Reviews, Course Directory, Why Fosseway, CTA
   ============================================================================== */

/* Home Hero Section */
.home-hero {
    position: relative;
    background-color: var(--fosseway-navy);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Home Hero */
.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.93) 0%, rgba(0, 34, 68, 0.8) 50%, rgba(0, 34, 68, 0.88) 100%);
    z-index: 1;
}

.home-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 85%, rgba(105, 190, 40, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 75% 15%, rgba(105, 190, 40, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    z-index: 2;
}

.home-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Centered Hero Layout */
.home-hero-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(105, 190, 40, 0.12);
    border: 1px solid rgba(105, 190, 40, 0.35);
    color: var(--fosseway-green);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--fosseway-green);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.home-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.75rem;
    color: white;
    letter-spacing: -0.025em;
}

.home-hero h1 .text-accent {
    color: var(--fosseway-green);
    position: relative;
}

.home-hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.65;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline;
    }
}

/* Hero Stats - Unified Row */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.hero-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
}

/* Google Widget - Prominent Standalone */
.google-widget {
    display: inline-flex;
    text-decoration: none;
    margin-bottom: 2.5rem;
}

.google-widget-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.1rem 2rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.google-widget:hover .google-widget-inner {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.google-logo {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.google-widget-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.google-widget-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.google-stars-row {
    display: flex;
    align-items: center;
    gap: 2px;
}

.google-widget-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.google-widget-arrow {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.google-widget:hover .google-widget-arrow {
    color: white;
    transform: translateX(3px);
}

/* Legacy Google Rating in Stats (keep for compatibility) */
.google-stat {
    transition: transform 0.2s ease;
}

.google-stat:hover {
    transform: translateY(-2px);
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-icon {
    flex-shrink: 0;
}

.google-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

/* Hero Buttons */
.home-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.home-hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Trust Text */
.hero-trust-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.hero-trust-text svg {
    color: var(--fosseway-green);
    opacity: 0.7;
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .home-hero h1 {
        font-size: 3.25rem;
    }

    .hero-stats {
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
    }

    .hero-stat .stat-value {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .home-hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .home-hero-centered {
        padding: var(--spacing-md) 0;
    }

    .home-hero h1 {
        font-size: 2.5rem;
    }

    .home-hero-subtitle {
        font-size: 1.15rem;
    }

    /* Google Widget Mobile */
    .google-widget-inner {
        padding: 0.85rem 1.25rem;
        gap: 0.75rem;
    }

    .google-logo {
        width: 24px;
        height: 24px;
    }

    .rating-score {
        font-size: 1.15rem;
    }

    .google-stars-row svg {
        width: 15px;
        height: 15px;
    }

    .google-widget-label {
        font-size: 0.8rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat {
        min-width: 80px;
    }

    .hero-stat .stat-value {
        font-size: 1.5rem;
    }

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

    .home-hero-buttons .btn {
        justify-content: center;
    }

    .hero-trust-text {
        font-size: 0.8rem;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .home-hero h1 {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Card Styles */
.hero-card-inner h3 {
    color: white;
    margin-bottom: 0.75rem;
}

.hero-card-inner>p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.hero-card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-list li:last-child {
    border-bottom: none;
}

.hero-card-list svg {
    color: var(--fosseway-green);
    flex-shrink: 0;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-winter {
    background: linear-gradient(135deg, #5bc0de 0%, #4ab3d1 100%);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-winter:hover {
    background: linear-gradient(135deg, #4ab3d1 0%, #3aa5c3 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 192, 222, 0.3);
}

/* Hero Grid Responsive */
@media (max-width: 1024px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-hero-card {
        max-width: 450px;
    }

    .home-hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 640px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-grid {
        padding: var(--spacing-lg) 0;
    }

    .home-hero h1 {
        font-size: 2.25rem;
    }

    .home-hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat .stat-value {
        font-size: 1.5rem;
    }

    .home-hero-buttons {
        flex-direction: column;
    }

    .home-hero-buttons .btn {
        justify-content: center;
    }
}

/* ==============================================================================
   AUTHORITY BAR
   ============================================================================== */

.authority-bar {
    background-color: white;
    padding: var(--spacing-md) 0 var(--spacing-lg) 0;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.authority-bar .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 100%;
    padding: 0;
}

.authority-label {
    font-weight: 700;
    color: var(--fosseway-navy);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 var(--spacing-sm) 0;
    text-align: center;
}

.authority-carousel {
    width: 100vw;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.authority-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll-logos 90s linear infinite;
    width: max-content;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

.authority-logo {
    height: 90px !important;
    width: auto !important;
    max-width: none;
    opacity: 0.85;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
    display: inline-block;
}

.authority-logo:hover {
    opacity: 1;
}

/* ==============================================================================
   WINTER SERVICE CALLOUT
   ============================================================================== */

.winter-callout {
    background: linear-gradient(135deg, #1a3a5c 0%, var(--fosseway-navy) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.winter-callout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.winter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(91, 192, 222, 0.15);
    color: #5bc0de;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(91, 192, 222, 0.25);
}

.winter-callout h2 {
    font-size: 2.25rem;
    color: white;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.winter-callout-content p {
    color: var(--fosseway-grey);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* Dual portrait image layout */
.winter-callout-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    min-height: 420px;
}

/* Soft ambient glow behind images */
.winter-callout-images::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(91, 192, 222, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.winter-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.winter-img:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.winter-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winter-img-front {
    width: 55%;
    max-width: 280px;
    height: 400px;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.15);
    transform: rotate(-2deg);
}

.winter-img-front:hover {
    transform: rotate(-1deg) translateY(-4px);
}

.winter-img-back {
    width: 50%;
    max-width: 250px;
    height: 360px;
    position: relative;
    z-index: 1;
    margin-left: -2.5rem;
    margin-top: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: rotate(3deg);
    opacity: 0.92;
}

.winter-img-back:hover {
    transform: rotate(2deg) translateY(-4px);
    opacity: 1;
}

/* Legacy single image fallback */
.winter-callout-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==============================================================================
   REVIEWS SECTION
   ============================================================================== */

.reviews-section {
    background: linear-gradient(180deg, var(--fosseway-navy) 0%, #001428 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-header h2 {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.reviews-header h2 .text-accent {
    color: var(--fosseway-green);
}

.reviews-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.google-reviews-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.google-reviews-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.google-rating-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.google-reviews-badge .arrow-icon {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.google-reviews-badge:hover .arrow-icon {
    transform: translateX(4px);
    color: white;
}

.reviews-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(12, 166, 120, 0.9);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.review-nav-prev {
    left: -25px;
}

.review-nav-next {
    right: -25px;
}

.review-nav:hover {
    background: var(--fosseway-green);
    transform: translateY(-50%) scale(1.1);
}

.review-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.review-nav:disabled:hover {
    background: rgba(12, 166, 120, 0.9);
    transform: translateY(-50%);
}

.reviews-viewport {
    overflow: hidden;
    border-radius: 16px;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.review-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2rem;
    width: calc((100% - 48px) / 3);
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(12, 166, 120, 0.4);
    transform: translateY(-4px);
    text-decoration: none;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
}

.review-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.5rem 0;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    margin-top: auto;
}

.review-name {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.review-course {
    color: var(--fosseway-green);
    font-size: 0.85rem;
    font-weight: 600;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.review-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.review-dot.active {
    background: var(--fosseway-green);
    transform: scale(1.2);
}

/* Reviews Section Responsive */
@media (max-width: 1280px) {
    .review-nav-prev {
        left: 10px;
    }

    .review-nav-next {
        right: 10px;
    }
}

@media (max-width: 1024px) {
    .review-card {
        width: calc((100% - 24px) / 2);
    }

    .reviews-slider {
        padding: 0 60px;
    }

    .review-nav-prev {
        left: 0;
    }

    .review-nav-next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        text-align: center;
    }

    .reviews-header-content h2 {
        font-size: 2rem;
    }

    .review-card {
        width: 100%;
        padding: 1.5rem;
    }

    .reviews-slider {
        padding: 0 50px;
    }

    .review-nav {
        width: 40px;
        height: 40px;
    }

    .review-nav svg {
        width: 20px;
        height: 20px;
    }
}

/* ==============================================================================
   COURSE DIRECTORY
   ============================================================================== */

.course-directory {
    background-color: #f8f9fa;
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--fosseway-navy);
    margin-bottom: var(--spacing-xs);
}

.section-header p {
    color: var(--fosseway-grey);
    font-size: 1.15rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.course-card {
    background-color: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: all var(--transition-fast);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--fosseway-green);
}

.course-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.course-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 34, 68, 0.1) 100%);
    transition: all var(--transition-normal);
}

.course-card:hover .course-card-image::after {
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 34, 68, 0.3) 100%);
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
    display: block;
    border-radius: 0;
}

.course-card:hover .course-card-image img {
    transform: scale(1.08);
}

.course-card-content {
    padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.course-card h3 {
    color: var(--fosseway-navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.course-card p {
    color: var(--fosseway-grey);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    flex: 1;
    line-height: 1.5;
}

.course-card-link {
    display: inline-block;
    color: white;
    background-color: var(--fosseway-navy);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.course-card:hover .course-card-link {
    background-color: var(--fosseway-green);
}

/* ==============================================================================
   WHY FOSSEWAY SECTION
   ============================================================================== */

.why-fosseway {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--fosseway-navy) 0%, #001a33 100%);
    position: relative;
    overflow: hidden;
}

.why-fosseway::before {
    display: none;
}

.why-fosseway-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.why-fosseway-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: center;
}

/* Director Card */
.why-fosseway-image-col {
    position: relative;
}

.director-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 34, 68, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 34, 68, 0.06);
    transition: all 0.3s ease;
}

.director-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 34, 68, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.director-image-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
}

.director-image-wrapper img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 14px;
}

.director-badge {
    position: absolute;
    bottom: -12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--fosseway-green) 0%, #0a8f5a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(12, 166, 120, 0.35);
}

.director-info {
    text-align: center;
    padding: 0.5rem 0;
}

.director-info h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--fosseway-navy);
    margin-bottom: 0.25rem;
}

.director-info span {
    font-size: 0.9rem;
    color: var(--fosseway-grey);
    font-weight: 500;
}

.director-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 34, 68, 0.08);
}

.director-stat {
    text-align: center;
    flex: 1;
}

.director-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fosseway-navy);
    line-height: 1.1;
}

.director-stat span {
    font-size: 0.75rem;
    color: var(--fosseway-grey);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Content Column */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--fosseway-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.section-eyebrow svg {
    color: var(--fosseway-green);
}

.why-fosseway h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
}

.why-fosseway h2 .text-accent {
    color: var(--fosseway-green);
}

.why-fosseway-lead {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.why-fosseway-content>p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* Feature List */
.why-fosseway-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(12, 166, 120, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    color: var(--fosseway-green);
}

.feature-item span {
    font-size: 1rem;
    color: var(--fosseway-dark-grey);
    font-weight: 500;
}

/* Button Styling */
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background: white;
    border-color: white;
    color: var(--fosseway-navy);
}

.btn-outline-dark svg {
    transition: transform 0.3s ease;
}

.btn-outline-dark:hover svg {
    transform: translateX(4px);
}

/* Stats Bar */
.why-fosseway-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 34, 68, 0.08);
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 34, 68, 0.06);
    border: 1px solid rgba(0, 34, 68, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 34, 68, 0.1);
}

.stat-card .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--fosseway-navy);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.95rem;
    color: var(--fosseway-grey);
    font-weight: 500;
    display: block;
}

/* Legacy stat-item styles (keep for compatibility) */
.stat-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fosseway-navy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--fosseway-grey);
    font-weight: 500;
}

/* ==============================================================================
   HOME CTA SECTION
   ============================================================================== */

.home-cta {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.cta-card {
    background: linear-gradient(135deg, var(--fosseway-navy) 0%, #001428 100%);
    border-radius: 24px;
    padding: 3.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(12, 166, 120, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    flex: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(12, 166, 120, 0.2);
    color: var(--fosseway-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.cta-card h2 {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 450px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--fosseway-green);
    color: white;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-cta-primary:hover {
    background: #0bb578;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 166, 120, 0.35);
}

.btn-cta-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-phone-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.15rem;
}

.cta-phone-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

/* Centered CTA Card Variant */
.cta-card-centered {
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
}

.cta-card-centered .cta-content {
    max-width: 600px;
}

.cta-card-centered .cta-card p {
    max-width: 100%;
}

.cta-actions-row {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-secondary-inline {
    flex-direction: row;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.1rem 2rem;
}

.btn-cta-secondary-inline svg {
    color: rgba(255, 255, 255, 0.7);
}

/* CTA Responsive */
@media (max-width: 900px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .cta-card p {
        max-width: 100%;
    }

    .streetworks-cta-card .cta-actions {
        flex-direction: row;
        width: auto;
        max-width: none;
    }

    .cta-actions-row {
        max-width: none;
    }
}

@media (max-width: 540px) {
    .cta-actions-row {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions-row .btn-cta-primary,
    .cta-actions-row .btn-cta-secondary-inline {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .home-cta {
        padding: 0;
        background: none;
    }

    .home-cta .container {
        padding: 0;
        max-width: 100%;
    }

    .home-cta .cta-card-centered {
        max-width: 100%;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
        border-radius: 0;
    }

    .cta-card h2 {
        font-size: 1.75rem;
    }
}

/* ==============================================================================
   HOMEPAGE RESPONSIVE
   ============================================================================== */

@media (max-width: 1024px) {
    .home-hero h1 {
        font-size: 2.5rem;
    }

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

    .winter-callout-grid {
        grid-template-columns: 1fr;
    }

    .winter-callout-images {
        order: -1;
        min-height: 340px;
        justify-content: center;
    }

    .winter-img-front {
        max-width: 220px;
        height: 320px;
    }

    .winter-img-back {
        max-width: 200px;
        height: 290px;
    }

    .winter-callout-image {
        order: -1;
    }

    .winter-callout-content {
        text-align: center;
    }

    .winter-callout-content .btn {
        display: inline-flex;
    }

    .why-fosseway-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .why-fosseway-image-col {
        position: static;
    }

    .director-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .why-fosseway h2 {
        font-size: 2rem;
    }

    .why-fosseway-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

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

@media (max-width: 768px) {
    .home-hero {
        min-height: 500px;
    }

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

    .why-fosseway-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .home-hero-subtitle {
        font-size: 1.1rem;
    }

    .home-hero-buttons {
        flex-direction: column;
    }

    .home-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

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

    .authority-bar .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .authority-logos {
        justify-content: center;
    }

    .section-header h2,
    .winter-callout h2,
    .why-fosseway h2,
    .home-cta-content h2 {
        font-size: 1.75rem;
    }

    .winter-callout-images {
        min-height: 280px;
    }

    .winter-img-front {
        max-width: 180px;
        height: 260px;
    }

    .winter-img-back {
        max-width: 160px;
        height: 240px;
        margin-left: -2rem;
    }
}