 :root {
     --primary: #2c5282;
     /* Deep blue */
     --primary-light: #4299e1;
     --secondary: #38a169;
     /* Green for quotes */
     --bg: #f7fafc;
     --card-bg: #ffffff;
     --text: #2d3748;
     --text-light: #4a5568;
     --border: #e2e8f0;
     /* --primary-light: #4c51bf; */
     --accent: #ed8936;
     /* warm orange for highlights */
     --secondary: #2b6cb0;
     --bg: #f9fafb;
     --card: #ffffff;
     /* --text: #1f2937; */
     /* --text-light: #4b5563; */
     /* --border: #e2e8f0; */
     --quote-bg: #fefce8;
     --accent-color:rgb(81, 250, 168);
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Noto Sans Devanagari', 'Roboto', sans-serif;
     background-color: var(--bg);
     color: var(--text);
     line-height: 1.4;
 }

 .container-pedagogy {
     max-width: 1000px;
     margin: -30px auto;
     font-size: 1.2rem;
     padding: 2rem 1rem;
     text-align: justify;
     overflow-x: scroll;
     font-family: 'Noto Sans Devanagari', 'Roboto', sans-serif;


 }

 .header-pedagogy {
     text-align: center;
     padding: 1rem auto;
     margin: 4px auto;
     background: linear-gradient(135deg, var(--primary), var(--primary-light));
     color: white;
     border-radius: 8px;
     margin-bottom: 1rem;
     text-align: center;
     -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
     -ms-border-radius: 8px;
     -o-border-radius: 8px;
 }

 .header-pedagogy h1 {
     font-size: 1.8rem;
     /* margin: 1rem auto; */
     text-align: center;
     padding: 1rem;

 }

 .header-pedagogy p {
     text-align: center;
     padding-bottom: 1rem;

 }

 section {
     margin-bottom: 2.5rem;
 }

 .container-pedagogy h2 {
     color: var(--primary);
     font-size: 1.5rem;
     margin-bottom: 1.2rem;
     padding-bottom: 0.6rem;
     border-bottom: 3px solid var(--primary-light);
     position: relative;

 }

 .container-pedagogy h2::after {
     content: "";
     position: absolute;
     bottom: -3px;
     left: 0;
     width: 80px;
     height: 3px;
     background: var(--secondary);
 }

 .container-pedagogy h3 {
     color: var(--text);
     font-size: 1.4rem;
     margin: 1.5rem 0 0.8rem;
 }

 .point {
     background: var(--card-bg);
     border-left: 5px solid var(--primary);
     border-radius: 12px;
     padding: 1.2rem 1.5rem;
     margin-bottom: 1.2rem;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
     transition: all 0.3s ease;
 }
  .point p{
    margin-bottom: 1rem;
    background-color: rgb(233, 229, 229);
    padding: .5rem;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

 .point:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
 }

 .quote {
     background: rgba(56, 161, 105, 0.08);
     border-left: 4px solid var(--secondary);
     border-radius: 10px;
     padding: 1rem 1.2rem;
     margin: 1rem 0;
     font-style: italic;
     color: #2f855a;
 }

 /* .quote::before {
            content: "“";
            font-size: 2.5rem;
            line-height: 0;
            color: var(--secondary);
        }

        .quote::after {
            content: "”";
            font-size: 2.5rem;
            line-height: 0;
            color: var(--secondary);
        } */

 .english {
     display: block;
     margin-top: 0.6rem;
     color: var(--text-light);
     font-size: 1rem;
 }

 .container-pedagogy ul {
     list-style: none;
     counter-reset: point-counter;
 }

 .container-pedagogy ul>li {
     counter-increment: point-counter;
     position: relative;
     padding-left: 1.5rem;
     margin-bottom: 1.2rem;
 }

 .container-pedagogy ul>li::before {
     /* content: counter(point-counter) "."; */
     position: absolute;
     left: 0;
     color: var(--primary);
     font-weight: bold;
     font-size: 1.3rem;
 }



 @media (max-width: 768px) {
     .header-pedagogy h1 {
         font-size: 1.5rem;
     }

     .container-pedagogy h2 {
         font-size: 1.4rem;
     }

     .point {
         padding: 1rem;
     }


 }


 /* h2 {
            color: var(--primary);
            font-size: 1.9rem;
            margin: 2rem 0 1.2rem;
            padding-bottom: 0.7rem;
            border-bottom: 4px solid var(--accent);
            position: relative;
            display: inline-block;
        } */
 /* 
        h2::after {
            content: "";
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 90px;
            height: 4px;
            background: var(--accent);
            opacity: 0.7;
        } */

 .container-pedagogy h3 {
     color: var(--secondary);
     font-size: 1.35rem;
     margin: 1.6rem 0 0.8rem;
 }

 .intro-text {
     background: white;
     padding: .5rem;
     border-radius: 12px;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
     margin-bottom: 2rem;
 }
.intro-text p{
    margin-bottom: 1rem;
    background-color: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.intro-text li{
    margin-bottom: 1rem;
    padding: .2rem;
    background-color: #f1f5f9;
    /* box-shadow: 5px 10px 10px solid rgb(249, 237, 237); */
}
 /* .definition {
            background: var(--card);
            border-left: 5px solid var(--accent);
            border-radius: 8px;
            padding: 1.3rem 1.5rem;
            margin-bottom: 1.4rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.06);
            transition: transform 0.2s ease;
        } */

 .definition:hover {
     transform: translateY(-4px);
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
 }

 /* .quote {
            background: var(--quote-bg);
            border-left: 4px solid var(--accent);
            padding: 1.1rem 1.3rem;
            margin: 1rem 0;
            border-radius: 6px;
            font-style: italic;
            color: #92400e;
        }

        .quote::before {
            content: "“";
            font-size: 2.8rem;
            line-height: 0;
            color: var(--accent);
            margin-right: 0.3rem;
        } */

 /* .english {
            display: block;
            margin-top: 0.7rem;
            color: var(--text-light);
            font-size: 0.95rem;
            font-style: normal;
        } */

 .evolution-stage {
     background: #f1f5f9;
     border-radius: 10px;
     padding: 1.4rem;
     margin: 1.2rem 0;
 }

 .evolution-stage h4 {
     color: var(--primary);
     margin-bottom: 0.8rem;
 }



 /* @media (max-width: 768px) {
            header h1 { font-size: 2rem; }
            h2 { font-size: 1.65rem; }
            .definition, .evolution-stage { padding: 1.1rem; }
        } */

.image-section{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
}
/* ----------------------------------------------------------------/ */

 /* =============================================
   Table Container - allows horizontal scroll on mobile
   ============================================= */
        .table-responsive {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            /* smooth scrolling on iOS */
            margin: 1.5rem 0;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            background: #ffffff;
        }

        /* =============================================
   Base table styling
   ============================================= */
        .pedagogy-table {
            width: 100%;
            min-width: 700px;
            /* forces scroll when screen < ~700px */
            border-collapse: collapse;
            font-size: 0.95rem;
            color: #333;
            background: #fff;
            table-layout: auto;
        }

        .pedagogy-table thead {
            background: #f8f9fa;
            position: sticky;
            top: 0;
            z-index: 1;
        }

        .pedagogy-table th,
        .pedagogy-table td {
            padding: 12px 14px;
            text-align: left;
            border: 1px solid #dee2e6;
            vertical-align: top;
        }

        .pedagogy-table th {
            font-weight: 600;
            color: #2c3e50;
            white-space: nowrap;
        }

        .pedagogy-table tbody tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .pedagogy-table tbody tr:hover {
            background-color: #f1f5f9;
            transition: background-color 0.12s ease;
        }

        /* =============================================
   Mobile-friendly card-like rows (very small screens)
   ============================================= */
        @media screen and (max-width: 768px) {

            .table-responsive {
                margin: 1rem -1rem;
                padding: 0 1rem;
                border-radius: 0;
                box-shadow: none;
            }

            .pedagogy-table {
                min-width: 100%;
                /* full width */
                border: 0;
            }

            .pedagogy-table thead {
                display: none;
                /* hide header on mobile */
            }

            .pedagogy-table tbody,
            .pedagogy-table tr,
            .pedagogy-table td {
                display: block;
            }

            .pedagogy-table tr {
                margin-bottom: 1.25rem;
                border: 1px solid #e0e0e0;
                border-radius: 8px;
                background: white;
                box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);

            }

            .pedagogy-table td {
                border: none;
                border-bottom: 1px solid #f0f0f0;
                position: relative;
                padding-left: 50%;
                min-height: 2.4em;
                text-align: right;
            }

            .pedagogy-table td:last-child {
                border-bottom: none;
            }

            /* Label before each cell using data-label attribute */
            .pedagogy-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 12px;
                width: 45%;
                padding-right: 10px;
                white-space: normal;
                font-weight: 600;
                text-align: left;
                color: #444;
                text-wrap: wrap;
                line-height: 1.5;
            }

            /* Make first column (if you want) more prominent */
            .pedagogy-table td:first-child {
                font-weight: 700;
                background: #f8f9fa;
                text-align: left;
                /* padding-left: 14px; */
            }
        }

        /* Optional: even smaller screens */
        @media screen and (max-width: 480px) {
            .pedagogy-table td {
                padding-left: 48%;
                font-size: 0.92rem;
            }

            /* .pedagogy-table thead tr{
    width: 100%;
  } */
            .pedagogy-table td::before {
                width: 44%;
                font-size: 0.92rem;
            }
        }