/* Coverage Hero Section */
.coverage-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    
}

.coverage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(40, 58, 76, 0.902) 35%, transparent 100%);
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
 
.container{
    position: relative;
    z-index: 2;
   
}
.hero-stats{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.stat-item {
    text-align: center;
    margin-bottom: 1.5rem;
    background: #425567;
    padding: 10px;
    border-radius: 10px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}


.coverage-map {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.coverage-map i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.coverage-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.point {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00ff88;
    border: 3px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.point::after {
    content: attr(data-area);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.point:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.point:hover::after {
    opacity: 1;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.point-1 { top: 20%; left: 30%; }
.point-2 { top: 40%; right: 25%; }
.point-3 { bottom: 30%; left: 20%; }
.point-4 { bottom: 20%; right: 30%; }

/* Coverage Areas Section */
.coverage-areas-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 2;
}

.area-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}


.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.area-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-header i {
    color: #667eea;
}

.coverage-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coverage-badge:not(.expanding) {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: white;
}

.coverage-badge.expanding {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: white;
}

.area-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.area-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: #f1f3f4;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.area-contact {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.area-contact p {
    margin-bottom: 10px;
    color: #333;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    flex: 1;
    min-width: 80px;
}

/* Hostels Section */
.hostels-section {
    padding: 80px 0;
    background: white;
}

.hostel-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.hostel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hostel-card.coming-soon {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
}

.hostel-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.hostel-card:hover .hostel-icon {
    transform: scale(1.1);
}

.hostel-icon i {
    font-size: 2rem;
    color: white;
}

.hostel-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.hostel-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hostel-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.hostel-features .feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #00cc6a;
    font-size: 0.9rem;
}

.hostel-agent {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.hostel-agent p {
    margin-bottom: 10px;
    color: #333;
    font-size: 0.9rem;
}

.agent-contact {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.agent-contact .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Family Section */
.family-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.family-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.family-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.family-card.join-families {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.family-card.join-families .family-icon {
    background: rgba(255, 255, 255, 0.2);
}

.family-card.join-families .feature {
    color: rgba(255, 255, 255, 0.9);
}

.family-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.family-card:hover .family-icon {
    transform: scale(1.1);
}

.family-icon i {
    font-size: 2rem;
    color: white;
}

.family-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.family-card.join-families h4 {
    color: white;
}

.family-card .location {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.family-card.join-families .location {
    color: rgba(255, 255, 255, 0.8);
}

.family-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.family-card.join-families p {
    color: rgba(255, 255, 255, 0.9);
}

.family-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.family-features .feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #00cc6a;
    font-size: 0.9rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    margin-bottom: 20px;
}

.testimonial p {
    margin: 0;
    font-style: italic;
    color: #555;
}

.cta-section {
    padding: 30px 0;
    text-align: center;
}

/* Milestones Section */
.milestones-section {
    padding: 80px 0;
    background: white;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background: white;
    border: 4px solid #667eea;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 22px;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-item.right .timeline-content::after {
    left: 30px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-content h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .coverage-map {
        width: 250px;
        height: 250px;
    }
    
    .coverage-map i {
        font-size: 3rem;
    }
    
    .area-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-buttons {
        justify-content: flex-start;
    }
    
    .contact-buttons .btn {
        flex: none;
        min-width: 100px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 15px;
    }
    
    .timeline-item.right {
        left: 0%;
    }
    
    .timeline-content::after {
        left: 30px;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}

@media screen and (max-width: 480px) {
    .coverage-map {
        width: 200px;
        height: 200px;
    }
    
    .coverage-map i {
        font-size: 2.5rem;
    }
    
    .area-card,
    .hostel-card,
    .family-card {
        padding: 20px;
    }
    
    .area-features,
    .hostel-features,
    .family-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-tag {
        text-align: center;
    }
}