/* 
 * Ajad Developments Landing Page Styles
 * Developed by UWD - Ultimate Web Development
 * Copyright (c) 2025 UWD. All rights reserved.
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: fixed;
    color: #fff;
}

/* Video background styles */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Container layout */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header styles */
header {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Main content styles */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.content {
    text-align: center;
    width: 100%;
}

.tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 150px; /* Pushed down by 150px as requested */
}

.arabic-text img, 
.english-text img {
    max-width: 70%;
    height: auto;
}

.arabic-text {
    margin-bottom: 0; /* Reduced gap between Arabic and English text */
}

/* Footer styles */
footer {
    width: 100%;
    margin-top: auto;
}

.contact-form-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.form-inline {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
}

.form-inline input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    min-width: 0; /* Allows flex items to shrink below content size */
}

.form-inline button {
    background-color: #ffd900;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.form-inline button:hover {
    background-color: #e0bf03;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
}

.contact-info {
    margin-bottom: 15px;
}

.call-button {
    display: inline-block;
    background-color: #ffd900;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.call-button:hover {
    background-color: #e0bf03;
    transform: scale(1.05);
}

.social-media {
    margin-bottom: 15px;
}

.facebook-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #3b5998;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.facebook-icon:hover {
    transform: scale(1.1);
    background-color: #4c70ba;
}

.copyright {
    font-size: 0.8rem;
    color: #ccc;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .form-inline {
        flex-wrap: wrap;
    }
    
    .form-inline input, 
    .form-inline button {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .logo img {
        max-width: 150px;
    }
    
    .arabic-text img, 
    .english-text img {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 120px;
    }
    
    .contact-form-container {
        padding: 15px;
    }
    
    .form-inline {
        gap: 8px;
    }
    
    .form-inline input {
        padding: 10px;
    }
    
    .form-inline button {
        padding: 10px 20px;
    }
}
