/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    background-color: #c4c4c4; /* Darker background for better contrast */
    color: black;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffd700;
    padding: 15px 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo */
.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

/* Navigation */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

nav ul li a i {
    font-size: 16px; /* Adjust icon size */
}

nav ul li a:hover {
    color: white;
}

/* Mobile Menu Toggle Button */

.menu-toggle {
    display: none;
    font-size: 18px;
    color: black;
    padding: 4px 12px;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    margin-left: auto; /* Pushes it to the right */
}


/* Responsive Navigation */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        /* background: #ffd700; */
        text-align: left;
        padding: 10px 0;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); Adds a shadow for distinction */
        border-top: 2px solid black; /* Optional border */
        background: #e6c200; /* Slightly darker gold */
    }

    nav ul li {
        padding: 10px 20px;
    }

    nav ul.show {
        display: flex;
        animation: fadeIn 0.3s ease-in-out;
    }

    .menu-toggle {
        display: block; /* Now visible on mobile */
       
    }
}

/* Smooth Dropdown Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
main {
    padding: 60px 20px 40px; /* Adjusted padding to account for fixed header */
    text-align: center;
}

/* About Section */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    text-align: center;
}

.about-container p {
    line-height: 1.6;
    font-size: 18px;
    color: #333;
}

/* About Page */
.about-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
    width: 45%;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.about-box h2 {
    font-size: 22px;
    color: black;
    margin-bottom: 10px;
}

.about-box ul {
    list-style: none;
    padding: 0;
}

.about-box ul li {
    padding: 5px 0;
    color: #555;
}

@media (max-width: 768px) {
    .about-box {
        width: 90%;
    }
}

/* Expertise Box */
.expertise-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.expertise-box h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.expertise-box p {
    font-size: 18px;
    line-height: 1.6;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: #ffd700;
    color: black;
    padding: 10px 20px;
    margin-top: 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.cta-button:hover {
    background: white;
    color: black;
}

/* Buttons */
button {
    background: #ffd700;
    color: black;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background: white;
    color: black;
}

/* Portfolio Section */
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.portfolio-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    border-radius: 8px;
}

.portfolio-item h2 {
    font-size: 20px;
    margin-top: 10px;
}

.portfolio-item p {
    color: #555;
    font-size: 16px;
}

/* Contact Form Styling */
form {
    display: flex;
    flex-direction: column; /* Stack inputs vertically */
    max-width: 400px; /* Limit width */
    margin: 20px auto; /* Center form */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 100px; /* Adjust height */
    resize: none; /* Prevent resizing */
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #00274D;
    color: #ffd700;
    margin-top: 20px;
}

/* Slider Section */
.slider {
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Slide Images */
.slide {
    display: none;
}

.slide img {
    width: 100%; /* Makes images responsive */
    max-height: 400px; /* Limits height */
    object-fit: cover; /* Ensures images fit within the set dimensions */
    border-radius: 10px; /* Smooth rounded corners */
}

/* Navigation Dots */
.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #007bff;
}

/* Animation */
.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

.card {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    max-width: 350px;
    text-align: center;
    transition: 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

/* Make images in cards responsive */
.card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
