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


/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #7a1f1f, #b02a2a);
    color:#fff;
    border-bottom:3px solid #d4af37;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    /* opacity: 0.5;*/
}

header img {
    width: 80px;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.header-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* Language dropdown */
.lang-select {
    position: absolute;
    right: 10px;
    top: 60px;
}

.lang-select select {
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

/* ===== NAVBAR ===== */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

nav button {
    background: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.3s;
}

nav button:hover {
    background: #e4ecf9;
    transform: translateY(-2px);
}

/* ===== MAIN CARDS ===== */
.card-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 30px 20px;
    flex-wrap: wrap;
}

.card {
    /*width: 415px;
    height: 150px;*/
    border-radius: 20px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   
    font-weight: 500;
    transition: 0.3s;
}


/* Image */
.card img {
  width: 140px;
  height: auto;
  border-radius: 50%;
  /*border: 5px solid #aaa4d1;*/
  object-fit: cover;
  margin-bottom: 15px;
}

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

/* ===== ACTS SECTION ===== */
.acts {
    width: 100%;
    max-width: 1300px;
    margin: 20px auto 50px;
  
    padding: 25px;
    border-radius: 20px;
    
}

.acts h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.act-box {
    /*background: #fff;*/
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: 0.3s;
    cursor: pointer;color:#5567f1;font-weight:700;font-size:0.9rem ;
}

.act-box:hover {
    transform: translateY(-3px);
}

.lang {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
     z-index: 9999;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 900px) {
    .acts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

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

    .card {
        width: 100%;
    }
}

/* Light - 300 */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular - 400 */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium - 500 */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold - 600 */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Modal container */
.custom-modal {
  border-radius: 18px;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
}

/* Header */
.custom-header {
  background: linear-gradient(135deg, #2b6cb0, #1e3c72);
  color: #fff;
  padding: 16px 20px;
  border-bottom: none;
}

.custom-header .icon {
  font-size: 20px;
}

/* Body */
.custom-body {
  padding: 20px 25px;
  color: #444;
  line-height: 1.8;
  font-size: 15px;
  max-height: 60vh;
  overflow-y: auto;
}

/* Footer */
.custom-footer {
  border-top: 1px solid #eee;
  padding: 15px 20px;
}

.custom-footer .btn {
  border-radius: 8px;
  font-weight: 500;
}

/* Smooth scrollbar */
.custom-body::-webkit-scrollbar {
  width: 6px;
}
.custom-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
p{
text-align: justify;

}
nav button a {
  text-decoration: none;  /* removes underline */
  color: inherit;         /* uses parent text color */
}
.custom-modal-size {
  max-width: 90%;   /* increase width */
}
footer {
      margin-top: auto;
      padding: 15px;
      background: transparent;
    }

    /* NAV STYLE BUTTON (like your UI) */
    .disclaimerbtn {
       position: fixed;
        bottom: 10px;
        left: 50%;
       background:#1e3c72; color:#fff; padding:8px 15px; border-radius:20px;     
      border: none; 
     
      text-decoration: none;
    
    }
/* Section Title */


/* List */
ul {
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}
/* ===== MAIN CARD ===== */
.container-box {
  max-width: 1100px;
  margin: auto;
  background: rgb(255,255,255);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Heading */
.page-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1e4d92;
}

/* Columns */
.row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.col {
  flex: 1;
  min-width: 300px;
}

.heading_red
{
color: #d32f2f;
}   
/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}





/* Name */
.name {
  font-weight: 600;
  color: #0d47a1;
  font-size: 15px;
  margin-top: 5px;
}

/* Year */
.year {
  font-size: 13px;
  color: #555;
}
/* Tabs */
.year-tabs {
  text-align: center;
  margin-bottom: 20px;
}

.year-tabs button {
  margin: 5px;
  padding: 8px 18px;
  border-radius: 25px;
  border: none;
  background: #4d3f3f;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #fff;
}
.year-tabs button:hover {
  background: linear-gradient(135deg, #2a5298, #3b6ec2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Hide all sections */
.cj-section {
  display: none;
}

/* Show active */
.cj-section.active {
  display: block;
}
.cj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}
.cj-card {
  width: 100%;              /* IMPORTANT */
  max-width: 400px;  
  height: 250px;       /* control size */
  margin: auto;             /* center inside grid */

  background: #fff;
  border-radius: 15px;
  padding: 20px;

  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.3s;

}

.cj-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
    
  border-radius: 50%;
  /*border: 4px solid #d4af37;  gold tone */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
object-position: 50% -2%; /* 👈 perfect face alignment */

}

.cj-card:hover {
    transform: translateY(-6px);
}
/* ===== TABS ===== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.tabs button {
  padding: 10px 25px;
  border-radius: 25px;
  border: none;
  background: #eee;
  cursor: pointer;
  font-weight: 500;
}

.tabs button.active {
  
  color: #fff;
  margin: 5px;
    padding: 8px 18px;
    border-radius: 25px;
    border: none;
    background: #4d3f3f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
}

/* Section */
.section {
  display: none;  
    
}

.section.active {
  display: block;  
}

/* Heading */
.section-title {
  /*text-align: center;*/
  color: #d32f2f;
  font-size: 26px;
  margin-bottom: 20px;
  width:100%;
  font-weight: 600;
}

.traslated-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: 0.3s;
    cursor: pointer;color:#5567f1;font-weight:700;
    height: 120px;
}
.acts-grid a,.card-section a{
    text-decoration: none;
    color: inherit;
}
.traslated-box:hover {
    transform: translateY(-3px);
}
.tj {
    width: 100%;
    max-width: 1300px;
    margin: 20px auto 50px;
   
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
   /* margin-top:320px !important;*/
      position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
    padding:20px;
}
.tj h2{
text-align: center;
    color: #d32f2f;
    font-size: 26px;
    margin-bottom: 40px;
    width: 100%;
    font-weight: 600;
}
.act-icon {
  width: 50px;
  opacity: 0.8;
}
.publication-card-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 30px 20px;
    flex-wrap: wrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100% !important;
}
.publication-card {
    width: 415px;
    height: 250px;
    border-radius: 20px;
   
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s;
    /* margin-top:300px !important;*/

    padding:20px;
}

.publication-card img {
    width: 140px;
}

.publication-card:hover {
    transform: translateY(-6px);
}
.publication-card-section a{
    text-decoration: none;
    color: inherit;
}
.edition-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: 0.3s;
    cursor: pointer;color:#5567f1;font-weight:700;
    /*height: 80px;*/
    margin-bottom: 10px;
    text-align: center;
}
.nyay-title {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}
.back-btn {
    background: #1e3a8a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    float: right;
    margin-right: 10px;
    margin-top: -55px;
}

.back-btn:hover {
    background: #1e40af;
}
.case-logo {
    width: 400px;
    height: 400px;
    object-fit: contain;
}

.modal-pdf {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-pdf-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.modal-pdf button {
    margin: 10px;
    padding: 10px 15px;
    cursor: pointer;
}

.pdf-close-btn {
    background: red;
    color: white;
}
.visitor{
    position:fixed; bottom:10px; right:10px; background:#1e3c72; color:#fff; padding:8px 15px; border-radius:20px;
}
.message-accordion {
    max-width: 900px;
    margin: 40px auto;    
    
}

/* ITEM */
.msg-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
   
    background: #e4ecf9;
}

/* HEADER */
.msg-header {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;  
    background: rgba(255,255,255,0.6);   
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 10px
}

/* SUB TEXT */
.msg-header span {
    font-size: 13px;
    color: #555;
}

/* BODY */
.msg-body {
margin: 0px 30px 0px 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}


/* LEFT SIDE */
.left {
    width: 50%;
   
}

.left img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #1e40af;
    object-fit: cover;
     
}
.imggap {   
     object-position: 50% -2%;
}

.left p {
    margin-top: 10px;
    font-weight: 600;
    font-size: 15px;
}

/* RIGHT SIDE */
.right {
    flex: 1;
    text-align: center;
}

.right img {
    min-height: 150px;
    max-height:200px;
    margin-bottom: 10px;
    min-width: 150px;
    max-width:500px;
}

.right h2 {
    margin: 0;
    font-size: 24px;
    color: #1e3a8a;
}

.right h4 {
    margin: 5px 0 15px;
    color: #555;
}
.msg-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 5px;
}
.p_hindi {text-indent: 40px;}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;     
    background:#fff;

}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;        
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    
}

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

/* Popup */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

/* Image inside popup */
.popup-img {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* Animation */
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
/* SETTINGS BUTTON */
.settings-toggle{
    position:fixed;
    top:50%;
    right:0;

    background:#7a1f1f;
    color:#fff;

    padding:10px 12px;
    cursor:pointer;

    border-radius:6px 0 0 6px;
    z-index:9999;
}

/* PANEL */
.settings-panel{
    position:fixed;
    top:0;
    right:-260px;

    width:260px;
    height:100%;

    background:#fff;
    border-left:1px solid #ccc;

    padding:15px;
    transition:0.3s;

    z-index:9998;
}

/* OPEN */
.settings-panel.open{
    right:0;
}

/* HEADER */
.settings-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

/* CLOSE */
.close-btn{
    font-size:18px;
    cursor:pointer;
    color:#7a1f1f;
}

/* THEME ITEMS */
.theme-item{
    display:flex;
    align-items:center;
    gap:10px;

    padding:10px;
    margin-bottom:8px;

    border:1px solid #ddd;
    border-radius:8px;

    background:#f8f8f8;
    cursor:pointer;
}

.theme-item:hover{
    background:#eaeaea;
}

/* ACTIVE */
.theme-item.active{
    border:2px solid #7a1f1f;
    background:#fff;
    color:#7a1f1f;
}
.card-blue{
    background:#3062A7 !important; 
}

/* =====================================================
   LIGHT THEME - MERGED OVERRIDES FROM light.css
   These rules intentionally come last so light properties
   override the corresponding main.css properties.
   ===================================================== */

/* ===== LIGHT THEME (IMAGE MATCH) ===== */

body{
    background:
        linear-gradient(rgba(255,248,235,0.3), rgba(250,240,220,0.4)),
        url("../images/ahc_animated2.gif") no-repeat center center/cover;

    background-attachment: fixed;
    color:#2c2c2c;
     background-size: 103% auto;
     background-position: right top !important;
}



/* MAIN HEADING */
.main-heading{
    color:#7a1f1f;
}

/* CARD */
.custom-card{
    background:rgba(255,255,255,0.85);
    border:1px solid #ecdede;

    backdrop-filter:blur(16px);
}

/* GOLD LINE */
.custom-card::before{
    background:linear-gradient(90deg,#7a1f1f,#d4af37);
}

/* CARD HEADER */
.bg-primary{
    background:linear-gradient(135deg,#2a5298,#1e3c72) !important;
}

.bg-success{
    background:linear-gradient(135deg,#b02a2a,#7a1f1f) !important;
    color:#fff !important;
}

/* BUTTON */
.enter-btn{
    background:linear-gradient(135deg,#7a1f1f,#b02a2a);
    color:#fff;
}

/* TABS */
.pro-tab{
    background:#fff;
}

.pro-tab.active{
    background:linear-gradient(135deg,#7a1f1f,#b02a2a);
    color:#fff;
}

/* MODAL */
.modal-header{
    background:linear-gradient(135deg,#7a1f1f,#b02a2a);
}
.modal-footer .btn
{
background:#b02a2a;
}
.act-box,.edition-box,.traslated-box{
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: #743138;
    border: 1px solid var(--border);
    cursor: pointer;
}
.msg-item{
    border:1px solid #e5e7eb;
    border-radius:10px;
    margin-bottom:10px;
    overflow:hidden;
    background: #fff;

}

/* HEADER */
.msg-header{
    padding:12px 15px;
    cursor:pointer;

    font-weight:600;

    background:#7b1e1e;
    color:#fff;

    display:flex;
    justify-content:space-between;
}
.msg-header span {
    font-size: 13px;
    color: #fffa;
}

/* BODY */
.msg-body{
    display:none;
    padding:15px;
    background:#fafafa;
}

/* ACTIVE */
.msg-item.active .msg-body{
    display:block;
}

/* OPTIONAL ARROW */
.msg-header::after{
    content:"+";
}

.msg-item.active .msg-header::after{
    content:"-";
}
.card{ background: #fafafa;
}
.disclaimerbtn,.visitor,.back-btn {
    background: #743138;
}
.disclaimerbtn,.back-btn :hover{
    background: #743138!important;
}
.section-title {
    color: #b02a2a;
}
.fbj-header h3{    
    color:#7a1f1f !important;
}
.search-btn{    
    background:#7a1f1f !important;
}

.search-btn:hover{
    background:#7a1f1f !important;
}
.glass {
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
