body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 700px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2em;
    line-height: 1.5;
}

.home-button {
    background-color: #b6a490;
    border: none;
    color: black; 
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.home-button:hover {
    background-color: #5c787b;
    transform: scale(1.05);
    text-decoration: none;
    color: white; 
}

/* Card Section */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px; 
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1 0 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 20px; 
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.card-title:hover {
    font-weight: bold;
    transform: scale(1.1); 
    color: #000; 
}

.card-role {
    font-size: 1em;
    color: #5c787b;
    margin-bottom: 12px;
    transition: all 0.3s ease-in-out;
}

.card-role:hover {
    font-weight: bold;
    transform: scale(1.1); 
    color: #3b5c5e; 
}

.card-description {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
}


/* services */


.service-card {
    display: flex;
    justify-content: space-between;
    background-color: #babdbe;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #babdbe;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-titles {
    width: 30%;
    border-right: 1px solid #ddd;
    padding-right: 15px;
}

.service-title {
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    color: #3e3a36;
    padding: 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-title:hover {
    color: #5c787b;
    background-color: #e6f2ff; 
    text-decoration: none;
}

.service-title.active {
    color: #5c787b;
    background-color: #b6a490; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); 
    font-size: 20px; 
}

.service-description {
    width: 65%;
    padding: 20px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    font-size: 16px;
    color: #333;
}

.service-description.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.service-description h3 {
    font-size: 22px;
    font-weight: bold;
    color: #5c787b;
    margin-bottom: 15px;
}

.service-description p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-description ul {
    list-style: disc;
    margin-left: 20px;
}

.service-description i {
    margin-right: 8px;
    color: #3d434b70;
}



@media (max-width: 992px) {
    .card {
        flex: 1 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .hero-content {
        max-width: 90%;
    }

    .card {
        flex: 1 0 100%;
    }
}

/* About Us Section Styling */
/* About Us Section Styling */
.about-section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0 30px;
}

.team-section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0 30px;
}

.about-section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 0 20px;
    white-space: nowrap;
}

.team-section-title {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    text-align: center;
    padding: 0 20px;
    white-space: nowrap;
}
.linkedin-logo-link {
    display: inline-block;
    margin-top: 10px;
}

.linkedin-logo {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.linkedin-logo:hover {
    transform: scale(1.2); 
}

.about-hr {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #3e3a36, transparent);
    border: none;
    margin: 0 15px;
}

.about-card-container {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    padding-bottom: 10px;
    max-width: 100%; 
    margin: auto;
}

.about-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%; 
    max-width: 1400px; 
}

.about-card img {
    width: 35%; 
    object-fit: cover;
}

.about-card-textbox {
    padding: 30px; 
    flex: 1;
}

.about-card-title {
    font-size: 2em;
    color: #5c787b;
    margin-bottom: 15px;
}

.about-card-bar {
    width: 80px;
    height: 5px;
    background: #b6a490;
    margin-bottom: 20px;
    border-radius: 2px;
}

.about-card-description {
    font-size: 1em; 
    color: #555;
    line-height: 1.6; 
    overflow: visible; 
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .about-section-title {
        font-size: 1.5em;     }

    .about-card {
        flex-direction: column; 
        max-width: 100%; 
    }

    .about-card img {
        width: 100%; 
        height: auto;
    }

    .about-card-textbox {
        padding: 20px; 
    }

    .about-card-description {
        font-size: 0.95em; 
        overflow: visible; 
    }
}





.carousel-container {
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite; 
}

.carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    margin: 0 10px;
    text-align: center;
    filter: grayscale(100%);
    transition: filter 0.3s ease; 
}

.carousel-item:hover {
    filter: grayscale(0%);
}

.carousel-item img {
    width: 150px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-item p {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.1em;
    color: #777;
    transition: color 0.3s ease, transform 0.3s ease;
}

.carousel-item:hover p {
    color: white;
    font-weight: bold;
    transform: translateY(-5px);
}




.contact-section {
background: white;
border-radius: 20px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
max-width: 1500px;
width: 99%;
padding: 60px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
gap: 60px;
overflow: hidden;
margin: 10px auto;
}

.contact-info {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.contact-info h2 {
color: #b6a490;
margin-bottom: 20px;
font-size: 2em;
font-weight: 600;
}

.contact-info p {
margin-bottom: 15px;
font-size: 1em;
color: #555;
}

.contact-info .custom-message {
font-size: 1.1em;
color: #3e3a36;
margin-top: 15px;
font-weight: 500;
font-style: italic;
}

.contact-info hr {
border: none;
height: 2px;
background-color: #3b5c5e;
margin: 20px 0;
}

.contact-details strong {
font-weight: 600;
color: #333;
}

.map-container {
border-radius: 16px;
overflow: hidden;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
height: 400px;
display: flex;
flex-direction: column;
}

.map-container iframe {
width: 100%;
height: 100%;
border: none;
display: block;
}

.quick-contact-button {
display: inline-block;
padding: 12px 25px;
background: linear-gradient(to right, #b6a490, #babdbe);
color: white;
text-decoration: none;
border-radius: 25px;
font-weight: 500;
font-size: 1em;
transition: transform 0.2s, box-shadow 0.2s;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quick-contact-button:hover {
transform: translateY(-2px);
color: #3b5c5e;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
text-decoration: none;
}

.quick-contact-button:active {
transform: translateY(0);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% / 3)); }
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused; 
}

@media (max-width: 900px) {
.contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
}

.map-container {
    height: 300px;
}
}

@media (max-width: 500px) {
.contact-info h2 {
    font-size: 1.5em;
}
.contact-info p, .contact-info .custom-message, .quick-contact-button {
    font-size: 0.9em;
}
}


@media (max-width: 768px) {
    .about-section-title {
        font-size: 1em; 
    }

    .about-card {
        flex-direction: column;
        padding: 10px; 
    }

    .about-card img {
        width: 100%; 
    }

    .about-card-textbox {
        padding: 15px; 
    }

    .about-card-description {
        font-size: 0.9em; 
        overflow: visible; 
    }

    .service-card {
flex-direction: column;
align-items: flex-start;
}

.service-titles {
width: 100%;
margin-bottom: 20px;
border-right: none;
}

.service-description {
width: 100%;
}

.carousel-item {
        min-width: 150px;
    }


    .contact-section {
    grid-template-columns: 1fr;
    padding: 20px;
}

.contact-info h2 {
    font-size: 1.7em;
}

.contact-info p,
.contact-info .custom-message,
.quick-contact-button {
    font-size: 0.95em;
}

.map-container {
    height: 350px; 

}

 /* Service Section */
 .service-card {
    flex-direction: column;
    padding: 10px;
}

.service-titles {
    width: 100%;
    border-right: none;
    padding-right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-title {
    width: 45%;
    text-align: center;
    padding: 5px;
    font-size: 14px;
    margin: 3px;
}

.service-title.active {
    font-size: 18px;
}

.service-description {
    width: 100%;
    padding: 15px;
    font-size: 14px;
}

.service-description h3 {
    font-size: 18px;
}
}

@media screen and (max-width: 480px) {
    .about-section-title {
        font-size: 1em; 
    }

    .about-card {
        padding: 5px; 
    }

    .about-card img {
        width: 100%; 
    }

    .about-card-textbox {
        padding: 10px; 
    }

    .about-card-description {
        font-size: 0.85em; 
        overflow: visible; 
    }

     /* Service Section */
     .service-card {
        flex-direction: column;
        padding: 10px;
    }

    .service-titles {
        width: 100%;
        border-right: none;
        padding-right: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-title {
        width: 45%;
        text-align: center;
        padding: 5px;
        font-size: 14px;
        margin: 3px;
    }

    .service-title.active {
        font-size: 18px;
    }

    .service-description {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }

    .service-description h3 {
        font-size: 18px;
    }
}