/* ==========================================
   जनसेतु समाचार
   About Page CSS
========================================== */

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Hind',sans-serif;
}

body{
    background:#f5f5f5;
    color:#333;
    line-height:1.7;
}

/* ==========================================
   Header
========================================== */

header{
    background:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo a{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#d90429;
    font-size:28px;
    font-weight:bold;
}

.logo img{
    width:50px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover{
    color:#d90429;
}

/* ==========================================
   Hero Section
========================================== */

.about-hero{
    background:linear-gradient(rgba(0,0,0,.60),
               rgba(0,0,0,.60)),
               url("../images/about-banner.jpg") center/cover;
    height:350px;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
}

.about-hero h1{
    font-size:50px;
    margin-bottom:15px;
}

.about-hero p{
    font-size:20px;
}

/* ==========================================
   Common Container
========================================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================================
   About Section
========================================== */

.about-section{
    background:#fff;
    padding:70px 0;
}

.about-section h2{
    text-align:center;
    color:#d90429;
    margin-bottom:25px;
    font-size:38px;
}

.about-section p{
    font-size:18px;
    color:#555;
    text-align:justify;
    margin-bottom:20px;
}

/* ==========================================
   Mission Section
========================================== */

.mission{
    padding:70px 0;
    background:#fafafa;
}

.mission .container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    padding:30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    color:#d90429;
    margin-bottom:15px;
    font-size:24px;
}

.card p{
    color:#666;
}

/* ==========================================
   Features
========================================== */

.why-us{
    background:#fff;
    padding:70px 0;
}

.why-us h2{
    text-align:center;
    color:#d90429;
    margin-bottom:45px;
    font-size:38px;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.feature{
    background:#f9f9f9;
    padding:25px;
    border-left:5px solid #d90429;
    border-radius:8px;
    transition:.3s;
}

.feature:hover{
    background:#fff;
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.feature h3{
    margin-bottom:12px;
    color:#d90429;
}

/* ==========================================
   Team Section
========================================== */

.team{
    padding:70px 0;
    background:#fafafa;
    text-align:center;
}

.team h2{
    color:#d90429;
    margin-bottom:40px;
    font-size:36px;
}

.team-card{
    max-width:320px;
    margin:auto;
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.team-card img{
    width:140px;
    height:140px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:20px;
    display:block;
    margin:0 auto 20px;
   
}

.team-card h3{
    color:#222;
    margin-bottom:10px;
}

.team-card p{
    color:#777;
}

/* ==========================================
   Statistics
========================================== */

.stats{
    background:#d90429;
    color:#fff;
    padding:60px 0;
}

.stats .container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:30px;
    text-align:center;
}

.stat-box h2{
    font-size:42px;
    margin-bottom:10px;
}

.stat-box p{
    font-size:18px;
}

/* ==========================================
   Footer
========================================== */

footer{
    background:#111;
    color:#fff;
    text-align:center;
    padding:30px 20px;
}

.footer-links{
    margin-top:15px;
}

.footer-links a{
    color:#ddd;
    text-decoration:none;
    margin:0 12px;
    transition:.3s;
}

.footer-links a:hover{
    color:#f4a261;
}

/* ==========================================
   Responsive
========================================== */

@media(max-width:992px){

.about-hero h1{
    font-size:40px;
}

nav ul{
    gap:15px;
}

}

@media(max-width:768px){

header{
    flex-direction:column;
    gap:15px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

.about-hero{
    height:280px;
}

.about-hero h1{
    font-size:34px;
}

.about-section h2,
.why-us h2,
.team h2{
    font-size:30px;
}

.about-section p{
    font-size:17px;
}

}

@media(max-width:480px){

.logo a{
    font-size:22px;
}

.logo img{
    width:40px;
}

.about-hero{
    height:220px;
}

.about-hero h1{
    font-size:28px;
}

.about-hero p{
    font-size:16px;
}

.card{
    padding:20px;
}

.team-card{
    padding:20px;
}

.team-card img{
    width:110px;
    height:110px;
}

.stat-box h2{
    font-size:32px;
}

.stat-box p{
    font-size:15px;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:10px;
}

}


/* ==========================================
   About Highlights
========================================== */

.about-highlights{
    max-width:1100px;
    margin:0 auto;
    padding-left:30px;
}

.about-highlights li{
    font-size:20px;
    color:#555;
    margin-bottom:18px;
    padding-left:8px;
    line-height:1.8;
}


/* ==========================================
   Editorial Team Layout
========================================== */

.team .container{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:30px;
    align-items:stretch;
}

.team .container > h2{
    grid-column:1 / -1;
}

.team-card{
    width:100%;
    max-width:none;
    margin:0;
}

.team-card img{
    width:140px;
    height:140px;
    object-fit:cover;
    border-radius:50%;
    display:block;
    margin:0 auto 20px;
}


/* ==========================================
   Team Responsive
========================================== */

@media(max-width:768px){

    .team .container{
        grid-template-columns:1fr;
        gap:25px;
    }

    .team .container > h2{
        grid-column:auto;
    }

    .about-highlights{
        padding-left:25px;
    }

    .about-highlights li{
        font-size:18px;
        margin-bottom:15px;
    }

}

@media(max-width:480px){

    .about-highlights{
        padding-left:22px;
    }

    .about-highlights li{
        font-size:17px;
        line-height:1.7;
    }

}

/* ==========================================
   Team Photos - Same Style
========================================== */

.team-card img{
    width:140px;
    height:140px;
    object-fit:cover;
    object-position:center center;
    border-radius:50%;
    display:block;
    margin:0 auto 20px;
}

.team-card .sangam-photo{
    object-position:center top;
}


/* ==========================================
   About Highlights - Bullet Alignment Fix
========================================== */

.about-highlights{
    list-style:disc;
    max-width:1100px;
    margin:0 auto;
    padding-left:45px;
}

.about-highlights li{
    font-size:20px;
    color:#555;
    margin-bottom:18px;
    padding-left:8px;
    line-height:1.8;
}

@media(max-width:768px){

    .about-highlights{
        padding-left:35px;
    }

    .about-highlights li{
        font-size:18px;
        padding-left:6px;
    }

}

@media(max-width:480px){

    .about-highlights{
        padding-left:30px;
    }

    .about-highlights li{
        font-size:17px;
        line-height:1.7;
        padding-left:5px;
    }

}


/* ==========================================
   Editorial Team Hover Effect
========================================== */

.team-card{
    transition:transform .3s ease, box-shadow .3s ease;
}

.team-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 28px rgba(0,0,0,.14);
}


/* ==========================================
   Mission Card Hover Color
========================================== */

.card{
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-color .3s ease;
}

.card:hover{
    background-color:#fff5f6;
    transform:translateY(-8px);
    box-shadow:0 12px 28px rgba(217,4,41,.15);
}

.card:hover h3{
    color:#b80323;
}


/* Feature Hover Highlight */

.feature{
    transition:
        background-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.feature:hover{
    background-color:#fff5f6;
    transform:translateY(-5px);
    box-shadow:0 10px 24px rgba(217,4,41,.12);
}
