/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0 1rem;
}

.header-buttons button {
    background-color: #5cb85c;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 650px; /* Adjust as needed */
    overflow: hidden;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    z-index: -1; /* Behind the content */
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Dissolve transition */
}

.hero-background-image.active {
    opacity: 1; /* Initially visible */
}

.hero-content {
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    border-radius: 10px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-button {
    background-color: #5cb85c;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: #4cae4c;
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: #f4f4f4;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #ddd;
    margin: 0 auto 1rem;
    border-radius: 50%;
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-image {
    width: 50%;
    height: 300px;
    background-color: #ddd;
}

.about-text {
    width: 50%;
}

.about-button {
    background-color: #5cb85c;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 5px;
}

/* Equipment Section */
.equipment {
    padding: 4rem 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background-color: #f4f4f4;
    padding: 1.5rem;
    border-radius: 5px;
    text-align: center;
}

.equipment-image {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
