:root {
    --primary-color: #0066cc;
    --secondary-color: #00d4ff;
    --dark-color: #0a1f3f;
    --light-color: #f5f7fa;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #00d084;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Accessibility helpers */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus,
.skip-link:active {
    position: static;
    left: auto;
    top: 10px;
    width: auto;
    height: auto;
    padding: 10px 15px;
    background: white;
    color: var(--dark-color);
    z-index: 2000;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

:focus { outline: none; }
:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ensure comfortable touch targets */
.nav-link, .hamburger, .cta-button, .cta-button-secondary, .submit-btn, .scroll-to-top {
    min-height: 48px;
    min-width: 48px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0s !important;
        transition-duration: 0s !important;
    }
}

/* prevent background scrolling when overlays/menus are open */
body.no-scroll {
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--secondary-color);
    }
    50% {
        box-shadow: 0 0 20px var(--secondary-color);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--dark-color);
    animation: fadeInUp 0.8s ease;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.navbar {
    background: rgb(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
    min-height: 100px;
    max-height: 200px;
} 

.nav-container {
    max-width: 1200px;
    max-height: 100px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInLeft 0.6s ease;
}

.nav-brand i {
    font-size: 1.8rem;
}
.nav-brand .logo,
.nav-brand img {
    height: 60px;
    width: auto;
    max-width: 220px;
    display: block;
    border-radius: 4px;
    transition: transform 0.15s ease;
} 

@media (max-width: 768px) {
    .nav-brand .logo,
    .nav-brand img {
        height: 36px;
        max-width: 160px;
    }
    .navbar { min-height: 64px; }
} 

.nav-logo-link {
    display: inline-block;
    line-height: 0;
}

.nav-logo-link:focus,
.nav-logo-link:hover {
    transform: translateY(-2px);
} 

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    animation: slideInRight 0.6s ease;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    min-height: 50px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

.hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a3a5c 100%);
    color: white;
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="20" r="1.5" fill="white" opacity="0.1"/><circle cx="20" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 102, 204, 0.1), rgba(0, 212, 255, 0.1));
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0099ff 100%);
    color: white;
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s both;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099ff 0%, var(--secondary-color) 100%);
}

.cta-button:active {
    transform: translateY(-1px);
}

.services {
    padding: 100px 20px;
    background: var(--light-color);
}

.services .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start; /* ensure cards start at same baseline */
} 

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px; /* equal height cards */
    overflow: hidden;
    border: 1px solid var(--border-color);
} 

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-icon {
    font-size: 3.2rem; /* larger, more prominent */
    color: var(--primary-color);
    margin-bottom: 18px;
    transition: var(--transition);
    line-height: 1;
} 

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 8px;
    flex-grow: 1; /* helps cards keep equal height */
} 

.features {
    padding: 100px 20px;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.feature {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }

.feature:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    box-shadow: var(--shadow);
}

.feature-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    right: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature p {
    color: var(--text-light);
    line-height: 1.8;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.cta-button-secondary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.2s both;
    border: 2px solid white;
}

.cta-button-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section p:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-link:hover,
.privacy-link:hover {
    color: white;
    text-decoration: underline;
}

.privacy-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        gap: 0;
        animation: slideDown 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 15px 10px;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
        min-height: 44px;
        min-width: 44px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 80px 20px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        font-weight: 800;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
        min-height: auto;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .cta-section p {
        font-size: 1.05rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .cta-button-secondary {
        padding: 16px 40px;
        font-size: 1rem;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero {
        padding: 120px 20px;
        min-height: 500px;
    }

    .services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 30px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .contact-content {
        gap: 40px;
    }

    .contact-header h1 {
        font-size: 1.8rem;
    }

    .vacancy-header {
        flex-direction: row;
    }

    .vacancy-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1025px) {
    .hero {
        padding: 150px 20px;
        min-height: 600px;
    }

    .services .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .vacancy-card:hover {
        transform: translateY(-5px);
    }
}


@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .services .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 50px 15px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .cta-button-secondary {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .footer-content {
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .contact-header h1 {
        font-size: 1.4rem;
    }

    .contact-header p {
        font-size: 0.9rem;
    }

    .info-item {
        margin-bottom: 15px;
        padding: 15px;
    }

    .info-item h4 {
        font-size: 1rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px;
        padding: 10px;
    }

    .vacatures-header h1 {
        font-size: 1.5rem;
    }

    .vacancy-title-section h3 {
        font-size: 1.1rem;
    }

    .vacancy-meta span {
        font-size: 0.8rem;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.popup-overlay.show {
    display: flex;
    animation: fadeInUp 0.4s ease;
}

.popup-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.4s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--primary-color);
}

.popup-body {
    text-align: center;
}

.popup-body h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.popup-body p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(3, 242, 255, 0.4);
}

@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .popup-body h3 {
        font-size: 1.2rem;
    }

    .popup-body p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .popup-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .nav-brand .logo,
    .nav-brand img {
        height: 64px;
        max-width: 220px;
    }

    .nav-brand span { display: none; }

    .navbar { min-height: 64px; }
}

.footer-section ul a {
    transition: color 0.3s ease;
    color: var(--text-light);
}

.footer-section ul a:hover {
    color: var(--primary-color) !important;
}
