/* SSPN - Professional Styles */
:root {
    --blue-900: #0c1829;
    --blue-800: #1a2d47;
    --blue-700: #234060;
    --blue-600: #2d5380;
    --blue-500: #3B5A9E;
    --blue-400: #4a7bc4;
    --blue-300: #6b9be0;
    --gold: #c9a227;
    --gold-light: #e6c655;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --font-family: 'Tajawal', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* RTL Support */
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
html[dir="rtl"] .footer-links { flex-direction: row-reverse; }
html[dir="rtl"] .point { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .benefits-list li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .benefits-list li::before { left: auto; right: 0; }
html[dir="rtl"] .council-item { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .contact-item { flex-direction: row-reverse; }
html[dir="rtl"] .form-row { flex-direction: row-reverse; }
html[lang="ar"] .lang-en { display: none; }
html[lang="ar"] .lang-ar { display: inline; }
html[lang="en"] .lang-ar { display: none; }

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    margin-top: 20px;
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--blue-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-500);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: var(--gray-100);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--gray-200);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 50%, var(--blue-600) 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    color: var(--white);
    max-width: 900px;
    margin-bottom: 28px;
    line-height: 1.15;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin-bottom: 44px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Geometric Shapes */
.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.geometric-shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.shape-1 {
    width: 300px;
    height: 300px;
    right: 10%;
    top: 20%;
    animation: float 6s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-2 {
    width: 200px;
    height: 200px;
    right: 25%;
    top: 50%;
    animation: float 8s ease-in-out infinite;
    animation-delay: -2s;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.08);
}

.shape-3 {
    width: 150px;
    height: 150px;
    right: 5%;
    bottom: 20%;
    animation: float 7s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--blue-900);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-full {
    width: 100%;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
    color: var(--white);
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.section-label-light {
    color: var(--gold);
}

.section-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 28px;
    line-height: 1.2;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto 48px;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}

.about-text .lead {
    font-size: 22px;
    line-height: 1.8;
    color: var(--gray-700);
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.point {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.point:hover {
    border-color: var(--blue-300);
    box-shadow: var(--shadow);
}

.point-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.point-icon svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.point span {
    font-size: 17px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Council Section */
.council-grid {
    margin-top: 40px;
}

.council-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.council-intro p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--gray-600);
}

.council-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.council-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.council-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    border-radius: var(--radius);
    flex-shrink: 0;
}

.council-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.council-item p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
}

/* Objectives */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.objective {
    text-align: center;
    padding: 32px 20px;
}

.objective-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.objective h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 12px;
}

.objective p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Fields Grid */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.field-card {
    padding: 32px 24px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

.field-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.field-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    border-radius: var(--radius-lg);
    margin: 0 auto 16px;
}

.field-icon svg {
    width: 28px;
    height: 28px;
    color: var(--blue-900);
}

.field-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

/* Join Section */
.join-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.join-info p {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 28px;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 17px;
    color: var(--gray-700);
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

/* Forms */
.join-form-wrapper,
.contact-form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.join-form h3,
.contact-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59,90,158,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info p {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--blue-500);
}

.contact-item a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
}

.contact-item a:hover {
    color: var(--blue-500);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius);
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--blue-500);
    color: var(--white);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: #273385;
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: 64px;
    justify-content: flex-end;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-col a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .objectives-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .council-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn {
        display: none;
    }

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

    .hero-visual {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid,
    .join-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .objectives-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .objective-num {
        font-size: 36px;
    }

    .council-features {
        grid-template-columns: 1fr;
    }

    .fields-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 40px;
        flex-wrap: wrap;
    }
}

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

    .objectives-grid,
    .fields-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* ===================================
   Contact Section - Card Style
   =================================== */

.contact-simple {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    flex: 0 1 280px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--blue-500);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.contact-card a:hover {
    color: var(--gold);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.contact-card-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--gold) !important;
}

.contact-card-link:hover {
    color: var(--blue-500) !important;
}

.social-links-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links-centered span {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons .social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--blue-700);
    transition: all var(--transition);
}

.social-icons .social-link:hover {
    background: var(--blue-700);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icons .social-link svg {
    width: 22px;
    height: 22px;
}

/* Nav button style */
.btn-nav {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
