* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* ---- Header & Nav ---- */
header {
    background: #2c3e50;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    background: #2c3e50;
    padding: 0 20px;
    max-width: 100%;
    margin: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-left: auto;
}

nav ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 22px;
    transition: background 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

nav ul li a:hover {
    background: #1a252f;
}

/* ---- Language Switcher ---- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 20px;
    padding: 0 10px;
}

.lang-switcher a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 6px;
    transition: color 0.3s;
}

.lang-switcher a:hover {
    color: #ffffff;
}

.lang-switcher .lang-active {
    color: #ffffff;
    border-bottom: 2px solid #e74c3c;
}

.lang-switcher span {
    color: #666;
    font-size: 0.85rem;
}

/* ---- Hero Section ---- */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%);
    color: #ffffff;
    padding: 120px 40px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* ---- Sections ---- */
.section-light {
    background: #ffffff;
    padding: 80px 40px;
}

.section-dark {
    background: #2c3e50;
    color: #ffffff;
    padding: 80px 40px;
}

.section-cta {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: #ffffff;
    padding: 80px 40px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-intro {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.7;
    color: #555;
}

h2 {
    color: #2c3e50;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.section-dark h2,
.section-cta h2 {
    color: #ffffff;
}

/* ---- Services Grid ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    background: #f9f9f9;
    padding: 35px 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #2c3e50;
}

.service-card p {
    line-height: 1.7;
    color: #555;
}

.card-link {
    display: inline-block;
    margin-top: 10px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
}

/* ---- Process Grid ---- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    display: block;
    margin-bottom: 10px;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    line-height: 1.7;
    opacity: 0.85;
}

/* ---- Tech Tags ---- */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    min-width: 100px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.tech-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #2c3e50;
}

/* ---- Footer ---- */
footer {
    background: #1a252f;
    color: #ffffff;
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: var(--accent-email-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ---- General ---- */
p {
    line-height: 1.6;
}

main {
    padding: 20px 40px;
}

/* ---- Contact Form ---- */
.contact-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background: #35424a;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #2c3e50;
}

/* ---- Contact Form Messages ---- */
.form-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

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

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

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

/* central accent for email/link color used in footer and contact pages */
:root {
    --accent-email-color: #007acc; /* adjust this value to match your footer email color exactly */
}

/* contact page links (email / phone / mobile) */
.contact-details .contact-link {
    color: var(--accent-email-color);
    text-decoration: none;
}

/* ---- Privacy Policy Page ---- */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
}

.privacy-content h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 8px;
}

.privacy-content .last-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 40px;
    display: block;
}

.privacy-content h2 {
    text-align: left;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 6px;
}

.privacy-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-content ul {
    list-style: disc;
    padding-left: 24px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-content ul li {
    margin-bottom: 6px;
}

.privacy-content .do-not-list {
    list-style: none;
    padding-left: 0;
}

.privacy-content .do-not-list li::before {
    content: "✗ ";
    color: #e74c3c;
    font-weight: 700;
}

.privacy-content .contact-email {
    color: var(--accent-email-color);
    text-decoration: none;
}

.privacy-content .contact-email:hover {
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    nav {
        flex-direction: column;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 20px;
    }
}