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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero {
    background-image: url('img/banner.png');
    background-size: cover;
    background-position: center;
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Overlay to improve text readability if needed, though image seems dark enough */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-family: "Times New Roman", Times, serif; /* Serif font for title */
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: #2196F3; /* Blue button color */
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1976D2;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.feature-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.feature-header {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align top */
    margin-bottom: 20px;
    position: relative;
}

.feature-number {
    font-family: "Times New Roman", Times, serif;
    font-size: 6rem;
    color: #4A90E2; /* Light blue number */
    line-height: 1;
    opacity: 0.8;
    margin-right: 10px;
}

.feature-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
    padding-top: 15px; /* Adjust to align with number */
    color: #333;
}

.feature-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    max-width: 300px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background-color: #9E9E9E; /* Grey background matching the design */
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    display: flex;
    max-width: 1000px;
    width: 90%;
    background-color: #fff; /* White content box? Actually the image is separate */
    /* The design shows the image on left and white box on right, overlapping or adjacent.
       Let's adjust. The background is grey. The content is a centered layout. */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Re-evaluating the Contact Layout based on image */
/* It looks like the section background is grey.
   There is a container in the middle.
   Left half is the image.
   Right half is a white box with text.
*/

.contact-container {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    box-shadow: none;
    align-items: center;
}

.contact-image {
    flex: 1;
    height: 500px; /* Fixed height for consistency */
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info {
    flex: 1;
    background-color: #fff;
    padding: 60px;
    height: 400px; /* Slightly shorter than image? Or same? Let's make it centered vertically or overlapping */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Right align text as per design visual hierarchy often */
    /* Wait, looking at the reference image:
       The text is right aligned or center?
       "Hyper Chase Technology Limited" title.
       Address blocks.
       It looks right-aligned or centered in the white box.
       Let's stick to standard left or right. Based on "16/F...", looks right aligned in the white box.
    */
    text-align: right;
    margin-left: -50px; /* Overlap effect if desired, but let's keep it simple first */
    margin-left: 0;
}

.contact-info h3 {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #333;
}

.contact-info address {
    font-style: normal;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.contact-info .email {
    font-size: 0.9rem;
}

.contact-info .email a {
    text-decoration: underline;
    color: #333;
}

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

    .feature-number {
        font-size: 4rem;
    }

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

    .contact-image {
        width: 100%;
        height: 300px;
    }

    .contact-info {
        width: 100%;
        text-align: center;
        align-items: center;
        height: auto;
    }
}
