body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #d3d3d7;
}

main {
    margin: 0;
    padding: 0;
}

.hero {
    background-image: url("../images/header.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    height: 450px;
    padding: 60px;
    position: relative;
}

.hero-webdev {
    background-color: #02735E;
    height: 350px;
    padding: 60px;
    color: white;
    position: relative;
    background-image: none;
}

.hero-webdev .top-bar {
    width: 100%;
    position: absolute;
    top: 15px;
    left: 15px;
}

.hero-webdev nav {
    text-align: center;
}

.hero-webdev nav a {
    color: white;
    text-decoration: none;
    margin-left: 40px;
    font-size: 14px;
}

.top-bar {
    width: 100%;
    position: absolute;
    top: 15px;
    left: 15px;
}

.plane {
    float: left;
    font-size: 26px;
    color: white;
}

.hero nav {
    text-align: center;
}

.hero nav a {
    color: white;
    text-decoration: none;
    margin-left: 40px;
    font-size: 14px;
}

.hero nav a:hover {
    text-decoration: underline;
}

.hero-text {
    margin-top: 80px;
    max-width: 620px;
}

.hero-text h1 {
    font-family: Times, serif;
    font-size: 45px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.hero-text h2 {
    font-family: Georgia, serif;
    font-size: 27px;
    font-style: italic;
    margin: 0 0 12px;
}

.hero-text p {
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.blog-button {
    display: inline-block;
    background-color: #02735E;
    color: white;
    padding: 15px 40px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.blog-button:hover {
    background-color: #025a4a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-webdev h1 {
    font-family: Georgia, serif;
}

.hero-webdev h2 {
    font-family: Arial, Helvetica, sans-serif;
}

.hero-webdev p {
    font-family: Arial, Helvetica, sans-serif;
}

.mood-section {
    background-color: #7EADBF;
    padding: 10px 40px 40px 40px;
    text-align: center;
}

.mood-section h2 {
    display: inline-block;
    background-color: #7b5aa8;
    color: white;
    padding: 10px 60px;
    margin: 0 0 30px;
    font-size: 30px;
    letter-spacing: 1px;
    font-family: Times, serif;
}

.mood-row {
    max-width: 1200px;
    margin: 10px auto 0;
    text-align: center;
}

.mood-card {
    display: inline-block;
    width: 230px;
    margin: 0 20px 30px;
    background-color: white;
    border-radius: 4px;
    vertical-align: top;
}

.mood-card img {
    width: 100%;
    height: 235px;
    display: block;
}

.mood-card h3 {
    font-size: 16px;
    margin: 12px 0 16px;
    font-family: Georgia, serif;
}

.dest-section {
    background-color: #cfcfd2;
    padding: 30px 40px 40px 40px;
    text-align: center;
}

.dest-section h2 {
    display: inline-block;
    background-color: #7b5aa8;
    color: white;
    padding: 10px 70px;
    margin: 0;
    font-size: 30px;
    letter-spacing: 1px;
    font-family: Times, serif;
}

.dest-row {
    max-width: 1100px;
    margin: 40px auto 10px;
    text-align: center;
}

.dest-card {
    display: inline-block;
    width: 310px;
    margin: 0 20px 20px;
    background-color: white;
    border-radius: 4px;
    vertical-align: top;
}

.dest-card img {
    width: 100%;
    height: 300px;
    display: block;
}

.dest-card h3 {
    font-size: 18px;
    margin: 12px 0 16px;
    font-family: Georgia, serif;
}

.dest-text {
    margin-top: 10px;
    font-size: 16px;
}

.see-more {
    margin: 0 0 15px;
}

.see-more a {
    color: #02735E;
    text-decoration: none;
    font-weight: bold;
}

.see-more a:hover {
    text-decoration: underline;
}

ul {
    list-style-position: inside;
    padding-left: 0;
    margin: 10px 0;
    text-align: left;
}

.blog-section {
    background-color: #7EADBF;
    padding: 30px 40px 40px 40px;
    text-align: center;
}

.blog-section h2 {
    display: inline-block;
    background-color: #7b5aa8;
    color: white;
    padding: 10px 60px;
    margin: 0 0 30px;
    font-size: 30px;
    letter-spacing: 1px;
    font-family: Times, serif;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    justify-content: center;
}

.blog-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    text-align: left;
    box-sizing: border-box;
}

.blog-card h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    margin: 0 0 10px;
    color: #333;
}

.blog-date {
    color: #7b5aa8;
    font-size: 14px;
    margin: 0 0 10px;
}

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

.about-section {
    background-color: #cfcfd2;
    padding: 30px 40px 40px 40px;
    text-align: center;
}

.about-section h2 {
    display: inline-block;
    background-color: #7b5aa8;
    color: white;
    padding: 10px 70px;
    margin: 0 0 20px;
    font-size: 30px;
    letter-spacing: 1px;
    font-family: Times, serif;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-section {
    background-color: #cfcfd2;
    padding: 40px;
    text-align: center;
}

.contact-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: left;
}

.contact-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.form-group textarea {
    resize: vertical;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #02735E;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #025a4a;
}

.error {
    color: red;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
}

.terms-section {
    background-color: #cfcfd2;
    padding: 30px 40px 40px 40px;
}

.terms-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.terms-column {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-sizing: border-box;
}

.terms-column h2 {
    background-color: #7b5aa8;
    color: white;
    padding: 10px 20px;
    font-size: 22px;
    font-family: Times, serif;
    margin: 0 0 20px;
    text-align: center;
}

.terms-column h3 {
    color: #02735E;
    font-size: 16px;
    margin: 15px 0 10px;
}

.terms-column p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    text-align: left;
}

footer {
    background-color: #295787;
    color: white;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 20px;
    gap: 30px;
    justify-content: center;
    text-align: left;
}

.footer-nav,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-content h4 {
    color: #7EADBF;
    margin: 0 0 10px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 5px;
}

.footer-nav ul li a {
    color: white;
    text-decoration: none;
}

.footer-nav ul li a:hover {
    text-decoration: underline;
}

.footer-social p {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4a7ab0;
    padding-top: 15px;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #7EADBF;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        padding: 40px 20px;
    }

    .hero-webdev {
        height: auto;
        padding: 40px 20px;
    }

    .hero-text {
        margin-top: 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero nav a,
    .hero-webdev nav a {
        margin-left: 15px;
        font-size: 12px;
    }

    .mood-section h2,
    .dest-section h2,
    .blog-section h2,
    .about-section h2 {
        padding: 10px 30px;
        font-size: 24px;
    }

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

    .blog-card {
        max-width: 100%;
        width: 100%;
    }

    .terms-container {
        flex-direction: column;
    }

    .terms-column {
        flex: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav,
    .footer-social {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .mood-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 20px;
        display: block;
    }

    .dest-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
        display: block;
    }

    .mood-section,
    .dest-section,
    .blog-section,
    .about-section,
    .terms-section,
    .contact-section {
        padding: 20px;
    }

    .contact-container {
        padding: 20px;
    }
}
