/* Base resets & body */
body {
    scroll-behavior: smooth;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    margin: 0;
    padding-top: 56px; /* Offset for fixed navbar */
}

/* Navbar styling */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}
.nav-link {
    font-weight: 500;
    color: #fff !important;
}

/* Hero (parallax-style background) */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2000&q=80")
        center center / cover no-repeat;
    background-attachment: fixed; /* Parallax effect on desktop */
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}
.hero .container {
    position: relative;
    z-index: 2;
}

/* Section Title Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Generic card image sizing */
.card-img-top {
    height: 220px;
    object-fit: fill;
}

/* About section image fix */
.about-img {
    max-height: 400px;
    object-fit: cover;
}

/* Testimonials avatar style */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact section additional styling */
.contact-info {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 1.5rem;
}

/* Footer */
footer {
    background: #111;
    color: #ccc;
}
/* About Me Section */
#about .img-fluid {
    border-radius: 10px; /* Rounded corners for the image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .img-fluid:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#about .rounded-circle {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#about .list-unstyled li i {
    min-width: 40px;
    text-align: center;
}
/* Section Title Underline */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 20%;
    height: 4px;
    background-color: #d3d3d3; /* Light Gray */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Image Hover Effect */
.image-container img {
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

/* Transition for Icons and Content */
.transition-transform {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.section-title,
h4,
p,
ul,
a {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.section-title {
    animation-delay: 0.2s;
}

h4 {
    animation-delay: 0.4s;
}

p, ul {
    animation-delay: 0.6s;
}

a {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2.5rem;
    }

    h4 {
        font-size: 1.75rem;
    }
}
/* Gray Button Styling */
.btn-gray {
    background-color: #d3d3d3; /* Light Gray */
    color: #000;
    border: none;
}

.btn-gray:hover {
    background-color: #c0c0c0; /* Darker Gray on Hover */
    color: #000;
}
/* Service Card Hover Effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Adjust Icon Colors */
.service-card i {
    transition: color 0.3s ease;
}

.service-card:hover i {
    color: #0d6efd; /* Primary Bootstrap Color */
}

/* Call-to-Action Button */
.btn-primary {
    background-color: #0d6efd;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

