/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #70ad47;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #efefee;
    --dark-gray: #90908f;
    --max-width: 1200px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

/* Global Typography */
h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--black);
    text-align: left;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container > h2, .contact-info {
    text-align: center;
}

section {
    padding: 80px 0;
    margin-top: var(--header-height);
}

section:first-of-type {
    margin-top: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    min-height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: height 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
}

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

.language-switch {
    display: flex;
    gap: 10px;
}

.language-switch button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    color: var(--dark-gray);
    transition: color 0.3s;
}

.language-switch button.active {
    color: var(--primary-color);
    font-weight: bold;
}

/* Banner Section */
.banner {
    width: 100%;
    min-height: 100vh;
    padding: 100px 0;
    color: var(--white);
    position: relative;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/boardBackground.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
    filter: brightness(120%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
}

.banner-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.banner-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
}

.banner-image {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.banner-image:hover {
    transform: translateY(-10px) scale(1.02);
}

.banner-right {
    flex: 2;
}

.banner h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light-gray);
}

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

.topic-box {
    background-color: var(--primary-color);
    backdrop-filter: blur(8px);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.topic-box:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(110%);
}

.topic-box h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.topic-box p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.project-link {
    text-decoration: none;
    color: var(--black);
    display: block;
}

.project-card img,
.placeholder-logo {
    width: 100%;
    height: 150px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.project-card img {
    object-fit: contain;
}

.placeholder-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.placeholder-logo span {
    font-size: 1.5rem;
    color: var(--dark-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-link:hover img {
    transform: scale(1.05);
}

.website-link {
    display: block;
    color: var(--primary-color);
    margin-top: 10px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.project-link:hover .website-link {
    color: var(--dark-gray);
}

/* Development Section */
.development-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.dev-text {
    padding-right: 20px;
}

.dev-text h3 {
    margin-bottom: 20px;
    color: var(--black);
}

.skills-list {
    list-style: none;
    margin-top: 20px;
}

.skills-list li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.skills-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.dev-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dev-image img:hover {
    transform: translateY(-5px);
}

/* Consulting Section */
.consulting {
    background-color: var(--light-gray);
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Testimonial Styles */
.testimonial {
    grid-column: 1 / -1;
    overflow: hidden;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.company-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.testimonial blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--black);
    margin: 20px 0;
    font-style: italic;
    position: relative;
    padding: 0 30px;
}

.testimonial blockquote::before,
.testimonial blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial blockquote::before {
    left: 0;
    top: -20px;
}

.testimonial blockquote::after {
    right: 0;
    bottom: -40px;
}

.testimonial-author {
    margin-top: 30px;
    color: var(--dark-gray);
}

.author-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.author-company {
    margin-bottom: 5px;
}

.author-info {
    font-size: 0.9rem;
    margin-top: 40px;
}

.consulting-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.consulting-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.consulting-card h3,
.consulting-card p {
    padding: 20px;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legal-content-wrapper {
    position: relative;
}

.legal-content h1 {
    color: var(--black);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--black);
}

.contact-details {
    background: var(--light-gray);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.contact-details p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin: 20px;
    padding: 10px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--black);
    transform: translateX(-5px);
}

.back-link::before {
    content: "←";
    margin-right: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-3px);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: var(--dark-gray);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .development-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dev-text {
        padding-right: 0;
    }

    .dev-image {
        order: -1;
    }
}
