* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #e3f2fd;
}

/* Header Section */
.sub-header {
    height: 50vh;
    width: 100%;
    background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(/Images/Background.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.sub-header h1 {
    font-size: 40px;
}

/* Navigation */
nav {
    display: flex;
    padding: 20px 6%;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

nav img {
    width: 120px;
    height: auto;
}

/* Desktop Nav Links */
.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links ul li {
    display: inline-block;
    padding: 10px 14px;
    position: relative;
}

.nav-links ul li a {
    text-decoration: none;
    color: whitesmoke;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links ul li a:hover {
    font-weight: bold;
    color: #F5A623;
}

.nav-links ul li::after {
    content: '';
    display: block;
    margin: auto;
    height: 3px;
    width: 0%;
    background-color: #F5A623;
    transition: 0.4s ease;
    border-radius: 3px;
}

.nav-links ul li:hover::after {
    width: 100%;
}

/* Hamburger Toggle */
.toggle_btn {
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

.toggle_btn i {
    transition: transform 0.3s ease;
}

/* Dropdown Menu (Mobile) */
.dropdown_menu {
    position: absolute;
    top: 80px;
    right: 2rem;
    background-color: rgba(0, 15, 38, 0.95);
    width: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: slideDown 0.3s ease forwards;
}

.dropdown_menu.open {
    display: flex;
}

.dropdown_menu li {
    padding: 15px;
    text-align: center;
    list-style: none;
}

.dropdown_menu li a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.dropdown_menu li a:hover {
    background-color: #F5A623;
    color: #000F26;
    border-radius: 8px;
    padding: 10px 15px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-us {
    padding: 30px;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.about-us p {
    margin-bottom: 15px;
    text-align: justify;
}

.thumbnail {
    width: 500px;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    background-color: #ccc;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.thumbnail:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: 8px solid #ccc;
    z-index: 2;
    overflow: hidden;
    box-sizing: border-box;
}

.thumbnail img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    transform: scale(1) rotate(0deg);
    transition: all 0.5s linear;
}

.thumbnail:hover img {
    transform: scale(1.1) rotate(-5deg);
}

.thumbnail.right {
    float: right;
    margin-left: 20px;
}

.thumbnail.left {
    float: left;
    margin-right: 20px;
}

.bigger {
    font-weight: bold;
    font-size: 20px;
}

.grid_view {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.grid {
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 0;
    width: 45%;
}

/* Footer */
footer {
    width: 100%;
    position: relative;
    background: linear-gradient(to left, #000F26, #93bfd3);
    color: whitesmoke;
    padding: 100px 0 30px;
    font-size: 13px;
    line-height: 20px;
}

.rowf {
    width: 85%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.colf {
    flex-basis: 30%;
    padding: 10px;
}

.logo {
    width: 80px;
    margin-bottom: 30px;
}

.colf:nth-child(2),
.colf:nth-child(1) {
    flex-basis: 15%;
}

.colf h3 {
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}

.email-id {
    width: fit-content;
    border-bottom: 1px solid #ccc;
    margin: 20px 0;
}

ul li {
    list-style-type: none;
    margin-bottom: 12px;
}

ul li a {
    text-decoration: none;
    color: whitesmoke;
}

.colf ul li a:hover {
    text-decoration: underline;
}

.footer-form {
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 50px;
}

.footer-form .fa-solid {
    font-size: 18px;
    margin-right: 10px;
}

.footer-form input {
    width: 100%;
    background: transparent;
    color: #ccc;
    border: 0;
    outline: none;
}

.footer-form button {
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}

.footer-form button i {
    font-size: 16px;
    color: #ccc;
}

.Social-icons .fa-brands {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #ccc;
    margin-right: 15px;
    cursor: pointer;
}

hr {
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 20px auto;
}

.copyright {
    text-align: center;
}

.underline {
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}

.underline span {
    width: 15px;
    height: 100%;
    background: #ccc;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}

@keyframes moving {
    0% {
        left: -20px;
    }

    100% {
        left: 100%;
    }
}

/* Responsive Adjustments */
@media screen and (max-width: 767px) {
    .thumbnail.right {
        float: none;
        margin-left: 0px;
    }

    .thumbnail.left {
        float: none;
        margin-right: 0px;
    }

    .thumbnail {
        width: 100%;
    }

    .colf {
        flex-basis: 100%;
    }

    .colf:nth-child(2),
    .colf:nth-child(1) {
        flex-basis: 100%;
    }
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: none;
    }

    .dropdown_menu.open {
        display: flex;
    }
}