* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background: #232F3E;
}

/* Header Section Styling */
.logo-header {
    background: #ffffff;
    opacity: 0.91; /* Background color for the header */
    padding: 0.1rem 0; /* Add padding to create space around the header */
    text-align: center;
}

.logo-container {
    padding: 1rem;
    background: #ffffff;
    opacity: 0.9; /* Opacity-adjusted background */
    max-width: 800px; /* Limit width for desktop */
    margin: 0 auto; /* Center the header */
    text-align: center;
}

.logo {
    width: 180px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 0.5rem;
}

.logo-container h1 {
    color: rgb(35, 47, 62);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(22, 108, 128, 0.2);
}

.logo-container p {
    color: #00A8E1;
    font-size: 1.2rem;
}

/* Main Content Styling */
.split-container {
    display: flex;
    min-height: 100vh;
}

.region-half {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.region-half:hover {
    flex: 1.2;
}

.region-half::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(35, 47, 62, 0.4), rgba(35, 47, 62, 0.4));
    z-index: 1;
}

.region-half:hover::before {
    background: linear-gradient(rgba(0, 168, 225, 0.1), rgba(35, 47, 62, 0.6));
}

.saudi-half {
    background: url("images/saudi.jpg") center/cover;
    border-right: 1px solid rgba(0, 168, 225, 0.3);
}

.uae-half {
    background: url("images/uae.jpg") center/cover;
    border-left: 1px solid rgba(0, 168, 225, 0.3);
}

.region-content {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    transform: translateY(50%);
    padding: 2rem;
    text-align: center;
    color: white;
    z-index: 2;
    transition: all 0.3s ease;
}

.region-half:hover .region-content {
    transform: translateY(40%);
}

.region-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #fffff2;
}

.visit-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00A8E1;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.visit-btn:hover {
    background: #00b9f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 225, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .region-half {
        min-height: 50vh;
    }

    .logo-header {
        padding: 0.5rem 0; /* Reduce padding on mobile */
    }

    .logo-container {
        padding: 0.1rem;
        background: rgb(255, 255, 255);
        width: 100%; /* Full width for header on mobile */
        margin: 0 auto;
       
    }

    .logo {
        width: 139px; /* Smaller logo for mobile */
    }

    .logo-container h1 {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }

    .logo-container p {
        font-size: 1rem; /* Adjust paragraph size for mobile */
    }
}
