:root {
    --primary-dark: #291720;
    --coral: #FE938C;
    --sage: #9CAFB7;
    --blue: #4281A4;
    --yellow: #E6C027;
    --white: #ffffff;
    --text-light: #f8f9fa;
    --text-dark: #2c3e50;
    --shadow: rgba(41, 23, 32, 0.1);
    --shadow-strong: rgba(41, 23, 32, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.navbar {
    background-color: var(--primary-dark);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--yellow);
}

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

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

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--yellow);
}

.language-toggle {
    margin: 0;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--sage);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.lang-btn:hover {
    background-color: var(--sage);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 175, 183, 0.3);
}

.lang-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.lang-btn:hover .lang-icon {
    transform: rotate(15deg);
}

.lang-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23E6C027" opacity="0.1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.title-line {
    display: block;
    font-size: 1.5rem;
    color: var(--sage);
    opacity: 0;
    animation: slideInLeft 1s ease 0.5s forwards;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, var(--yellow), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: slideInLeft 1s ease 1s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--sage);
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInLeft 1s ease 1.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: slideInUp 1s ease 2s forwards;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-strong);
}

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

.btn-secondary:hover {
    background-color: var(--sage);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

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

.hero-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.floating-circle,
.floating-rect,
.floating-path {
    animation: float 6s ease-in-out infinite;
}

.floating-circle.delayed {
    animation-delay: -2s;
}

.floating-circle.slow {
    animation: float 8s ease-in-out infinite;
    animation-delay: -4s;
}

.floating-rect {
    animation-delay: -1s;
}

.floating-path {
    animation-delay: -3s;
}

/* Sections */
.about,
.contact {
    padding: 100px 0;
}

.about {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--yellow));
    margin: 0 auto;
    border-radius: 2px;
}

.about-intro {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-dark);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-strong);
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-dark);
}

.form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(66, 129, 164, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
}

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

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

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

.footer-logo .logo-icon {
    width: 30px;
    height: 30px;
}

.footer-logo .logo-text {
    color: var(--yellow);
    font-size: 1.2rem;
}

.footer-text {
    color: var(--sage);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .language-toggle {
        margin: 15px 0;
        display: flex;
        justify-content: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature {
        padding: 20px;
    }
    
    .form {
        padding: 20px 15px;
    }
}

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

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