* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --lg-font: Arial, Helvetica, sans-serif;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo a img {
    height: 60px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #ccc;
}

.search-container {
    display: flex;
    align-items: center;
}

.search {
    padding: 10px 28px;
    border: 1px solid #ccc;
    width: 400px;
    font-size: 15px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    margin-right: 0.5rem;
}

.search-container button {
    padding: 10px 28px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 15px;
}

.search-container button:hover {
    background-color: #000;
}

.heropage {
    background-image: url('./images/credit card.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;

    margin: 0 auto;

}

.hero {
    /* background-color: rgba(0, 0, 0, 0.5); */
    text-align: center;
    padding: 4rem 2rem;
    color: #ffffff;
    /* margin: 100px auto; */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.hero h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    color: #fff;
}
.hero-contact p{
    font-size: 0.8rem;
}
.hero-gallery {
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 4rem 2rem;
    color: #ffffff;
    margin-top: 80px;
}

.abt{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.about-us-image {
    max-width: 100%;
    height: auto;
}
.hero-services,
.hero-about,
.hero-contact {
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    /* padding: 4rem 2rem; */
    color: #ffffff;
    margin-top: 80px;
}
.services-details{
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center;
    padding: 5rem;
    margin: 0 auto;
    background-color: #f8f4f4;
}
.grid-item h3,
.grid-item p {
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}

#offers{
    background-image: url(./images/banner-img-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    color: #ffffff;
    text-align: center;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;

}

.offers-title {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 50px;
}

.offers-title h2 {
    font-size: 60px;
    margin-bottom: 1rem;
    color: #fff;
    font-family: "kaisei Tokumin" Arial, Helvetica, sans-serif;
}
.offers-title h3{
    font-size: 28px;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family:  sans-serif;
}
.offers-title p {
    font-size: 1.2rem;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 1.5rem;
}
.fw-bold {
    font-weight: bold;
    text-align: left;
}

/* .readmore {
    color: #fff;
    text-decoration: none;
} */

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 50px;
}

.blog-title p{
    font-size: 0.9rem;
}

#signup-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    line-height: 0.9;
}

/* Label Styling */
.hero label {
    display: block !important;
    font-size: 1rem;
    color: #fff;
    text-align: left;
}

/* Input Styling */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"] {
    padding: 10px 28px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 25px;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

/* Input Focus and Hover Effects */
input:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 5px rgba(73, 74, 74, 0.3);
}

/* button styling */
.btn {
    display: inline-block;
    padding: 10px 28px;
    background-color: #555;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
}

.btn:hover {
    background-color: #000;
}

#store {
    padding: 2rem;
    text-align: center;
}

.stay-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    border: 5px solid #ffffff;
    margin: 2rem auto;
}

/* gallery styling */
#men-fashion,
#men-shoes {
    padding: 2rem;
}

#men-fashion h2,
#men-shoes h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.grid-item {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.grid-item h4 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.grid-item p {
    color: #555;
}

.grid-item a {
    text-decoration: none;
    color: inherit;
}

.newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(179, 179, 179, 0.05);
    padding: 5rem;
}

@media (max-width: 768px) {
    .newsletter {
        padding: 2rem;
    }
}

.newsletter p {
    max-width: 600px;
    font-family: var(--lg-font);
    margin-bottom: 1rem;

}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #555;
    font-family: var(--lg-font);
}

#newsletter-form {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;

}

@media (max-width: 600px) {
    #newsletter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
}

.footer {
    background-color: #555;
    padding: 2rem;
    color: #ffffff;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
    
}
.footer-section,
.footer-section-links,
.foot-section-help,
.students {
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section-links h3,
.foot-section-help h3,
.students h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1rem;
}

.footer-section-links ul,
.foot-section-help ul {
    list-style: none;
    font-size: 0.7rem;
}

.footer-section-links a,
.foot-section-help a {
    color: #bebee1;
    text-decoration: none;
}

.footer-section-links a:hover,
.foot-section-help a:hover {
    color: #007bff;
}

.about p{
    font-size: 0.7rem;
}
.footer-bottom {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.7rem;
    color: #ffffff;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    border: none;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
    border-radius: 5px;
}

fieldset {
    background-color: #333;
    padding: 1rem;
    margin: 1rem 0;
    border: none;
    border-radius: 5px;
}

legend {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem;
    font-weight: bold;
    border-radius: 3px;
}

.list li {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: grid;
}

.members {
    font-size: 0.6rem;

}

/* Media Queries */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu a {
        padding: 0.5rem 0;
        font-size: 1rem;
    }

    .search {
        width: 100%;
        max-width: 300px;
    }

    .heropage {
        padding-top: 100px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h3 {
        font-size: 1.4rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .newsletter {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .logo a img {
        height: 40px;
    }

    .search {
        width: 100%;
        max-width: 250px;
        padding: 8px 20px;
    }

    .search-container button {
        padding: 8px 20px;
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .blog-title h2 {
        font-size: 1.3rem;
    }

    .blog-title p {
        font-size: 0.9rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    #newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .search {
        width: 300px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h3 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}