html{
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    box-sizing: border-box;
    overflow-x: hidden;
}

header {
    background-color: white;
    color: black;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.logo {
    height: 50px;

}

nav {
    flex: 2 1 auto;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a:focus,
nav ul li a:active {
    color: #810c4b;
    text-decoration: underline;
}

nav ul li a.active {
    color: #810c4b;
}

/* Styles for the What We Do section within the swiper */
.swiper-container {
    width: 100%;
    padding: 20px 0;
    background: #f9f9f9;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 0 0 300px; /* Fixed width for each slide */
    margin: 10px;
}
.swiper-slide-active {
    opacity: 1; /* Make the centered slide fully visible */
    transform: scale(1); /* Make the centered slide normal size */
}
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: slideShow 12s infinite;
}

@keyframes slideShow {
    0% { background-image: url('../images/header_image3.jpg'); }
    33% { background-image: url('../images/header_image.jpeg'); }
    66% { background-image: url('../images/headerImage2.jpg'); }
    80% { background-image: url('../images/image_4.jpg'); }
    100% { background-image: url('../images/app_image.webp'); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

h1, h2 {
    margin: 0;
    padding: 0.5em 0;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2em;
}

.hero_about {
    background-image: url('../images/image_4.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the entire div */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    height: 80vh; /* Set the height to full viewport height */
    display: flex; /* Center the content vertically and horizontally */
    align-items: center;
    justify-content: center;
    color: rgb(167, 24, 90); /* Text color */
    text-align: center; /* Center text */
    padding: 0 20px;
}


.hero h1 {
    font-size: 2.5rem;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 50px;
}
.content {
    margin: 2rem 0;
}

.content h2 {
    color: #333;
}

.section-title {
    background: url('../images/section_background.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    animation: slideIn 2s ease-out;
}



.card, .value {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 10px;
    width: 45%;
    transition: transform 0.3s ease;
}

.card:hover, .value:hover {
    transform: scale(1.05);
}

.card h3, .value h3 {
    margin-top: 0;
}
.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.description {
    display: -webkit-box;

    overflow: hidden;
    text-overflow: ellipsis;
    margin: 10px 0;
}

/* Limit to 2 lines */
/*     -webkit-line-clamp: 2; 
-webkit-box-orient: vertical; */



/* Styles for the What We Do section */
.what-we-do {
    display: flex;
    flex-wrap: nowrap; /* Ensure the cards do not wrap */
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    background: #f9f9f9;
    gap: 20px;
    position: relative;
}

.what-we-do-other {
    display: flex;
    overflow-x: auto; /* Allows horizontal scrolling if needed */
    padding: 20px 0;
    gap: 20px; /* Space between the cards */
    background: #f9f9f9;
}

.card-what-we-do {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
}



.card-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}



.card h3 {
    margin: 0 0 10px 0;
}

.card p {
    margin: 0;
}

/* Animation for horizontal sliding effect */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}



/* Styles for the Our Values section */
.our-values {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.value {
    flex: 1 1 22%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value h3 {
    margin-top: 0;
}


footer {
    background-color: #810c4b; /* Background color similar to your image */
    color: #fff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 10px;
    border-bottom: 1px solid #fff;
    display: inline-block;
}

.footer-section p, .footer-section a {
    margin: 5px 0;
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #fff;
    padding-top: 10px;
}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
}

.social-icons img {
    width: 24px;
    height: 24px;
}

.map iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Floating Button Container */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

/* Floating Button Style */
.floating-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366; /* WhatsApp green color */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s;
}

.floating-button:hover {
    transform: scale(1.1);
}

/* Floating Button Icon */
.floating-button img {
    width: 28px;
    height: 28px;
}

.floating-button.chat {
    background-color: #0078FF; /* Custom color for chat */
}


/* Existing styles */
/* ... */

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px;
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Chat Styles */
/* Existing styles */
/* ... */

/* Chat Styles */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 300px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
}

.chat-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
}

.chat-message.incoming {
    background-color: #e1ffc7; /* Light green */
    align-self: flex-start;
}

.chat-message.outgoing {
    background-color: #d1e7ff; /* Light blue */
    align-self: flex-end;
}

.chat-input {
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-right: none;
}

.chat-input button {
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #0078FF;
    color: white;
    cursor: pointer;
}

.chat-input button:hover {
    background-color: #005bb5;
}


.career-form h2 {
    margin-top: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}
.content-form-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}
.career-form select {
    width: 100%;
    padding: 8px 40px 8px 8px; /* Add padding to the right for the dropdown arrow */
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    appearance: none; /* Remove default styling */
    background-image: url('path/to/dropdown-arrow.svg'); /* Add custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px; /* Adjust size of the custom arrow */
}

.career-form .required:invalid {
    border: 2px solid red;
}

.career-form .required:valid {
    border: 1px solid #ccc;
}


.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.contact-info div {
    flex: 1 1 300px;
    margin: 10px;
}

.contact-info div p {
    margin: 5px 0;
}

.map {
    margin-top: 20px;
}

.social-icons a {
    text-decoration: none;
    margin-right: 10px;
}

.social-icons a img {
    width: 24px;
    height: 24px;
}

.contact-form {
    flex: 1;
    margin: 10px;
    max-width: 400px; /* Optional: limit the width of the form */
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin: 10px 0 5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #45a049;
}


/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}



@media (max-width: 768px) {
    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    nav ul li:first-child {
        margin-top: 1rem;
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .what-we-do-other {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%; /* Cards take full width on smaller screens */
    }
}




.portfolio-section {
    padding: 40px 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.portfolio-item {
    flex: 1 1 calc(33.333% - 40px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.portfolio-item img {
    width: 100%;
    height: 200px; /* Fixed height */
   
}
.portfolio-item-content {
    padding: 20px;
    flex: 1; /* Ensures the content takes up remaining space */
}
.portfolio-item  img{
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}
.portfolio-item p {
    margin: 0;
    color: #666;
}
.portfolio-item:hover {
    transform: translateY(-10px);
}
@media (max-width: 768px) {
    .portfolio-item {
        flex: 1 1 calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .portfolio-item {
        flex: 1 1 100%;
    }
}