/* Reset default margin and padding for the whole document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;

}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    background: transparent;
    transition: background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    z-index: 3000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.navbar.scrolled li a {
    color: rgb(9, 75, 125);
}

.logo {
    width: 150px;
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.nav-links li {
    margin: 10px;
}

.nav-links a {
    text-decoration: none;
    color: rgb(9, 75, 125);
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(9, 75, 125);
}

/* Responsive Navbar */
@media (max-width: 1024px) {
    .logo {
        width: 130px;
    }
    .nav-links a {
        font-size: 16px;
    }
    .nav-links li {
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 3%;
        flex-direction: column;
        align-items: center;
    }
    .logo {
        width: 150px;
        margin-bottom: 10px;
    }
    .nav-links {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }
    .logo {
        width: 100px;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
    }
    .nav-links li {
        margin: 5px;
    }
    .nav-links a {
        font-size: 14px;
    }
}


header {
    background-color: rgb(9, 75, 125);
    color: rgb(248, 205, 26);
    padding: 20px 0;
    margin-top: 100px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: rgb(9, 75, 125);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery {
    width: 90%;
    margin: auto;
    padding: 20px;
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.grid-item {
    text-align: center;
    background: white;
    padding: 10px;
    border-radius: 5px;
}

.grid-layout img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.grid-layout .title {
    margin-top: 5px;
    font-weight: bold;
}

/* Masonry Layout */
.masonry-layout {
    column-count: 3;
    column-gap: 10px;
}

.masonry-layout img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
    .masonry-layout {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .grid-layout {
        grid-template-columns: repeat(1, 1fr);
    }
    .masonry-layout {
        column-count: 1;
    }
}

#verticle-line{
    width: 75%;
    height: 2px;
    margin: 20px auto;
    background-color: rgb(9, 75, 125);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    
}

.row {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the entire content horizontally */
    align-items: center; /* Vertically centers the content */
    width: 100%; /* Ensures the row uses full width */
}

.footer-col {
    display: flex;
    align-items: center; /* Vertically aligns the text and icons */
    justify-content: center;
    gap: 20px; /* Adds space between "Follow Us" and the icons */
}

.footer-col h4 {
    font-size: 18px;
    color: black;
    text-transform: capitalize;
    font-weight: 500;
    position: relative;
    text-align: center;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.social-links {
    display: flex;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: black;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: white;
    background-color: rgb(9, 75, 125);
}


.footer-col h5{
    line-height: 2;
    text-align: center;
}
.rights {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
