/* General Reset */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
    color: white;
}
/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7fcff; /* Light gray background for contrast */
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Logo */
.logo img {
    width: 50px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #222222; /* Dark gray text for readability */
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #0056b3; /* Deep blue-gray hover effect */
}

/* Hamburger Menu (Initially Hidden on Large Screens) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #333333; /* Dark gray bars */
    margin: 5px 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #f7fcff;
        width: 100%;
        text-align: center;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }
 

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: #000000;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }
}
/* Page Headings */
.gallery-container {
    background: #ffffff;
    padding: 50px;
}

.main-heading {
    text-align: center;
    font-size: 36px;
    margin-top: 80px;
    text-transform: uppercase;
    position: relative;
    color: black;
}

.sub-heading {
    text-align: center;
    font-size: 24px;
    margin-top: 40px;
    position: relative;
    color: black;
}

.sub-heading::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: #6d6250;
    margin: 10px auto;
}

/* Certificate Section */
.certificate-section {
    display: flex;
    justify-content: center;
    gap: 40px; /* Increased space between certificates */
    flex-wrap: wrap;
    margin: 40px 0;
}

.certificate {
    width: 300px; /* Increased size */
    height: auto;
    cursor: pointer;
    transition: transform 0.4s ease-in-out;
}

.certificate.zoomed {
    transform: scale(1); /* Enhanced zoom effect */
}

.certificate:hover {
    transform: scale(1.2); /* Increased hover effect */
}

.landscape {
    width: 420px; /* Increased size for landscape certificates */
}


/* Project & Partner Cards */
.projects-section, .partners-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* Increased gap between cards */
    margin-top: 30px;
    background: #ffffff;
}

.project-card {
    background: #f0f0f0;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    width: 450px;  /* Set equal width */
    height: 330px; /* Set equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed from space-between */
}

.project-card img {
    width: 100%;
    border-radius: 5px;
    height: 250px; /* Ensuring image fits well */
    object-fit: cover; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Reduced bottom margin */
}

.download-btn {
    background-color: transparent;
    border: 2px solid #000000;
    padding: 10px 20px;
    color: #000000;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none; /* Removes underline */
}

.download-btn:hover {
    background-color: #cec6af;
    color: black;
}

@media screen and (max-width: 768px) {
    .certificate-section, 
    .projects-section, 
    .partners-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        padding: 0 10px;
    }

    .certificate, 
    .landscape, 
    .project-card {
        margin: 10px auto;
        width: 90%;  /* Makes the cards smaller on small screens */
        max-width: 350px;  /* Limits the max width of the cards */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Adjust the image size and margin */
    .certificate img, 
    .project-card img {
        width: 100%;
        height: auto;
        max-height: 200px;
        margin-bottom: 5px;  /* Reduced gap between image and button */
    }

    /* Adjust the button's margin to reduce the gap */
    .download-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
        margin-top: 5px;  /* Reduced margin between button and image */
    }
}

/* General styling for the product section */
.partners-section {
    background: #ffffff;
}

.product-gallery {
    padding: 50px 0;
    text-align: center;
    background: #ffffff;
}

/* Heading styling */
.product-gallery .main-heading {
    font-size: 36px;
    text-transform: uppercase;
    position: relative;
    color: #000000;
}

/* Image grid for the products */
.product-images,
.more-products {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Styling for individual product images */
.product {
    width: 250px;
    height: 350px;
    cursor: pointer;
    transition: transform 0.4s ease-in-out;
}

.product:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Additional margin for the second row of images */
.more-products .product {
    margin-top: 20px;
}

/* Responsive styling for smaller screens */
@media screen and (max-width: 768px) {
    .product-gallery .main-heading {
        font-size: 28px;
    }

    .product-images, .more-products {
        gap: 15px; /* Reduced gap for smaller screens */
    }

    .product {
        width: 180px;
        height: 260px;
        transition: transform 0.3s ease-in-out; /* Adjusted transition speed for smaller screens */
    }

    .product:hover {
        transform: scale(1.15); /* Slightly bigger zoom effect on hover for smaller screens */
    }

    .product-image {
        border-radius: 5px;
    }

    /* Make sure everything is centered and responsive */
    .product-images,
    .more-products {
        justify-content: center;
        text-align: center;
    }
}


.footer {
    background: #eff6fa;
    color: #222222; /* Dark text for contrast */
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-left {
    flex: 1;
    min-width: 250px;
}

.company-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222222; /* Dark text */
}

.copyright {
    font-size: 14px;
    color: #555555; /* Medium gray for readability */
}

.footer-right {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222222; /* Dark heading */
}

.social-link,
.footer-link {
    color: #222222; /* Dark links */
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.social-link:hover,
.footer-link:hover {
    color: #0062ff; /* Accent color on hover */
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
}
