body {
    font-family: 'Open Sans',Arial, sans-serif;
    /* line-height: 1.6; */
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}
/* General Footer Styles */
/* .footer {
    background-color: #116e63; 
    color: white;
    padding: 20px;
} */
/* Dropdown Menu Styling */
.nav-links .dropdown-menu {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.nav-links .dropdown-item {
    color: #333;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links .dropdown-item:hover {
    background-color: #fda31b;
    color: white;
}
/* Style the dropdown icon */
.ams-nav-link i {
     /* Adds some space between text and icon */
    font-size: 0.8rem;  /* Adjust icon size */
    margin-bottom: 3px;
}


/* .welcome2 >*{
    font-size: 2.5rem;
    font-weight: bold;
    color: #fda31b;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
} */


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
table, th, td {
    border: 1px solid #ddd;
}
th, td {
    padding: 10px;
    text-align: left;
}
th {
    background-color: #f4f4f4;
}
.btn-back {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    width: 100px;
}
.btn-back:hover {
    background-color: #555;
}

.display {
    position: relative; /* Enable absolute positioning for children */
    width: 100%;
    height: 50vh; /* Adjust height to fit the content */
    /* filter: contrast(0.6); */
}

.innerimg img{
    object-fit: cover;
    width: 100%;
    height: 60vh;
}

.innerimg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 60vh;
    background: rgba(0, 0, 0, 0.5); /* Color filter */
    z-index: 1; /* Ensures it is below the tagline */
}

.welcome2 {
    color: white; /* Adjust text color */
    font-family: 'Open Sans';
    font-size: 50px;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: none !important;
}

.tagline {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensures it appears above the color filter */
    text-align: center;
}

.etxt{
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 18px;
    font-weight: 700;
    color: #fda31b;
    position: relative;
    border-bottom: 2px solid #fda31b;
}

.eligi{
    width: 85%;
    margin-top: 95px;
    margin-left: 220px;
    margin-bottom: 80px;
}

.eli-title{
    font-weight: 800;
    text-transform: capitalize;
    font-size: 55px;
    color: #19232b;
    margin-bottom: 0;
    position: relative;
}

.doc-req{
    /* width: 150%; */
    padding: 18px;
    margin-bottom: 1rem !important;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.pcontent{
    width: 25%;
}

.pcontent ul{
    margin: 0;
    padding: 0;
}

.content-list li{
    color: grey;
    margin-top: 5px;
}

.content-txt{
    color: gray;
}

.content-txt {
    white-space: normal; /* Ensures text wraps naturally */
    line-height: 1.6;    /* Adjusts spacing between lines for better readability */
    font-size: 18px;     /* Default font size for larger screens */
    margin: 10px 0;
    width: 50%;
}

.ae{
    font-family: 'Open Sans';
    display: flex;
    font-weight:bold;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    width: 145px;
    border-radius: 0px 50px 50px 50px !important;
}

.st8{
    margin-bottom: 40px;
}

.eligiblity{
    display: flex;
}

.howimg img {
    opacity: 1;
    margin-top: 100px;
    position: absolute;
    width: 520px; /* Set a fixed width */
    height: 300px; /* Set a fixed height */
    left: 880px;
    object-fit: cover; /* Ensures images fill the fixed size without distortion */
}

.st4 img{
    width: 590px; /* Set a fixed width */
    left: 850px;
}

.st5 img{
    height: 450px;
    width: 500px;
    margin-top: 40px;
}

.st2 img{
    height: 450px;
    width: 450px;
    margin-top: 48px;
}

.st7 img{
    height: 400px;
}

.st8 img{
    margin-top: 150px;
}

.kg-one img{
    height: 450px;
    margin-top: 48px;

}


/* Dropdown Container */
.dropdown {
    position: relative;
}

/* Dropdown Button */
.dropdown-btn {
    text-decoration: none;
    color: #333;
    /* padding: 10px 15px; */
    display: inline-block;
    transition: color 0.3s ease;
}

.dropdown-btn:hover {
    color: #007bff;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the button */
    left: 0;
    background-color: #fda31b;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1000;
}

/* Dropdown Menu Items */
.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #fda31b;
    color: white;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown menu */
}
@media (max-width: 576px) {
    .dropdown-menu {
        position: static; /* Dropdown will stack below the button */
        box-shadow: none;
        width: 100%; /* Full width for mobile */
    }

    .dropdown-menu a {
        padding: 10px;
    }
}


/* .welcome2 {
    margin-bottom: 250px;
    }

    .innerimg img {
        height: 40vh;
    }
    .innerimg::before {
        height: 40vh;
    } */

/* Responsive Design */
@media (max-width: 1200px) {
    .eligi {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .howimg img {
        width: 100%;
        height: auto;
        position: static;
        margin-top: 30px;
    }

    .st4 img, .st5 img, .st2 img, .st7 img, .st8 img, .kg-one img {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .eli-title {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .eligiblity {
        flex-direction: column;
        align-items: center;
    }

    .doc-req {
        flex-direction: column;
        padding: 10px;
    }

    .pcontent {
        width: 100%;
    }

    .content {
        padding: 15px;
        margin: 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .contributors-list {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .welcome2 {
        margin-bottom: 250px;
        }
    
        .innerimg img {
            height: 40vh;
        }
        .innerimg::before {
            height: 40vh;
        }
    .welcome2 {
        font-size: 35px;
    }

    .tagline {
        padding: 10px;
        font-size: 16px;
    }

    .etxt {
        font-size: 16px;
    }

    .dropdown-menu {
        width: 100%;
    }

    .footer-contact,
    .footer-social,
    .footer-links {
        min-width: 100%;
        text-align: center;
    }

    .contributors-list {
        gap: 1rem;
    }

    .content {
        max-width: 95%;
        box-shadow: none;
    }

    .content-txt {
    width: 100%;
    }
}

@media (max-width: 576px) {
    .welcome2 {
        font-size: 28px;
        margin-top: 250px;
    }

    .eli-title {
        font-size: 32px;
    }

    .dropdown-menu a {
        padding: 10px;
        font-size: 0.9rem;
    }

    .footer h4 {
        font-size: 1.2rem;
    }

    .footer a {
        font-size: 0.8rem;
    }

    .contributors h3 {
        font-size: 1.5rem;
    }

    .contributors-list {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .contributor img {
        width: 80px;
        height: 80px;
    }

    .btn-back {
        width: 80px;
        padding: 8px;
        font-size: 0.9rem;
    }

    .howimg img, 
    .st4 img, 
    .st5 img, 
    .st2 img, 
    .st7 img, 
    .st8 img, 
    .kg-one img {
        height: auto;
        margin-top: 10px;
    }
    .nursery,
    .kg-one,
    .kg-two,
    .st1,
    .st2,
    .st3,
    .st4,
    .st5,
    .st6,
    .st7,
    .st8 {
        opacity: 1; /* Set opacity for background images */
    }

    .eligiblity {
        position: relative; /* Ensures positioning for nested elements */
        background-image: url('/img/nursery.png'); /* Path to your image */
        background-size:contain; /* Ensures the image covers the entire div */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents tiling */
        color: black; /* Makes text readable over the background */

        margin-bottom: 4rem;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    }


    /* .content-txt{
        color: #fda31b;
    } */
    .kg-one{
        background-image: url('/img/kg-1.png');
    }
    .kg-two{
        background-image: url('/img/kg2.png');
    }
    .st1{
        background-image: url('/img/st1.png');
    }

    .st2{
        background-image: url('/img/st2.png');
    }
    .st3{
        background-image: url('/img/st3.png');
    }
    .st4{
        background-image: url('/img/st4.png');
    }
    .st5{
        background-image: url('/img/st5.png');
    }    
    .st6{
        background-image: url('/img/st6.png');
    }    
    .st7{
        background-image: url('/img/st7.png');
    }    
    .st8{
        background-image: url('/img/st8.png');
    }
    .eligiblity .eligi {
        position: relative; /* Keeps content inside the parent */
        z-index: 2; /* Ensures it appears above the background */
        background: rgba(255, 255, 255, 0.8);
        padding:10px;
        .content-txt{
            color: rgb(0, 0, 0);
            font-weight:700;
        }
        .content-list li{
            color: rgb(66, 21, 21);
            font-weight: 500;
        } 
    }
    
    .howimg {
        display: none; /* Hides the image as a separate element */
    }

    
    
}
/* Highlighted Scholarship Link Style */
.highlight-link {
    background: linear-gradient(135deg, #fda31b 0%, #fd8c1b 50%, #fda31b 100%);
    color: white !important;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 600;
    border: 3px solid transparent;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    transform: translateZ(0);
    overflow: hidden;
}

/* Add shine effect */
.highlight-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    pointer-events: none;
}

.highlight-link:hover::before {
    animation: shine 0.6s ease-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Enhanced Blinking Border Animation - Blended with Website Theme */
.blink {
    animation: blinkBorder 1s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

/* Orange-themed blinking border that matches the button */
@keyframes blinkBorder {
    0%, 45% {
        border-color: #ff8c00;
        box-shadow: 
            0 0 15px rgba(253, 163, 27, 0.8),
            0 0 25px rgba(253, 163, 27, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50%, 100% {
        border-color: #ffa500;
        box-shadow: 
            0 0 8px rgba(253, 163, 27, 0.6),
            0 0 15px rgba(253, 163, 27, 0.3),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
}

/* Alternative: Professional blue theme for school websites */
.blink-blue {
    animation: blinkBorderBlue 1s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes blinkBorderBlue {
    0%, 45% {
        border-color: #2196F3;
        box-shadow: 
            0 0 15px rgba(33, 150, 243, 0.8),
            0 0 25px rgba(33, 150, 243, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50%, 100% {
        border-color: #64B5F6;
        box-shadow: 
            0 0 8px rgba(33, 150, 243, 0.6),
            0 0 15px rgba(33, 150, 243, 0.3),
            inset 0 0 5px rgba(255, 255, 255, 0.05);
    }
}

/* Subtle orange glow - most website-friendly */
.blink-subtle {
    animation: blinkBorderSubtle 1.5s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes blinkBorderSubtle {
    0%, 45% {
        border-color: #fd8c1b;
        box-shadow: 
            0 0 10px rgba(253, 140, 27, 0.6),
            0 0 20px rgba(253, 140, 27, 0.3);
    }
    50%, 100% {
        border-color: #fda31b;
        box-shadow: 
            0 0 5px rgba(253, 163, 27, 0.4),
            0 0 10px rgba(253, 163, 27, 0.2);
    }
}

/* Subtle scale pulse */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Alternative: Pulsing Border (if you prefer smoother effect) */
.blink-pulse {
    animation: pulseBorder 1.5s ease-in-out infinite;
}

@keyframes pulseBorder {
    0% {
        border-color: #ff4444;
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.8);
    }
    70% {
        border-color: #ff4444;
        box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
    }
    100% {
        border-color: #ff4444;
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Hover effect with matching theme colors */
.highlight-link:hover {
    animation-play-state: paused;
    border-color: #ff8c00;
    box-shadow: 
        0 0 20px rgba(253, 163, 27, 0.9),
        0 0 35px rgba(253, 163, 27, 0.5),
        0 4px 15px rgba(0,0,0,0.3);
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(135deg, #fd8c1b 0%, #fda31b 50%, #fd8c1b 100%);
}

/* Enhanced pulsing version */
.blink-enhanced {
    animation: enhancedPulse 1.5s ease-in-out infinite;
}

@keyframes enhancedPulse {
    0% {
        border-color: #ff0044;
        box-shadow: 
            0 0 5px rgba(255, 0, 68, 0.4),
            0 0 10px rgba(255, 0, 68, 0.2);
        transform: scale(1);
    }
    25% {
        border-color: #ff2266;
        box-shadow: 
            0 0 10px rgba(255, 34, 102, 0.6),
            0 0 20px rgba(255, 34, 102, 0.3);
        transform: scale(1.015);
    }
    50% {
        border-color: #ff0044;
        box-shadow: 
            0 0 20px rgba(255, 0, 68, 0.9),
            0 0 30px rgba(255, 0, 68, 0.5),
            0 0 40px rgba(255, 0, 68, 0.2);
        transform: scale(1.03);
    }
    75% {
        border-color: #ff2266;
        box-shadow: 
            0 0 15px rgba(255, 34, 102, 0.7),
            0 0 25px rgba(255, 34, 102, 0.4);
        transform: scale(1.015);
    }
    100% {
        border-color: #ff0044;
        box-shadow: 
            0 0 5px rgba(255, 0, 68, 0.4),
            0 0 10px rgba(255, 0, 68, 0.2);
        transform: scale(1);
    }
}



