body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #333333; /* Graphite background */
    color: #FFFFFF; /* Light text for readability */
    padding-top: 220px; 
    padding-bottom: 40px;
}

header {
    background: #333333; /* Graphite background */
    color: #FFFFFF; /* Light text */
    padding: 20px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-size: 20px;
}

button {
    background-color: #ffce00;
    color: #333333; /* Ensuring readability against the button background */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #c79604;
}

#features {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #444444; /* Darkened background for features */
}

.feature-item {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    padding: 20px;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.5s ease;
    background-color: #555555; /* Darker background for feature items */
    color: #FFFFFF; /* Light text for readability */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.feature-item.active {
    display: flex;
    opacity: 1;
    transform: scale(1.1);
}

.feature-item.inactive {
    display: flex;
    opacity: 0;
    transform: scale(0.8);
}

#benefits {
    background: #333333; /* Graphite background */
    color: #FFFFFF; /* Light text */
    padding: 20px;
    text-align: left;
}

#benefits ul {
    list-style: disc inside none;
    margin: 0;
    padding: 0;
}

#benefits li {
    margin-bottom: 10px;
}

footer {
    background-color: #333333; /* Graphite background */
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    font-size: 16px;
}

#gallery-container {
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    width: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#gallery-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.common-section {
    background: #333333; /* Graphite background */
    color: #FFFFFF; /* Light text */
    padding: 20px;
    margin: 20px auto;
    width: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.common-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
    color: #FFFFFF; /* Light text */
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 50%;
    height: 2px;
    background-color: #ffce00;
    transition: width 0.3s;
}

.section-title:hover::after {
    width: 75%;
}

.step {
    background: #444444; /* Darker background for steps */
    color: #FFFFFF; /* Light text */
    padding: 15px;
    margin-bottom: 10px;
    border-left: 5px solid #ffce00;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.step:hover {
    background-color: #555555; /* Even darker on hover */
}

.step-title {
    color: #ffce00;
    font-size: 20px;
    margin-bottom: 5px;
}

.step p {
    font-size: 16px;
    color: #AAAAAA; /* Lighter text color for paragraphs */
    transition: color 0.3s ease;
}

.step:hover p {
    color: #FFFFFF; /* White text on hover */
}

@media (max-width: 768px) {
    .common-section, #gallery-container, #about {
        width: 100%; /* Full width */
        margin: 20px 0;
        padding: 20px 10px; /* Adjust padding as necessary */
    }

    header, footer {
        padding: 15px 10px; /* Adjusted padding */
        font-size: 18px; /* Adjusted font size */
    }

    body {
        padding-top: 100px;
        padding-bottom: 60px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    header, footer {
        padding: 10px 5px;
        font-size: 16px;
    }

    body {
        padding-top: 80px;
        padding-bottom: 50px;
        padding-left: 0;
        padding-right: 0;
    }
}


#about {
    background-color: #333333; /* Graphite background for about */
    color: #FFFFFF; /* Light text for about */
    border-left: 5px solid #ffce00; /* Blue left border for emphasis */
    padding: 25px;
    margin: 20px auto;
    width: 50%;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.section-title {
    color: #FFFFFF; /* Light text */
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 50%;
    height: 2px;
    background-color: #ffce00;
    transition: width 0.3s;
}

.section-title:hover::after {
    width: 75%;
}

#about p {
    font-size: 16px;
    color: #AAAAAA; /* Lighter text for readability */
    padding: 0 15px;
}

a {
    color: #ffce00; /* Bright blue color for links */
    transition: color 0.3s ease; /* Smooth color transition for hover */
}

a:hover {
    color: #FFA07A; /* Light salmon color when hovering over the link */
    text-decoration: underline; /* Adds underline on hover for visual feedback */
}

a:active {
    color: #ffce00; /* Tomato color for active links (when clicked) */
}

a:visited {
    color: #ccaa00; /* Slate blue color for visited links */
}
