/* Basic styling and layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    padding-top: 5px;
}

header {
    padding: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: whitesmoke;
    color: green;
    font-weight: 700;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.logo img {
    height: 60px;
    width: auto;
    margin-left: 90px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
}

section {
    padding: 40px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    color: #3A2F2A
}

.about-heading {
    margin-top: 0px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
}

#landing-page {
    padding: 50px;
    text-align: left;
    color: #f4f4f4;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
    position: relative;
    font-weight: 700;
    font-size: 100px;
    margin-top: 1rem;
    height: 500px;
    
}

#landing-page h2 {
    color: rgb(63, 0, 0);
    font-weight: bold;
    font-size: 5rem;
    position: Top;
    /*z-index: 2;*/
}

#landing-page li {
    color: rgb(32, 2, 2);
    font-weight: bold;
    font-size: 3rem;
    line-height: 5rem;
    position: Top;
    z-index: 2;
}

#about {
    padding: 60px;
    text-align: left;
    background-color: #fff;    
}


#about h2 {
    color: black;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    position: Top;
    z-index: 2;
}

#about p {
    color: black;
    font-weight: light;
    font-size: 1.5rem;
    position: Top;
    z-index: 2;
    margin-bottom: 0;
}

#services {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    margin-top: 10px;
}

#services h2 {
    font-size: 3rem;
    color: black;
    margin-bottom: 20px;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px #D1FA46;
    width: 300px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    opacity: 2;
}

.card img {
    width: 250px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.card button {
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.card button:hover {
    background-color: #333;
}

.card:hover {
    transform: translateY(-5px);
}

svg {
    margin-right: 8px;
    transition: transform 0.2s;
}

svg:hover {
    transform: scale(1.1);
}

p {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin: 10px 0;
}

a {
    color: #333333;
    text-decoration: none;
    margin: 5px;
}

a:hover {
    color: #58bb40;
}

strong {
    margin-right: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px auto;
    font-size: 18px;
}

.contact-info a {
    text-decoration: none;
    margin-left: 5px;
}

contact-info a:hover {
    text-decoration: underline;
}

.contact-info strong {
    margin-right: 5px;
}

#contact h2 {
    font-size: 3rem;
    color: black;
}

#contact {
    background-color: #fff;
    margin-top: 10px;
}

/* Organogram Styles */
#organogram {
    background-color: #fff;
}

#organogram h3 {
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: black;
}

.organogram-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.organogram-level {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
    gap: 10px;
}

.organogram-item {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    margin: 0.5rem;
    font-weight: bold;
    text-align: center;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.organogram-item:hover {
    transform: scale(1.05);
}

.organogram-item img {
    width: 90px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
}

.organogram-item .name {
    font-size: 1.2rem;
    color: #3A2F2A;
    margin-bottom: 5px;
}

.organogram-item .position {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

.organogram-item .contact-info {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.organogram-item .contact-info strong {
    font-weight: bold;
    color: #333;
}

/*Clients Styles*/
#clients {
    margin-top: 0px;
}

#clients h3 {
    margin-bottom: 0;
    font-size: 2.5rem;
    color: black;
    text-align: center;
    background-color: #fff;
}

.clients-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    background-color:#fff 
}

.clients-row img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.clients-row img:hover {
    transform: scale(1.9);
}

/* iframe styles */
.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 100%; 
}

.map-container iframe {
    border: 2px solid #28a745;
    border-radius: 8px; 
    width: 1280px;
    height: 400px;
}

.landing-backdrop {
    background-image: url('landing-page/pexels-n-voitkevich-5554746.jpg');
        background-repeat: no-repeat;
    background-size:cover;
    background-position:center;
    background-repeat: no-repeat;
    position: relative;
    height: 600px;
}

#get-quote-btn {
    background-color: #28a745;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    margin-top: 380px;
    left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.3s ease;
}

#get-quote-btn:hover {
    background-color: #1e7e34;
}

/* Footer Styles */
footer {
    background-color: #440605;
    color: #fff;
    padding: 20px 20px;
    font-size: 0.8rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px 20px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff; /* Heading color */
}

.footer-column p,
.footer-column li {
    margin-bottom: 10px;
    color: #bbb;
    line-height: 1.2;
	font-size:12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    text-decoration: none;
    color: #58bb40; 
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
	margin:auto;
}

.footer-bottom a {
    color: #58bb40;
    text-decoration: none;
}

.footer-bottom p {
    color: #58bb40;
	text-align: center;
	font-size: 0.7rem;
	margin: auto;
	
	
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-column img {
    width: 150px;
    height: auto; 
    margin-bottom: 15px; 
}

/*To Top Button */

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;

}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
    .logo img {
        margin-left: 20px;
        height: 50px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .service-cards {
        flex-direction: column;
        gap: 30px;
    }
    .card {
        width: 90%;
    }
    #landing-page {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 5px;
    }
    h2 {
        font-size: 1.5rem;
    }
    .card h3 {
        font-size: 1.2rem;
    }
    .card p {
        font-size: 0.8rem;
    }
}

nav ul li a {
    position: relative;
    color: #333;
    text-decoration: none;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #58bb40;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

button {
    transition: transform 0.2s ease, background-color 0.3s ease;
}
button:hover {
    transform: scale(1.05);
    background-color: #444;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
