/*!! Shree Ganeshay Namah !!*/

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px; /* Base size */
    line-height: 1.6; /* Improves readability */
}

.container {
    width: 90%;
    margin: 0 auto;
}

.main-header {
    background: #0047AB;
    color: #fff;
    padding: 10px 0;
}

.logo img {
    width: 150px;
}

.navbar {
    padding: 1rem 0;
}

.navbar-shadow {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #FFD700;
}

h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}
h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
h4, h5 {
    font-size: 1.25rem;
    font-weight: 500;
}
p, .lead {
    font-size: 1rem;
    font-weight: 400;
}
.nav-link {
    font-size: 1rem;
    font-weight: 500;
}

section {
    padding: 60px 0;
}

/* Hero Section */
.hero {
    background: url('https://www.jagranimages.com/images/newimg/23092022/23_09_2022-jawahar_navodaya_vidyalaya_23091992.webp') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero .btn-primary,
.hero .btn-secondary {
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.hero .btn-primary {
    background: #FFD700;
    color: #0047AB;
    margin-right: 10px;
}

.hero .btn-primary:hover {
    background: #FFC107;
}

.hero .btn-secondary {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.hero .btn-secondary:hover {
    background: #FFD700;
    color: #0047AB;
}

/* About Section */
.about {
    background: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: #0047AB;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about ul {
    list-style: none;
    padding: 0;
}

.about ul li {
    font-size: 1rem;
    margin: 10px 0;
}

/* Exam Details Section */
.exam {
    background: #fff;
    padding: 50px 0;
    text-align: center;
}

.exam h2 {
    font-size: 2.5rem;
    color: #0047AB;
    margin-bottom: 20px;
}

.details {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-box {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.detail-box h3 {
    font-size: 1.2rem;
    color: #0047AB;
    margin-bottom: 10px;
}

.detail-box p {
    font-size: 1rem;
}

/* Registration Section */
.register {
    background: #0047AB;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.register h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.register form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.register form input {
    padding: 10px;
    width: 300px;
    border: none;
    border-radius: 5px;
}

.register form button {
    padding: 10px 20px;
    border: none;
    background: #FFD700;
    color: #0047AB;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.register form button:hover {
    background: #FFC107;
}

button, .btn {
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
}
input[type="text"], input[type="email"] {
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
}

/* Footer */
footer {
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.main-footer {
    background: #00274D;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.main-footer p {
    margin: 0;
}

/*Custom CSS for 3D Effect*/

#exam {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transform: rotateY(0deg);
    transition: transform 0.3s ease-in-out;
}
#exam:hover {
    transform: rotateY(10deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.card {
    transition: transform 0.2s ease-in-out;
    transform: scale(1);
}
.card:hover {
    transform: scale(1.05);
}
.col-md-6.text-left ul li {
    padding: 10px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.col-md-6.text-left ul li i {
    margin-right: 10px;
}
.container {
    transform-style: preserve-3d;
}
/*.container:hover {*/
/*    transform: rotateY(5deg);*/
/*}*/


/*Payment Page*/
.payment-container{
    margin-top: 20vh;
}

@media (max-width: 768px) {
    h1, .display-4 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    p, .lead {
        font-size: 0.875rem;
    }
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.8); /* Add a dark background */
        padding: 1rem; /* Add some spacing for better appearance */
        border-radius: 5px; /* Optional: add rounded corners */
    }
    
    .navbar-nav .nav-link {
        color: white !important; /* Ensure the text is visible against the dark background */
        padding: 0.5rem 1rem; /* Add spacing for better tap targets */
    }
    
    .navbar-collapse.show {
        transition: all 0.3s ease; /* Smooth transition when opening */
    }
    
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.8); /* Optional: Add a border around the hamburger icon */
    }
}