/*
 * Sameem v4 — Public Marketing Site Premium Styles
 */

:root {
    --primary-color: #473184;
    --secondary-color: #696969;
    --gray-color: #808080;
    --dark-color: #000;
    --light-color: #fff;
    --accent-yellow: #F7CB01;
}

html {
    scroll-behavior: smooth;
}

body.public-body {
    background-color: #fff;
    color: var(--gray-color);
    overflow-x: hidden;
    font-family: 'Tajawal', sans-serif;
}

/* ============================================
   NAVBAR
   ============================================ */
.glass-nav {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
}

.glass-nav.scrolled {
    background: var(--light-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.nav-link-custom {
    font-weight: 700;
    color: var(--light-color);
    transition: color 0.3s;
}

.glass-nav.scrolled .nav-link-custom {
    color: var(--secondary-color);
}

.glass-nav.scrolled .nav-link-custom:hover {
    color: var(--primary-color);
}

.lang-btn {
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    color: var(--light-color);
    transition: all 0.3s;
}
.glass-nav.scrolled .lang-btn {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    padding: 200px 0 120px 0;
    background: url('https://newtest.sameem.net/storage/home-slider/1746734911sd.jpg') no-repeat center center / cover;
    color: var(--light-color);
    text-align: right;
    min-height: 85vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(71, 49, 132, 0.85), rgba(71, 49, 132, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.hero-form-wrap {
    flex: 1 1 35%;
    min-width: 300px;
    max-width: 420px;
}

.hero-pretitle {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    color: var(--accent-yellow);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: var(--light-color);
}

.hero-title .highlight {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Hero Login Box */
.hero-login-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.hero-login-box h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hero-login-box .subtitle {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-login-box label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-login-box input[type="email"],
.hero-login-box input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.hero-login-box input::placeholder {
    color: rgba(255,255,255,0.5);
}

.hero-login-box input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(247, 203, 1, 0.3);
}

.hero-login-box .btn-login {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #F7CB01, #e5b800);
    color: #1e293b;
    font-weight: 900;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.hero-login-box .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 203, 1, 0.4);
}

.hero-login-box .register-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--accent-yellow);
    font-weight: 700;
    transition: color 0.2s;
}

.hero-login-box .register-link:hover {
    color: #ffe066;
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom:hover {
    background-color: #38256b;
    color: var(--light-color);
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary-custom:hover {
    background-color: #555555;
    color: var(--light-color);
    transform: translateY(-2px);
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-heading p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.section-heading .underline-bar {
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
    margin: 0 auto;
}

/* ============================================
   ABOUT CARDS (لماذا / لمن / ماهي)
   ============================================ */
.about-section {
    padding: 5rem 0;
    background: #fff;
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.about-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}

.about-card:hover .icon-wrap {
    color: #fff !important;
}

.about-card:nth-child(1) .icon-wrap { background: #f3e8ff; color: #9333ea; }
.about-card:nth-child(1):hover .icon-wrap { background: #9333ea; }
.about-card:nth-child(2) .icon-wrap { background: #d1fae5; color: #059669; }
.about-card:nth-child(2):hover .icon-wrap { background: #059669; }
.about-card:nth-child(3) .icon-wrap { background: #dbeafe; color: #2563eb; }
.about-card:nth-child(3):hover .icon-wrap { background: #2563eb; }

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   WHY SAMEEM FEATURES GRID
   ============================================ */
.why-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.feature-card .icon-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(71, 49, 132, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.feature-card:hover .icon-circle {
    background: var(--primary-color);
    color: #fff;
}

.feature-card h4 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.feature-card p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS (3 STEPS)
   ============================================ */
.steps-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.steps-section::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 400px; height: 400px;
    background: rgba(247, 203, 1, 0.08);
    border-radius: 50%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-item .step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-yellow);
    backdrop-filter: blur(4px);
}

.step-item:nth-child(2) .step-icon {
    box-shadow: 0 0 30px rgba(247, 203, 1, 0.3);
}

.step-item h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: rgba(255,255,255,0.6);
}

/* ============================================
   PARTNERS / CLIENTS (عملاء صميم)
   ============================================ */
.partners-section {
    padding: 4rem 0;
    background: #fff;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.5s;
}

.partners-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partners-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s, filter 0.3s;
    background: transparent;
    border-radius: 8px;
    padding: 10px;
}

.partners-logos img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

/* ============================================
   TESTIMONIALS (آراء العملاء)
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    position: relative;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: #e2e8f0;
}

.testimonial-card blockquote {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.testimonial-card:nth-child(1) .author-avatar { background: #f3e8ff; color: #9333ea; }
.testimonial-card:nth-child(2) .author-avatar { background: #d1fae5; color: #059669; }
.testimonial-card:nth-child(3) .author-avatar { background: #dbeafe; color: #2563eb; }

.testimonial-card .author h4 {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.testimonial-card .author span {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ============================================
   PRICING PACKAGES
   ============================================ */
.pricing-section {
    padding: 5rem 0;
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.price-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.price-card:hover {
    border-color: var(--primary-color);
}

.price-card.featured {
    background: var(--primary-color);
    border: 2px solid var(--accent-yellow);
    color: #fff;
    transform: translateY(-16px);
    box-shadow: 0 20px 40px rgba(71, 49, 132, 0.3);
    position: relative;
}

.price-card.featured .popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-yellow);
    color: #1e293b;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.price-card.featured h3 {
    color: #fff;
}

.price-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-amount .period {
    font-size: 0.875rem;
    font-weight: 400;
    color: #94a3b8;
}

.price-card.featured .price-amount {
    color: var(--accent-yellow);
}

.price-card.featured .price-amount .period {
    color: rgba(255,255,255,0.6);
}

.price-savings {
    display: inline-block;
    background: #d1fae5;
    color: #059669;
    font-size: 0.8rem;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.price-card.featured .price-savings {
    background: rgba(5, 150, 105, 0.3);
    color: #6ee7b7;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
}

.price-card.featured .price-features li {
    color: rgba(255,255,255,0.85);
}

.price-features li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

.price-card.featured .price-features li i {
    color: var(--accent-yellow);
}

.price-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.price-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.price-card.featured .price-btn {
    background: var(--accent-yellow);
    color: #1e293b;
    border-color: var(--accent-yellow);
}

.price-card.featured .price-btn:hover {
    background: #e5b800;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.contact-wrapper {
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}

.contact-info {
    flex: 0 0 40%;
    background: var(--primary-color);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 200px; height: 200px;
    background: rgba(247, 203, 1, 0.1);
    border-radius: 50%;
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.contact-info p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.contact-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.contact-social a:hover {
    background: var(--accent-yellow);
    color: var(--primary-color);
}

.contact-form {
    flex: 0 0 60%;
    padding: 3rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.3s;
    color: #1e293b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(71, 49, 132, 0.1);
    background: #fff;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-send {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.contact-form .btn-send:hover {
    background: #38256b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(71, 49, 132, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.public-footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.public-footer h4 {
    color: var(--accent-yellow);
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-yellow);
}

.footer-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('https://newtest.sameem.net/assets/images/footer_pattern.svg') repeat-x bottom left;
    opacity: 0.2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-card.featured {
        transform: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-row {
        flex-direction: column;
    }
    .hero-form-wrap {
        max-width: 100%;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-info, .contact-form {
        flex: none;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
