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

:root {
    --background: #0a0a0f;
    --foreground: #ffffff;
    --card: #12121a;
    --primary: #ff9d4d;
    --primary-foreground: #0a0a0f;
    --secondary: #1a2744;
    --secondary-foreground: #ffffff;
    --muted: #1e1e28;
    --muted-foreground: #a1a1aa;
    --accent: #ff9d4d;
    --accent-foreground: #0a0a0f;
    --border: rgba(255, 255, 255, 0.1);
    --input: rgba(255, 255, 255, 0.05);
    --radius: 0.75rem;
    --gradient-navy: linear-gradient(135deg, #0f1729 0%, #1a2744 100%);
    --gradient-gold: linear-gradient(135deg, #ff9d4d 0%, #ffc478 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffc478;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
}

.globe-icon {
    color: var(--primary);
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    background: var(--primary);
    color: #000000;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, #0a0a0f, #1a2744, #0a0a0f);
}

.hero-bg-radial-1 {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 157, 77, 0.1), transparent 50%);
}

.hero-bg-radial-2 {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom left, rgba(26, 39, 68, 0.5), transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 5rem 1.5rem;
}

.profile-image {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #ff9d4d, #ffc478);
    padding: 0.25rem;
    opacity: 1;
}

.profile-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #12121a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.75rem;
    font-weight: 700;
}

.profile-inner-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #ff9d4d, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ff9d4d; /* Fallback */
    opacity: 1;
}

@supports not (-webkit-background-clip: text) {
    .hero-headline {
        color: #ff9d4d;
        -webkit-text-fill-color: initial;
    }
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}

.hero-subheadline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 1;
}

@media (min-width: 768px) {
    .hero-subheadline {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 1;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #ff9d4d, #ffc478);
    border-radius: 9999px;
    font-weight: 500;
    color: #000000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
    opacity: 1;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05) translateY(-0.25rem);
    border-color: rgba(255, 157, 77, 0.5);
}

.stat-card svg {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.75rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.stat-card:hover svg {
    transform: scale(1.1);
}

.stat-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.stat-card:hover p {
    color: #ffffff;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0.625rem);
    }
}

.scroll-dot {
    width: 0.375rem;
    height: 0.375rem;
    background: var(--primary);
    border-radius: 50%;
}

/* Section Styles */
section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 1;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    opacity: 1;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
    opacity: 1;
}

/* About Section */
.about-section {
    background: linear-gradient(to bottom, #0a0a0f, #12121a, #0a0a0f);
}

.about-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0a0a0f, #12121a, #0a0a0f);
}

.about-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
    line-height: 1.75;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@media (min-width: 640px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.highlight-card {
    padding: 1.5rem;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.highlight-card:nth-child(1) { animation-delay: 0.5s; }
.highlight-card:nth-child(2) { animation-delay: 0.6s; }
.highlight-card:nth-child(3) { animation-delay: 0.7s; }
.highlight-card:nth-child(4) { animation-delay: 0.8s; }

.highlight-card:hover {
    transform: translateY(-0.625rem);
    border-color: rgba(255, 157, 77, 0.5);
}

.highlight-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom right, #ff9d4d, #ffc478);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-icon svg {
    color: #000000;
}

.highlight-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.highlight-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.625;
}

/* Expertise Section */
.expertise-section {
    background: #0a0a0f;
}

.expertise-bg {
    position: absolute;
    inset: 0;
    background: #0a0a0f;
}

.expertise-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 157, 77, 0.05), transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ff9d4d, #ffc478);
    border-radius: 1rem;
    opacity: 0;
    filter: blur(1rem);
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-card:hover {
    transform: scale(1.05) translateY(-0.25rem);
    border-color: rgba(255, 157, 77, 0.5);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom right, rgba(255, 157, 77, 0.2), rgba(255, 196, 120, 0.2));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.625;
}

/* Certifications Section */
.certifications-section {
    background: linear-gradient(to bottom, #0a0a0f, #1a2744, #0a0a0f);
}

.certifications-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0a0a0f, #1a2744, #0a0a0f);
}

.certifications-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 157, 77, 0.1), transparent 50%);
}

.highlights-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.highlight-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, rgba(255, 157, 77, 0.2), rgba(255, 196, 120, 0.2));
    border: 1px solid rgba(255, 157, 77, 0.3);
    border-radius: 9999px;
    color: #ffffff;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.highlight-badge:nth-child(1) { animation-delay: 0.3s; }
.highlight-badge:nth-child(2) { animation-delay: 0.4s; }
.highlight-badge:nth-child(3) { animation-delay: 0.5s; }
.highlight-badge:nth-child(4) { animation-delay: 0.6s; }

@media (max-width: 640px) {
    .highlight-badge {
        width: 315px;
    }
}

.highlight-badge svg {
    color: var(--primary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.certificate-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.certificate-view-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(to bottom right, rgba(255, 157, 77, 0.2), rgba(255, 196, 120, 0.2));
    border: 1px solid rgba(255, 157, 77, 0.3);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 10;
}

[dir="rtl"] .certificate-view-icon {
    right: auto;
    left: 1rem;
}

.certificate-card:hover .certificate-view-icon {
    opacity: 1;
    transform: scale(1.1);
    background: linear-gradient(to bottom right, rgba(255, 157, 77, 0.4), rgba(255, 196, 120, 0.4));
    border-color: rgba(255, 157, 77, 0.6);
    box-shadow: 0 0 15px rgba(255, 157, 77, 0.3);
}

.certificate-card:hover {
    transform: translateY(-0.625rem);
    border-color: rgba(255, 157, 77, 0.5);
    box-shadow: 0 10px 40px rgba(255, 157, 77, 0.2);
}

.certificate-icon-bg {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom right, #ff9d4d, #ffc478);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-icon-bg svg {
    color: #000000;
}

.certificate-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.cert-org {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cert-area {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Network Section */
.network-section {
    background: #0a0a0f;
}

.network-bg {
    position: absolute;
    inset: 0;
    background: #0a0a0f;
}

.network-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(255, 157, 77, 0.08), transparent 60%);
}

.network-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .network-highlights {
        grid-template-columns: repeat(4, 1fr);
    }
}

.network-highlight-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.network-highlight-card:hover {
    border-color: rgba(255, 157, 77, 0.5);
}

.network-highlight-card svg {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.network-highlight-card:hover svg {
    transform: scale(1.1);
}

.network-highlight-card p {
    font-size: 0.875rem;
    color: #ffffff;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.event-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: scale(1.02);
}

.event-image {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(to bottom right, #1a2744, #0a0a0f);
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.event-card:hover .event-img {
    transform: scale(1.1);
}

.event-image-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 157, 77, 0.2), transparent 70%);
}

.event-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.3;
}

.event-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8), transparent);
    z-index: 10;
}

.event-caption h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.event-location {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.event-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Personal Brand Section */
.brand-section {
    background: linear-gradient(to bottom, #0a0a0f, #1a2744, #0a0a0f);
}

.brand-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0a0a0f, #1a2744, #0a0a0f);
}

.brand-shape-1 {
    position: absolute;
    top: 5rem;
    right: 5rem;
    width: 16rem;
    height: 16rem;
    background: rgba(255, 157, 77, 0.1);
    border-radius: 50%;
    filter: blur(3rem);
    animation: pulse 8s ease-in-out infinite;
}

.brand-shape-2 {
    position: absolute;
    bottom: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(26, 39, 68, 0.3);
    border-radius: 50%;
    filter: blur(3rem);
    animation: pulse 8s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.quote-box {
    position: relative;
    padding: 3rem;
    margin-bottom: 4rem;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
}

.quote-icon {
    position: absolute;
    color: var(--primary);
    opacity: 0.3;
}

.quote-icon-left {
    top: 1.5rem;
    left: 1.5rem;
}

.quote-icon-right {
    bottom: 1.5rem;
    right: 1.5rem;
    transform: rotate(180deg);
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .quote-text {
        font-size: 1.875rem;
    }
}

.quote-author {
    font-size: 1.125rem;
    color: var(--primary);
    text-align: center;
}

.mission-philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .mission-philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mission-card,
.philosophy-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.mission-card:hover,
.philosophy-card:hover {
    border-color: rgba(255, 157, 77, 0.5);
}

.mission-card h3,
.philosophy-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.mission-card p,
.philosophy-card p {
    color: var(--muted-foreground);
    line-height: 1.75;
}

.social-links-section {
    text-align: center;
}

.social-links-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1) translateY(-0.25rem);
}

.social-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-instagram:hover {
    background: linear-gradient(to right, #833ab4, #fd1d1d);
    border-color: transparent;
}

.social-mail:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Contact Section */
.contact-section {
    background: #0a0a0f;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background: #0a0a0f;
}

.contact-bg-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 157, 77, 0.08), transparent 70%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin-bottom: 1.5rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(to right, #ff9d4d, #ffc478);
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 157, 77, 0.2);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.contact-item:hover {
    transform: translateX(0.625rem);
    border-color: rgba(255, 157, 77, 0.5);
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, rgba(255, 157, 77, 0.2), rgba(255, 196, 120, 0.2));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-item-icon {
    transform: scale(1.1);
}

.contact-item-icon svg {
    color: var(--primary);
}

.contact-item-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.contact-item-value {
    color: #ffffff;
    font-weight: 500;
}

.cta-box {
    padding: 2rem;
    background: linear-gradient(to bottom right, rgba(255, 157, 77, 0.2), rgba(255, 196, 120, 0.1));
    border: 1px solid rgba(255, 157, 77, 0.3);
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.cta-box:hover {
    transform: scale(1.02);
}

.cta-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.cta-box p {
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0a0a0f, #12121a);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, #ffffff, #ff9d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    transform: scale(1.1) translateY(-0.125rem);
    background: var(--primary);
    border-color: var(--primary);
    color: #000000;
}

.footer-navigation h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-navigation ul {
    list-style: none;
}

.footer-navigation li {
    margin-bottom: 0.75rem;
}

.footer-navigation a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-navigation a:hover {
    color: var(--primary);
    transform: translateX(0.25rem);
}

.footer-back-to-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.back-to-top-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(to right, #ff9d4d, #ffc478);
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-top-btn:hover {
    transform: scale(1.05) translateY(-0.125rem);
}

.back-to-top-btn svg {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover svg {
    transform: translateY(-0.25rem);
}

.footer-copyright {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

[dir="rtl"] .language-switcher {
    right: auto;
    left: 1.5rem;
}

[dir="rtl"] .contact-item:hover {
    transform: translateX(-0.625rem);
}

[dir="rtl"] .footer-navigation a:hover {
    transform: translateX(-0.25rem);
}

[dir="rtl"] .footer-back-to-top {
    justify-content: flex-start;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards !important;
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 640px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
}

/* Certificate Popup */
.certificate-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.certificate-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.certificate-popup.active .popup-overlay {
    opacity: 1;
}

.popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.certificate-popup.active .popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, #ff9d4d, #ffc478);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 157, 77, 0.5);
}

.popup-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .popup-content {
        max-width: 80vw;
        max-height: 85vh;
    }
    
    .popup-close {
        top: -4rem;
        right: -4rem;
        width: 3.5rem;
        height: 3.5rem;
    }
}
