/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: underline;
    color: #42047e;
}

/* Header Section */
header {
    background: linear-gradient(-45deg, #990011, #990011);
    color: #FCF6F5;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #000;
    max-width: 1100px;
    margin: 0px auto;
}

#headerimg img {
    vertical-align: middle;
}

header h1 {
    font-size: clamp(30px, 5vw, 51px);
    margin: 5px 0;
}

header p.web-url {
    font-size: 22px;
    font-weight: bold;
}


/* Navigation */
nav {
    background: linear-gradient(-45deg, #F2EDD7, #F2EDD7, #F2EDD7);
    max-width: 1100px;
    margin: 0 auto;
    padding: 3px 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 5px 21px;
}

nav ul li a {
    color: #755139;
    font-weight: bold;
    font-size: 15px;
}

.search-btn {
    background: none;
    /* Background box hatane ke liye */
    border: none;
    /* Border hatane ke liye */
    cursor: pointer;
    /* Mouse le jaane par hand icon dikhane ke liye */
    padding: 0;
    /* Faltu space hatane ke liye */
    outline: none;
    /* Click karne par aane wali blue line hatane ke liye */
    display: flex;
    /* Icon ko center karne ke liye */
    align-items: center;
}

.material-symbols-outlined {
    font-size: 24px;
    /* Icon ka size set karne ke liye */
    color: #755139;
    /* Icon ka color change karne ke liye */
}

/* WhatsApp Button */
.wa-btn-container {
    text-align: center;
    margin: 15px 0;
}

.wa-btn {
    background-color: #25D366;
    color: white;
    padding: 10px 25px;
    border-radius: 15px;
    display: inline-block;
    font-weight: bold;
}

.wa-btn {
    transition: transform 0.5s;
    /* Smooth hover effect */
}

.wa-btn:hover {
    transform: scale(1.1);
    /* Slightly grows when you hover */
}

/* Main Grid (Results, Admit Card, Jobs) */
.main-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px;
    max-width: 1100px;
    margin: 20px auto;
    padding: 10px;
}

.second-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    max-width: 405px;
    margin: 20px auto;
    padding: 10px;
}


.box {
    border: 1px solid #000;
    border-radius: 2.1px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.box-title {
    background: #606060;
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #000;
}

.box-title a {
    color: #D6ED17;
    font-size: 20px;
    font-weight: bold;
}

.box-list {
    padding: 1px;
    flex-grow: 1;

}

.box-list ul {
    list-style: square inside;

}

.box-list li {
    margin-bottom: 9px;
    font-size: 14px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 3px;
}

.box-list ul li a {
    color: #1313df;
    font-size: 17px;
    /* font-weight: 500; */

}

.view-more {
    text-align: right;
    padding: 8px;
    background-color: #f9f9f9;
    border-top: 1px solid #000;
}

.view-more a {
    color: #101820;
    font-weight: bold;
    font-size: 13px;
}

/* Content Text Area */
.content-area {
    max-width: 1100px;
    margin: 20px auto;
    border: 2px solid #d2691e;
    background: #fff;
    padding: 0;
    text-align: center;
}

.heading-text {
    background: linear-gradient(-45deg, #A4193D, #A4193D);
    color: #FFDFB9;
    padding: 10px;
    font-size: 22px;
}

.content-area p {
    padding: 15px;
    text-align: justify;
    color: #333;
}

/* Floating Social Icons */
.social-float {
    position: fixed;
    left: 10px;
    bottom: 20px;
    z-index: 100;
}

.social-float img {
    width: 45px;
    display: block;
    margin-bottom: 10px;
}

/* Responsive Fixes */
@media screen and (max-width: 600px) {
    header h1 {
        font-size: 28px;
    }

    nav ul li {
        margin: 5px 8px;
    }

    nav ul li a {
        font-size: 13px;
    }
}

.footer {
    background: #111827;
    color: rgb(255, 255, 255);
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: white;
}

.social-icons {
    display: flex;
    /* Puts icons in a row */
    gap: 15px;
    /* Adds space between icons */
    align-items: center;
    /* Aligns them vertically */
    margin-top: 10px;
}

.social-icons img {
    transition: transform 0.2s;
    /* Smooth hover effect */
}

.social-icons img:hover {
    transform: scale(1.2);
    /* Slightly grows when you hover */
}

#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ea580c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    font-size: 20px;
}

#scrollTop.show {
    display: block;
}