/* =========================
   HERO.CSS – FULLY RESPONSIVE
   "KHEM" white, "IT" green, social icons centered
========================= */

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #0a1f1a;
    overflow: hidden;
    margin-top: 0;
}

/* Container: fluid vertical centering, responsive padding */
.hero .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);   /* fluid horizontal padding */
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Hero main content */
.hero-content {
    text-align: center;
    width: 100%;
}

/* Heading: "KHEM" white, "IT" green – fluid size */
.hero-text h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 800;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

.hero-text .khem {
    color: #ffffff;
}

.hero-text .it {
    color: #4ade80;
}

/* Subheading: fluid, max-width 90% on small screens */
.hero-text h3 {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: #d1e0d6;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
    padding: 0 1rem;
}

/* Buttons: scale padding and font size on mobile */
.hero-buttons {
    display: flex;
    gap: clamp(15px, 3vw, 25px);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: clamp(10px, 2vh, 14px) clamp(20px, 4vw, 32px);
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #c084fc;
    color: #0a1f1a;
    border: 2px solid #c084fc;
    box-shadow: 0 0 8px rgba(192, 132, 252, 0.3);
}

.btn-primary:hover {
    background: #a855f7;
    border-color: #a855f7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4ade80;
    border: 2px solid #4ade80;
}

.btn-secondary:hover {
    background: rgba(74, 222, 128, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.2);
}

/* Social icons: fluid gap and size */
.hero-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: clamp(20px, 5vw, 30px);
    margin-top: clamp(30px, 5vh, 50px);
    width: 100%;
}

.hero-social a {
    color: #4ade80;
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-social a:hover {
    color: #c084fc;
    transform: translateY(-3px) scale(1.1);
}

/* ========== ADDITIONAL SAFEGUARDS ========== */

/* Small screens (≤ 480px): slightly tighter spacing */
@media (max-width: 480px) {
    .hero-text h3 {
        margin-bottom: 1.2rem;
    }
    .hero-social {
        margin-top: 25px;
    }
}

/* Very narrow (≤ 360px): reduce heading gap */
@media (max-width: 360px) {
    .hero-text h1 {
        margin-bottom: 0.3em;
    }
    .hero-text h3 {
        margin-bottom: 1rem;
    }
    .hero-social {
        margin-top: 20px;
    }
}