/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    overflow-x: hidden;
    background-image: url(images/frame8.png);
}

/* Navbar *//* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    background-color: #333;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 12%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    z-index: 1000;  /* This ensures the navbar is always on top */
}

.navbar .logo img {
    width: 100px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s ease, border-radius 0.3s ease;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #b8860b;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-links a:hover {
    background-color: #b8860b;
    color: #fff;
    text-shadow: 0 0 10px #b8860b, 0 0 20px #b8860b, 0 0 30px #b8860b, 0 0 40px #b8860b;
    border-radius: 20px;
}

.navbar .nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar:hover {
    border-bottom: 2px solid #b8860b;
}

.navbar .nav-links a {
    transition: all 0.3s ease-in-out;
}
/* Menu Toggle (For Mobile View) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
}

/* About Us Section */
.about-us {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 50px;
    background-color: #ffffff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

/* Text Section */
.text-section {
    flex: 1;
    padding-right: 40px;
}

.text-section h2 {
    font-size: 2.5em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.text-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #666;
}

.arrow-button {
    background: #e67e22;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-button:hover {
    background: linear-gradient(90deg, #f1c40f, #e67e22, #f39c12, #f1c40f);
    background-size: 200%;
    animation: hover-shine 1.5s infinite linear;
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.6);
    color: #fff;
}

.arrow-button:hover ::before {
content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(90deg, #f1c40f, #e67e22, #f39c12, #f1c40f);
    filter: blur(10px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
@keyframes hover-shine {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 200%;
    }
}

/* Image Section */
/* Image Section */
.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Positioning context for the absolute image */
}

/* Using the image as a frame without cutting it off and making it bigger */
.photo-frame {
    position: relative;
    width: 500px; /* Increased width */
    height: 600px; /* Increased height */
    overflow: hidden;
    border: none; /* Ensures no border around the frame */
    background: url(images/frame9.png); /* Your image as the frame */
    background-size: contain; /* Ensures the entire image fits inside the frame */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center; /* Centers the image */
}

/* Ensure the image fits perfectly within the frame */
.photo-frame img {
    width: 100%;
    height: 100%; /* Ensures the image fills the entire frame */
    object-fit: cover; /* Ensures the image covers the frame area */
    object-position: center; /* Keep the image centered within the frame */
}

/* Transparent PNG Image positioned in front of the main image but inside the frame */
.front-image {
    position: absolute;
    width: 150px; /* Set the size of your new image */
    height: 150px; /* Set the size of your new image */
    background-image: url(images/frame8.png); /* Your new transparent PNG image */
    background-size: contain; /* Ensures the image fits without cutting off */
    background-position: center; /* Centers the image */
    bottom: 30px; /* Adjust the vertical position from the bottom of the frame */
    left: 50%; /* Centers it horizontally */
    transform: translateX(-50%); /* Ensures it is perfectly centered horizontally */
    z-index: 5; /* Makes sure the transparent image stays in front of the main image but behind the frame */
    visibility: visible; /* Ensure the image is visible */
}

/* Location to adjust: */
    /* To move the image up or down, adjust the value of 'bottom: 30px;' (positive values move it down, negative values move it up). */
    /* To change the size, adjust 'width' and 'height' properties. */

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 100px;
    position: relative;
    z-index: 1;
}

/* Tiny PNG Images */
.vector-image-1 {
    position: absolute;
    top: 150px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-image: url(images/frame9.png);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.vector-image-2 {
    position: absolute;
    top: 400px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-image: url(images/logo.png);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.vector-image-3 {
    position: absolute;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-image: url(images/frame6.png);
    background-size: cover;
    background-position: left;
    z-index: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar .nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .about-us {
        padding: 100px 20px;
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .text-section {
        padding-right: 0;
        text-align: center;
    }

    .photo-frame {
        width: 200px;
        height: 300px;
    }

    .vector-image-1, .vector-image-2, .vector-image-3 {
        width: 30px;
        height: 30px;
    }
}

/* Menu Toggle (Hamburger Icon) */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px; /* Adjust as needed */
        left: 0;
        width: 100%;
        background-color: #383535;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        margin: 10px 0; /* Space between links */
    }

    .nav-links a {
        font-size: 18px;
        color: #333;
    }

    .menu-toggle {
        display: block;
    }
}

/* Optional: Styling for the header when the menu is toggled */
.navbar.active {
    background-color: #f0f0f0; /* Light background when menu is active */
}

/* General Styles for the Mobile Side Menu */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none; /* Hidden by default */
    font-size: 30px;
    cursor: pointer;
}

/* Side menu styles */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px; /* Start off-screen */
    width: 250px;
    height: 100%;
    background-color: #333;
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 60px; /* Optional: for better menu layout */
}

.side-menu.open {
    left: 0; /* Bring menu into view */
}

/* Links inside the menu */
.side-menu ul {
    list-style-type: none;
    padding: 0;
}

.side-menu ul li {
    padding: 10px;
    text-align: center;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show the toggle icon on mobile */
    }

    .navbar ul {
        display: none; /* Hide regular navbar on mobile */
    }

    .side-menu.open + .backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Darken background */
        z-index: 999;
    }

    .backdrop {
        display: none; /* Hidden by default */
    }
}

