/* ========================================
   NEW HOMEPAGE SECTIONS STYLES
   ======================================== */

/* === Hero Section - Simplified === */
.simple-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.simple-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85), rgba(45, 80, 128, 0.75));
    z-index: 1;
}

.simple-hero .container {
    position: relative;
    z-index: 2;
}

.simple-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.simple-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 40px;
}

.search-input-group {
    max-width: 700px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.search-input-group i {
    color: #999;
    margin-left: 10px;
}

.search-input-group .search-field {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    outline: none;
}

.search-input-group .search-submit {
    background: #C17A4A;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-input-group .search-submit:hover {
    background: #a0633d;
    transform: translateX(-2px);
}

.hero-quick-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-white {
    background: white;
    color: #333;
}

.filter-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.filter-green {
    background: #28a745;
    color: white;
}

.filter-green:hover {
    background: #218838;
    transform: translateY(-2px);
}

.filter-yellow {
    background: #ffc107;
    color: #333;
}

.filter-yellow:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

/* === Areas Section === */
.areas-section {
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    position: relative;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1E3A5F;
    position: relative;
    display: inline-block;
    flex: 1;
    min-width: 200px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #C17A4A, #d89567);
    border-radius: 2px;
}

.view-more-link {
    color: #C17A4A;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.view-more-link::before {
    content: '←';
    display: inline-block;
    transition: transform 0.3s ease;
}

.view-more-link:hover {
    color: #a0633d;
    gap: 10px;
}

.view-more-link:hover::before {
    transform: translateX(-3px);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.area-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.area-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.24);
}

.area-card:hover .area-overlay {
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.4) 60%, transparent);
}

.area-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-card:hover .area-image {
    transform: scale(1.08);
}

.area-placeholder {
    background: linear-gradient(135deg, #1E3A5F, #2d5080);
}

.area-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.5) 50%, transparent);
    transition: all 0.4s ease;
}

.area-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: white;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.area-card:hover .area-info {
    transform: translateY(-4px);
}

.area-info h3 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9),
        0 2px 6px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
}

.area-count {
    font-size: 0.95rem;
    opacity: 1;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.area-count::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.7;
}

/* === Section Footer === */
.section-footer {
    margin-top: 20px;
}

.section-footer .btn {
    min-width: 200px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn-outline-primary {
    background: transparent;
    color: #C17A4A;
    border-color: #C17A4A;
}

.btn-outline-primary:hover {
    background: #C17A4A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 122, 74, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #C17A4A, #d89567);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(193, 122, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 122, 74, 0.4);
}

.btn-lg {
    padding: 16px 42px;
    font-size: 1.05rem;
}

.btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(-3px);
}

/* === Partners/Developers Slider === */
.partners-section {
    background: #f8f9fa;
}

.partners-slider-wrapper {
    overflow: hidden;
    margin: 0 -15px;
}

.partners-slider {
    display: flex;
    gap: 30px;
    animation: scroll-partners 30s linear infinite;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-slide {
    flex: 0 0 200px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.partner-logo {
    display: block;
    text-decoration: none;
}

.partner-logo img {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-placeholder {
    color: #666;
    font-weight: 600;
    text-align: center;
}

/* === Statistics Section === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #C17A4A, #d89567);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    box-shadow: 0 8px 25px rgba(193, 122, 74, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1E3A5F;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

/* === Features with Image Section === */
.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.features-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.features-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.features-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.features-list i {
    color: #28a745;
    font-size: 1.3rem;
}

/* === Blog Section === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    display: block;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-date {
    color: #999;
    font-size: 0.9rem;
}

.blog-date i {
    margin-left: 5px;
}

.blog-title {
    margin: 0 0 15px 0;
}

.blog-title a {
    color: #1E3A5F;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #C17A4A;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-link {
    color: #C17A4A;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #a0633d;
    gap: 12px;
}

/* === Responsive Design === */
@media (max-width: 992px) {
    .features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title::after {
        right: auto;
        left: 0;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .area-card {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .simple-hero .hero-title {
        font-size: 2rem;
    }

    .simple-hero .hero-subtitle {
        font-size: 1rem;
    }

    .hero-quick-filters {
        flex-direction: column;
        gap: 10px;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .area-card {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.6rem;
    }

    .features-title {
        font-size: 1.8rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 32px;
    }
}