/* Hero Section */

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0043a7 100%);
    color: white;
    padding: 60px 0;
    border-radius: 0 0 30px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.1;
    background-image: radial-gradient(#fff 2px, transparent 2px);
    background-size: 30px 30px;
}


/* News Ticker */

.news-ticker-wrap {
    background: #fff;
    border-bottom: 3px solid var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    margin-bottom: 30px;
}

.ticker-label {
    background: var(--secondary-color);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.ticker-content {
    line-height: 38px;
    width: 100%;
    padding-left: 10px;
    font-weight: 500;
}


/* Quick Service Cards */

.service-card {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: #333;
    border-bottom: 4px solid transparent;
    background-color: green !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    color: white;
}

.service-img-preview {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #ddd;
    background: #eee;
}

#atag {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
}

#atag img {
    width: 100%;
}


/* Main Info Cards */

.content-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    height: 100%;
    border: 1px solid #eef0f3;
}

.card-header-custom {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.card-header-custom h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

.card-icon {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 20px;
}

.custom-list {
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.custom-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 15px;
    position: relative;
    padding-left: 20px;
}

.custom-list li::before {
    content: '\f058';
    /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--secondary-color);
    font-size: 12px;
}

.new-badge {
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}


/* WhatsApp CTA */

.whatsapp-banner {
    background: linear-gradient(to right, #11998e, #38ef7d);
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn {
    background: white;
    color: #00897b;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    background: #f1f1f1;
    color: #00695c;
}


/* Stats */

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--primary-color);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}


/* Testimonials */

.testimonial-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    height: 100%;
    position: relative;
}

.quote-icon {
    font-size: 40px;
    color: #e0e0e0;
    position: absolute;
    top: 10px;
    right: 20px;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    .service-card {
        margin-bottom: 10px;
    }
    .offcanvas {
        max-width: 75%;
        /* मोबाइल पर स्क्रीन का 75% हिस्सा लेगा */
    }
    .nav-link {
        padding: 10px 0;
        /* लिंक्स के बीच गैप बढ़ाएं */
        font-size: 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    #atag {
        width: 60px;
        height: 60px;
        overflow: hidden;
        border-radius: 50%;
    }
}