/* Main Styles */
:root {
    --primary-color: #003366;  /* Darker blue */
    --secondary-color: #0066cc; /* Medium blue */
    --accent-color: #e6f2ff;    /* Very light blue */
    --dark-color: #001a33;     /* Very dark blue */
    --text-color: #333;
    --light-text: #ffffff;     /* White text */
    --border-radius: 8px;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff; /* White background */
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.navbar-dark {
    background-color: var(--primary-color) !important;
}

/* Section Styles */
.section-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.underline {
    height: 3px;
    width: 80px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Card Styles */
.card {
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Icon Styles */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Footer styling */
footer.bg-dark {
    background-color: var(--primary-color) !important;
    color: white;
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.6s ease forwards;
}

/* Enhanced styling for countdown */
.countdown-container {
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.03);
    }
}

/* RTL Specific Styles */
[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .countdown-container {
        flex-wrap: wrap;
    }
    
    .countdown-box {
        margin-bottom: 10px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .conference-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .countdown-box {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .conference-title {
        font-size: 1.5rem;
    }
    
    .conference-date-location {
        font-size: 1rem;
    }
}

/* Professional touches */
.form-control:focus, .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
    border-color: var(--primary-color);
}

.alert-info {
    background-color: var(--light-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

.special-note {
    border-left: 4px solid var(--primary-color);
}

/* Enhanced professionalism */
.table-bordered {
    border-color: #dee2e6;
}

.table-bordered th {
    background-color: var(--light-color);
}

/* Professional logo styling */
.logo-container {
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
}

.conference-logo {
    max-width: 180px;
    height: auto;
    border-radius: 50%;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.conference-logo:hover {
    transform: scale(1.05);
}

/* Enhanced title styling */
.conference-title {
    margin-top: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.conference-title:first-child {
    font-size: 2.4rem;
}

.conference-title:nth-child(2) {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.conference-date-location {
    font-size: 1.2rem;
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced countdown styling */
.countdown-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: inline-flex;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 0 0.5rem;
    min-width: 80px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}
