﻿
* {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: #f0f2f5;
    min-height: 100vh;
}

/* Header ثابت */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 15px 0;
    z-index: 1000;
    /*background: #78909c!important;*/
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

    .logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.header-title {
    text-align: center;
    flex: 1;
}

    .header-title h4 {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: white;
    }

.header-info {
    text-align: center;
    min-width: 200px;
}

    .header-info h6 {
        margin: 3px 0;
        font-size: 15px;
        font-weight: 600;
        color: white;
    }

/* Container المحتوى */
.main-container {
    margin-top: 140px;
    margin-bottom: 80px;
    min-height: calc(100vh - 220px);
    width: 100%;
    background: #f0f2f5;
    padding: 20px 15px;
}

/* Footer ثابت */
.footer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
    color: white;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    font-size: 14px;
}

    .footer-fixed a {
        color: #4fc3f7;
        text-decoration: none;
        font-weight: 600;
    }

        .footer-fixed a:hover {
            color: #81d4fa;
            text-decoration: underline;
        }

/* تحسينات Bootstrap */
.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.25);
        outline: none;
    }

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(102,126,234,0.4);
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

/* Responsive */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .logo-circle {
        width: 80px;
        height: 80px;
    }

    .header-title h4 {
        font-size: 20px;
    }

    .header-info h6 {
        font-size: 14px;
    }

    .main-container {
        margin-top: 200px;
        margin-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .logo-circle {
        width: 70px;
        height: 70px;
    }

    .header-title h4 {
        font-size: 18px;
    }

    .header-info {
        min-width: auto;
    }

        .header-info h6 {
            font-size: 13px;
        }

    .main-container {
        margin-top: 220px;
        padding: 15px 10px;
    }

    .footer-fixed {
        font-size: 12px;
        padding: 12px 0;
    }
}

@media (max-width: 576px) {
    .logo-circle {
        width: 60px;
        height: 60px;
    }

    .header-title h4 {
        font-size: 16px;
    }

    .header-info h6 {
        font-size: 12px;
    }

    .main-container {
        margin-top: 230px;
    }
}



.bg-header {
    background-color: #007c7c;
    background-color: #607d8b;
    background-color: #2c5530;
    background-color: #3e7b3e;
    background-color: #78909c;
}
