/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e5a8e;
    --secondary-color: #3498db;
    --accent-color: #5dade2;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f0f7fc;
    --bg-white: #ffffff;
    --border-color: #d6e9f8;
    --shadow: 0 4px 6px rgba(30, 90, 142, 0.1);
    --shadow-lg: 0 10px 30px rgba(30, 90, 142, 0.15);
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    direction: rtl;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #154a75 100%);
    color: var(--text-light);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1px;
    color: var(--text-light);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    display: block;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d7a 100%);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 180px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    letter-spacing: 3px;
}

.hero-tagline {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.8rem 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin: 2.5rem auto;
    max-width: 700px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-tagline p {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.hero-cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3.5rem;
    background: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: var(--secondary-color);
    color: var(--text-light);
}

/* Content Section */
.content-section {
    background: var(--bg-white);
    padding: 4rem 20px;
    margin-bottom: 3rem;
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.main-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.main-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.main-content p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.main-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.main-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.main-content ul li {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(to left, #f8f9fa 0%, #ffffff 100%);
    border-right: 4px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-content ul li:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-content hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 3rem 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #3498db 100%);
    color: var(--text-light);
    padding: 4rem 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: var(--text-light);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color);
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d7a 100%);
    color: var(--text-light);
    padding: 4rem 0 3rem 0;
    text-align: center;
    margin-bottom: 0;
}

.page-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-content h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #154a75 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    color: var(--secondary-color) !important;
    opacity: 1 !important;
    margin-top: 1rem !important;
}

.footer-license {
    font-size: 0.9rem !important;
    opacity: 0.85 !important;
    margin-top: 0.5rem !important;
}

.footer-phone {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 1rem 0 !important;
}

.footer-phone a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: var(--accent-color);
}

.footer-section p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, #154a75 100%);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .main-nav.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        padding: 1rem;
        font-size: 1.2rem;
        width: 100%;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 3rem 15px;
    }

    .main-content {
        padding: 2rem 1.5rem;
        border-radius: 10px;
    }

    .main-content h2 {
        font-size: 1.8rem;
    }

    .main-content h3 {
        font-size: 1.5rem;
    }

    .main-content p,
    .main-content ul li {
        font-size: 1rem;
    }

    .cta-section {
        padding: 3rem 15px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .hero-tagline {
        padding: 1.5rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-image {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-logo {
        height: 100px;
    }

    .hero-title,
    .page-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 10px;
    }

    .main-content {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .main-content ul li {
        padding: 1rem;
    }

    .cta-section {
        padding: 2.5rem 10px;
    }

    .hero-tagline {
        padding: 1.2rem 1rem;
    }

    .hero-cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .page-header {
        padding: 3rem 0 2rem 0;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}