/* 
Template name: Alhead applanding website template
Version:1.0
author: Barca Theme
Description: 
url:

*/

/* Contact Modal Styles */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.contact-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.contact-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.contact-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.contact-close:hover {
    opacity: 0.7;
}

.contact-modal-body {
    padding: 40px 30px;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:valid {
    border-color: #28a745;
}

.contact-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Success Message Styles */
.success-message {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.success-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 40px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.success-content h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.success-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

.success-close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Register Page Styles */
.register_area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
}

.register_area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.register_form_container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin: 20px 0;
}

.register_header {
    text-align: center;
    margin-bottom: 40px;
}

.register_header h1 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register_header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.register_form {
    width: 100%;
}

.form_row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form_row .form_group {
    flex: 1;
    margin-bottom: 0;
}

.form_group {
    margin-bottom: 25px;
}

.form_group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form_group input,
.form_group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fafbfc;
    font-family: inherit;
}

.form_group input:focus,
.form_group select:focus {
    outline: none;
    border-color: #667eea;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form_group input:valid {
    border-color: #28a745;
}

.checkbox_group {
    margin-bottom: 20px;
}

.checkbox_label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.checkbox_label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox_label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.checkbox_label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms_link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.terms_link:hover {
    text-decoration: underline;
}

.register_submit_btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.register_submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.register_submit_btn:active {
    transform: translateY(0);
}

.register_submit_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login_link {
    text-align: center;
    margin-top: 20px;
}

.login_link p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.login_link_text {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.login_link_text:hover {
    text-decoration: underline;
}

/* Password strength indicator */
.password-strength {
    margin-top: 5px;
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-weak {
    background: #dc3545;
    width: 25%;
}

.password-strength-medium {
    background: #ffc107;
    width: 50%;
}

.password-strength-strong {
    background: #28a745;
    width: 75%;
}

.password-strength-very-strong {
    background: #20c997;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .contact-modal-header {
        padding: 20px 25px;
    }
    
    .contact-modal-header h3 {
        font-size: 20px;
    }
    
    .contact-modal-body {
        padding: 30px 25px;
    }
    
    .form-group input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-submit-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .success-content {
        margin: 20% auto;
        padding: 30px 25px;
    }
    
    .register_form_container {
        padding: 30px 25px;
        margin: 10px;
    }
    
    .register_header h1 {
        font-size: 28px;
    }
    
    .form_row {
        flex-direction: column;
        gap: 0;
    }
    
    .form_row .form_group {
        margin-bottom: 25px;
    }
    
    .form_group input,
    .form_group select {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .register_submit_btn {
        padding: 15px 25px;
        font-size: 14px;
    }
}

/* Sign In Page Styles */
.signin_area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
}

.signin_area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.signin_form_container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin: 20px 0;
}

.signin_header {
    text-align: center;
    margin-bottom: 40px;
}

.signin_header h1 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signin_header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.signin_form {
    width: 100%;
}

.password_input_container {
    position: relative;
}

.password_toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password_toggle:hover {
    color: #667eea;
}

.password_toggle i {
    font-size: 16px;
}

.form_options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.remember_me {
    flex: 1;
}

.forgot_password {
    flex: 1;
    text-align: right;
}

.forgot_link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot_link:hover {
    text-decoration: underline;
    color: #764ba2;
}

.signin_submit_btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.signin_submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.signin_submit_btn:active {
    transform: translateY(0);
}

.signin_submit_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.divider span {
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    padding: 0 20px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.social_signin {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.social_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.google_btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.facebook_btn:hover {
    border-color: #4267B2;
    color: #4267B2;
}

.social_btn i {
    font-size: 18px;
}

.signup_link {
    text-align: center;
    margin-top: 20px;
}

.signup_link p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.signup_link_text {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.signup_link_text:hover {
    text-decoration: underline;
}

/* Header Buttons Styles */
.header_buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.signin_btn {
    background: transparent;
    color: #333;
    border: 2px solid #e1e5e9;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.signin_btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.register_btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.register_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Responsive Design for Sign In */
@media (max-width: 768px) {
    .signin_form_container {
        padding: 30px 25px;
        margin: 10px;
    }
    
    .signin_header h1 {
        font-size: 28px;
    }
    
    .form_options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .forgot_password {
        text-align: left;
    }
    
    .form_group input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .signin_submit_btn {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .social_btn {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .header_buttons {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .signin_btn,
    .register_btn {
        text-align: center;
        padding: 12px 15px;
        font-size: 13px;
    }
}