/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: white;
    position: relative;
}

.logo {
    width: 150px;
}

.logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.logo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2c3e50 0%, #3498db 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo h2:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation styles */
nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

/* Common section styles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
}

/* Common card styles */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Common text styles */
h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
}

p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Common link styles */
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #3498db;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.card:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

/* Common container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Common image styles */
img {
    max-width: 100%;
    height: auto;
}

/* Common button styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2980b9;
} 