/* Root Variables */
:root {
    --primary-color: #004a99;
    --secondary-color: #dc3545;
    --accent-color: #ffc107;
    --bg-light: #f4f7f6;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader Screen */
#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.loader-logo {
    width: 200px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 74, 153, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

/* Submit Loader Overlay */
#submit-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 60px;
    object-fit: contain;
}

.flag-icon img {
    width: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Form Card */
.form-card {
    background: var(--white);
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.form-header h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.steps-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Forms */
.step-form {
    display: none;
}

.step-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    margin-bottom: 20px;
    text-align: right;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 74, 153, 0.1);
}

/* itl-tel-input RTL fixes */
.iti {
    width: 100%;
    direction: ltr;
}

.iti__selected-flag {
    direction: ltr;
}

.iti__country-list {
    direction: ltr;
    text-align: left;
}

.input-group label {
    text-align: right;
    width: 100%;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #003d80;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #e9ecef;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
}

.alert-msg {
    color: var(--secondary-color);
    background: rgba(220, 53, 69, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: none;
}

/* Info Content */
.info-content {
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.info-card .card-header {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card .card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-card .card-header h3 {
    font-size: 1.3rem;
}

.info-card .card-body {
    padding: 30px;
}

.info-card .card-body p {
    margin-bottom: 15px;
}

.info-card .card-body ul {
    list-style: none;
    margin-bottom: 15px;
}

.info-card .card-body ul li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
}

.info-card .card-body ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #e9ecef;
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-info {
    margin-bottom: 40px;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-info i {
    color: var(--secondary-color);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid #333;
    padding-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Notification Popup */
#notification-popup {
    position: fixed;
    bottom: 30px;
    right: -100%;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: flex;
    align-items: center;
}

#notification-popup.show {
    right: 30px;
}

.notif-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notif-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notif-text span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.notif-text p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .form-card {
        padding: 25px;
    }
}