/* ===   RURAL PAGE===== */

/* Smooth base transition */
.feature-card,
.program-card,
.about-img,
.btn,
.impact-number {
    transition: all 0.35s ease;
}

/* Feature cards hover */
.feature-card:hover {
    transform: translateY(-8px);
}

/* Program cards hover */
.program-card:hover {
    transform: translateY(-10px);
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

/* About image hover */
.about-img:hover {
    transform: scale(1.03);
}

/* Buttons micro-interaction */
.btn:hover {
    transform: translateY(-2px);
}

/* Section title underline animation */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: currentColor;
    margin: 8px auto 0;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 60px;
}

/* Impact numbers subtle pulse */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.impact-number:hover {
    animation: pulse 0.6s ease;
}
/* About Section */
.about-section {
    /* background-color: #f8fafc; */
    background-color: #edeff2;
    position: relative;
    overflow: hidden;
}

.about-section:before {
    /* content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), white);
    z-index: 0;
    border-radius: 50% 0 0 50%;
    transform: scale(1.5); */
    display: none;
}

.about-img {
    width: 500%;
    height: 400px;
    object-fit: cover; 
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.about-img:hover {
    transform: scale(1.3);
}

.about-content {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
}
.about-content{
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #2d2f2f;
}
.about-content:hover {
    transform: scale(1.03);
}


/* Hero Section */
.VikasPath-hero-section {
    background: linear-gradient(180deg, rgba(11,37,69,0.95) 0%, rgba(13, 45, 86, 0.85) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    color: #fff;
    position: relative;
    text-align: center;
}
.VikasPath-hero-title {
   font-size: clamp(1.8rem, 3.6vw, 2.8rem); 
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.VikasPath-hero-subtitle {
    color: rgba(255,255,255,0.9); 
    font-size: 1rem;
    margin-top: 1.0rem;
    margin-bottom: 1.6rem;
    max-width: 820px;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns .btn {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    margin: 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-btns .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.hero-btns .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.hero-btns .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Section Styling */
.section{ 
    padding: 60px 0; 
}

.section-title {
    font-size: 3.0rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color:var(--muted);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* About Section */
.about-section {
    background-color: #e6ecf3;     
    position: relative;
    overflow: hidden;
}

.about-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), white);
    z-index: 0;
    border-radius: 50% 0 0 50%;
    transform: scale(1.5);
}

.about-img {
    width: 416%;
    height: 628px;
    object-fit: cover; 
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(166, 77, 77, 0.15);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.about-img:hover {
    transform: scale(1.05);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #475569;
}
/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/diagonal-striped-brick.png');
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-btns .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    margin: 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btns .btn-light {
    background-color: white;
    color: var(--primary);
}

.cta-btns .btn-light:hover {
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

.cta-btns .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}