body.homepage .main-content {
  margin: 0;
  padding: 0;
}
.homepage-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.hero-container {
    width: 100%;
    padding-left: 40px;
    padding-right: 0;
}

.hero-section {
    position: relative;
    max-height: 1000px;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background-image: url('/images/hero-banners.jpg');
    background-size: cover;
    background-position: 70% center;
}

.hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    
    clip-path: polygon(0 0, 85% 0, 60% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    color: white;
    text-align: left;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 22px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.95;
}

.btn-login {
    display: inline-block;
    background: white;
    color: #1f5ea8;
    padding: 12px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn-login:hover {
    background: #f1f1f1;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 80px;
}

.feature-card {
    position: relative;
    padding: 32px 26px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e7eef7;
    box-shadow: 0 10px 30px rgba(15, 60, 115, 0.08);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1f5ea8, #5d9cec);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15, 60, 115, 0.14);
    border-color: #d8e6f7;
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f5ea8, #0f3c73);
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 10px 20px rgba(31, 94, 168, 0.22);
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 700;
    color: #163a63;
}

.feature-card p {
    margin: 0;
    color: #5d6b7a;
    line-height: 1.7;
    font-size: 15px;
}

.homepage-footer {
    margin-top: 80px;
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* Tablet */
@media (max-width: 992px) {
    .homepage-container {
        padding: 0 18px 50px;
    }

    .hero-container {
        padding-left: 28px;
    }

    .features-section {
        grid-template-columns: 1fr 1fr;
    }

    .hero-section {
        height: 360px;
        background-position: center;
    }

    .hero-overlay {
        width: 55%;
    }

    .hero-content {
        max-width: 430px;
    }

    .hero-content h1 {
        font-size: 56px;
    }

    .hero-content p {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .homepage-container {
        padding: 0 15px 40px;
    }

    .hero-container {
        padding-left: 16px;
        padding-right: 0;
    }

    .hero-section {
        height: 320px;
        background-position: center;
    }

    .hero-overlay {
        width: 68%;
        clip-path: polygon(0 0, 82% 0, 62% 100%, 0% 100%);
    }

    .hero-content {
        max-width: 300px;
    }

    .hero-content h1 {
        font-size: 50px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 19px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .btn-login {
        padding: 12px 20px;
        font-size: 15px;
    }

    .features-section {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 40px;
    }

    .feature-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 19px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .homepage-footer {
        margin-top: 40px;
        font-size: 13px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-container {
        padding-left: 12px;
    }

    .hero-section {
        height: 290px;
        background-position: center;
    }

    .hero-overlay {
        width: 75%;
    }

    .hero-content {
        max-width: 240px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn-login {
        font-size: 14px;
        padding: 10px 18px;
    }
}