/* ===============================
   GLOBAL STYLES
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    background: #f4f4f4;
    color: #222;
}

/* ===============================
   NAVBAR
================================ */
#navbar {
    background: #b71c1c;
    color: #fff;
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo span {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 18px;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a:hover {
    color: #ffd600;
}

/* ===============================
   MAIN LAYOUT
================================ */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.main-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ===============================
   NEWS CARDS
================================ */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
}

/* IMAGE CONTAINER FIX */
.news-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;      /* No crop */
    background: #f2f2f2;      /* Empty space clean look */
    padding: 8px;             /* Space around portrait images */
}

.news-card-content {
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}


/* ===============================
   GALLERY
================================ */
#gallery-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

#gallery-section h2 {
    text-align: center;
    color: #b71c1c;
    margin-bottom: 20px;
}

/* ===============================
   ABOUT & CONTACT
================================ */
#about-section,
#contact-section {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

#about-section h2,
#contact-section h2 {
    text-align: center;
    color: #b71c1c;
    margin-bottom: 15px;
}

#about-section p,
#contact-section p {
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

/* ===============================
   SIDEBAR (if used later)
================================ */
.sidebar {
    margin-top: 20px;
}

/* ===============================
   FOOTER
================================ */
#footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
    font-size: 14px;
}

/* ===============================
   VIDEO MODAL
================================ */
#video-modal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Show pointer when hovering video thumbnail */
.video-thumb {
    cursor: pointer;
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}


/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .nav-links a {
        margin-left: 10px;
        font-size: 14px;
    }

    .nav-logo span {
        font-size: 16px;
    }

    .news-card img {
        height: 160px;
    }
}

/* ABOUT SECTION WITH LOGO */
.about-box{
    text-align: center;
}

.about-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.about-header img{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.about-header h2{
    color: #b71c1c;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 1px;
}

.about-box p{
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-top: 12px;
}

/* CONTACT TWO COLUMN LAYOUT */
.contact-wrapper{
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: center;
    margin-top: 20px;
}

.contact-details{
    font-size: 18px;
    line-height: 2;
    text-align: left;
}

.map-box{
    width: 100%;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.map-box iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
    .contact-wrapper{
        grid-template-columns: 1fr;
    }
}

/* SECTION TITLES */
.section-title{
    text-align:center;
    font-size:28px;
    color:#b71c1c;
    margin-bottom:25px;
    font-weight:700;
}

/* GALLERY */
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

.gallery-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,0.12);
    transition:.3s;
}

.gallery-card:hover{
    transform:translateY(-6px);
}

.gallery-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.gallery-card p{
    padding:14px;
    text-align:center;
    font-weight:600;
}
