* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    width: 340px;
    height: 80px;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 5px;
    padding: 5px;
    background: var(--bg-light);
    border-radius: 5px;
}

.lang-btn {
    padding: 5px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero.custom-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q 25 40, 50 50 T 100 50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero.custom-cover .hero-overlay {
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.6;
}

.hero-values {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-contact span {
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #1565c0);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about {
    background: var(--white);
    padding: 80px 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-feature {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-icon svg {
    transition: transform 0.3s ease;
}

.about-feature:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-bottom: 50px;
}

.service-category {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 60px 0 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1565c0);
    border-radius: 2px;
}

.service-category:first-of-type {
    margin-top: 0;
}

.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1565c0);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), #1565c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* References Section */
.references {
    background: var(--bg-light);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.reference-item {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.reference-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reference-item:hover img {
    transform: scale(1.05);
}

.reference-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reference-item:hover .reference-overlay {
    opacity: 1;
}

.reference-info {
    text-align: center;
    color: var(--white);
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.reference-item:hover .reference-info {
    transform: translateY(0);
}

.reference-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.reference-info p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
}

.reference-info .view-text {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.reference-item:hover .view-text {
    background: #ff8c5a;
}

.reference-overlay span {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Gallery Preview Section */
.gallery-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-preview-item {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-preview-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

.gallery-preview-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-preview-item:hover img {
    transform: scale(1.08);
}

.gallery-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-preview-item:hover .gallery-preview-overlay {
    opacity: 1;
}

.gallery-preview-overlay h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.gallery-preview-overlay span {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.gallery-preview-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gallery-preview-actions {
    text-align: center;
    margin-top: 40px;
}

/* Topics Section */
.topics {
    padding: 80px 0;
    background: #e8e9ed;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.topic-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.topic-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    position: relative;
}

.topic-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff9800;
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-badge.internal {
    background: #ff9800;
}

.topic-badge.work {
    background: #ffb300;
}

.topic-badge.news {
    background: var(--primary-color);
}

.topic-content {
    padding: 25px;
}

.topic-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 50px;
}

.topic-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.topic-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.topic-date {
    color: #999;
    font-size: 0.85rem;
}

.topic-read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.topic-card:hover .topic-read-more {
    gap: 10px;
}

.topic-read-more::after {
    content: '→';
    font-size: 1.2rem;
}

.topics-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-back {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-back:hover {
    background: #003a6b;
}

/* FAQ Section */
.faq {
    background: var(--white);
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255,107,53,0.1);
}

.faq-question {
    padding: 25px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    position: relative;
}

.faq-question::before {
    content: 'Q';
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 15px;
}

.faq-question {
    padding-left: 80px;
}

.faq-question:hover {
    background: rgba(255,107,53,0.05);
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s;
    min-width: 30px;
    text-align: center;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px 0 80px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer.active {
    padding: 0 30px 25px 80px;
    max-height: 500px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal.active {
    display: block;
}

.modal-content {
    background: var(--white);
    margin: 50px auto;
    padding: 40px;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 220px;
        height: auto;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 5px 0;
    }
    
    .hero {
        min-height: 600px;
        padding: 80px 20px 60px;
        background-size: cover;
        background-position: center;
    }
    
    .hero.custom-cover {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-values {
        font-size: 0.95rem;
    }
    
    .hero-contact {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-strengths {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-category {
        font-size: 1.5rem;
        margin: 30px 0 20px;
    }
    
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .reference-item {
        height: 220px;
    }
    
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-preview-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
        height: 200px;
    }
    
    .gallery-preview-item {
        height: 150px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .faq-question {
        padding: 20px 20px 20px 65px;
        font-size: 1rem;
    }

    .faq-question::before {
        left: 20px;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .faq-answer {
        padding: 0 20px 0 65px;
        font-size: 0.95rem;
    }

    .faq-answer.active {
        padding: 0 20px 20px 65px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .logo {
        width: 180px;
    }
    
    .hero {
        min-height: 500px;
        background-size: cover;
        background-position: center;
    }
    
    .hero.custom-cover {
        background-size: cover;
        background-position: center center;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .strength-item {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .reference-item {
        height: 250px;
    }
    
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-preview-item:first-child {
        grid-column: span 1;
        height: 180px;
    }
    
    .gallery-preview-item {
        height: 180px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
