/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-image: url('images/pier-sunset.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

/* Offer Section */
.offer {
    padding: 60px 20px;
    background-color: #fff;
}

.offer h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 1px;
}

.offer ul {
    list-style: disc;
    padding-left: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.offer li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
}

/* Partner Section */
.partner {
    position: relative;
    height: 400px;
    background-image: url('images/handshake.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.partner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.partner h2 {
    font-size: 2.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

/* Buy Box Section */
.buybox {
    padding: 60px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.buybox h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 1px;
}

.buybox-list {
    list-style: disc;
    padding-left: 40px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.buybox-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #555;
}

.buybox-list .sub-list {
    list-style: circle;
    padding-left: 25px;
    margin-top: 10px;
}

.buybox-list .sub-list li {
    margin-bottom: 8px;
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.about .quote {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    font-size: 1rem;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-image {
    flex-shrink: 0;
    width: 200px;
    text-align: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.about-image .image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
}

.about-image .image-caption a {
    color: #166aea;
    text-decoration: none;
}

.about-image .image-caption a:hover {
    text-decoration: underline;
}

/* Education Section */
.education {
    padding: 60px 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.education h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

.education-item {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.education-left {
    flex-shrink: 0;
    width: 280px;
}

.education-left .year {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
}

.education-left .degree {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 4px;
}

.education-left .school {
    font-size: 0.95rem;
    color: #555;
}

.education-right {
    flex: 1;
}

.education-right p {
    color: #555;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 30px 20px;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #eee;
}

footer p {
    color: #888;
    font-size: 0.85rem;
}

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

    .partner h2 {
        font-size: 1.6rem;
    }

    .about-content {
        flex-direction: column-reverse;
    }

    .about-image {
        width: 150px;
        margin: 0 auto 20px;
    }

    .education-item {
        flex-direction: column;
        gap: 20px;
    }

    .education-left {
        width: 100%;
    }
}
