/* General Styles */
:root {
    --primary-color: #1a2b3c;
    --secondary-color: #1e88e5;
    --accent-color: #ff6b6b;
    --light-color: #f6f6f6;
    --dark-color: #121212;
    --text-color: #333;
    --text-light: #fff;
    --gray-light: #f6f6f6;
    --gray: #e0e0e0;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Fixed width for logo */
.logo {
    display: flex;
    align-items: center;
    width: 200px; /* Fixed width */
}

.logo img {
    height: 40px;
    width: auto;
}

/* Fixed width for language selector */
.language-selector {
    display: flex;
    gap: 10px;
    width: 200px; /* Fixed width */
    justify-content: center;
}

.lang-option {
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
    border-radius: 4px;
    overflow: hidden;
}

.lang-option:hover, .lang-option.active {
    opacity: 1;
    transform: scale(1.1);
}

.lang-option img {
    width: 24px;
    height: auto;
    border-radius: 3px;
    display: block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Fixed width for navigation */
nav {
    width: 200px; /* Fixed width */
}

nav ul {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

nav ul li {
    width: 100px; /* Fixed width for each menu item */
    text-align: center;
}

/* Navigation links set to white color */
nav ul li a {
    display: block;
    color: #ffffff; /* White color */
    font-weight: 500;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent text wrapping */
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #ffffff; /* Keep white on hover too */
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #1a2b3c, #1e88e5);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: var(--text-light);
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.05)" width="50" height="50" x="0" y="0"></rect><rect fill="rgba(255,255,255,0.05)" width="50" height="50" x="50" y="50"></rect></svg>');
    opacity: 0.3;
}

#hero h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.cta-button:hover::after {
    transform: translateX(0);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Services Section - Stacked vertically, full-width layout */
.services {
    background-color: var(--gray-light);
}

/* Service items full width and stacked */
.service-item {
    display: flex;
    margin-bottom: 40px;
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray);
    width: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
    min-width: 100px;
    font-size: 2rem;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.service-content ul li {
    margin-bottom: 10px;
    position: relative;
}

.service-content p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background-color: #fff;
    padding: 30px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-item {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.social-link {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.social-link i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-form {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    grid-column: span 3;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.submit-btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: #0d6efd;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    #hero h2 {
        font-size: 2.8rem;
    }
    
    .contact-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Reset fixed widths on mobile */
    .logo, .language-selector, nav, nav ul li {
        width: auto;
    }
    
    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    #hero {
        height: 80vh;
        padding-top: 120px;
    }
    
    #hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-item {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .service-icon {
        min-height: 80px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    header {
        padding: 10px 0;
    }
    
    .language-selector {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 25px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Form response styles */
.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-response.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    opacity: 1;
}

.form-response.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid #F44336;
    opacity: 1;
}