/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header */
.header {
    background-color: #da0f0d;
    color: #ffffff;
    padding: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    width: auto;
    height: 40px; /* Set height to match text size, auto width to maintain aspect ratio */
    margin-right: 15px;
    object-fit: contain; /* Ensure the image scales down properly */
}

.header h1 {
    margin: 0;
    font-size: 1.8rem; /* Approximately 29px */
    line-height: 40px; /* Match logo height */
}

/* Social Nav */
.social-nav {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #da0f0d;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-btn:hover {
    background-color: #ff6b6b;
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
    animation: fadeIn 2s ease-in-out;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #da0f0d;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.1rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f8f8;
    animation: fadeIn 2.5s ease-in-out;
}

.services-section h2 {
    font-size: 2.5rem;
    color: #da0f0d;
    margin-bottom: 40px;
}

.service-block {
    margin: 20px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.service-block h3 {
    font-size: 1.8rem;
    color: #da0f0d;
    margin-bottom: 15px;
}

.service-block p {
    font-size: 1rem;
    color: #555555;
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
    background-color: #da0f0d;
    color: #ffffff;
    animation: fadeIn 3s ease-in-out;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .about-section h2,
    .services-section h2 {
        font-size: 2rem;
    }

    .service-block h3 {
        font-size: 1.5rem;
    }

    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-nav {
        justify-content: flex-start;
        margin-top: 15px;
    }
}
