/* General reset and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and typography */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* Anchor link styling */
a {
    text-decoration: none;
    color: inherit;
}

button, a.button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1f8ac0;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover, a.button:hover {
    background-color: #166994;
    transform: scale(1.05); /* Slight hover effect */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #333;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
}

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

.nav-links a {
    color: #fff;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero_section.webp') no-repeat center center/cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    animation: fadeInUp 1.5s ease forwards;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #fff;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.service-card {
    background-color: #f4f4f4;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
}

.service-card i {
    color: #1f8ac0;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #555;
}

/* Flexbox and responsive grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-md-3 {
    flex: 0 0 23%;
    max-width: 23%;
    margin-bottom: 30px;
}

@media (max-width: 992px) {
    .col-md-3 {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background-color: #1f8ac0;
    color: #fff;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

/* Existing content of styles.css */

/* Hero Section */
.hero {
    background-image: url('../images/hero_section.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    text-align: center;
    min-height: 400px;
    background-attachment: fixed; /* Optional parallax effect */
    position: relative;
}

/* Add overlay to improve text contrast */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
