/* ========================================
   GLOBAL STYLES - Prefix: ab-
======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

body.ab-rtl {
    direction: rtl;
    text-align: right;
}

/* Translation Overlay */
.ab-translation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    flex-direction: column;
}

.ab-translation-overlay.active {
    display: flex;
}

.ab-translation-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: abSpin 0.8s linear infinite;
}

@keyframes abSpin {
    to {
        transform: rotate(360deg);
    }
}

.ab-translation-text {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* ========================================
   NAVBAR STYLES - Prefix: ab-
======================================== */

.ab-navbar {
    background: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ab-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.ab-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ab-logo-icon {
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: -2px;
}

.ab-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.ab-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

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

.ab-nav-links li a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.ab-nav-links li a:hover {
    color: #000;
    background-color: #e8e8e8;
}

.ab-lang-dropdown {
    display: flex;
    gap: 0.5rem;
}

.ab-lang-btn {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ab-lang-btn:hover {
    color: #000;
}

.ab-lang-btn.ab-lang-active {
    color: #000;
    font-weight: 500;
    background-color: #f0f0f0;
}

/* ========================================
   HERO SECTION
======================================== */

.ab-hero-section {
    position: relative;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.ab-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ab-hero-content {
    max-width: 800px;
    color: #fff;
}

.ab-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ab-hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.ab-hero-stats {
    display: flex;
    gap: 4rem;
}

.ab-stat-item {
    text-align: left;
}

.ab-stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.ab-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.ab-hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ========================================
   MISSION SECTION
======================================== */

.ab-mission-section {
    padding: 6rem 2rem;
    background: #fff;
}

.ab-mission-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ab-section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e3f2fd;
    color: #4a90e2;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ab-section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.ab-mission-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #666;
}

.ab-mission-image {
    position: relative;
    height: 400px;
}

.ab-gradient-circle {
    position: absolute;
    border-radius: 50%;
}

.ab-circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 0;
    left: 0;
    opacity: 0.3;
    animation: abFloat 6s ease-in-out infinite;
}

.ab-circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: 50px;
    right: 100px;
    opacity: 0.3;
    animation: abFloat 8s ease-in-out infinite;
}

.ab-circle-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 100px;
    right: 0;
    opacity: 0.3;
    animation: abFloat 7s ease-in-out infinite;
}

@keyframes abFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ========================================
   VALUES SECTION
======================================== */

.ab-values-section {
    padding: 6rem 2rem;
    background: #f5f5f5;
}

.ab-values-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ab-value-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.ab-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ab-value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ab-value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.ab-value-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* ========================================
   RESEARCH SECTION
======================================== */

.ab-research-section {
    padding: 6rem 2rem;
    background: #fff;
}

.ab-research-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.ab-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ab-research-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    color: #fff;
    transition: all 0.4s ease;
    cursor: pointer;
}

.ab-research-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.ab-research-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ab-research-desc {
    font-size: 1rem;
    opacity: 0.95;
}

.ab-gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ab-gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.ab-gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.ab-gradient-bg-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.ab-gradient-bg-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.ab-gradient-bg-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* ========================================
   CTA SECTION
======================================== */

.ab-cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: #fff;
}

.ab-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.ab-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.ab-cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.ab-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.ab-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.ab-btn-primary {
    background: #fff;
    color: #667eea;
}

.ab-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ab-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.ab-btn-secondary:hover {
    background: #fff;
    color: #667eea;
}

/* ========================================
   FOOTER STYLES
======================================== */

.ab-footer {
    background: linear-gradient(135deg, #e8f5f0 0%, #a8dcc8 100%);
    padding: 4rem 2rem 2rem;
}

.ab-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 200px;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ab-footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

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

.ab-footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.ab-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ab-footer-column ul li {
    margin-bottom: 0.7rem;
}

.ab-footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.ab-footer-column ul li a:hover {
    color: #000;
}

.ab-footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ab-qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 0.5rem;
}

.ab-qr-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.ab-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.ab-footer-legal {
    display: flex;
    gap: 2rem;
}

.ab-footer-legal a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ab-footer-legal a:hover {
    color: #000;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 992px) {
    .ab-menu-toggle {
        display: flex;
    }

    .ab-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .ab-nav-links.ab-menu-open {
        max-height: 400px;
    }

    .ab-nav-links li {
        border-bottom: 1px solid #f0f0f0;
    }

    .ab-nav-links li a {
        display: block;
        padding: 1rem 2rem;
    }

    .ab-hero-title {
        font-size: 2.5rem;
    }

    .ab-hero-stats {
        gap: 2rem;
    }

    .ab-mission-container {
        grid-template-columns: 1fr;
    }

    .ab-section-title {
        font-size: 2rem;
    }

    .ab-cta-title {
        font-size: 2rem;
    }

    .ab-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ab-footer-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .ab-hero-section {
        padding: 4rem 1.5rem;
    }

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

    .ab-hero-subtitle {
        font-size: 1.1rem;
    }

    .ab-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ab-values-grid,
    .ab-research-grid {
        grid-template-columns: 1fr;
    }

    .ab-footer-links {
        grid-template-columns: 1fr;
    }

    .ab-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


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

.seed-nav-links li a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.seed-nav-links li a:hover {
    color: #000;
    background-color: #e8e8e8;
}

@media (max-width: 992px) {

    .seed-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .seed-nav-links.seed-menu-open {
        max-height: 400px;
    }

    .seed-nav-links li {
        border-bottom: 1px solid #f0f0f0;
    }

    .seed-nav-links li a {
        display: block;
        padding: 1rem 2rem;
    }
}
