@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
	--primary-blue: #30608a;
	--secondary-blue: rgb(11, 83, 146);
	--primary-green: #22b500;
	--dark-blue: #005f8c;
	--white: #ffffff;
	--light-gray: #f9f9f9;
	--medium-gray: #e8e8e8;
	--dark-gray: #333333;
	--text-gray: #555555;
	--footer-bg: #1a2d3d;
	--footer-bg-light: #223a4d;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Arial, sans-serif;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	background-color: var(--white);
	color: var(--text-gray);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Accessibility - focus states */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
	outline: 2px solid var(--primary-blue);
	outline-offset: 3px;
	border-radius: 2px;
}

.container {
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 15px;
}

.btn {
	display: inline-block;
	padding: 14px 32px;
	background-color: var(--primary-green);
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 14px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn:hover {
	background-color: var(--primary-blue);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 128, 191, 0.2);
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: white;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.233);
	transition: all 0.3s ease;
}

header.scrolled {
	padding: 10px 0;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary-blue);
	text-decoration: none;
	display: flex;
	align-items: center;
}

.logo img {
	height: 50px;
	margin-right: 10px;
}

nav {
	display: flex;
	align-items: center;
}

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

nav ul li {
	margin-left: 2.5rem;
	cursor: pointer;
}

nav ul li a {
	color: var(--dark-gray);
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	transition: color 0.3s;
	position: relative;
}

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

nav ul li a:not(.languagetoggle)::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: var(--primary-blue);
	transition: width 0.3s;
}

nav ul li a:hover::after {
	width: 100%;
}

nav ul li a.nav-login {
	color: var(--white);
	background-color: var(--primary-blue);
	padding: 8px 18px;
	border-radius: 5px;
	font-weight: 600;
	font-size: 14px;
	transition: background-color 0.3s, color 0.3s;
	text-decoration: none;
}

nav ul li a.nav-login:hover {
	background-color: var(--secondary-blue);
	color: var(--white);
}

nav ul li a.nav-login::after {
	display: none;
}

nav ul li a.nav-login i {
	margin-right: 5px;
}

nav ul li .languagetoggle {
	color: black;
	border: #333333 1px solid;
	border-radius: 5px;
	padding: 5px 10px;
	text-decoration: none;
	font-weight: 500;
	font-size: 16px;
	transition: color 0.3s;
	position: relative;
}

nav ul li .languagetoggle:hover {
	background-color: rgba(27, 27, 27, 0.181);
	color: black;
}

.mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-blue);
	cursor: pointer;
	margin-left: auto;
	order: 2;
}

.hero {
	height: 80vh;
	display: flex;
	align-items: center;
	position: relative;
	background-color: var(--light-gray);
	overflow: hidden;
	margin-top: 90px;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin-left: 5%;
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: var(--dark-gray);
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2.5rem;
	color: var(--text-gray);
	max-width: 550px;
}

.accent-text {
	color: var(--primary-blue);
}

.accent-text-green {
	color: var(--primary-green);
}

.hero-image {
	position: absolute;
	right: 5%;
	top: 0;
	height: 100%;
	width: 50%;
	clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%);
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-shape {
	position: absolute;
	bottom: -100px;
	right: -100px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background-color: rgba(51, 176, 102, 0.05);
	z-index: 1;
}

.hero-shape-2 {
	position: absolute;
	top: -100px;
	left: -100px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background-color: rgba(0, 128, 191, 0.05);
	z-index: 1;
}

.section {
	padding: 70px 0;
	position: relative;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1.5rem;
	color: var(--dark-gray);
}

.section-subtitle {
	font-size: 1.1rem;
	text-align: center;
	margin-bottom: 4rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    perspective: 1000px;
    background: none;
    min-height: 350px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.card-front {
    transform: rotateY(0deg);
}

.card-back {
    transform: rotateY(180deg);
    padding: 20px;
    padding-bottom: 20px; 
    overflow-y: auto;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}


.service-text-container {
    height: 80px;
    overflow: hidden;
    margin-bottom: 15px;
}

.service-text {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.service-button-container {
    margin-top: auto;
}


.service-text-full {
    color: #666;
    line-height: 1.6;
    margin-bottom: auto; 
    flex: 1; 
}
.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    cursor: pointer;
}

.service-link:hover {
    color: #0056b3;
}

.back-button {
    color: var(--primary-blue);
    margin-top: auto; 
    flex-shrink: 0; 
    text-align: center; 
    padding: 10px 0;
    background: white; 
    border-top: 1px solid #f0f0f0; 
}

.back-button:hover {
    color: #0056b3;
}
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        min-height: 300px;
    }
}




.about-section {
	background-color: var(--light-gray);
	position: relative;
	overflow: hidden;
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-image {
	position: relative;
	border-radius: 10px;
	border: none;
	overflow: hidden;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
	width: 100%;
	display: block;
}

.about-image::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 1;
	opacity: 0.3;
}

.about-content h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--dark-gray);
}

.about-content p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.stat-item {
	text-align: center;
	background-color: white;
	padding: 25px 15px;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--primary-blue);
}

.stat-text {
	font-size: 0.9rem;
	color: var(--text-gray);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.testimonial-section {
	background-color: white;
	position: relative;
}

.testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 25px;
}

.testimonial-card {
	background-color: var(--light-gray);
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	position: relative;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
	position: relative;
	padding-top: 30px;
}

.testimonial-text::before {
	content: '\201C';
	position: absolute;
	top: -10px;
	left: -5px;
	font-size: 5rem;
	color: var(--primary-green);
	opacity: 0.2;
	font-family: serif;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
}

.testimonial-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-name {
	font-weight: 600;
	color: var(--dark-gray);
	margin-bottom: 5px;
}

.testimonial-position {
	font-size: 0.9rem;
	color: var(--text-gray);
}

.contact-section {
	background-color: var(--light-gray);
	position: relative;
	overflow: hidden;
	text-align: center;
}

.contact-section h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: var(--dark-gray);
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
}

.contact-card {
	background: white;
	border-radius: 10px;
	padding: 40px 25px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.3s ease;
}

.contact-card:hover {
	transform: translateY(-5px);
}

.contact-card i {
	font-size: 2rem;
	color: var(--primary-blue);
	margin-bottom: 15px;
}

.contact-card h3 {
	font-size: 1.1rem;
	color: var(--dark-gray);
	margin-bottom: 10px;
}

.contact-card span,
.contact-card a {
	color: var(--text-gray);
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.contact-cards {
		grid-template-columns: 1fr;
	}
}

/* Footer - removed duplicate, see bottom of file */

.flag-icon {
    display: inline-block;
    width: 24px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.flag-pl {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 480"><path fill="%23fff" d="M0 0h640v240H0z"/><path fill="%23dc143c" d="M0 240h640v240H0z"/></svg>');
}

.flag-gb {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><clipPath id="a"><path d="M0 0v30h60V0z"/></clipPath><clipPath id="b"><path d="M30 15h30v15zv15H0zH0V0zV0h30z"/></clipPath><g clip-path="url(%23a)"><path d="M0 0v30h60V0z" fill="%23012169"/><path d="M0 0l60 30m0-30L0 30" stroke="%23fff" stroke-width="6"/><path d="M0 0l60 30m0-30L0 30" clip-path="url(%23b)" stroke="%23C8102E" stroke-width="4"/><path d="M30 0v30M0 15h60" stroke="%23fff" stroke-width="10"/><path d="M30 0v30M0 15h60" stroke="%23C8102E" stroke-width="6"/></g></svg>');
}
.languagetoggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate {
	opacity: 0;
	animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
	animation-delay: 0.2s;
}

.delay-2 {
	animation-delay: 0.4s;
}

.delay-3 {
	animation-delay: 0.6s;
}

.delay-4 {
	animation-delay: 0.8s;
}

@media (max-width: 1200px) {
	.hero h1 {
		font-size: 3rem;
	}
	
	.services {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1192px) {
	.mobile-toggle {
		display: block;
	}
	
	nav ul {
		position: fixed;
		top: 90px;
		left: 0;
		width: 100%;
		background-color: white;
		flex-direction: column;
		align-items: center;
		padding: 20px 0;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		transform: translateY(-150%);
		transition: transform 0.3s ease;
		z-index: 999;
	}
	
	nav ul.active {
		transform: translateY(0);
	}
	
	nav ul li {
		margin: 15px 0;
	}
	
	.hero-image {
		clip-path: none;
		opacity: 0.2;
		width: 100%;
		height: 90%;
	}
	
	.hero-content {
		margin: 0 auto;
		text-align: center;
	}
	
	.about-container {
		grid-template-columns: 1fr;
	}
	
	.footer-container {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.hero {
		height: auto;
		min-height: 60vh;
		padding: 40px 0;
	}

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

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

	.section {
		padding: 50px 0;
	}

	.section-title {
		font-size: 2rem;
	}

	.section-subtitle {
		font-size: 1rem;
		margin-bottom: 2rem;
	}

	.services, .testimonials {
		grid-template-columns: 1fr;
	}

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

	.about-content h2 {
		font-size: 1.8rem;
	}

	.contact-section h2 {
		font-size: 2rem;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}
}

.hidden-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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


.career-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.career-cta {
    max-width: 600px;
    margin: 50px auto 0;
    background: #fff;
    border-radius: 10px;
    padding: 50px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.career-cta-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.career-cta-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.career-cta-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.career-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.career-email-btn:hover {
    background: var(--dark-blue);
}

@media (max-width: 768px) {
    .career-cta {
        padding: 30px 20px;
    }
}




.contact-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--footer-bg) 0%, var(--footer-bg-light) 100%);
    color: white;
    padding: 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-about h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links ul li a,
.footer-links ul li span {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

@media (max-width: 1192px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 40px 0 30px;
    }
}