/* Reset and Base Styles */
:root {
    --primary-color: #80ED20;
    --primary-hover: #6BCF00;
    --text-primary: #333;
    --text-secondary: #6c757d;
    --text-heading: #2c3e50;
    --text-light: #555;
    --border-color: #f0f0f0;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --footer-bg: #1a252f;
    --footer-border: #34495e;
    --white: #ffffff;
    --light-gray: #bdc3c7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans', sans-serif;
    line-height: 1.4;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-heading);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo {
    height: 150px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(128, 237, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(128, 237, 32, 0.03) 0%, transparent 50%);
    background-size: 100% 100%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-greeting {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordFadeInUp 0.8s ease-out forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.2s; }
.hero-title .word:nth-child(2) { animation-delay: 0.3s; }
.hero-title .word:nth-child(3) { animation-delay: 0.4s; }
.hero-title .word:nth-child(4) { animation-delay: 0.5s; }
.hero-title .word:nth-child(5) { animation-delay: 0.6s; }
.hero-title .word:nth-child(6) { animation-delay: 0.7s; }
.hero-title .word:nth-child(7) { animation-delay: 0.8s; }
.hero-title .word:nth-child(8) { animation-delay: 0.9s; }
.hero-title .word:nth-child(9) { animation-delay: 1.0s; }
.hero-title .word:nth-child(10) { animation-delay: 1.1s; }
.hero-title .word:nth-child(11) { animation-delay: 1.2s; }
.hero-title .word:nth-child(12) { animation-delay: 1.3s; }
.hero-title .word:nth-child(n+13) { animation-delay: 1.4s; }

@keyframes wordFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-services {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-services-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.hero-services-list {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.hero-link:hover {
    color: var(--primary-hover);
}

.hero-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.btn {
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-heading);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(128, 237, 32, 0.2);
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 237, 32, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 50px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(128, 237, 32, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 15px;
}

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

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Core Value Propositions Section */
.value-propositions {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(128, 237, 32, 0.15);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 15px;
    line-height: 1.3;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Global Media Partners Section */
.partners {
    padding: 100px 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 15px;
}

.partner-logo:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(128, 237, 32, 0.1);
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.8);
    transition: all 0.3s ease;
    display: block;
}

.partner-logo:hover .partner-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-name {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--white);
}

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

.contact .section-subtitle {
    color: var(--light-gray);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 1rem;
    width: 30px;
    height: 30px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--light-gray);
    font-size: 1.1rem;
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 40px 0 20px;
}

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

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

.footer .logo {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-left: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
    color: var(--light-gray);
}

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 40px;
    }

    .hero-content {
        max-width: 900px;
    }

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

    .hero-description {
        font-size: 1.5rem;
        max-width: 800px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        padding: 0 30px;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-description {
        font-size: 1.3rem;
        max-width: 100%;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .services-grid,
    .case-studies-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .partner-logo {
        height: 70px;
        padding: 12px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding-bottom: 80px; /* Extra space for language switcher */
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .case-study-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .case-study-image {
        width: 100%;
        min-width: auto;
        height: 150px;
    }
    
    .case-study-content {
        padding: 25px 20px;
    }
    
    .case-study-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .metric {
        padding: 20px 15px;
        min-height: 90px;
    }
    
    .metric-number {
        font-size: 1.8rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
}

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

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

    .hero-description {
        font-size: 1.15rem;
    }

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

    .hero-services-label {
        font-size: 0.85rem;
    }

    .hero-services-list {
        font-size: 0.9rem;
    }

    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

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

    .service-card,
    .case-study-card,
    .testimonial-card {
        margin: 0 10px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .value-card {
        padding: 25px 20px;
    }

    .value-title {
        font-size: 1.1rem;
    }

    .partner-logo {
        height: 60px;
        padding: 10px;
    }

    .footer {
        padding-bottom: 70px; /* Extra space for language switcher on small screens */
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Language switcher - Fixed Bottom Right */
.lang-switch {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
}

.lang-current {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lang-current:hover {
    background: var(--bg-light);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.lang-list {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    margin-bottom: 0;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    list-style: none;
    padding: 6px 0;
    min-width: 120px;
}

.lang-list li {
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.lang-list li:hover {
    background: #f5f7fa;
}

/* Mobile adjustments for language switcher */
@media (max-width: 768px) {
    .lang-switch {
        bottom: 16px;
        right: 16px;
    }
    
    .lang-current {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .lang-list {
        min-width: 110px;
        bottom: calc(100% + 6px);
    }
    
    .lang-list li {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lang-switch {
        bottom: 12px;
        right: 12px;
    }
    
    .lang-current {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .lang-list {
        min-width: 100px;
        bottom: calc(100% + 6px);
    }
    
    .lang-list li {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* RTL helpers */
[dir="rtl"] body {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    flex-direction: row;
    margin-right: 0;
    margin-left: 0;
}

[dir="rtl"] .lang-switch {
    right: auto;
    left: 20px;
}

@media (max-width: 768px) {
    [dir="rtl"] .lang-switch {
        left: 16px;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .lang-switch {
        left: 12px;
    }
}

[dir="rtl"] .lang-list {
    right: auto;
    left: 0;
}

[dir="rtl"] .service-features li {
    padding-left: 0;
    padding-right: 25px;
}

[dir="rtl"] .service-features li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .value-card::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .partners-grid {
    direction: ltr; /* keep logos in natural order */
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-link::after {
    left: auto;
    right: 0;
}
