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

:root {
    --primary: #2c5aa0;
    --primary-dark: #1e3f73;
    --primary-light: #4a7bc7;
    --accent: #f39c12;
    --gray-dark: #1a1a1a;
    --gray-light: #f5f7fa;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 40px;
    margin-top: -10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

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

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--primary);
}

.nav-button {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

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

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
    text-align: center;
}

section > .container > p:first-of-type {
    text-align: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
#about {
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-top: 2rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
}

.about-cta p {
    color: var(--text-light);
    margin: 0;
}

.about-cta strong {
    color: var(--primary);
}

.social-links {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary);
}

.social-links h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

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

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon.linkedin {
    background: #0a66c2;
}

.social-icon.linkedin:hover {
    background: #084a9e;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-linkedin {
    background: #0a66c2 !important;
    color: white !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-linkedin:hover {
    background: #084a9e !important;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.service-icon {
    display: block;
    margin-bottom: 1rem;
}

.icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    display: block;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Technologies Section */
#technologies {
    background: var(--gray-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-category h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.tech-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

#contact h2 {
    color: white;
}

#contact > .container > p:first-of-type {
    color: white !important;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    display: block;
    min-width: 30px;
}
.contact-icon .icon {
    width: 28px;
    height: 28px;
    background-color: white;
}
/* differentiate office vs address */
.contact-item:last-child .icon {
    background-color: white;
}

.icon-desktop {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/computer-desktop.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/computer-desktop.svg');
}

.icon-globe {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/globe-alt.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/globe-alt.svg');
}

.icon-cog {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/cog-6-tooth.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/cog-6-tooth.svg');
}

.icon-wrench {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/wrench.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/wrench.svg');
}

.icon-link {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/link.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/link.svg');
}

.icon-chart {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/chart-bar-square.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/chart-bar-square.svg');
}

.icon-bulb {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/light-bulb.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/light-bulb.svg');
}

.icon-phone {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/device-phone-mobile.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/device-phone-mobile.svg');
}

.icon-mail {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/envelope.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/envelope.svg');
}

.icon-office {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/building-office.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/building-office.svg');
}

.icon-map-pin {
    mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/map-pin.svg');
    -webkit-mask-image: url('https://cdn.jsdelivr.net/npm/heroicons@2.0.18/24/outline/map-pin.svg');
}

.contact-item p {
    opacity: 0.95;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.contact-form .btn {
    background: white;
    color: var(--primary);
    padding: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.contact-form .btn:hover {
    background: var(--gray-light);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: var(--gray-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

footer p {
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-link:hover {
    color: var(--primary);
}

.lang-link.active {
    color: var(--primary);
}

.lang-separator {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        padding: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        gap: 2rem;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .nav-button {
        width: 100%;
        text-align: center;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    section h2 {
        font-size: 2rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .btn {
        width: 100%;
        max-width: none;
    }
}
