/*
Theme Name: AROI Rajasthan
Theme URI: https://aroi-rajasthan.org
Author: GC
Author URI: https://aroi-rajasthan.org
Description: Custom WordPress Theme for AROI Rajasthan
Version: 1.0
License: GPL v2 or later
Text Domain: aroi-rajasthan
*/
html{
    scroll-behavior:smooth;
}
body{
    margin:0;
    padding:0;
    font-family: Arial, sans-serif;
}
.hero-section{
    background:#ecfeff;
    padding:80px 20px;
}

.hero-container{
    max-width:860px;
    margin:0 auto;
    text-align:center;
}

.hero-badge{
    display:inline-block;
    padding:12px 24px;
    background:#ccfbf1;
    border-radius:50px;
    color:#0f766e;
    font-weight:600;
    margin-bottom:30px;
}

.hero-title{
    max-width:820px;
    margin:0 auto 28px;
    font-size:58px;
    font-weight:700;
    line-height:1.12;
    letter-spacing:-1.5px;
}

.hero-title span{
    color:#0ea5a4;
}

.hero-description{
    max-width:680px;
    margin:0 auto 38px;
    font-size:18px;
    line-height:1.75;
    color:#5f6368;
}
.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.btn-primary{
    background:#0ea5a4;
    color:#fff;
    padding:14px 28px;
    border-radius:50px;
    text-decoration:none;
}

.btn-secondary{
    background:#fff;
    color:#0ea5a4;
    border:2px solid #0ea5a4;
    padding:14px 28px;
    border-radius:50px;
    text-decoration:none;
}

@media(max-width:768px){
    .hero-title{
        font-size:36px;
    }
}


.about-section{
    background:#ffffff;
    padding:90px 20px;
}

.about-container{
    max-width:900px;
    margin:0 auto;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-label{
    color:#0ea5a4;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:15px;
}

.section-header h2{
    font-size:46px;
    line-height:1.2;
    margin-bottom:20px;
}

.section-header p{
    max-width:760px;
    margin:0 auto;
    color:#555;
    font-size:18px;
    line-height:1.8;
}

.about-cards{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.about-card{
    display:flex;
    gap:18px;
    padding:24px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
}

.about-icon{
    width:50px;
    height:50px;
    min-width:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#dbeafe;
    font-size:24px;
}

.about-card h3{
    margin:0 0 8px;
}

.about-card p{
    margin:0;
    color:#555;
    line-height:1.7;
}

.leadership-section{
    padding:100px 20px;
    background:#f8fafc;
}

.leadership-container{
    max-width:1200px;
    margin:0 auto;
}

.leadership-header{
    text-align:center;
    margin-bottom:60px;
}

.leadership-header h2{
    font-size:48px;
    margin-bottom:15px;
}

.leadership-header p{
    max-width:700px;
    margin:0 auto;
    color:#666;
    line-height:1.8;
}
.leadership-stats{
    margin-top:60px;
    padding-top:40px;
    border-top:1px solid #ddd;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    text-align:center;
}

.leadership-stats h3{
    font-size:42px;
    color:#0ea5a4;
    margin:0;
}

.leadership-stats p{
    margin-top:10px;
    color:#666;
}

@media(max-width:768px){

    .leadership-grid{
        grid-template-columns:1fr;
    }

    .leadership-stats{
        grid-template-columns:1fr;
        gap:30px;
    }

    .leadership-header h2{
        font-size:34px;
    }
}

/* =========================
   Programs Section
========================= */

.programs-section{
    padding:110px 20px;
    background:#ffffff;
}

.programs-container{
    max-width:1200px;
    margin:0 auto;
}

.programs-header{
    max-width:760px;
    margin:0 auto 58px;
    text-align:center;
}

.programs-label{
    display:inline-block;
    margin-bottom:14px;
    color:#0ea5a4;
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
}

.programs-header h2{
    margin:0 0 16px;
    font-size:clamp(38px,5vw,56px);
    line-height:1.1;
    color:#0f172a;
}

.programs-header p{
    margin:0;
    color:#64748b;
    font-size:17px;
    line-height:1.8;
}

.programs-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px;
}

.program-card{
    position:relative;
    overflow:hidden;
    padding:34px;
    border:1px solid #e6edf3;
    border-radius:22px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fcfd 100%);
    box-shadow:0 14px 40px rgba(15,23,42,.07);
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}

.program-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,#0ea5a4,#38bdf8);
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.program-card:hover{
    transform:translateY(-8px);
    border-color:rgba(14,165,164,.25);
    box-shadow:0 24px 55px rgba(15,23,42,.12);
}

.program-card:hover::before{
    transform:scaleX(1);
}

.program-number{
    position:absolute;
    top:24px;
    right:28px;
    font-size:42px;
    font-weight:800;
    color:rgba(14,165,164,.08);
}

.program-icon{
    width:64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:22px;
    border-radius:18px;
    background:linear-gradient(135deg,#ccfbf1,#e0f2fe);
    font-size:30px;
}

.program-card h3{
    margin:0 0 14px;
    font-size:24px;
    color:#0f172a;
}

.program-card p{
    margin:0 0 22px;
    color:#64748b;
    line-height:1.8;
}

.program-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#0ea5a4;
    text-decoration:none;
    font-weight:700;
}

.program-link span{
    transition:.3s;
}

.program-link:hover span{
    transform:translateX(5px);
}

@media(max-width:992px){

    .programs-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .programs-section{
        padding:80px 16px;
    }

    .programs-grid{
        grid-template-columns:1fr;
    }

    .program-card{
        padding:28px 22px;
    }

    .programs-header h2{
        font-size:36px;
    }

}

/* =========================
   Research Section
========================= */

.research-section{
    padding:110px 20px;
    background:#f8fbfd;
}

.research-container{
    max-width:1200px;
    margin:0 auto;
}
.research-content{
    display:grid;
    grid-template-columns:minmax(0, 1.65fr) minmax(320px, .85fr);
    gap:36px;
    align-items:start;
}

.research-left{
    width:100%;
}

.research-right{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:105px;
}


.research-stat-card{
    padding:32px 18px;
    background:#ffffff;
    border:1px solid #e6edf3;
    border-radius:22px;
    text-align:center;
    box-shadow:0 12px 35px rgba(15,23,42,.07);
    transition:.35s;
}

.research-stat-card:hover{
    transform:translateY(-8px);
    box-shadow:0 22px 45px rgba(15,23,42,.12);
}

.research-stat-card h3{
    margin:0;
    font-size:42px;
    color:#0ea5a4;
}

.research-stat-card p{
    margin-top:10px;
    color:#64748b;
    line-height:1.6;
}

@media(max-width:992px){

    .research-content{
        grid-template-columns:1fr;
    }

    .research-right{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:576px){

    .research-right{
        grid-template-columns:1fr;
    }

}

.research-content h2{
    margin-bottom:18px;
    font-size:clamp(40px,5vw,58px);
    line-height:1.1;
    color:#0f172a;
}

.research-intro{
    margin-bottom:45px;
    font-size:18px;
    color:#64748b;
    line-height:1.8;
}

.research-item{
    display:flex;
    gap:22px;
    align-items:flex-start;
    padding:28px;
    margin-bottom:22px;
    border-radius:20px;
    background:#ffffff;
    border:1px solid #e6edf3;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    transition:.35s;
}

.research-item:hover{
    transform:translateY(-6px);
    box-shadow:0 22px 50px rgba(15,23,42,.10);
}

.research-icon{
    width:64px;
    height:64px;
    min-width:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:linear-gradient(135deg,#ccfbf1,#dbeafe);
    font-size:28px;
}

.research-item h3{
    margin:0 0 10px;
    font-size:24px;
    color:#0f172a;
}

.research-item p{
    margin:0;
    color:#64748b;
    line-height:1.8;
}

.research-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:22px;
    padding:15px 30px;
    border-radius:14px;
    background:#0ea5a4;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.research-btn:hover{
    background:#0b8c8b;
    transform:translateY(-3px);
}

@media(max-width:768px){

    .research-section{
        padding:80px 16px;
    }

    .research-container{
        display:block;
    }

    .research-content{
        display:block;
    }

    .research-left{
        width:100%;
    }

    .research-item{
        display:flex;
        flex-direction:row;
        align-items:flex-start;
        padding:22px;
    }

    .research-right{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:15px;
        margin-top:30px;
        
    }

    .research-stat-card{
        padding:24px 14px;
    }

    .research-stat-card h3{
        font-size:30px;
    }

    .research-stat-card p{
        font-size:13px;
        line-height:1.5;
    }

    .research-content h2{
        font-size:36px;
    }

}
.heritage-section{
    padding:100px 20px;
    background:linear-gradient(135deg,#eff6ff,#ccfbf1);
}

.heritage-container{
    max-width:1200px;
    margin:0 auto;
}

.heritage-header{
    text-align:center;
    margin-bottom:60px;
}

.heritage-header h2{
    font-size:48px;
    margin-bottom:10px;
}

.heritage-header h3{
    color:#0ea5a4;
    margin-bottom:15px;
}

.heritage-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.heritage-card{
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.heritage-card span{
    color:#0ea5a4;
    font-weight:700;
    display:block;
    margin:8px 0;
}

.heritage-card p{
    color:#555;
    line-height:1.7;
}

.heritage-quote{
    margin-top:50px;
    background:#fff;
    padding:30px;
    border-radius:16px;
    text-align:center;
    font-style:italic;
}

@media(max-width:768px){
    .heritage-grid{
        grid-template-columns:1fr;
    }

    .heritage-header h2{
        font-size:34px;
    }
}
/* =========================
   Membership Section
========================= */

.membership-section{
    padding:110px 20px;
    background:#ffffff;
}

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

.membership-header{
    max-width:760px;
    margin:0 auto 60px;
    text-align:center;
}

.membership-header h2{
    font-size:clamp(40px,5vw,58px);
    color:#0f172a;
    margin-bottom:18px;
}

.membership-header p{
    color:#64748b;
    font-size:17px;
    line-height:1.8;
}

.membership-layout{
    display:grid;
    grid-template-columns:380px 1fr;
    gap:35px;
    align-items:start;
}

.membership-box{
    padding:30px;
    margin-bottom:24px;
    background:#fff;
    border:1px solid #e6edf3;
    border-radius:22px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
}

.membership-box h3{
    margin:0 0 18px;
    color:#0f172a;
}

.membership-box p{
    color:#64748b;
    line-height:1.8;
}

.membership-form{
    padding:34px;
    background:#fff;
    border:1px solid #e6edf3;
    border-radius:22px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.membership-form input,
.membership-form select,
.membership-form textarea{
    width:100%;
    padding:15px 18px;
    border:1px solid #d8e2ea;
    border-radius:12px;
    font-size:15px;
    transition:.3s;
}

.membership-form textarea{
    grid-column:1 / -1;
}

.membership-form button{
    grid-column:1 / -1;
    padding:16px;
    border:none;
    border-radius:14px;
    background:#0ea5a4;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.membership-form button:hover{
    background:#0b8c8b;
    transform:translateY(-2px);
}

.membership-form input:focus,
.membership-form select:focus,
.membership-form textarea:focus{
    outline:none;
    border-color:#0ea5a4;
    box-shadow:0 0 0 4px rgba(14,165,164,.12);
}

@media(max-width:992px){

    .membership-layout{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .membership-section{
        padding:80px 16px;
    }

    .membership-form{
        grid-template-columns:1fr;
        padding:24px;
    }
}
/* =========================
   Contact Section
========================= */

.contact-section{
    padding:110px 20px;
    background:#f8fbfd;
}

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

.contact-header{
    max-width:760px;
    margin:0 auto 60px;
    text-align:center;
}

.contact-header h2{
    font-size:clamp(40px,5vw,58px);
    margin-bottom:18px;
    color:#0f172a;
}

.contact-header p{
    font-size:17px;
    color:#64748b;
    line-height:1.8;
}

.contact-layout{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:35px;
    align-items:start;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.contact-item{
    display:flex;
    gap:18px;
    padding:24px;
    background:#fff;
    border:1px solid #e6edf3;
    border-radius:20px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    transition:.3s;
}

.contact-item:hover{
    transform:translateY(-5px);
    box-shadow:0 22px 45px rgba(15,23,42,.10);
}

.contact-icon{
    width:60px;
    height:60px;
    min-width:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:linear-gradient(135deg,#ccfbf1,#dbeafe);
    font-size:28px;
}

.contact-item h3{
    margin:0 0 8px;
    color:#0f172a;
}

.contact-item p{
    margin:0;
    color:#64748b;
    line-height:1.8;
}

.contact-form{
    padding:34px;
    background:#fff;
    border:1px solid #e6edf3;
    border-radius:22px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    display:grid;
    gap:18px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px 18px;
    border:1px solid #d7e2ea;
    border-radius:12px;
    font-size:15px;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#0ea5a4;
    box-shadow:0 0 0 4px rgba(14,165,164,.12);
}

.contact-form button{
    padding:16px;
    border:none;
    border-radius:14px;
    background:#0ea5a4;
    color:#fff;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#0b8c8b;
    transform:translateY(-2px);
}

@media(max-width:992px){

    .contact-layout{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .contact-section{
        padding:80px 16px;
    }

    .contact-form{
        padding:24px;
    }

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

.footer-section{
    background:#0f172a;
    color:#fff;
    padding:90px 20px 25px;
}

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

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.2fr;
    gap:45px;
    padding-bottom:45px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-grid h3,
.footer-grid h4{
    margin:0 0 18px;
    color:#fff;
}

.footer-grid p{
    color:#94a3b8;
    line-height:1.9;
}

.footer-grid ul{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-grid li{
    margin-bottom:12px;
}

.footer-grid a{
    color:#94a3b8;
    text-decoration:none;
    transition:.3s;
}

.footer-grid a:hover{
    color:#fff;
    padding-left:6px;
}

.footer-bottom{
    margin-top:30px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#64748b;
    font-size:14px;
}

@media(max-width:992px){

    .footer-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .footer-section{
        padding:70px 16px 20px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

}

/* ================= HEADER ================= */

.site-header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}
.header-container{
    max-width:1200px;
    margin:0 auto;
    padding:15px 20px;
    min-height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.logo-circle{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#0ea5a4;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    font-weight:bold;
}

.logo-text h3{
    margin:0;
    color:#0ea5a4;
}

.logo-text p{
    margin:0;
    font-size:13px;
    color:#666;
}

.main-nav{
    display:flex;
    gap:25px;
}

.main-nav a{
    text-decoration:none;
    color:#333;
    font-weight:600;
}

.main-nav a:hover{
    color:#0ea5a4;
}

.join-btn{
    background:#0ea5a4;
    color:#fff;
    padding:12px 24px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:30px;
    cursor:pointer;
}

/* =============== MOBILE =============== */

@media(max-width:900px){

    .header-container{
        flex-wrap:wrap;
    }

    .menu-toggle{
        display:block;
        margin-left:auto;
    }

    .join-btn{
        display:none;
    }

    .main-nav{
        display:none;
        width:100%;
        flex-direction:column;
        margin-top:15px;
        gap:8px;
    }

    .main-nav.is-open{
        display:flex;
    }

    .main-nav a{
        padding:12px;
        background:#f8fafc;
        border-radius:8px;
    }
}
html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

*{
    box-sizing:border-box;
}

img,
video,
iframe{
    max-width:100%;
    height:auto;
}

@media(max-width:900px){

    .header-container{
        padding-left:16px;
        padding-right:16px;
    }

    .hero-section{
        padding-left:16px;
        padding-right:16px;
    }

    .hero-title{
        font-size:38px;
        overflow-wrap:anywhere;
    }

    .hero-description{
        width:100%;
        max-width:100%;
    }

    .hero-buttons{
        width:100%;
    }
}
/* FINAL MOBILE HORIZONTAL OVERFLOW FIX */

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:clip !important;
}

body{
    position:relative;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

main,
header,
footer,
section,
div,
nav,
form{
    min-width:0;
}

img,
video,
iframe,
input,
select,
textarea{
    max-width:100%;
}

@media(max-width:900px){

   
    .hero-badge,
    .hero-title,
    .hero-description{
        max-width:100%;
        overflow-wrap:anywhere;
    }
}
/* Logged-in WordPress admin bar ke niche sticky header */

body.admin-bar .site-header{
    top:32px;
}

@media(max-width:782px){
    body.admin-bar .site-header{
        top:46px;
    }
}
.header-logo-image{
    width:60px;
    height:60px;
    object-fit:contain;
    display:block;
    flex-shrink:0;
}

@media(max-width:900px){
    .header-logo-image{
        width:50px;
        height:50px;
    }
}
.hero-logo{
    text-align:center;
    margin-bottom:18px;
}

.hero-logo img{
    width:140px;
    height:auto;
    display:block;
    margin:0 auto;
    filter:drop-shadow(0 10px 20px rgba(0,0,0,.15));
}
/* Leadership Images & Cards */

.leadership-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.leader-card{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:0 0 24px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 8px 24px rgba(15, 23, 42, 0.08);
    transition:transform .3s ease, box-shadow .3s ease;
}

.leader-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 36px rgba(15, 23, 42, 0.14);
}

.leader-image{
    width:100%;
    height:280px;
    display:block;
    object-fit:cover;
    object-position:center top;
    margin-bottom:22px;
}

.leader-card h3{
    margin:0 18px 8px;
    font-size:21px;
    color:#111827;
}

.leader-card span{
    display:block;
    margin:0 18px 12px;
    color:#0ea5a4;
    font-weight:700;
}

.leader-card p{
    margin:0 18px;
    color:#5f6368;
    line-height:1.65;
}

@media(max-width:900px){
    .leadership-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .leader-image{
        height:260px;
    }
}

@media(max-width:600px){
    .leadership-grid{
        grid-template-columns:1fr;
    }

    .leader-image{
        height:320px;
    }
}
/* =========================
   Heritage Section - Premium Cards
========================= */

.heritage-section{
    padding:100px 20px;
    background:#eef8fc;
}

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

.heritage-header{
    text-align:center;
    margin-bottom:55px;
}

.heritage-header h2{
    font-size:54px;
    margin-bottom:10px;
    color:#8b4e12;
}

.heritage-header h3{
    font-size:32px;
    margin-bottom:15px;
    color:#14263f;
}

.heritage-header p{
    color:#667788;
    font-size:17px;
}

.heritage-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.heritage-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #e8edf3;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.heritage-card:hover{
    transform:translateY(-8px);
    box-shadow:0 22px 45px rgba(0,0,0,.14);
}

.heritage-image{
    width:100%;
    height:230px;
    display:block;
    object-fit:cover;
    transition:.5s;
}

.heritage-card:hover .heritage-image{
    transform:scale(1.05);
}

.heritage-content{
    position:static;
    padding:24px;
    color:#14263f;
}

.heritage-content h4{
    margin:0 0 8px;
    font-size:30px;
    color:#14263f;
}

.heritage-content span{
    display:block;
    margin-bottom:15px;
    color:#0f6cad;
    font-weight:700;
    text-transform:none;
    letter-spacing:0;
}

.heritage-content p{
    margin:0;
    color:#5f6d7a;
    line-height:1.8;
}

.heritage-card::after{
    display:none;
}

.heritage-quote{
    margin-top:50px;
    background:#fff;
    border-radius:18px;
    padding:28px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.heritage-quote p{
    margin:0;
    font-size:18px;
    color:#556270;
    font-style:italic;
}

@media(max-width:992px){

    .heritage-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .heritage-grid{
        grid-template-columns:1fr;
    }

    .heritage-header h2{
        font-size:38px;
    }

    .heritage-header h3{
        font-size:24px;
    }

}
/* =========================
   Final Global Polish
========================= */

:root{
    --primary:#0ea5a4;
    --primary-dark:#0b8c8b;
    --heading:#0f172a;
    --text:#64748b;
    --surface:#ffffff;
    --surface-soft:#f8fbfd;
    --border:#e6edf3;
    --shadow:0 14px 40px rgba(15,23,42,.08);
}

body{
    color:var(--heading);
    background:#ffffff;
    font-family:Arial,sans-serif;
    line-height:1.6;
}

section{
    scroll-margin-top:100px;
}

h1,
h2,
h3,
h4{
    letter-spacing:-0.02em;
}

a,
button,
input,
select,
textarea{
    font-family:inherit;
}

button,
a{
    -webkit-tap-highlight-color:transparent;
}

.hero-section,
.about-section,
.leadership-section,
.programs-section,
.research-section,
.heritage-section,
.membership-section,
.contact-section{
    position:relative;
}

.about-card,
.leader-card,
.program-card,
.research-item,
.heritage-card,
.membership-box,
.membership-form,
.contact-item,
.contact-form{
    will-change:transform;
}

input,
select,
textarea{
    background:#ffffff;
    color:#0f172a;
}

textarea{
    resize:vertical;
}

@media(max-width:768px){

    .hero-title,
    .section-header h2,
    .leadership-header h2,
    .programs-header h2,
    .research-content h2,
    .heritage-header h2,
    .membership-header h2,
    .contact-header h2{
        line-height:1.15;
    }

    .about-section,
    .leadership-section,
    .programs-section,
    .research-section,
    .heritage-section,
    .membership-section,
    .contact-section{
        padding-top:80px;
        padding-bottom:80px;
    }

}

@media(prefers-reduced-motion:reduce){

    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
        scroll-behavior:auto !important;
    }

}
/* Membership Form 7 layout fix */

.membership-form .wpcf7{
    width:100%;
}

.membership-form .wpcf7-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.membership-form .wpcf7-form > p{
    margin:0;
}

.membership-form .wpcf7-form label{
    display:block;
    width:100%;
    color:#0f172a;
    font-size:14px;
    font-weight:600;
}

.membership-form .wpcf7-form-control-wrap{
    display:block;
    width:100%;
    margin-top:7px;
}

.membership-form input,
.membership-form select,
.membership-form textarea{
    width:100%;
}

.membership-form .wpcf7-form > p:nth-last-child(3),
.membership-form .wpcf7-form > p:nth-last-child(2),
.membership-form .wpcf7-form > p:last-child{
    grid-column:1 / -1;
}

.membership-form .wpcf7-submit{
    width:100%;
    min-height:50px;
    border:0;
    border-radius:12px;
    background:#0ea5a4;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}

.membership-form .wpcf7-response-output{
    grid-column:1 / -1;
    margin:8px 0 0 !important;
}

@media(max-width:768px){
    .membership-form .wpcf7-form{
        grid-template-columns:1fr;
    }

    .membership-form .wpcf7-form > p{
        grid-column:1 / -1;
    }
}
/* Final Membership Form Layout Fix */

.membership-form .wpcf7,
.membership-form .wpcf7-form{
    width:100%;
    max-width:none;
}

.membership-form .wpcf7-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:20px;
    row-gap:18px;
}

.membership-form .wpcf7-form > p{
    margin:0;
    width:100%;
}

.membership-form .wpcf7-form > p label{
    display:block;
    width:100%;
}

.membership-form .wpcf7-form-control-wrap{
    display:block;
    width:100%;
    margin-top:8px;
}

.membership-form .wpcf7-form-control{
    width:100% !important;
    max-width:none !important;
    min-width:0;
}

.membership-form textarea{
    min-height:140px;
}

.membership-form .wpcf7-form > p:nth-child(9),
.membership-form .wpcf7-form > p:nth-child(10){
    grid-column:1 / -1;
}

.membership-form .wpcf7-submit{
    width:100% !important;
    min-height:50px;
    background:#0ea5a4;
    color:#ffffff;
    border:0;
    border-radius:12px;
    font-weight:700;
}

.membership-form .wpcf7-response-output{
    grid-column:1 / -1;
    width:100%;
    margin:0 !important;
}

@media(max-width:768px){

    .membership-form .wpcf7-form{
        grid-template-columns:1fr;
    }

    .membership-form .wpcf7-form > p{
        grid-column:1 / -1;
    }

}
/* Membership form final width alignment */

.membership-form{
    display:block;
}

.membership-form .wpcf7-form{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px 20px;
    width:100%;
}

.membership-form .wpcf7-form > p{
    width:100%;
    margin:0;
}

.membership-form .wpcf7-form > p:nth-child(7),
.membership-form .wpcf7-form > p:nth-child(8),
.membership-form .wpcf7-form > p:nth-child(9),
.membership-form .wpcf7-form > p:nth-child(10){
    grid-column:1 / -1;
}

.membership-form label,
.membership-form .wpcf7-form-control-wrap,
.membership-form input,
.membership-form select,
.membership-form textarea{
    display:block;
    width:100% !important;
    max-width:100% !important;
}

.membership-form textarea{
    min-height:150px;
}

.membership-form .wpcf7-submit{
    width:100% !important;
}

/* ========================================
   PREMIUM LATEST UPDATES SECTION
======================================== */

.updates-section {
    padding: 100px 20px;
    background:
        radial-gradient(circle at top left, rgba(20, 92, 155, 0.09), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.updates-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.updates-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.updates-header .section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: #145c9b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.updates-header h2 {
    margin: 0 0 16px;
    color: #10233f;
    font-size: 46px;
    line-height: 1.15;
}

.updates-header p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.75;
}

/* Important Announcement */

.important-update {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px;
    padding: 26px 28px;
    background:
        linear-gradient(135deg, rgba(20, 92, 155, 0.98), rgba(12, 49, 92, 0.98));
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(20, 92, 155, 0.22);
}

.important-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    font-size: 28px;
}

.important-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #cfe8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.important-content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.35;
}

.important-content h3 a {
    color: #ffffff;
    text-decoration: none;
}

.important-meta {
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.important-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    color: #145c9b;
    background: #ffffff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.important-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

/* Filter Buttons */

.updates-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 34px;
}

.update-filter {
    padding: 10px 17px;
    color: #526174;
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.update-filter:hover,
.update-filter.active {
    color: #ffffff;
    background: #145c9b;
    border-color: #145c9b;
    box-shadow: 0 8px 20px rgba(20, 92, 155, 0.18);
}

/* Update Cards */

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.update-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 35, 63, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(15, 35, 63, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.update-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 92, 155, 0.22);
    box-shadow: 0 24px 60px rgba(15, 35, 63, 0.14);
}

.update-image-link {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #eaf0f6;
}

.update-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.update-card:hover .update-image {
    transform: scale(1.06);
}

.update-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, #145c9b, #0c315c);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.update-content {
    padding: 28px;
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.update-date,
.update-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.update-date {
    color: #526174;
    background: #f1f5f9;
}

.update-category {
    color: #145c9b;
    background: #e8f3fc;
}

.update-content h3 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.4;
}

.update-content h3 a {
    color: #10233f;
    text-decoration: none;
    transition: color 0.25s ease;
}

.update-content h3 a:hover {
    color: #145c9b;
}

.update-content p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.update-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #145c9b;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.update-read-more span {
    transition: transform 0.25s ease;
}

.update-read-more:hover span {
    transform: translateX(5px);
}

/* Empty State */

.updates-empty {
    grid-column: 1 / -1;
    padding: 56px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed rgba(20, 92, 155, 0.28);
    border-radius: 22px;
}

.updates-empty span {
    display: block;
    margin-bottom: 14px;
    font-size: 38px;
}

.updates-empty h3 {
    margin: 0 0 10px;
    color: #10233f;
    font-size: 24px;
}

.updates-empty p {
    max-width: 560px;
    margin: 0 auto;
    color: #64748b;
    line-height: 1.7;
}

/* View All Button */

.updates-view-all {
    margin-top: 38px;
    text-align: center;
}

.updates-view-all a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    color: #ffffff;
    background: #145c9b;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(20, 92, 155, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.updates-view-all a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(20, 92, 155, 0.24);
}

/* Tablet */

@media (max-width: 992px) {
    .updates-section {
        padding: 82px 18px;
    }

    .updates-header h2 {
        font-size: 40px;
    }

    .important-update {
        grid-template-columns: auto 1fr;
    }

    .important-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .updates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 640px) {
    .updates-section {
        padding: 66px 16px;
    }

    .updates-header {
        margin-bottom: 32px;
    }

    .updates-header h2 {
        font-size: 34px;
    }

    .updates-header p {
        font-size: 15px;
    }

    .important-update {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
        text-align: center;
    }

    .important-icon {
        margin: 0 auto;
    }

    .important-content h3 {
        font-size: 21px;
    }

    .updates-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .update-filter {
        flex: 0 0 auto;
    }

    .updates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .update-image-link {
        height: 210px;
    }

    .update-content {
        padding: 24px 22px;
    }

    .update-content h3 {
        font-size: 20px;
    }
}
/* =========================
   MEMBERS DIRECTORY
========================= */

.members-section {
    padding: 110px 20px;
    background: #f8fafc;
}

.members-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.members-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.members-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #2563eb;
}

.members-header h2 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.1;
    color: #111827;
}

.members-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
}

.members-search-box {
    max-width: 680px;
    margin: 0 auto 38px;
}

.members-search-box input {
    width: 100%;
    padding: 17px 20px;
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: #ffffff;
    font-size: 16px;
    color: #111827;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
}

.members-search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.member-card {
    display: flex;
    gap: 16px;
    min-width: 0;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.member-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
}

.member-content {
    min-width: 0;
    flex: 1;
}

.member-content h3 {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.35;
    color: #111827;
}

.member-designation {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
}

.member-institute {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.member-contact a {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.member-contact a:hover {
    color: #2563eb;
}

.members-empty,
.members-no-result {
    grid-column: 1 / -1;
    padding: 35px 20px;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
    color: #64748b;
}

@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .members-section {
        padding: 80px 16px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        padding: 18px;
    }

    .member-avatar {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .members-search-box input {
        padding: 15px 16px;
    }
}
/* =========================
   Members Pagination
========================= */

.members-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:45px;
}

.members-pagination button{
    min-width:42px;
    height:42px;
    padding:0 14px;
    border:1px solid #dbe3ee;
    border-radius:10px;
    background:#ffffff;
    color:#334155;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.members-pagination button:hover:not(:disabled){
    background:#eff6ff;
    border-color:#2563eb;
    color:#2563eb;
    transform:translateY(-2px);
}

.members-pagination button.active{
    background:#2563eb;
    border-color:#2563eb;
    color:#ffffff;
    box-shadow:0 8px 20px rgba(37,99,235,.22);
}

.members-pagination button:disabled{
    opacity:.45;
    cursor:not-allowed;
}

@media(max-width:600px){

    .members-pagination{
        gap:7px;
        margin-top:32px;
    }

    .members-pagination button{
        min-width:38px;
        height:38px;
        padding:0 10px;
        font-size:13px;
    }

}
.pagination-dots{
    display:flex;
    align-items:center;
    padding:0 6px;
    font-weight:700;
    color:#64748b;
}
/* =========================================
   SINGLE POST PAGE
========================================= */

.single-post-page{
    padding:70px 20px 90px;
    background:#f8fafc;
}

.single-post-container{
    max-width:1050px;
    margin:0 auto;
}

.single-post-article{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:24px;
    padding:42px;
    box-shadow:0 16px 45px rgba(15,23,42,.08);
}

.single-post-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
}

.single-post-meta span{
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:999px;
    background:#eaf4ff;
    color:#145b94;
    font-size:13px;
    font-weight:700;
}

.single-post-article h1{
    margin:0 0 28px;
    color:#0f172a;
    font-size:clamp(34px,5vw,54px);
    line-height:1.12;
    letter-spacing:-1px;
}

.single-post-image{
    margin-bottom:32px;
    overflow:hidden;
    border-radius:18px;
    background:#eef2f7;
}

.single-post-image img{
    display:block;
    width:100%;
    height:auto;
    max-height:620px;
    object-fit:cover;
}

.single-post-content{
    color:#475569;
    font-size:17px;
    line-height:1.85;
}

.single-post-content p{
    margin:0 0 20px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4{
    margin:30px 0 14px;
    color:#0f172a;
    line-height:1.3;
}

.single-post-content a{
    color:#0b8c8b;
    font-weight:600;
}

.single-post-back{
    display:inline-flex;
    align-items:center;
    margin-top:30px;
    padding:13px 20px;
    border-radius:12px;
    background:#0ea5a4;
    color:#ffffff;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

.single-post-back:hover{
    background:#0b8c8b;
    transform:translateY(-2px);
}

@media (max-width:768px){

    .single-post-page{
        padding:40px 14px 60px;
    }

    .single-post-article{
        padding:24px 18px;
        border-radius:18px;
    }

    .single-post-article h1{
        font-size:34px;
    }

    .single-post-content{
        font-size:16px;
    }
}
.membership-layout{
    display:grid !important;
    grid-template-columns:360px minmax(0,1fr) !important;
    gap:30px !important;
    align-items:start !important;
}

.membership-info,
.membership-form{
    width:100% !important;
    min-width:0 !important;
}

.membership-form{
    margin:0 !important;
}

.membership-form .wpcf7{
    margin:0 !important;
}

.membership-form .wpcf7-form{
    margin:0 !important;
}

@media (max-width:900px){
    .membership-layout{
        grid-template-columns:1fr !important;
    }
}