:root {
    --primary-color: #2c3e50;
    --secondary-color: #6c757d;
    --background-light: #f5f5f5;
    --text-dark: #333;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --white: #ffffff;
    --content-max-width: 1200px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center; /* Center the navigation */
    align-items: center;
}

header .container {
    display: flex;
    justify-content: center; /* Center the navigation */
    align-items: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

nav ul li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

.content {
    padding: 2rem 0;
    flex: 1;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    margin-bottom: 2rem;
    width: 100%;
}

.hero-title {
    color: var(--white);
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-left: 1rem;
    color: var(--white);
}

.about, .services, .experience, .service-details, .experience-details, .differentiation {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.about-content, .experience-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-box {
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
    gap: 1rem;
}

.hero-logo {
    max-width: 300px;
    height: auto;
}

.services-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.services-logo {
    width: 400px;
    height: 300px;
    border: 5px solid var(--primary-color);
    border-radius: 15px;
}

.experience-logo {
    max-width: 170px; /* Smaller size for experience.html */
    height: auto;
    border: 5px solid var(--primary-color);
    border-radius: 15px;
}

.image-note {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.text-content {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

h1, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    margin-top: 0;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    margin-top: auto;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center; /* Center the navigation */
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    nav ul li {
        margin-bottom: 0.5rem;
    }

    .content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .about-content, .experience-content, .services-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .logo-box {
        margin-bottom: 1rem;
        margin-right: 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-logo {
        max-width: 200px;
    }

    .services-logo {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    .experience-logo {
        max-width: 100px; /* Smaller size for smaller screens */
    }
}
