/* ===== CSS Variables ===== */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #2E4057;
    --accent: #048A81;
    --light: #F8F9FA;
    --dark: #1A1A2E;
    --gray: #6C757D;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--secondary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    padding: 8px 16px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.lang-toggle:hover {
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #FFF5F0 0%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-left: 10%;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(247, 147, 30, 0.3) 100%);
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(4, 138, 129, 0.3) 0%, rgba(46, 64, 87, 0.3) 100%);
    top: 50%;
    right: 30%;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(4, 138, 129, 0.2) 100%);
    top: 30%;
    right: 40%;
    animation-delay: 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    opacity: 0.4;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== Features Section ===== */
.features {
    padding: 100px 20px;
    background: var(--white);
}

.features h2,
.services-preview h2,
.stats h2,
.cta h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 100px 20px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 20px;
    background: var(--gradient);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 20px;
    background: var(--secondary);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col p {
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== Page Header ===== */
.page-header {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, #2E4057 0%, #1A1A2E 100%);
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Page ===== */
.about-intro {
    padding: 100px 20px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-image {
    background: var(--gradient);
    border-radius: var(--radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

.values-section {
    padding: 100px 20px;
    background: var(--light);
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
}

.team-section {
    padding: 100px 20px;
    background: var(--white);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--gray);
    font-size: 0.95rem;
}


/* ===== Services Page ===== */
.services-full {
    padding: 100px 20px;
    background: var(--white);
}

.services-full h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-list {
    display: grid;
    gap: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    padding: 40px;
    background: var(--light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.service-item .icon {
    font-size: 4rem;
    text-align: center;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-item p {
    color: var(--gray);
    margin-bottom: 15px;
}

.service-item ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-item ul li {
    background: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary);
    border: 1px solid #E9ECEF;
}

.process-section {
    padding: 100px 20px;
    background: var(--light);
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Portfolio Page ===== */
.portfolio-section {
    padding: 100px 20px;
    background: var(--white);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    height: 250px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--secondary);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 100px 20px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
}

.info-item .icon {
    font-size: 2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--gray);
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.map-section {
    padding: 0;
    height: 400px;
}

#map {
    width: 100%;
    height: 100%;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 80px 20px;
    background: var(--white);
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.legal-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--secondary);
}

.legal-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 15px 0 15px 30px;
    list-style: disc;
}

.legal-content ul li {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-content .last-updated {
    background: var(--light);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: var(--secondary);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        margin-left: 5%;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}