/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
    line-height: 1.6;
    color: white;
}

header {
    background-image: url('https://nasrunengservicesandconst.neocities.org/pictures/%E2%80%94Pngtree%E2%80%94tribal%20pattern%20banner_13029895.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 300px;
    color: yellowgreen;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 10px black, 0 0 20px black, 0 0 30px black, 0 0 40px black, 0 0 50px black, 0 0 75px black;
}

header h1 {
    text-align: center;
    font-size: 2.5rem;
}

header h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6600;
}

.section {
    padding: 40px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

#about h2, #mission h2, #vision h2, #services h2, #portfolio h2, #contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5px;
}

#about p, #mission p, #vision p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 5px;
}

#services .service-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.service-card {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: black;
    font-weight: bold;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: black;
}

#portfolio h2, #contact h2 {
    font-size: 2rem;
}

#contact {
    background-color: #fff;
    padding: 40px 0;
    color: black;
}

.contact-details {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.contact-item {
    text-align: center;
    max-width: 300px;
}

.contact-item strong {
    font-size: 1.1rem;
    color: #333;
}

.contact-item p {
    font-size: 1rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}

.form-group label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff6600;
}

.submit-btn {
    background-color: #ff6600;
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #cc5200;
}

.submit-btn:focus {
    outline: none;
}

.consultant-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    justify-items: center;
    flex-wrap: wrap;
}

.consultant-item img {
    width: 100%;
    max-width: 80%;
    height: auto;
    transition: transform 0.3s ease;
}

.consultant-item img:hover {
    transform: scale(1.10);
}

.portfolio-slider {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.portfolio-slider-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.portfolio-slide {
    min-width: 100%;
}

.portfolio-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-prev:hover, .slider-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header h2 {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .service-card {
        width: 100%; /* Stack service cards vertically */
        margin-bottom: 20px;
    }

    .consultant-gallery {
        grid-template-columns: 1fr; /* Single column layout for smaller screens */
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .form-group input, .form-group textarea {
        width: 90%; /* Adjust width for smaller screens */
    }

    .portfolio-slider {
        width: 90%; /* Adjust slider width */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    header h2 {
        font-size: 0.9rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
    }

    .submit-btn {
        font-size: 1rem;
    }
}
