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

body {
    
    display: center;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

h2{
    text-align: center;
}
#map {
    text-align: center;
    background-color: #e1ff9c;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#map h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

#map p {
    font-size: 16px;
    color: #666;
}

#map a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

#map a:hover {
    color: #0056b3;
    text-decoration: underline;
}
    header {
    background-image: url('mmm.jpg');
    background-color: #a1c8fb; /* Dark blue background */
    padding: 20px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
   
    
}header h1 {
    text-align: center;
    font-size: 2.1em;
    font-weight: bold;
    color: #00e5ff;
    text-decoration: underline;
}
.nav-links {
    margin-top: 20px;
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0;
    gap: 2em;
    flex-direction: column;
}
.nav-links li {
    display: inline; /* Ensure each link is displayed inline */
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: contents;
}

.nav-links li a {
    position: relative;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #c54242;
    left: 0;
    bottom: -5px;
    transition: width 0.6s;
}

.nav-links li a:hover {
    color: #00ff08;
    background: #353535;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

h1 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    text-align: center;
    margin: 20px 0;
}

p {
    text-align: center;
    font-size: 16px;
    color: #555;
    text-align: center;
    margin: 0 20px;
}

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
}
.reach-out {
    background-image: url('rtu.jpg');
    background-color: rgba(176, 186, 33, 0.73);
    border-left: 5px solid #2f3a4c;
    padding: 20px;
    margin: 20px 0;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.reach-out a {
    color: #4285f4;
    transition: color 0.3s;
}

.reach-out a:hover {
    color: #fffb00;
    text-decoration: underline;
}

.reach-out h1 {
    color: #34ff07;
    text-decoration: underline;
}
.footer {
    background-image: url('footer.jpg');
    background-color: #000;
    color: #f0f0f0;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer a {
    color: #eaff00;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #17e90f;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .contact-details {
        padding: 15px; /* Adjust padding for smaller screens */
    }
}
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    header {
        width: 100%;
        padding: 15px 0;
        text-align: center;
    }

    .welcome-box, .subtitle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        width: 100%;
    }

    .btn {
        width: 100%;
        margin-top: 10px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 20px;
        margin: 10px 0;
        width: 100%;
        box-sizing: border-box;
    }

    section h1, section h2 {
        font-size: 24px;
    }

    .footer {
        padding: 20px;
        text-align: center;
    }

    .btn {
        width: auto;
        max-width: 90%;
        margin-top: 10px;
    }

    img, .logo {
        max-width: 100%;
        height: auto;
    }

    #about-header {
        padding: 20px 0;
        text-align: center;
    }
    
}


@media (max-width: 600px) {
    #categories {
        padding: 15px 5px; /* Adjust for smaller screens */
    }
}
@media (min-width: 1024px) and (max-width: 1440px) {
    img, .logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
        max-width: 95%;
    }
}
@media (min-width: 768px) {
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        text-align: center;
        list-style: none;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .nav-linka a{
        text-align: center;
    }
    .subcategory-box {
        width: 30%; /* Adjust width for larger screens */
        margin: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}


/* Container for the product boxes */
.container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping of items */
    justify-content: space-between; /* Space between boxes */
    margin: 20px; /* Margin around the container */
}

/* Individual product boxes */
.subcategory-box {
    flex: 1 1 30%; /* Grow, shrink, and set base width */
    margin: 10px; /* Margin around each box */
    padding: 20px; /* Padding inside each box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow for visual effect */
    border-radius: 8px; /* Rounded corners */
    text-align: center; /* Center text */
}
