/* Reset default margins, paddings, and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}

/* Full-Screen Header */
header {
    background-color: black;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark Overlay for Readability */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust transparency */
}

/* Navigation Bar */
nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 2;
}

nav .logo img {
    height: 70px;
    border-radius: 50%;
}

nav .name h3 {
    color: red;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: -130%;
    margin-top: 18%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 16px;
    transition: 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

header .Welcome {
    color: white;
    font-size: 30px;
    position: relative;
    z-index: 2;
    margin-right: 1%;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

.wlc {
    color: red;
    font-size: 40px;
    position: relative;
    z-index: 2;
    margin-right: 10%;
    margin-top: 5%;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.8s;
}

.hm {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.hm img {
    margin-top: 10%;
    width: 60%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hm img {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

#Contact-us {
    max-width: 800px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 5%;
}

.Contactus h2 {
    text-align: center;
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info div {
    margin-bottom: 10px;
}

.contact-info a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.contact-info p {
    font-size: 16px;
    color: #666;
}

.social-media {
    text-align: center;
    margin-bottom: 20px;
}

.social-media a {
    margin: 0 10px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.contact-form {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #218838;
}

.map {
    text-align: center;
    margin-bottom: 5%;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* General Footer Styling */
.footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

/* Logo Styling */
.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 50%;
    margin-left: -90%;
}

/* Footer Text Styling */
.footer-text h3 {
    font-size: 24px;
    color: #343a40;
    margin-bottom: 5px;
    margin-top: -10%;
}

.footer-text p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Location and Hours Styling */
.footer-location p {
    font-size: 14px;
    color: #6c757d;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust header and navigation for smaller screens */
    header {
        height: auto;
        padding: 20px;
    }

    nav {
        padding: 10px 20px;
        flex-direction: column;
        align-items: flex-start;
        
    }

    nav .name h3 {
        margin-left: 0;
        margin-top: 10px;
        font-size: 24px;
        opacity: 0%;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        font-size: 16px;
    }

    header .Welcome {
        font-size: 24px;
        margin-right: 0;
    }

    .wlc {
        font-size: 30px;
        margin-right: 0;
        margin-top: 10%;
    }

    .hm img {
        width: 80%;
        max-width: 300px;
    }

    /* Adjust contact section */
    #Contact-us {
        padding: 15px;
    }

    .Contactus h2 {
        font-size: 28px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 8px;
    }

    .contact-form button {
        padding: 8px;
    }

    /* Adjust footer */
    .footer-logo img {
        margin-left: 0;
    }

    .footer-text h3 {
        font-size: 20px;
        margin-top: 0;
    }

    .footer-text p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    nav .logo img {
        height: 50px;
    }

    nav .name h3 {
        font-size: 20px;
    }

    header .Welcome {
        font-size: 20px;
    }

    .wlc {
        font-size: 24px;
    }

    .hm img {
        width: 90%;
        max-width: 250px;
    }

    .Contactus h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 6px;
    }

    .contact-form button {
        padding: 6px;
    }

    .footer-logo img {
        width: 100px;
    }

    .footer-text h3 {
        font-size: 18px;
    }

    .footer-text p {
        font-size: 10px;
    }
}


/* Burger Icon Styles */
.burger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    position: absolute; /* Position the burger icon */
    top: 20px; /* Adjust based on your header padding */
    right: 20px; /* Position in the top-right corner */
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Navigation Links Styles */
.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 8px 16px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Show Burger Icon */
    .burger {
        display: flex; /* Show burger icon on smaller screens */
    }

    /* Hide Navigation Links by Default */
    .nav-links {
        position: fixed; /* Fixed position for full-screen overlay */
        top: 0;
        right: -100%; /* Start off-screen to the right */
        height: 100vh; /* Full height */
        width: 70%; /* Width of the sliding menu */
        max-width: 300px; /* Maximum width for smaller screens */
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease-in-out; /* Slide in from the right */
    }

    /* Active Class for Toggling Navigation */
    .nav-links.active {
        right: 0; /* Bring back on-screen */
    }

    /* Animate Burger Icon to X */
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0;
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}