/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333;
    padding: 10px 20px;
    color: white;
}

header .logo img {
    height: 40px;
    vertical-align: middle;
}

header .logo span {
    font-size: 24px;
    margin-left: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Carousel Styles */
/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #ccc;
    border-radius: 10px;

    margin-top: 30px;
}

/* Carousel Slide */
.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Carousel Images */
.carousel-image {
    width: 100%;
    flex-shrink: 0;
}

/* Slider Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/*.carousel {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

/* Products Grid */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.product {
    width: 30%;
    margin: 10px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.product img {
    width: 100%;
    transition: transform 0.3s ease;
}

.product:hover img {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    background-color: #f4f4f4;
    border-radius: 8px;
    margin-bottom:300px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    margin-top:12px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="phone"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form input[type="submit"] {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.contact-form input[type="submit"]:hover {
    background-color: #555;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer .social-media a {
    margin: 0 10px;
    display: inline-block;
}

footer .social-media img {
    width: 30px;
    height: 30px
}

.notice{
    color: darkred;
}
.cform{
    text-align: center;
}
.ab{
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 3px;
}
.ac{
    margin-top: 9px;
    margin-bottom: 60px;
    margin-left: 3px;
}
.ad{
    margin-top: 24px;
    margin-bottom: 12px;
    margin-left: 3px;
}
.sp{
    margin-left: 21px;
}
.sp1{
    margin-left: 3px;
    margin-top: 21px;
    margin-bottom: 60px;
}
 .map-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }

        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 60%;
            height: 60%;
            border: 0;
        }


        .profile-grid {
            display: grid;
            grid-template-columns: 150px 1fr;
            grid-gap: 20px;
            background-color: #ffffff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: 600px;
        }

        .profile-grid img {
            width: 100%;
            border-radius: 50%;
        }

        .profile-details {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .profile-details h2 {
            margin: 0;
            font-size: 24px;
            color: #333333;
        }

        .profile-details h3 {
            margin: 5px 0;
            font-size: 18px;
            color: #777777;
        }

        .profile-details p {
            font-size: 16px;
            color: #555555;
            line-height: 1.5;
        }

        @media (max-width: 600px) {
            .profile-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .profile-details {
                align-items: center;
            }
        }

.map-container{
    margin-left: 30px;
    margin-top: 9px;
    margin-bottom: -30px;
}

.sp3{
    margin-top: 21px;
}

.space3{
    margin-top: 3px;
    margin-bottom: 12px;
}