/*
 * Home Page Styles
 * HalalahSite - Halala Plus
 * Professional Modern Design - Matching Brand Identity
 */

/* ============================================
   HERO SECTION
   ============================================ */
.container-team.mb {
    background: linear-gradient(135deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%);
    background-image: url(/assets/img/41.png);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
    padding: 80px 0 !important;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Pattern Overlay - Same as Footer */
.container-team.mb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Hero Content */
.container-team.mb .container {
    position: relative;
    z-index: 1;
}

/* Hero Text Styling */
.hero-title,
.container-team.mb h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-subtitle,
.container-team.mb p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.9;
    margin-bottom: 35px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Button */
.hero-cta-btn,
.container-team.mb .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2ff 100%) !important;
    color: var(--bs-halala3) !important;
    border: none !important;
    padding: 16px 40px !important;
    font-weight: 700 !important;
    font-size: 1.15rem;
    border-radius: 30px !important;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    min-width: 240px;
    text-align: center;
}

.hero-cta-btn::before,
.container-team.mb .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 118, 249, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta-btn:hover::before,
.container-team.mb .btn-primary:hover::before {
    left: 100%;
}

.hero-cta-btn:hover,
.container-team.mb .btn-primary:hover {
    background: linear-gradient(135deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* Hero Image */
.hero-image,
.container-team.mb img {
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.25));
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-image:hover,
.container-team.mb img:hover {
    transform: scale(1.02);
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
.bg-halala-light {
    background: linear-gradient(135deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%) !important;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 50px 30px !important;
    box-shadow: 0 15px 40px rgba(107, 118, 249, 0.25);
}

.bg-halala-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.bg-halala-light > * {
    position: relative;
    z-index: 1;
}

/* Statistics Container */
.stats-container {
    position: relative;
    z-index: 1;
}

/* Statistics Items */
.stat-item {
    padding: 20px 15px;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Statistics Numbers */
.stat-number {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease;
    display: inline-block !important;
    line-height: 1 !important;
}

.stat-plus {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin-left: 5px !important;
    opacity: 0.9;
    line-height: 1 !important;
}

.stat-item:hover .stat-number {
    transform: scale(1.15);
}

/* Statistics Labels */
.stat-label {
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    margin-top: 15px !important;
    opacity: 0.95 !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   SERVICES SECTION (Why Halala)
   ============================================ */
.container-service {
    padding: 80px 0 !important;
}

.container-service h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-halala5);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.container-service h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%);
    border-radius: 2px;
}

/* Service Items */
.service-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(107, 118, 249, 0.2);
    border-color: var(--bs-halala3);
}

.service-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(107, 118, 249, 0.2));
}

.service-item:hover img {
    transform: scale(1.1) rotate(5deg);
}

.service-item p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0 !important;
}


/* Contact Form */
#contact .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

#contact .form-control:focus {
    border-color: var(--bs-halala3);
    box-shadow: 0 0 0 4px rgba(107, 118, 249, 0.1);
    outline: none;
}

#contact textarea.form-control {
    resize: vertical;
    min-height: 182px;
}

#contact .btn-primary {
    background: linear-gradient(135deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 30px !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(107, 118, 249, 0.3);
    transition: all 0.3s ease;
}

#contact .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 118, 249, 0.4);
}

/* ============================================
   FAQ SECTION
   ============================================ */
#faqs {
    background: #fff;
    padding: 80px 0 !important;
}


/* FAQ Accordion */
#faqs .accordion-item {
    border: 2px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#faqs .accordion-item:hover {
    border-color: var(--bs-halala3);
    box-shadow: 0 5px 15px rgba(107, 118, 249, 0.1);
}

#faqs .accordion-button {
    background: #fff;
    color: var(--bs-halala5);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

#faqs .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--bs-halala2) 0%, var(--bs-halala4) 100%);
    color: #fff;
    box-shadow: none;
}

#faqs .accordion-button:focus {
    box-shadow: none;
    border-color: var(--bs-halala3);
}

#faqs .accordion-body {
    padding: 25px;
    background: #f8f9ff;
    color: #4a5568;
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 992px) {
    .container-team.mb {
        padding: 60px 0 !important;
        min-height: auto;
    }
    
    .container-team.mb h2 {
        font-size: 2rem;
    }
    
    .bg-halala-light {
        padding: 40px 20px !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-plus {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 1.2rem !important;
    }
    
    .container-service,
    #contact,
    #faqs {
        padding: 60px 0 !important;
    }
}

@media (max-width: 768px) {
    .container-team.mb h2 {
        font-size: 1.75rem;
    }
    
    .container-team.mb .btn-primary {
        width: 100% !important;
        max-width: 300px;
    }
    
    .bg-halala-light {
        padding: 30px 15px !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-plus {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 1.1rem !important;
    }
    
    .service-item {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .container-service h1,
    #contact h1,
    #faqs h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container-team.mb {
        padding: 40px 0 !important;
    }
    
    .container-team.mb h2 {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem !important;
    }
    
    .stat-plus {
        font-size: 1.25rem !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
    }
    
    .service-item {
        padding: 25px 15px;
    }
    
    .service-item img {
        max-width: 100px;
    }
}
