/* Hero */
/* Ensure carousel images are responsive */
@media (max-width: 768px) {
    #hero {
        height: 40vh;
        width: 80vw;
        /* Use 'vw' for width */
    }

    .carousel-item img {
        object-fit: contain;
        height: 40vh;
        /* Ensure images scale correctly */
        width: 100%;
        /* Full width for images */
    }
}

/* For small mobile devices */
@media (max-width: 576px) {
    #hero {
        height: 20vh;
        /* Adjust height for small screens */
        width: 100vw;
        /* Full width for smaller screens */
    }

    .carousel-item img {
        object-fit: contain;
        height: auto;
        /* Maintain aspect ratio */
        width: 100%;
        /* Full width for images */
    }
}

/* Optional: Additional fine-tuning for extra small screens */
@media (max-width: 360px) {
    #hero {
        height: 15vh;
        /* Further adjust for extra small devices */
        width: 100vw;
        /* Full width */
    }

    .carousel-item img {
        object-fit: contain;
        height: auto;
        width: 100%;
        /* Prevent image from stretching */
    }
}

/* About section */
.about {
    padding: 30px 0 0 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 36px;
    color: #333;
    font-weight: 600;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: -85px;
    letter-spacing: 1px;
}

.section-content {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-family: "Arial", sans-serif;
    margin-bottom: 4px;
    text-align: justify;
}

.about-img img {
    border-radius: 13px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.watch-video a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6f61;
    padding: 14px 24px;
    border-radius: 50px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.watch-video a:hover {
    background-color: #e2584b;
    transform: translateY(-3px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.3);
}

.watch-video i {
    margin-right: 10px;
    font-size: 24px;
}

@media (max-width: 1199px) {
    .about-img,
    .col-lg-6 {
        width: 100%;
    }

    .about-img img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .section-content {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }

    .section-content {
        font-size: 14px;
    }

    .watch-video a {
        padding: 12px 20px;
        font-size: 18px;
    }
}

/* Client Section */
.clients-wrap-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.clients-wrap {
    display: flex;
    transition: transform 1s ease;
}

.client-logo {
    flex: 0 0 25%;
    padding: 0 10px;
}

.client-logo img {
    width: 100%;
    display: block;
    cursor: pointer;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #555;
    font-size: 2rem;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow-btn:hover {
    background-color: #333;
    color: white;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .arrow-btn {
        font-size: 1.5rem;
        padding: 8px;
    }

    .client-logo {
        flex: 0 0 50%;
        /* Show 2 logos at a time on small screens */
    }

    /* Adjust the container to make sure it's responsive */
    .clients-wrap-container {
        padding: 0 10px;
        /* Add some padding on the sides */
    }
}

/* Very small mobile screens (portrait phones) */
@media (max-width: 480px) {
    /* Further reduce the arrow button size */
    .arrow-btn {
        font-size: 1.2rem;
        padding: 6px;
    }

    /* Show only 1 logo at a time on very small screens */
    .client-logo {
        flex: 0 0 100%;
        /* Show 1 logo at a time */
    }

    /* Adjust container padding for very small screens */
    .clients-wrap-container {
        padding: 0 5px;
    }
}

/* Team  */

#team {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    font-family: "Arial", sans-serif;
}

/* Title Styling */
#team h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Founder Container */
.founder-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Founder Card Styling */
.founder-card {
    background: #faefef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    overflow: hidden;
    width: 45%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-top: 100px;
    /* Creates space for the image */
    background: linear-gradient(to bottom, #faefef, #f1e1e1);
    /* Soft gradient */
}

/* Card Hover Effect */
.founder-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Founder Image Styling */
.founder-image {
    position: absolute;
    top: 10px;
    /* Adjusted to center the image correctly */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* Hover Effect to Zoom Out Image */
.founder-card:hover .founder-image img {
    transform: scale(1.1);
}

/* Founder Info Section */
.founder-info {
    padding: 20px;
    font-family: "Helvetica Neue", sans-serif;
    color: #333;
}

/* Founder Name Styling */
.founder-info h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    margin-top: 60px;
    letter-spacing: 1px;
}

/* Founder Description */
.founder-info p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    padding: 0 15px;
    font-style: italic;
}

@media (max-width: 768px) {
    .founder-container {
        flex-direction: column;
        align-items: center;
    }

    .founder-card {
        width: 80%;
    }
}
