/* Index Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    padding: 15px 35px;
    font-size: 16px;
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 10px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.hero-badge-number {
    font-size: 32px;
    font-weight: 800;
}

.hero-badge-text {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: rgba(224, 138, 46, 0.1);
    border-radius: 50%;
}

/* Stats Ticker */
.stats-ticker {
    background: var(--white);
    padding: 50px 0;
    margin-top: -50px;
    position: relative;
    z-index: 5;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-left: 5%;
    margin-right: 5%;
}

.stat-item-number {
    font-size: 35px;
    font-weight: 800;
    color: var(--primary);
}

.stat-item-label {
    font-weight: 600;
    color: var(--text-medium);
}

/* Chairman Message Section */
.chairman-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.chairman-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chairman-image-wrapper {
    height: 100%;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.chairman-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.chairman-image:hover {
    transform: scale(1.05);
}

.chairman-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(224, 138, 46, 0.4);
}

.chairman-badge i {
    font-size: 30px;
    color: white;
}

.chairman-content {
    padding: 60px 50px;
}

.message-text {
    margin: 30px 0;
}

.message-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: 20px;
    text-align: justify;
}

.message-text .quote-icon {
    font-size: 30px;
    color: var(--secondary);
    margin-right: 10px;
    vertical-align: middle;
}

.message-text strong {
    color: var(--primary);
    font-weight: 700;
}

.chairman-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
}

.signature-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.signature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.signature-org {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 600;
}

/* Services Information Section Redesign */
.services-info-section {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.services-branding-header {
    max-width: 800px;
    margin: 0 auto;
}

.branding-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.services-inline-logo {
    height: 60px;
    width: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
}

.branding-text {
    text-align: left;
}

.branding-tagline {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
    margin-top: 20px;
}

/* Enhanced Service Cards */
.service-card-enhanced {
    background: white;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: var(--transition);
}

.service-card-enhanced.saving::before {
    background: var(--primary);
}

.service-card-enhanced.loan::before {
    background: var(--secondary);
}

.service-card-enhanced.digital::before {
    background: var(--accent);
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon-box.saving {
    background: var(--primary-light);
    color: var(--primary);
}

.service-icon-box.loan {
    background: #fff3e0;
    color: var(--secondary);
}

.service-icon-box.digital {
    background: #e8f5e9;
    color: var(--accent);
}

.service-card-enhanced:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-title-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.service-card-enhanced.saving .service-cta-btn {
    color: var(--primary);
}

.service-card-enhanced.loan .service-cta-btn {
    color: var(--secondary);
}

.service-card-enhanced.digital .service-cta-btn {
    color: var(--accent);
}

.service-cta-btn:hover {
    gap: 12px;
}

/* Trust-Building Micro-Section */
.trust-building-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    padding: 0 20px;
    margin-top: 50px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-3px);
}

.trust-icon-mini {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trust-content h6 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .services-info-section {
        padding: 60px 0;
    }

    .branding-group {
        flex-direction: column;
        text-align: center;
    }

    .branding-text {
        text-align: center;
    }

    .trust-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* News & Updates */
.news-section {
    padding: 100px 0;
    background: var(--white);
}

.news-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.news-card:hover {
    transform: scale(1.02);
}

.news-image-wrapper {
    height: 200px;
    background: var(--primary);
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 12px;
}

.news-body {
    padding: 30px;
}

.news-card-title {
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-text {
    color: var(--text-medium);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: white;
    color: var(--secondary);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    color: var(--secondary-dark);
}

.news-header-btn {
    padding: 10px 25px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .chairman-section {
        padding: 80px 0;
    }

    .chairman-image-wrapper {
        min-height: 400px;
    }

    .chairman-content {
        padding: 40px 30px;
    }

    .signature-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .chairman-section {
        padding: 60px 0;
    }

    .chairman-image-wrapper {
        min-height: 300px;
    }

    .chairman-content {
        padding: 30px 20px;
    }

    .message-text p {
        font-size: 1rem;
    }
}