


body {
    overflow-x: hidden; 
    width: 100%;
}

body {
    margin: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #cac6c6;
}

header {
    background-color: #1a1a1a ;
    color: #ffffff;
    padding: 15px;
}

.section-nav {
    display: flex;
    justify-content: end;
}

.section-title {
    margin-left: 70px;
    font-size: 30px;
    width: 500px;
}


nav a {
    color: #ffffff;
    margin:  15px;
    text-decoration: none;
}

nav a:hover , .active {
    text-decoration: underline;
}

.Quick-links {
    margin-left: 150px;
    font-size: 25px;
    text-transform:capitalize;
    font-display: block;
}



/* index page k section ki styling  */

section:nth-of-type(1) {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/asset/imgg.jpg) center/cover no-repeat;
    text-align: center;
    padding: 80px 20px;
    height: 200px;
    color:white;
    border-left: 10px solid #111;
    border-right: 10px solid #111;
    border-bottom: 10px solid #111;
}

section:nth-of-type(1) h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
    margin-left: 400px;

}

section:nth-of-type(1) p {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
    margin-left: 400px;
}

section:nth-of-type(1) .btn {
    color: white;
    padding: 12px 25px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: 400px;
}



section:nth-of-type(2) {
    text-align: center;
    padding: 40px 20px;
     display: flex ;
     flex-wrap: wrap;
     justify-content: space-around;
    }

section:nth-of-type(2) h2 {
    margin-bottom: 20px;
}

section:nth-of-type(2) > div {
    background-color: #ffffff;
    width: 400px;
    margin: 15px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 5px gray;
   
}

section:nth-of-type(2) h3 {
    margin-bottom: 15px;
}

section:nth-of-type(3) {
    width: 80%;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 20px;
    border-left: 6px solid #003366;
    box-shadow: 0 0 10px gray;
}

section:nth-of-type(3) h2 {
    margin-bottom: 10px;
    color: #003366;
}


/* footer ki css */

.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 10px;
    margin-top: 40px;
}

.footer-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-container div {
    flex: 1 1 250px;
    margin: 15px;
}

.footer h3, .footer h4 {
    margin-bottom: 15px;
    color: #ffcc00;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 8px 0;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0 5px;
    margin-top: 10px;
    border-top: 1px solid gray;
    font-size: 14px;
    color: #aaa;
}

.section-nav {
    display: flex;
    align-items: center;
    justify-content: end;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff; 
    min-width: 240px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 8px;
    top: 40px; 
    left: 15px;
    overflow: hidden;
    border-top: 3px solid #ffcc00;
}

.dropdown-content a {
    color: #333 !important; /* Dark text */
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    margin: 0 !important;
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #003366 !important;
    padding-left: 30px; 
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .arrow {
    display: inline-block;
    transform: rotate(180deg);
    transition: 0.3s;
}


.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 10%;
    justify-content: center;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}



.q-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    height: 100%; /* Sare cards barabar honge */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-link:hover .q-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    background-color: #fcfcfc;
}

.q-card h3 {
    margin-bottom: 10px;
    color: #111;
}

.q-card p {
    color: #555;
    font-size: 14px;
}

