/* ============================================
   Founders Page Styles
   Scoped with .founders- prefix to avoid conflicts
   ============================================ */

/* Hero Section */
.founders-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    margin-top: 59px;
    background: rgba(0, 92, 159, 0.93);
}

.founders-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.founders-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founders-hero-content {
    position: relative;
    z-index: 2;
    padding: 70px 0 50px;
    padding-left: 4%;
    max-width: 50%;
}

.founders-hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 76px;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 18px;
}

.founders-hero-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 38px;
    color: #ffffff;
    max-width: 566px;
}

/* Building Image + Banner (in content left column) */
.founders-building-image-wrapper {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.founders-building-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.founders-building-image-wrapper .founders-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Scrolling Banner */
.founders-banner {
    background: #50A851;
    padding: 8px 0 10px;
    overflow: hidden;
    white-space: nowrap;
}

.founders-banner-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    letter-spacing: 1px;
    display: inline-block;
    animation: founders-scroll 20s linear infinite;
}

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

/* Content Section */
.founders-content {
    padding: 60px 0;
}

.founders-section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 1.5;
    color: #005c9f;
    margin-bottom: 15px;
}

.founders-benefits-text {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

.founders-benefits-text ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.founders-benefits-text ul li {
    margin-bottom: 4px;
}

.founders-benefits-text p {
    font-size: 16px;
    font-weight: 300;
}

.founders-benefits-text b,
.founders-benefits-text strong {
    font-weight: 600;
}

.founders-terms {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

.founders-terms p {
    font-size: 16px;
    font-weight: 300;
}

.founders-terms b,
.founders-terms strong {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
}

/* Form Section */
.founders-form-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.founders-form-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #005c9f;
    margin-bottom: 10px;
}

.founders-form-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.founders-form-wrapper .form-control-sm {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 12px;
}

.founders-form-wrapper .form-group {
    margin-bottom: 12px;
}

.founders-form-wrapper .form-row {
    display: flex;
    gap: 12px;
}

.founders-form-wrapper .form-row .form-group {
    flex: 1;
}

.founders-form-wrapper textarea.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.founders-form-wrapper .btn-founders-submit {
    background: #005c9f;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.founders-form-wrapper .btn-founders-submit:hover {
    background: #0f2a5f;
}

.founders-form-wrapper .btn-founders-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Building Section */
.founders-building-section {
    padding: 70px 0 40px;
    text-align: center;
    background: #f0f0f0;
}

.founders-building-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #005c9f;
    margin-bottom: 15px;
}

.founders-building-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.4;
    color: #005c9f;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Location Cards */
.founders-locations {
    padding: 0 0 80px;
    background: #f0f0f0;
    position: relative;
}

.founders-location-card {
    background: #ffffff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.founders-location-card:hover {
    transform: translateY(-4px);
}

.founders-location-card-img {
    width: 100%;
    height: 200px;
    min-height: 200px;
    object-fit: cover;
    display: block;
    background: #e9ecef;
}

.founders-location-card-body {
    padding: 20px 24px;
}

.founders-location-card-city {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #004c8f;
    margin-bottom: 8px;
}

.founders-location-card-address {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 16px;
    min-height: 48px;
}

.founders-location-card .btn-founders-view {
    display: inline-block;
    background: #005c9f;
    color: #ffffff;
    padding: 8px 28px;
    border-radius: 20px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.founders-location-card .btn-founders-view:hover {
    background: #0f2a5f;
    color: #ffffff;
    text-decoration: none;
}

/* CTA Section */
.founders-cta {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.founders-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.founders-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 77%;
    transform: scale(1.5);
    transform-origin: 17% 53%;
}

.founders-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.founders-cta-content {
    position: relative;
    z-index: 3;
}

.founders-cta-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #f8f8f8;
    margin-bottom: 15px;
}

.founders-cta-subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.4;
    color: #f8f8f8;
    margin-bottom: 40px;
    font-style: italic;
}

.founders-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.founders-cta-buttons .btn-founders-cta {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #005c9f;
    color: #ffffff;
    background: #005c9f;
    min-width: 200px;
    cursor: pointer;
}

.founders-cta-buttons .btn-founders-cta:hover {
    background: #0f2a5f;
    border-color: #0f2a5f;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .founders-hero {
        min-height: auto;
        margin-top: 80px;
    }

    .founders-hero-bg {
        position: relative;
        width: 100%;
        height: 220px;
    }

    .founders-hero-content {
        padding: 40px 20px 30px;
        max-width: 100%;
    }

    .founders-hero-title {
        font-size: 52px;
    }

    .founders-hero-subtitle {
        font-size: 24px;
        line-height: 30px;
    }

    .founders-building-title {
        font-size: 36px;
    }

    .founders-building-subtitle {
        font-size: 22px;
    }

    .founders-cta-title {
        font-size: 36px;
    }

    .founders-cta-subtitle {
        font-size: 22px;
    }

    .founders-form-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .founders-hero {
        margin-top: 60px;
    }

    .founders-hero-title {
        font-size: 38px;
    }

    .founders-hero-subtitle {
        font-size: 20px;
        line-height: 26px;
    }

    .founders-building-title {
        font-size: 28px;
    }

    .founders-building-subtitle {
        font-size: 18px;
    }

    .founders-cta-title {
        font-size: 28px;
    }

    .founders-cta-subtitle {
        font-size: 18px;
    }

    .founders-form-wrapper .form-row {
        flex-direction: column;
        gap: 0;
    }
}
