/* styles.css */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}
header {
    background: #1e293b;
    color: #1e293b;
    padding: 1px 1px;
    height: 90px;
    animation: slideDown 1s ease-out;
    position: relative;
}
h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 2px;
}
p {
    margin: 1em 0;
    font-size: 1.2em;
}
section {
    padding: 2em 2em;
}
.sakamoto-logo {
    width: 320px; /* Smaller default size */
    max-width: 90%; /* Ensures it doesn't exceed 80% of container width */
    height: auto;
    display: block;
    margin: 0 auto 1em;
}
.logo-img {
    height: 1.5em; /* Adjust height to match text */
    width: auto;
    vertical-align: middle; /* Aligns image with text */
    display: inline; /* Forces image to display inline */
    margin: 0 0.2em; /* Small margin on both sides */
    position: relative;
    top: -0.1em; /* Fine-tune vertical alignment if needed */
}
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}
.service-card {
    background: #ffffff;
    padding: 2em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
}
.service-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1em;
    border-radius: 50%;
    object-fit: cover;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

footer {
    padding: 2em 0;
    background: #1e293b;
    color: white;
}
a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
}
a:hover {
    color: #6366f1;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* CSS for improved list sections */
.feature-section {
    max-width: 1000px;
    margin: 3rem auto;
    text-align: left;
    padding: 0 2rem;
}

.feature-section h2 {
    font-size: 2.5rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    gap: 0.05em;
}

.feature-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #6366f1;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding: 1rem 0 1rem 3rem;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Optional: Add hover effect */
.feature-list li:hover {
    background-color: rgba(99, 102, 241, 0.05);
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Language switcher styles */
.lang-switcher {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 100;
}

.lang-switcher a {
    color: #1e293b;
    margin: 0 5px;
    padding: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-switcher a:hover {
    text-decoration: underline;
    color: #6366f1;
}

.lang-switcher a.active {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-section h2 {
        font-size: 2rem;
    }
    
    .feature-list li {
        font-size: 1.1rem;
        padding-left: 2.5rem;
    }
    
    .lang-switcher {
        top: 10px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .sakamoto-logo {
        width: 220px; /* Even smaller on very small screens */
    }
    
    header {
        padding: 0.8em 0;
    }
    
    .lang-switcher {
        top: 8px;
        right: 10px;
    }
    
    .lang-switcher a {
        font-size: 0.9em;
    }
}