/* General Styles */
body {
    font-family: Palatino Linotype;
    line-height: 1.6;
    color: #333;
    padding-top: 70px; /* Offset for fixed navbar */
}

/* Navbar Styles */
.navbar {
    background-color: #060606; 
    padding: 1rem 2rem;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

.navbar-nav .nav-item .nav-link {
    color: #fff;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #db1e1e; 
}

#logo {
    width: auto;
    height: 60px; /* Set a fixed height for the logo */
    margin-left: -7%;
    border-radius: 2px;
}

.navbar-toggler {
    border-color: black;
}


/* Carousel Styles */
.background-panel {
    position: relative;
}

.carousel-item img {
    height: 90vh;
    object-fit: cover;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    display: inline-block;
    text-align: center;
}

.welcome-text {
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 5px 5px 0 0;
    width: 100%;
    margin-bottom: 5px; /* Add space below the welcome text */

}

.service-text {
    font-size: 1.5rem;
    color: #fff;
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }

    .service-text {
        font-size: 1rem;
    }
}

/* Section Headers */
#section-header {
    color: black; /* Dark green */
    font-weight: bold;
    margin: 0px;
}

/* About Section */
.about-section {
    background-color: #d1d0d0; /* Light gray */
}

.about-text {
    font-size: 1.25rem;
    color: black;
}

.about-image {
    border-radius: 5px;
    width: 100%;
}

/* Services Section */

.services-section {
    background-color: #d1d0d0; /* Light gray */
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adds space between items */
    background-color: #535353;
    font-size: 17px;
    border-radius: 5px;
  }
  
  .image-container {
    flex: 1 1 calc(33.333% - 10px); /* Each item takes up 1/3 of the row with some margin */
    margin: 5px; /* Adds margin around each item */
    box-sizing: border-box; /* Ensures padding and margin are considered within the element's width/height */
    text-align: center; /* Centers text inside the image container */
  }
  
  
  .image-container img {
    width: 100%; /* Makes images and videos responsive */
    height: auto;
    padding: 10%;
    border-radius: 10px;
  }

  .video-container video {
    width: 50%; 
    height: auto;
    margin-left:-180px;
  }
  
  .text-center {
    text-align: center;
    color: white;
    margin: 0px;
  }

  .service-list {
    text-align: center;
    color: #060606;
    font-size: 21px;
    margin-bottom: 3%;
    margin-top: 2%;
  }
  

/* Portfolio Section */

.portfolio-section {
    background-color: #d1d0d0; /* Light gray */
}

.portfolio-section .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-section .col-md-6 h4 {
    margin-bottom: 1rem;
    color: #383838; 
}

/* Contact Section */
.contact-section {
    background-color: #d1d0d0; /* Light gray */
}

 .logo-with-bird {
    width: 20%;
    margin-left: 2%;
    border-radius: 2px;
    padding-bottom: 2%;
 }

.footinfo {
    padding: 1rem 2rem;
}

.foothead {
    font-size: 1.5rem;
    color: black;
    font-weight: bold;
}

.tiny {
    font-size: 1rem;
    color: #333;
}

.email, .phone {
    margin-bottom: 1rem;
}

.fa-envelope, .fa-phone {
    margin-right: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-section .row {
        text-align: center;
    }

    .about-section .col-lg-5, .about-section .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .image-container {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .image-container {
        flex: 1 1 100%;
    }
}
