/* 1. LAYOUT & FOUNDATION */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0f172a; /* Dark fallback */
}

/* 2. SWIPER / BACKGROUND SLIDER */
.heroSwiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        75deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.7) 40%, 
        rgba(15, 23, 42, 0.3) 100%
    );
}

/* 3. CONTENT OVERLAY */
.hero-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 80px 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* 4. TYPOGRAPHY */
.hero-text { flex: 1.2; max-width: 700px; }

.badge-top {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--white);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--primaryColor));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--textMuted);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* 5. BUTTONS */
.hero-actions { display: flex; align-items: center; gap: 30px; }

.ConsultationBtn {
    background: linear-gradient(135deg, var(--primaryColor), var(--secondaryColor));
    color: #fff;
    padding: 18px 40px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.ConsultationBtn:hover { transform: translateY(-3px); filter: brightness(1.1); }

.secondary-link { color: #fff; text-decoration: none; font-weight: 600; position: relative; }
.secondary-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background: var(--primaryColor); transition: 0.3s;
}
.secondary-link:hover::after { width: 100%; }

/* 6. FORM & DROPDOWN FIX */
.hero-form-container { flex: 0 0 420px; }

.glass-form {
    background: var(--glassBG);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-title { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 25px; }

.input-row { margin-bottom: 20px; }

.input-row input, .input-row select, .input-row textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--white);
    font-size: 15px;
    outline: none;
}

/* DROPDOWN COLOR FIX */
.input-row select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.input-row select option {
    background-color: #1e293b; /* Dark bg for options */
    color: #ffffff; /* White text for options */
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--white); /* White button */
    color: #0f172a; /* Dark text */
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover { background: var(--primaryColor); color: #fff; transform: scale(1.02); }

/* 7. RESPONSIVE */
@media (max-width: 1100px) {
    .hero-content-split { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-form-container { width: 100%; max-width: 500px; }
}

@media (max-width: 768px) {
    .hero-wrapper { height: auto; padding: 120px 0 60px; }
    .hero-actions { flex-direction: column; }
    .ConsultationBtn { width: 100%; }
}