body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
}

/* Add smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Modern hero section */
/*#hero {
    background: url('/images/4.jpg') center/cover no-repeat;
    color: darkorange;
    text-align: center;
    padding: 100px 0;
    position: relative;
}*/

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    color: #3498db;
    /*color: white;*/
    text-shadow: -1px -1px 1px black, 1px -1px 1px black, -1px 1px 1px black, 1px 1px 1px black;
}

    .hero-content h1 {
        font-size: 2.5em; /* Adjust the font size as needed */
        margin-bottom: 20px;
    }

    .hero-content p {
        font-weight: bold;
        font-size: 1.5em; /* Adjust the font size as needed */
    }

#video-banner {
    position: relative;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hero {
    /* ... (existing styles) ... */
    color: darkorange; /* Keep this color for the h1 */
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #3498db;
    font-weight: bold;
    animation: fadeInUp 1s ease-out;
}

#hero p {
    /*font-size: 1.6em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #3498db;
    animation: fadeInUp 1s ease-out;*/
    font-size: 1.5em; /* Adjust font size for better visibility */
    color: #000; /* Set the color to black or any contrasting color */
    margin-bottom: 30px; /* Adjust margin for spacing */
}

#hero .btn-primary {
    background-color: #4CAF50; /* Change button background color to green */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px; /* Add a rounded border */
    transition: background-color 0.3s, color 0.3s, border-radius 0.3s;
}

    #hero .btn-primary:hover {
        background-color: #45a049;
        border-radius: 10px;
    }

/* Common card styles */
.card {
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

    .card:hover {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Testimonials section */
#testimonials {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.testimonial {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

    .testimonial img {
        max-width: 100px;
        height: auto;
        border-radius: 50%;
        margin-bottom: 10px;
    }

/* Add custom styles for centering the title */
#why-dhaxle h2 {
    text-align: center;
    color: #0082c1;
    animation: fadeInUp 1s ease-out;
}

/* Who-we-serve section */
.flip-card {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    perspective: 1000px;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    box-sizing: border-box;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.flip-card h3 {
    font-size: 24px;
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Adjust the style of the index cards */
#why-dhaxle .col-md-4 {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: #fff;
}

    #why-dhaxle .col-md-4 h3 {
        color: #333;
    }

/*Social icons*/
.social-icons {
    white-space: nowrap;
    animation: fadeInUp 1s ease-out;
}

    .social-icons a {
        margin-right: 15px;
    }

/* Custom styles for partner section */
#partners .partner-image {
    height: 150px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#partners img {
    max-width: 100%;
}

/* Add animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS Animation for Flip Cards */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.flip-card {
    animation: fadeIn 1s ease-out;
}

/* Modern Partner Section Styles */

.partners-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333; /* Adjust color based on your design */
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555; /* Adjust color based on your design */
}

.partner-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.partner-img {
    max-width: 100%;
    height: auto;
    margin: 15px; /* Adjust spacing between partner images */
    transition: transform 0.3s ease-in-out;
}

    .partner-img:hover {
        transform: scale(1.1); /* Add a subtle zoom effect on hover */
    }
