:root {
    --primary-dark: #0d1b2a;
    --primary-light: #1b4965;
    --accent-sky: #62b6cb;
    --accent-orange: #f39c12;
    --light-bg: #ffffff;
    --light-text: #f8f9fa;
    --dark-text: #333333;
}

* {
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--dark-text);
    line-height: 1.8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    font-weight: 600;
}

.navbar {
    background-color: var(--primary-dark);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

.logo span {
    color: var(--accent-sky);
}

.navbar-nav .nav-link {
    color: white !important;
    margin: 0 8px;
}

.navbar-nav .nav-link.active {
    color: var(--accent-sky) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-sky) !important;
}

.page-header {
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.9)), url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.breadcrumb {
    background-color: transparent;
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--accent-sky);
    text-decoration: none;
}

.terms-container {
    padding: 80px 0;
}

.terms-content {
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-sky);
    bottom: 0;
    right: 0;
}

.terms-list {
    padding-right: 20px;
    margin-bottom: 20px;
}

.terms-list li {
    margin-bottom: 12px;
    position: relative;
}

.terms-list li:before {
    content: '•';
    color: var(--accent-sky);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: -1em;
}

.highlight-box {
    background-color: rgba(98, 182, 203, 0.05);
    border-right: 4px solid var(--accent-sky);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.highlight-box h5 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

th {
    background-color: var(--primary-dark);
    color: white;
    padding: 15px;
    text-align: right;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.btn-primary {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.contact-info-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    border-top: 4px solid var(--accent-sky);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(98, 182, 203, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--accent-sky);
}

/* الفوتر */
.footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding-top: 80px;
}

.footer h5 {
    color: var(--accent-sky);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-sky);
    bottom: 0;
    right: 0;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-sky);
    padding-right: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-sky);
    transform: translateY(-5px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-sky);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
}

.maay {
    color: chocolate;
    text-decoration: none;
    font-weight: 600;
}

.maay:hover {
    color: var(--accent-sky);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .terms-content {
        padding: 30px 20px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px;
    }
}