  *{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
}

body{
  background:#f4f6f9;
  
}

/* ===== NAVBAR ===== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height: 100px;
    background:#0f172a;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    z-index:1000;
    transition:all 0.3s ease;
}

/* Sticky Effect */
.navbar.scrolled{
    background:#0b1220;
    padding:8px 40px;
    box-shadow:0 6px 20px rgba(0,0,0,0.25);
}

/* Logo */
.logo-section{
    display:flex;
    flex-direction:column;
}

.logo-img{
    height:50px;
    width:auto;
    border-radius: 100px;
}

.motto{
    font-size:12px;
    color:#cbd5e1;
}

/* Navigation Links */
.nav-links{
    display:flex;
    gap:25px;
    align-items:center;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-size:15px;
    transition:0.3s;
}

.nav-links a:hover{
    color:#38bdf8;
}

/* Confidential */
.confidential{
    border-left:1px solid #334155;
    padding-left:20px;
    margin-left:10px;
    display:flex;
    gap:20px;
}

/* Menu Buttons */
.menu-btn{
    display:none;
    font-size:24px;
    cursor:pointer;
}

.close-btn{
    display:none;
}

/* MOBILE */
@media(max-width:768px){

    .navbar{
        justify-content:center;
        padding:15px 20px;
    }

    .logo-section{
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        align-items:center;
        text-align:center;
    }

    .logo-img{
        height:40px;
    }

    .menu-btn{
        display:block;
        position:absolute;
        right:20px;
    }

    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:100%;
        height:100vh;
        background:#0f172a;
        flex-direction:column;
        align-items:flex-start;
        padding:30px;
        transition:0.4s;
    }

    .nav-links.active{
        right:0;
    }

    .nav-links a{
        width:100%;
        padding:15px 0;
        border-bottom:1px solid #1e293b;
        font-size:16px;
    }

    .confidential{
        border:none;
        padding-left:0;
        margin-left:0;
        flex-direction:column;
        width:100%;
    }

    .close-btn{
        display:block;
        font-size:28px;
        align-self:flex-end;
        margin-bottom:20px;
        cursor:pointer;
    }
}

/* Content */
.content{
    padding-top:120px;
    text-align:center;
}
/* NAVBAR */


/* MOBILE */

@media(max-width:768px){

  nav{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero h2{
    font-size:28px;
  }

}





/* footer  */

.footer{
background-image:url("/home_images/jharschool4.png");
background-size:cover;
background-position:center;
color:rgb(255, 221, 221);
padding:50px 20px;
position:relative;
}

.footer::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
}

.footer *{
position:relative;
z-index:2;
}


.footer-top{
padding:50px 20px;
max-width:1200px;
margin:auto;
}

.footer-brand{
text-align:center;
margin-bottom:40px;
}

.footer-brand h2{
font-size:30px;
color:#38bdf8;
margin-bottom:10px;
}

.footer-brand p{
color:#cbd5f5;
max-width:600px;
margin:auto;
}

.footer-container{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.footer-col h3{
margin-bottom:15px;
font-size:18px;
border-bottom:2px solid #38bdf8;
display:inline-block;
padding-bottom:5px;
}

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

.footer-col ul li{
margin-bottom:10px;
}

.footer-col a{
text-decoration:none;
color:#cbd5f5;
font-size:14px;
transition:0.3s;
}

.footer-col a:hover{
color:#38bdf8;
padding-left:5px;
}

.footer-col p{
font-size:14px;
color:#cbd5f5;
}

.social{
margin-top:10px;
}

.social a{
margin-right:10px;
font-size:20px;
text-decoration:none;
color:white;
}

.footer-bottom{
border-top:1px solid #1e293b;
padding:15px;
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
}

.footer-bottom p{
font-size:14px;
color:#94a3b8;
}

#topBtn{
background:#38bdf8;
border:none;
padding:8px 12px;
cursor:pointer;
border-radius:5px;
font-size:16px;
}

@media (max-width:768px){

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

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

.footer-col h3{
border:none;
}

}

/* footer ends here */





/* ===== Main Container ===== */
#kudmi-preface-section {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  margin-top: 120px;
}

/* ===== Card Layout ===== */
.kudmi-content-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.kudmi-content-card:hover {
  transform: translateY(-3px);
}

/* ===== Headings ===== */
.kudmi-section-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0a4d3c;
}

/* ===== Paragraph ===== */
.kudmi-section-text {
  font-size: 1rem;
}

/* ===== List Styling ===== */
.kudmi-feature-list {
  padding-left: 18px;
}

.kudmi-feature-list li {
  margin-bottom: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .kudmi-section-title {
    font-size: 1.2rem;
  }

  .kudmi-section-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  #kudmi-preface-section {
    padding: 10px;
  }

  .kudmi-content-card {
    padding: 12px;
  }

  .kudmi-section-title {
    font-size: 1rem;
  }

  .kudmi-section-text {
    font-size: 0.85rem;
  }
}




#kudmi-modern-status {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  font-family: "Noto Sans Devanagari", Arial, sans-serif;
  background: #f4f7fb;
  line-height: 1.7;
}

.kudmi-status-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.kudmi-status-heading {
  font-size: 1.4rem;
  color: #0a4d3c;
  margin-bottom: 10px;
}

.kudmi-status-text {
  font-size: 1rem;
  margin-bottom: 10px;
  text-align: justify;
}

.kudmi-highlight {
  font-weight: bold;
  color: #b22222;
}

.kudmi-status-list {
  padding-left: 18px;
}

.kudmi-status-list li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .kudmi-status-heading {
    font-size: 1.2rem;
  }
  .kudmi-status-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  #kudmi-modern-status {
    padding: 10px;
  }
  .kudmi-status-card {
    padding: 14px;
  }
  .kudmi-status-heading {
    font-size: 1rem;
  }
  .kudmi-status-text {
    font-size: 0.85rem;
  }
}




/* kudmali gotra  */


#kudmi-gotra-complete {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  font-family: "Noto Sans Devanagari", Arial, sans-serif;
}

.gotra-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #0a4d3c;
}

.table-wrapper {
  overflow-x: auto;
}

.gotra-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.gotra-table th, .gotra-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.gotra-table th {
  background: #0a4d3c;
  color: #fff;
}

.gotra-table tr:nth-child(even){
  background:#f2f2f2;
}

/* Mobile */
@media(max-width:400px){
  .gotra-table th, .gotra-table td{
    font-size: 0.7rem;
  }
}














/* Container to handle horizontal scrolling on smaller screens */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

/* Base table styling */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: sans-serif;
  font-size: 14px;
  min-width: 600px; /* Ensures the table doesn't get too squished */
}

/* Header styles */
.responsive-table th {
  background-color: #f5f5f5;
  color: #333;
  font-weight: bold;
  padding: 12px 15px;
  border-bottom: 2px solid #e0e0e0;
}

/* Cell styles */
.responsive-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
  vertical-align: top;
}

/* Zebra striping for better readability */
.responsive-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Row hover effect */
.responsive-table tbody tr:hover {
  background-color: #f1f1f1;
}






.container {
            width: 100%;
            max-width: 800px;
            background: var(--card-bg);
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        h1 {
            text-align: center;
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 30px;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--accent-color);
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
            position: relative;
        }

        .data-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .data-item {
            display: flex;
            flex-direction: row;
            padding: 15px 10px;
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.2s ease;
        }

        .data-item:last-child {
            border-bottom: none;
        }

        .data-item:hover {
            background-color: #fdfefe;
        }

        .term {
            font-weight: 700;
            color: var(--accent-color);
            width: 25%;
            min-width: 120px;
            padding-right: 15px;
            position: relative;
        }

        /* Dash separator for desktop view */
        .term::after {
            content: "–";
            position: absolute;
            right: 5px;
            color: #a0aec0;
        }

        .details {
            width: 75%;
            line-height: 1.6;
            color: var(--text-color);
        }

        /* Responsive Breakpoint for Mobile Devices */
        @media (max-width: 600px) {
            body {
                padding: 10px;
            }

            .container {
                padding: 20px 15px;
            }

            h1 {
                font-size: 1.5rem;
                margin-bottom: 20px;
            }

            .data-item {
                flex-direction: column;
                padding: 12px 5px;
            }

            .term {
                width: 100%;
                margin-bottom: 5px;
                font-size: 1.1rem;
            }

            /* Hide the desktop dash separator on mobile */
            .term::after {
                content: "";
            }

            .details {
                width: 100%;
                padding-left: 5px;
            }
        }