* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.split-hero {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.hero-content-side {
    flex: 0 1 45%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    background-color: #f8f9fa;
    color: #333;

}

.hero-content-side h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content-side p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.video-side {
    flex: 1 1 70%; /* Make the video side larger */
    position: relative;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to 'contain' so the whole video fits */
    object-position: center; /* Ensure the video is centered */
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-button {
    display: inline-block;
    padding: 10px 20px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.service-button:hover {
    background: #333;
}

.cta-section {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: "Lato";
    font-weight: bolder;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.cta-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #333;
}

@media (max-width: 768px) {
    .split-hero {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-content-side {
        margin-top: 15vw;
        padding: 60px 20px;
        order: 1;
        flex: 0 1 40%; /* Reduce the left panel's width */
    }
    
    .video-side {
        order: 2;
        height: 50vh;
        flex: 1 1 60%; /* Increase the video side's size */
    }
    
    .services-container {
        padding: 30px 15px;
    }
    
    .service-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .hero-content-side h2 {
        font-size: 1.8rem;
    }
    
    .hero-content-side p {
        font-size: 1rem;
    }
}

.split-hero {
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: center; /* Center content vertically */
}

.hero-content-side {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    background-color: #333;  /* Dark background for contrast */
    color: #fff;
    text-align: left;
}

.hero-content-side h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content-side p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-btn {
    padding: 15px 30px;
    background-color: #f7c54f;  /* Yellow for the button */
    border: none;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #f1a800;
}

.image-side {
    flex: 1 1 50%;
    padding: 0 30px; /* Add some padding to the image side */
}

.image-side img {
    width: 100%;
    height: auto;
    max-height: 100%;  /* Ensures the image doesn't overflow */
    object-fit: cover;  /* Ensure image covers its space without distortion */
    border-left: 5px solid #f7c54f;  /* Adding a border for better separation */
}

