* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #34495e;
}

.nav-links a.active {
    background-color: #3498db;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 120px);
}

.footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

/* Homepage specific styles */
.welcome-section {
    text-align: center;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
}

.welcome-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 1rem auto;
    border-radius: 2px;
}

.welcome-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin: 1.5rem 0;
    font-weight: 500;
}

.action-buttons {
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-success {
    background-color: #2ecc71;
    color: white;
}

.features-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-left: 4px solid #3498db;
    text-align: left;
}

.feature-card:nth-child(even) {
    border-left-color: #2ecc71;
}

.feature-card:nth-child(3n) {
    border-left-color: #f39c12;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #3498db;
    border-radius: 1px;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .search-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .verbs-grid {
        grid-template-columns: 1fr;
    }
}

/* Verbs page specific styles */
.verbs-page {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    /* margin-bottom: 3rem; */
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 1rem auto;
    border-radius: 2px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.search-filters {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: bold;
    color: #2c3e50;
}

.search-input,
.filter-select {
    padding: 0.5rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #3498db;
}

.verbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.verb-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-left: 4px solid #3498db;
    position: relative;
    overflow: hidden;
}

.verb-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12);
    opacity: 0;
    transition: opacity 0.3s;
}

.verb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.verb-card:hover::before {
    opacity: 1;
}

.verb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.verb-name {
    color: #2c3e50;
    margin: 0;
    font-size: 1.4rem;
}

.verb-type {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.verb-type-active {
    background-color: #e8f5e8;
    color: #2ecc71;
}

.verb-type-stative {
    background-color: #fef2e8;
    color: #f39c12;
}

.verb-description {
    color: #555;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.verb-examples,
.verb-forms {
    margin-top: 1rem;
}

.verb-examples h4,
.verb-forms h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.verb-examples ul {
    list-style: none;
    padding-left: 0;
}

.verb-examples li {
    background: #f8f9fa;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #3498db;
}

.forms-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.forms-list span {
    background: #f8f9fa;
    padding: 0.3rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.no-verbs {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-verbs h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* About page specific styles */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.about-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3498db;
    margin: 1rem auto;
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #3498db;
}

.about-content section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.about-content section:nth-child(even) {
    border-left-color: #2ecc71;
}

.about-content section:nth-child(3n) {
    border-left-color: #f39c12;
}

.about-content section:nth-child(4n) {
    border-left-color: #e74c3c;
}

.about-content h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3498db;
    border-radius: 1px;
}


.about-content ul {
    list-style: none;
    padding-left: 0;
}


.about-content strong {
    color: #2c3e50;
    font-weight: 600;
}


.about-cta p {
    font-size: 1.1rem;
    margin: 0;
}

.inline-link {
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.2s;
}

.inline-link:hover {
    color: #f1c40f;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
}

@media (max-width: 768px) {
    .about-section {
        padding: 1rem;
    }

    .about-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-content {
        gap: 2rem;
    }

    .about-content section {
        padding: 1.5rem;
    }

    .about-content h2 {
        font-size: 1.4rem;
    }

    .about-cta {
        padding: 2rem;
    }
}