html {
  scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden; /* prevents horizontal scroll */
}


.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 80vh;
    padding: 60px 8%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

/* LEFT */
.hero-left {
    flex: 1;
    min-width: 320px;
}

.headline {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    margin-top: 20px;
    font-size: 18px;
    color: #cbd5e1;
    max-width: 500px;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: #3b82f6;
    padding: 14px 28px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.btn-secondary {
    border: 2px solid #3b82f6;
    padding: 14px 28px;
    border-radius: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}


.hero-right {
    flex: 1;
    min-width: 320px;
    display: flex;
    justify-content: center;
}

.hero-right img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
}




.feature-tracker {
    padding: 80px 8%;
    background: #f8fafc;
}

.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-text {
    flex: 1;
    min-width: 280px;
}

.feature-text h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

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

.btn-first {
    background: #0f172a;
    color: white;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
}

.feature-image {
    flex: 1;
    min-width: 280px;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
}



.career-hero {
    padding: 80px 8%;
    background: white;
}

.career-hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.career-hero-image {
    flex: 1;
    min-width: 280px;
}

.career-hero-image img {
    width: 100%;
    border-radius: 12px;
}

.career-hero-content {
    flex: 1;
    min-width: 280px;
}

.career-logo {
    font-size: 28px;
    font-weight: 800;
    color: #243b5a;
    margin-bottom: 10px;
}

.career-logo span {
    color: #4a90e2;
}

.career-hero-content h2 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #243b5a;
}

.career-hero-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.career-btn {
    display: inline-block;
    background: #243b5a;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
}

.career-btn:hover {
    background: #4a90e2;
}


.explore-section {
    background: #0f172a;
    padding: 80px 8%;
    color: white;
}

.explore-heading {
    font-size: 34px;
    margin-bottom: 40px;
}

/* CARD CONTAINER */
.explore-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;   /* prevents overflow */
}

/* CARD */
.explore-card {
    flex: 1;
    min-width: 280px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.explore-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.explore-card h3 {
    margin-top: 16px;
    font-size: 20px;
}

.explore-card p {
    margin-top: 8px;
    color: #cbd5e1;
    line-height: 1.5;
}

.explore-card:hover {
    transform: translateY(-6px);
}



@media (max-width: 768px) {

    .headline {
        font-size: 34px;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .career-hero-content h2 {
        font-size: 26px;
    }
}