/* --- THE STRUCTURAL TERMINAL (LIQUID GLASS VERSION) --- */

.terminal-footer {
    background: #030303;
    padding: 120px 8% 50px 8%;
    position: relative;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
}

.terminal-container {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* --- LEFT SIDE: INFO & CONTACT --- */

.terminal-info { flex: 1; }

.terminal-title {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    color: #fff;
    line-height: 0.95;
    margin: 20px 0 50px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.detail-item { margin-bottom: 30px; }

.detail-label { 
    font-size: 10px; 
    color: #00d4ff; 
    font-family: 'JetBrains Mono', monospace; 
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    opacity: 0.8;
}

.detail-item p { 
    color: #fff; 
    font-size: 1.1rem; 
    line-height: 1.5;
    margin: 0;
}

.email-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.email-link:hover {
    color: #00d4ff;
    border-color: #00d4ff;
}

/* System Pulse Status */
.terminal-status {
    display: flex; 
    align-items: center; 
    gap: 12px;
    margin-top: 60px; 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 10px; 
    color: #00ff88;
    letter-spacing: 1px;
}

.pulse-ring {
    width: 8px; height: 8px; 
    background: #00ff88; 
    border-radius: 50%;
    box-shadow: 0 0 12px #00ff88; 
    animation: pulse 2s infinite;
}

@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }

/* --- RIGHT SIDE: GLASS FORM --- */

.terminal-form-wrapper { 
    flex: 1.2; 
    background: rgba(255, 255, 255, 0.02); 
    padding: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 4px;
}

.input-group { margin-bottom: 25px; display: flex; flex-direction: column; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

label { 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 9px; 
    color: rgba(0, 212, 255, 0.5); 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
}

/* Liquid Input Styling */
input, textarea, select {
    background: rgba(255, 255, 255, 0.03) !important;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 12px 0;
    font-size: 1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    border-color: #00d4ff !important;
    padding-left: 10px; /* Subtle "Liquid" shift on focus */
    background: rgba(0, 212, 255, 0.03) !important;
}

/* Custom Dropdown (Liquid Glass) */
/* --- LIQUID GLASS DROPDOWN REFINEMENT --- */

.custom-select-wrapper {
    position: relative;
    width: 100%;
    /* Ensure the wrapper doesn't have an overflow hidden that cuts the menu */
}

select {
    width: 100%;
    /* The Glass Foundation */
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    /* Border and Text */
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 12px 0;
    font-size: 1rem;
    
    /* Resetting Default Browser Style */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    outline: none;
    transition: all 0.4s ease;
}

/* Hover & Focus Interaction */
select:hover, select:focus {
    border-color: #00d4ff !important;
    background: rgba(0, 212, 255, 0.05) !important;
}

/* The Menu Itself (Note: Limited by Browser OS) */
select option {
    background-color: #080808; /* Deep Onyx match */
    color: #fff;
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
}

/* The Animated Cyan Arrow */
.custom-select-wrapper::after {
    content: "\f107"; /* FontAwesome Down Arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 5px;
    bottom: 12px;
    color: #00d4ff;
    pointer-events: none;
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Subtle "Open" Effect */
.custom-select-wrapper:focus-within::after {
    transform: rotate(180deg);
}

/* The Submit Button */
.initiate-btn {
    width: 100%; 
    padding: 22px; 
    background: #00d4ff; 
    border: none;
    color: #000; 
    font-weight: 900; 
    letter-spacing: 3px; 
    cursor: pointer;
    transition: all 0.5s ease; 
    margin-top: 20px; 
    font-size: 13px;
    text-transform: uppercase;
}

.initiate-btn:hover { 
    background: #fff; 
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4); 
    transform: translateY(-3px);
}

.form-disclaimer {
    font-size: 10px; 
    color: rgba(255, 255, 255, 0.3); 
    font-family: 'JetBrains Mono', monospace;
    text-align: center; 
    margin-top: 20px; 
    line-height: 1.6;
}

/* --- FOOTER BOTTOM --- */

.footer-bottom {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding-top: 40px; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 10px; 
    color: rgba(255, 255, 255, 0.2); 
    font-family: 'JetBrains Mono', monospace;
}

.social-links { display: flex; gap: 30px; }

.social-links a { 
    color: rgba(255, 255, 255, 0.4); 
    font-size: 20px; 
    transition: all 0.4s ease; 
}

.social-links a:hover { 
    color: #00d4ff; 
    transform: translateY(-5px); 
    filter: drop-shadow(0 0 8px #00d4ff);
}
/* --- CUSTOM LIQUID GLASS DROPDOWN --- */
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: 'JetBrains Mono', monospace;
    z-index: 100;
}

.dropdown-selected {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-selected:hover {
    border-color: #00d4ff;
    padding-left: 10px; /* Liquid shift */
}

.dropdown-selected i {
    font-size: 12px;
    color: #00d4ff;
    transition: transform 0.4s ease;
}

/* The Menu Container */
.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 18, 44, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 212, 255, 0.8);
    border-top: none;
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Open State */
.custom-dropdown.active .dropdown-options {
    max-height: 300px;
}

.custom-dropdown.active .dropdown-selected i {
    transform: rotate(180deg);
}

/* Individual Options */
.option {
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.option:hover {
    background: rgba(0, 212, 255, 0.05);
    color: #fff;
    border-left: 2px solid #00d4ff;
    padding-left: 25px; /* Liquid slide */
}

/* --- RESPONSIVE FIXES --- */

@media (max-width: 992px) {
    .terminal-container { flex-direction: column; gap: 60px; }
    .terminal-form-wrapper { padding: 30px; }
    .input-row { grid-template-columns: 1fr; gap: 10px; }
    .terminal-title { margin-bottom: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}