/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #343a40;
}

section {
    padding: 60px 0;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: #343a40 !important;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: #007bff !important;
}

.navbar-nav .nav-item.active .nav-link {
    color: #007bff !important;
}

/* Hero Section */
.bgimage {
    position: relative;
    height: 100vh; /* Full viewport height */
    background: url('../images/heroImage2.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.bgimage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
}

.hero_title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    position: relative; /* Required for z-index */
    z-index: 1;
}
.hero_desc {
    font-size: 2rem;
    position: relative; /* Required for z-index */
    z-index: 1;
}

/* spacing on all sections */
#about h1, #services h1, #portfolio h1, #contact h1 {
    margin-bottom: 40px;
    text-align: center;
}

/* about section image css */
.imageAboutPage {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* services section css */
.servicesText.card {
    height: 280px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
.servicesIcon {
    font-size: 36px;
    text-align: center;
    width: 100%;
    color: #007bff;
    margin-bottom: 15px;
    transition: color 0.3s ease-in-out;
}
.card-title {
    text-align: center;
    margin-bottom: 15px;
}

.card:hover .servicesIcon {
    color: #008000;
}
.servicesText:hover {
    border: 1px solid #008000;
}

/* social media icons styling */
.social-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    color: #343a40;
    transition: color 0.3s ease-in-out;
}

.social-icons a:hover {
    color: #007bff;
}

/* Portfolio Section */
.portfolioContent .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolioContent .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.portfolioContent img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 30px 0;
}
