/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Header and Navigation */
.header {
    background: #333;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.language-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.lang-btn.active {
    background: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f0f0f0; /* Fallback background */
}

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

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg-image.active {
    opacity: 1 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    color: white;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: white;
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: transparent;
    color: white;
}

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

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.main-image:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #333;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #333;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.contact-icon svg {
    transition: all 0.3s ease;
}

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

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #666;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
}

/* Contact Decoration */
.contact-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 2px solid #f0f0f0;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.decoration-line {
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f0f0f0, transparent);
    animation: slide 8s ease-in-out infinite;
}

.decoration-dots {
    position: absolute;
    top: 60%;
    right: 15%;
    display: flex;
    gap: 8px;
}

.decoration-dots span {
    width: 8px;
    height: 8px;
    background: #f0f0f0;
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.decoration-dots span:nth-child(2) {
    animation-delay: 0.5s;
}

.decoration-dots span:nth-child(3) {
    animation-delay: 1s;
}

/* Decoration Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

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

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

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .logo h1 {
        font-size: 0.9rem;
    }
    
    .lang-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .hero-content h2 {
        font-size: 2.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about h2 {
        font-size: 1.5rem;
    }
    .timeline-content h3 {
        font-size: 1rem;
    }
    .timeline-content p {
        font-size: 0.95rem;
    }
    .cta-button {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin-left: 3rem;
        margin-right: 0;
    }
    
    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 0.8rem;
    }
    
    .lang-btn {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    .about h2 {
        font-size: 1.1rem;
    }
    .timeline {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    .timeline::before {
        left: 20px;
        width: 2px;
        top: 0;
        bottom: 0;
        height: 100%;
        transform: none;
    }
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 2rem;
        padding-left: 40px;
        position: relative;
    }
    .timeline-year {
        min-width: 60px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
        margin-left: -40px;
        text-align: left;
    }
    .timeline-content {
        margin: 0;
        padding: 1rem;
        border-radius: 10px;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }
    .timeline-content h3 {
        font-size: 0.9rem;
    }
    .timeline-content p {
        font-size: 0.85rem;
    }
    .cta-button {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .contact-item {
        padding: 0.8rem;
        gap: 0.7rem;
    }
    .contact-icon {
        min-width: 32px;
        height: 32px;
    }
    .contact-item h3 {
        font-size: 0.95rem;
    }
    .contact-item a,
    .contact-item p {
        font-size: 0.9rem;
    }
}

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

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

.service-card,
.timeline-item,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
} 