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

:root {
    /* Hackers Academy Brand Colors */
    --primary-green: #00C389;
    --primary-dark: #007d5a;
    --secondary-gray: #F7F7F7;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--white);
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--gradient);
    color: var(--white);
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.partnership-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-gray) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.profile-section {
    text-align: center;
}

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid var(--primary-green);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 195, 137, 0.3);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 195, 137, 0.4);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.credentials {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.credential {
    background: var(--gradient);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.personalized-message {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-green);
}

.message-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.message-content p {
    margin-bottom: 20px;
}

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

/* Trainer Section */
.trainer-section {
    padding: 80px 0;
    background: var(--white);
}

.trainer-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.trainer-image-container {
    text-align: center;
}

.trainer-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-green);
    object-fit: cover;
    object-position: center top;
    transition: all 0.3s ease;
}

.trainer-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 195, 137, 0.3);
}

.trainer-name {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.trainer-title {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 20px;
}

.trainer-credentials {
    list-style: none;
}

.trainer-credentials li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: var(--secondary-gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-weight: 700;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.course-card.featured {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, var(--white) 0%, #f0fcf8 100%);
}

.course-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.course-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.course-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duration, .level {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.duration {
    background: rgba(0, 195, 137, 0.1);
    color: var(--primary-green);
}

.level {
    background: var(--secondary-gray);
    color: var(--text-dark);
}

.course-dates {
    margin-top: 15px;
    padding: 8px 15px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

/* Promotion Section */
.promotion-section {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--white);
}

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

.promotion-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.promotion-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.promotion-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.promotion-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.promotion-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.promotion-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.promotion-step p {
    font-size: 0.95rem;
    opacity: 0.9;
}



.promotion-example {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promotion-example h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.promotion-example p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Social Proof Section */
.social-proof-section {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.logos-slider {
    margin-top: 40px;
    overflow: hidden;
}

.logos-track {
    display: flex;
    animation: slide 20s linear infinite;
    align-items: center;
}

.company-logo {
    height: 60px;
    width: auto;
    margin: 0 40px;
    opacity: 0.9;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.company-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gradient);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 195, 137, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 195, 137, 0.4);
}

.cta-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--secondary-gray);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-divider {
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.6;
}

.footer-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-contact {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* RTL Support */
html[dir="rtl"] {
    font-family: 'Nunito', 'Arial', sans-serif;
}

html[dir="rtl"] .hero-content {
    grid-template-columns: 2fr 1fr;
}

html[dir="rtl"] .trainer-content {
    grid-template-columns: 1fr 200px;
}

html[dir="rtl"] .promotion-visual {
    direction: rtl;
}

html[dir="rtl"] .course-badge {
    right: auto;
    left: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    html[dir="rtl"] .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .trainer-content,
    html[dir="rtl"] .trainer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .promotion-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .personalized-message {
        padding: 25px;
    }
    
    .course-card {
        margin: 0 10px;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .partnership-text {
        font-size: 14px;
    }
    
    .logos-track {
        animation-duration: 15s;
    }
    
    .company-logo {
        height: 45px;
        margin: 0 25px;
    }
}

@media (max-width: 480px) {
    .profile-name {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .promotion-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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