/**
 * HOME V4 - UNIQUE DESIGN (Different from V3)
 * =============================================
 * Layout: Split sections, Asymmetric grids, Minimal clean design
 * Colors: FROM GLOBAL THEME (CSS Variables)
 * =============================================
 */

/* =============================================
   V4 WRAPPER
   ============================================= */
.home-v4 {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

/* =============================================
   V4 HERO - FULL WIDTH BACKGROUND WITH OVERLAY
   ============================================= */
.v4-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}

/* Full width background image */
.v4-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Dark overlay on top of background */
.v4-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,27,0.9) 0%, rgba(0,0,27,0.7) 50%, rgba(0,0,27,0.5) 100%);
    z-index: 2;
}

/* Accent color diagonal stripe */
.v4-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--gradient-primary, linear-gradient(180deg, var(--accent-color, #890c25), var(--accent-color-dark, #5a0818)));
    z-index: 3;
}

.v4-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.v4-hero-grid {
    display: block;
}

.v4-hero-text {
    text-align: left;
    max-width: 700px;
}

.v4-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.v4-hero-badge i {
    color: var(--accent-color, #890c25);
}

.v4-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 25px;
}

.v4-hero-title .v4-highlight {
    display: inline;
    font-style: normal;
    color: var(--accent-color, #890c25);
    font-size: inherit;
    font-weight: inherit;
}

.v4-hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 550px;
}

.v4-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.v4-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary, linear-gradient(135deg, #667eea, #764ba2));
    color: #fff;
    padding: 16px 32px;
    border-radius: var(--btn-border-radius, 10px);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.v4-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
}

.v4-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--btn-border-radius, 10px);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.v4-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.v4-hero-image {
    position: relative;
}

.v4-hero-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.v4-hero-img-main img {
    width: 100%;
    height: auto;
}

.v4-hero-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.v4-hero-shape,
.v4-hero-shape-1,
.v4-hero-shape-2,
.v4-hero-shape-3 {
    display: none;
}

/* =============================================
   V4 WELCOME FORM - INLINE BAR
   ============================================= */
.v4-welcome {
    position: relative;
    margin-top: -50px;
    z-index: 20;
    padding: 0 15px;
}

.v4-welcome-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    border-radius: var(--radius-2xl, 16px);
    padding: 30px 40px;
    box-shadow: var(--shadow-card-lg, 0 6px 28px rgba(0,0,0,0.08));
    border: 1px solid var(--border-color, #d9d9d9);
}

.v4-welcome-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color, #00001b);
    margin: 0 0 5px 0;
}

.v4-welcome-text p {
    color: var(--body-color, #555);
    margin: 0;
}

.v4-welcome-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.v4-welcome-input {
    padding: 14px 20px;
    border: 1px solid var(--border-color, #d9d9d9);
    border-radius: var(--radius-md, 8px);
    font-size: 15px;
    min-width: 200px;
    outline: none;
    transition: border-color 0.3s ease;
}

.v4-welcome-input:focus {
    border-color: var(--accent-color, #890c25);
}

.v4-welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md, 8px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v4-welcome-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* =============================================
   V4 FEATURES - ICON BOX STYLE (V3 has cards)
   ============================================= */
.v4-features {
    padding: var(--section-py, 100px) 0;
    /* background: var(--gray-light-color, #f8f9fa); */
}

.v4-features-header {
    text-align: center;
    margin-bottom: 60px;
}

.v4-features-header-left,
.v4-features-header-right {
    display: contents;
}

.v4-features-tag {
    display: inline-block;
    color: var(--accent-color, #890c25);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.v4-features-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--heading-color, #00001b);
    margin: 0;
}

.v4-features-link {
    display: none;
}

.v4-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.v4-features-grid + .v4-features-grid {
    margin-top: 25px;
}

.v4-feature-card {
    background: #fff;
    border-radius: var(--radius-xl, 12px);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border-color, #d9d9d9);
    transition: all 0.3s ease;
}

.v4-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-lg);
    border-color: var(--accent-color, #890c25);
}

.v4-feature-number {
    display: none;
}

.v4-feature-content {
    display: contents;
}

.v4-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.v4-feature-icon i {
    font-size: 28px;
    color: #fff;
}

.v4-feature-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.v4-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.v4-feature-desc {
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.v4-feature-arrow {
    display: none;
}

/* =============================================
   V4 NEWS - LIST STYLE (V3 has magazine grid)
   ============================================= */
.v4-news {
    padding: var(--section-py, 100px) 0;
    background: #fff;
}

.v4-news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.v4-news-header-left {
    display: contents;
}

.v4-news-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.v4-news-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--heading-color);
    margin: 0;
}

.v4-news-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.v4-news-btn:hover {
    gap: 12px;
    color: var(--accent-color);
}

.v4-news-magazine {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.v4-news-featured,
.v4-side-card {
    display: flex;
    gap: 25px;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 20px;
    border: 2px solid #47c2c5;
    transition: all 0.3s ease;
}

.v4-news-featured:hover,
.v4-side-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--accent-color);
}

.v4-featured-img,
.v4-side-img {
    width: 200px;
    height: 150px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.v4-featured-img img,
.v4-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4-featured-overlay,
.v4-featured-date .day,
.v4-featured-date .month {
    display: none;
}

.v4-featured-content,
.v4-side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.v4-featured-date,
.v4-side-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.v4-featured-meta {
    display: none;
}

.v4-featured-title,
.v4-side-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.v4-featured-title a,
.v4-side-title a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.v4-featured-title a:hover,
.v4-side-title a:hover {
    color: var(--accent-color);
}

.v4-side-excerpt {
    color: var(--body-color);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.v4-featured-excerpt {
    color: var(--body-color);
    font-size: 14px;
    line-height: 1.6;
}

.v4-featured-link {
    display: none;
}

.v4-news-side {
    display: contents;
}

.v4-side-location {
    display: none;
}

/* =============================================
   V4 STATS - VERTICAL CARDS (V3 has horizontal)
   ============================================= */
.v4-stats {
    padding: var(--section-py, 100px) 0;
    background: var(--heading-color, #00001b);
}

.v4-stats-bg {
    display: none;
}

.v4-stats-header {
    text-align: center;
    margin-bottom: 50px;
}

.v4-stats-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.v4-stats-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.v4-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.v4-stat-item {
    text-align: center;
    padding: 30px;
    background: rgb(0 0 0 / 20%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
}

.v4-stat-icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.v4-stat-icon-circle i {
    font-size: 24px;
    color: #fff;
}

.v4-stat-data {
    display: contents;
}

.v4-stat-number {
    color: #fff;
}

body .v4-stats-bar .v4-counter {
    font-size: 24px !important;
    font-weight: 800;
}

body .v4-stats-bar .v4-stat-suffix {
    font-size: 24px !important;
    font-weight: 700;
}

.v4-stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 10px 0 0 0;
}

.v4-stat-separator {
    display: none;
}

/* =============================================
   V4 AID PROGRAMS - HORIZONTAL SINGLE LINE
   ============================================= */
.v4-aid {
    padding: 80px 0;
    background: var(--heading-color, #00001b);
}

.v4-aid-header {
    text-align: center;
    margin-bottom: 40px;
}

.v4-aid-tag {
    display: none;
}

.v4-aid-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}

.v4-aid-desc {
    display: none;
}

.v4-aid-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.v4-aid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: rgb(0 0 0 / 20%);
    border-radius: var(--radius-lg, 10px);
    padding: 25px 30px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}

.v4-aid-card:hover {
    background: rgb(0 0 0 / 20%);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.v4-aid-card-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 2px solid var(--accent-color);
}

.v4-aid-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4-aid-card-badge {
    display: none;
}

.v4-aid-card-img.v4-order-2 {
    order: 0;
}

.v4-aid-card-content {
    flex: 1;
}

.v4-aid-card-num {
    display: none;
}

.v4-aid-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.v4-aid-card-text {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v4-aid-card-features {
    display: none;
}

.v4-aid-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #47c2c5;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.v4-aid-card-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.v4-aid-cta {
    display: none;
}

/* =============================================
   V4 TESTIMONIALS - SINGLE CARD (V3 has slider)
   ============================================= */
.v4-testimonials {
    padding: var(--section-py, 100px) 0;
    background: #fff;
    overflow: hidden;
}

.v4-testimonials-bg,
.v4-testimonials-pattern {
    display: none;
}

.v4-testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.v4-testimonials-info {
    text-align: left;
}

.v4-testimonials-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.v4-testimonials-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.v4-testimonials-desc {
    color: var(--body-color);
    margin-bottom: 30px;
}

.v4-testimonials-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.v4-testi-prev,
.v4-testi-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--heading-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.v4-testi-prev:hover,
.v4-testi-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.v4-testi-counter {
    color: var(--heading-color);
    font-weight: 600;
}

.v4-testimonials-slider {
    overflow: hidden;
}

.v4-testi-carousel {
    overflow: hidden;
}

.v4-testi-slide {
    padding: 10px;
}

.v4-testi-card {
    background: var(--gray-light-color);
    border-radius: var(--radius-2xl);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.v4-testi-quote {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
}

.v4-testi-rating {
    margin-bottom: 15px;
}

.v4-testi-rating i {
    color: var(--border-color);
    font-size: 16px;
    margin-right: 2px;
}

.v4-testi-rating i.active {
    color: #fbbf24;
}

.v4-testi-text {
    font-size: 18px;
    color: var(--heading-color);
    line-height: 1.7;
    margin-bottom: 25px;
}

.v4-testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.v4-testi-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.v4-testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4-testi-avatar span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.v4-testi-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 3px 0;
}

.v4-testi-author-info p {
    color: var(--body-color);
    font-size: 13px;
    margin: 0;
}

/* =============================================
   V4 ACCREDITATIONS - SIMPLE LOGO ROW
   ============================================= */
.v4-accreditations {
    padding: 60px 0;
    background: var(--gray-light-color);
    border-top: 1px solid var(--border-color);
}

.v4-accred-header {
    text-align: center;
    margin-bottom: 40px;
}

.v4-accred-badge {
    display: none;
}

.v4-accred-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 5px;
}

.v4-accred-subtitle {
    color: var(--body-color);
    font-size: 14px;
}

.v4-accred-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.v4-accred-item {
    padding: 10px;
    transition: transform 0.3s ease;
}

.v4-accred-item:hover {
    transform: scale(1.1);
}

.v4-accred-logo img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.v4-accred-item:hover .v4-accred-logo img {
    opacity: 1;
}

.v4-accred-footer {
    display: none;
}

/* =============================================
   V4 RESPONSIVE
   ============================================= */
@media (max-width: 1199px) {
    .v4-hero-title {
        font-size: 42px;
    }

    .v4-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v4-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .v4-hero {
        min-height: auto;
        padding: 100px 0 80px;
    }

    .v4-hero-title {
        font-size: 38px;
    }

    .v4-hero-text {
        text-align: center;
        max-width: 100%;
    }

    .v4-hero-desc {
        margin: 0 auto 35px;
        max-width: 100%;
    }

    .v4-hero-buttons {
        justify-content: center;
    }

    .v4-welcome-bar {
        flex-direction: column;
        text-align: center;
    }

    .v4-welcome-form {
        justify-content: center;
    }

    .v4-aid-cards {
        flex-wrap: wrap;
    }

    .v4-aid-card {
        min-width: 45%;
    }

    .v4-testimonials-wrapper {
        grid-template-columns: 1fr;
    }

    .v4-testimonials-info {
        text-align: center;
    }

    .v4-testimonials-nav {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .v4-hero-title {
        font-size: 32px;
    }

    .v4-features-grid {
        grid-template-columns: 1fr;
    }

    .v4-stats-bar {
        grid-template-columns: 1fr;
    }

    .v4-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .v4-news-featured,
    .v4-side-card {
        flex-direction: column;
    }

    .v4-featured-img,
    .v4-side-img {
        width: 100%;
        height: 200px;
    }

    .v4-aid-card {
        min-width: 100%;
        max-width: 100%;
    }

    .v4-aid-card-img {
        width: 50px;
        height: 50px;
    }

    .v4-accred-grid {
        gap: 30px;
    }

    .v4-accred-logo img {
        height: 40px;
    }
}

@media (max-width: 479px) {
    .v4-hero-title {
        font-size: 28px;
    }

    .v4-hero-buttons {
        flex-direction: column;
    }

    .v4-btn-primary,
    .v4-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .v4-welcome-input {
        width: 100%;
    }
}
