* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: rgb(245, 245, 245); 
    color: #333;
}

header {
    background: lavender;
    color: rgb(12, 12, 12);
    padding: 20px 0;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 150px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: rgb(16, 16, 16);
    text-decoration: none;
    margin-left: 20px;
    padding: 10px;
    transition: background 0.3s, color 0.3s;
    font-weight: bold;
}

nav a:hover {
    background: lavender;
    border-radius: 5px;
    color: #007bff; 
}

.search-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-bar {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
}

.search-button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 166, 0, 0.9);
    color: white;
    cursor: pointer;
    margin-left: 5px;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #ff8c00;
}

.typewriter {
    overflow: hidden;
    border-right: 0.15em solid orange;
    white-space: nowrap;
    margin: 20px auto;
    letter-spacing: 0.15em;
    animation: typing 4s steps(30, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
    font-size: 1.2rem;
    color: #444;
}

blockquote {
    margin: 0;
    font-size: 20px;
    font-style: italic;
    color: #555;
    text-align: center;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: rgb(27, 26, 26);
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    padding: 20px;
}

.card {
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #444;
}

.card a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #0056b3;
}

.section-h2 {
    text-align: center;
    margin: 20px;
    font-size: 1.8rem;
    color: #333;
}

.italic {
    text-align: center;
    font-style: italic;
    color: #666;
}

.testimonials {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 400px;
    text-align: left;
}

.testimonial p {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.testimonial h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: bold;
    text-align: right;
}

.social-media {
    padding: 10px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}

.social-media a {
    color: #333;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #007bff;
}

.footer {
    background-color: lavender;
    color: black;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.footer p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

