/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo Styling */
.logo, .footer-logo {
    width: 150px;
    height: auto;
    opacity: 0.8;
    filter: brightness(80%);
}

/* Navbar Links with Hover Effects */
nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s; /* Smooth color transition */
}

/* Hover Effect 1: Color Change on Hover */
nav a:hover {
    color: #0077cc; /* Change color on hover */
}

/* Hover Effect 2: Slide-In Underline */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #0077cc;
    left: 50%;
    bottom: 0;
    transition: width 0.3s, left 0.3s;
}

nav a:hover::after {
    width: 100%; /* Full-width underline on hover */
    left: 0;
}

.cta-button {
    background-color: gold;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s;
}

#about img {
    width: 80%; /* Adjust width to fit the section */
    max-width: 600px; /* Set a max width for larger screens */
    height: auto; /* Maintain aspect ratio */
    margin-top: 20px; /* Add space between text and image */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    transition: transform 0.3s, box-shadow 0.3s; /* Smooth transition for effects */
}

/* Hover Effect on Image */
#about img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deepen shadow on hover */
}

.cta-button:hover {
    background-color: darkgoldenrod;
}

/* Hero Section with Background */
#hero {
    position: relative;
    background: url('images/Zoom Background (original).png') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
}

#about, #services, #why-us, #cta, footer {
    padding: 60px 30px;
    text-align: center;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 250px;
}

#cta {
    background-color: navy;
    color: white;
    margin-bottom: 0;
}


footer {
    background-color: darkslateblue;
    color: white;
    padding: 20px 30px;
}
